Ldap-utils

Davide Corio davide.corio at domsense.com
Tue Nov 6 18:44:57 UTC 2007


Il giorno mar, 06/11/2007 alle 13.22 -0500, John Dangler ha scritto:
> root at Nebo:~# ldapsearch -x -h <ADServer>
> # extended LDIF
> #
> # LDAPv3
> # base <> with scope subtree
> # filter: (objectclass=*)
> # requesting: ALL
> #
> 
> # search result
> search: 2
> result: 32 No such object
> text: 0000208D: NameErr: DSID-031001A8, problem 2001 (NO_OBJECT), data
> 0, bes
>  t match of:
>         ''

it's working

now, you just have to authenticate and pass some filters

eg:
ldapsearch -x -h <ADServer> -D"cn=admin,dc=example,dc=com" -W

or

ldapsearch -x -h <ADServer> -D"cn=admin,dc=example,dc=com" -W -b
"ou=Users,dc=example,dc=com"

or

ldapsearch -x -h <ADServer> -D"cn=admin,dc=example,dc=com" -W -b
"ou=Users,dc=example,dc=com" "(someAttr=*something*)"

-- 
Davide Corio
email: davide.corio<at>domsense.com
web: http://www.domsense.com





More information about the ubuntu-users mailing list