[Samba] openLDAP access problem - Re: How do I list computers in the domain

Rowland Penny rowlandpenny241155 at gmail.com
Fri Sep 18 15:34:25 UTC 2015


On 18/09/15 16:15, Robert Moskowitz wrote:
> # ldapsearch -h homebase.home.htt -b "dc=home,dc=htt" -D 
> "cn=manager,ou=internal,dc=home,dc=htt" -s sub 
> "objectclass=GroupOfNames" -x -w mxYEjFaB+7skgPxV
> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

OK, try this:

ldapsearch -H ldap://homebase.home.htt -b "dc=home,dc=htt" -s sub -D 
"cn=manager,ou=internal,dc=home,dc=htt" "objectclass=GroupOfNames" -x -w 
"mxYEjFaB+7skgPxV"

A similar search works against one of my AD DCs

Rowland




More information about the samba mailing list