locked
How can I get the "Readable Name" in the OU=ForeignSecurityPrincipals? RRS feed

  • Question

  • User1702954342 posted

    How can I get the "Readable Name" in the OU=ForeignSecurityPrincipals?
    I can't find this field in the Foreign-Security-Principal adschema.
    But I can see the "Readable Name" in the windows tool "Active Directory Users and Computers".

    I have to use this field because have 2 trusted domains in seprat Forests,
    so when I ask AD for the "CN" I only get the SID.

    Regards
    Classe

    Wednesday, April 19, 2006 2:45 AM

All replies

  • User1354132231 posted
    Use the SID format for the bind: LDAP://<SID=S-1-xxx> and then retrieve the attributes you are looking for.  This is going to likely issue you a referral, so make sure you are using an account that has permission in the other domain as well.
    Wednesday, April 19, 2006 9:07 AM