Difference between revisions of "LDAP"

From MyWiki
Jump to: navigation, search
(Created page with "https://help.ubuntu.com/10.04/serverguide/openldap-server.html<BR>")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://help.ubuntu.com/10.04/serverguide/openldap-server.html<BR>
 
https://help.ubuntu.com/10.04/serverguide/openldap-server.html<BR>
 +
'''Examples'''<br>
 +
ldapsearch -h rhubarb -xLLL -b "ou=people,dc=gold,dc=ac,dc=uk" uid=css01gt sn givenName cn<BR>
 +
'''Possibly for AD''', may need to drop the port number<BR>
 +
ldapsearch -LLL -H ldap://activedirectory.example.com:389 -b 'dc=example,dc=com' -D 'DOMAIN\Joe.Bloggs' -w 'p@ssw0rd' '(sAMAccountName=joe.bloggs)'<br>

Latest revision as of 15:57, 17 June 2014

https://help.ubuntu.com/10.04/serverguide/openldap-server.html
Examples
ldapsearch -h rhubarb -xLLL -b "ou=people,dc=gold,dc=ac,dc=uk" uid=css01gt sn givenName cn
Possibly for AD, may need to drop the port number
ldapsearch -LLL -H ldap://activedirectory.example.com:389 -b 'dc=example,dc=com' -D 'DOMAIN\Joe.Bloggs' -w 'p@ssw0rd' '(sAMAccountName=joe.bloggs)'