-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/18/2014 08:43 PM, Umar Draz wrote: > HI All > > I want a list of valid attributes for specific objectClass e.g. > > I have a user abc with the dn of this user is > > cn=Abc User,ou=accounts,dc=mydom,dc=com > > the abc user has these object classes > > posixAccount shadowAccount OrginizatinalPerson yubikeyUser > > now I want to get the valid schema attribute of yubikeyUser for > only the above mentioned user. > > Is this possible? > > Umar
I used to do this against older OpenLDAP servers: ldapsearch -x -s base -H <URI-TO-HOST> -D <ADMIN-DN> -W \ -b "cn=subschema" -LLL objectClasses this gave me a list of all object classes with their MAY and MUST It does not seem to work against newer systems... but haven't investigated. Dennis - -- ICT Medewerker Divisie Biomedische Genetica UMC Utrecht Heidelberglaan 100 STR2.126 3584 CX Utrecht The Netherlands 06 27744048 intern: 64048 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTBGQFAAoJEMVYYpdbQsco2koIAJP8ka4BkP7mpHHKyeGdCXZ2 OvuF9IpBdxM5Xxa/WRaEFLN4yeXuINPvSJbZR35qapzo5VDvdmbxzqShSdxkgzM9 kU4f9WBzvtz6xVRLypIPlo7+XkKFUwoNfptokNvPCHAvgCggbijS5uDE1sERbgDx aMOnOq4eXu6PNxQBRxuyedgHtmlDBqzp9Jhi8SlL64acA+RVZbuHIg+SEA0U8Cj3 5vdDOxBBbDopSLLRoG4S1nVaoyaJCTxnS1YqZhJiBUmfapiycMCtk8gHfiri/LWX UrlLtd1PthkgSMOh/L1QuD0IJZRDNxTMALrbkcALrWAfl1tmaRH5YJconytzQmo= =6d3R -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Het Universitair Medisch Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W. (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197. Denk s.v.p aan het milieu voor u deze e-mail afdrukt. ------------------------------------------------------------------------------ This message may contain confidential information and is intended exclusively for the addressee. If you receive this message unintentionally, please do not use the contents but notify the sender immediately by return e-mail. University Medical Center Utrecht is a legal person by public law and is registered at the Chamber of Commerce for Midden-Nederland under no. 30244197. Please consider the environment before printing this e-mail.