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

Rowland Penny rowlandpenny241155 at gmail.com
Fri Sep 18 15:02:09 UTC 2015


On 18/09/15 15:53, Robert Moskowitz wrote:
> If I am going to do the import of accounts, I have to access openLDAP 
> remotely and....
>
> the following works:
>
> ldapsearch -h localhost -b "dc=home,dc=htt" -D 
> "cn=manager,ou=internal,dc=home,dc=htt" -s sub 
> "objectclass=GroupOfNames" -x -w m.....
>
> But
>
> ldapsearch -h 192.168.128.2 -b "dc=home,dc=htt" -D 
> "cn=manager,ou=internal,dc=home,dc=htt" -s sub 
> "objectclass=GroupOfNames" -x -w m....
>
> Does not with:
>
> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
>
> I stopped the firewall (service firewall stop) to ensure this was not 
> a firewall access issue.
>

Try replacing '192.168.128.2' with 'ldap://hostname.domain.tld'

Rowland



More information about the samba mailing list