> Do you use something like cn=My Name,ou=Users,dc=example,dc=com with uid in the entry or uid=ghenry,ou=Users,dc=example,dc=com ?
[Qian] Sorry, I am new to LDAP, can you please let me know how to figure out which way I am using for DN format? By some ldap commands? BTW, I installed and setup LDAP in a default way, so I guess the DN format should be "uid=ghenry,ou=Users,dc=example,dc=com" because when I login my machine with uid, it works, but if I login with common name, it fails. 2012/7/28 Gavin Henry <[email protected]>: >>> If that is true, should I add a restriction that the uid of each user >>> must be unique in the whole OpenLDAP server? >> >> That's indeed a good practice. >> > > It depends how you've built your entries. If the RDN has uid in it it > will be unique anyway. > > Do you use something like cn=My Name,ou=Users,dc=example,dc=com with > uid in the entry or > uid=ghenry,ou=Users,dc=example,dc=com ? > > Thanks. > > -- > Kind Regards, > > Gavin Henry. > Managing Director. > > T +44 (0) 1224 279484 > M +44 (0) 7930 323266 > F +44 (0) 1224 824887 > E [email protected] > > Open Source. Open Solutions(tm). > > http://www.suretecsystems.com/ > > Suretec Systems is a limited company registered in Scotland. Registered > number: SC258005. Registered office: 24 Cormack Park, Rothienorman, Inverurie, > Aberdeenshire, AB51 8GL. > > Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html > > Do you know we have our own VoIP provider called SureVoIP? See > http://www.surevoip.co.uk > > Did you see our API news? > http://www.surevoip.co.uk/news-events/surevoip-launches-innovative-api >
