[Samba] openLDAP access problem - Re: How do I list computers in the domain
Rowland Penny
rowlandpenny241155 at gmail.com
Fri Sep 18 17:35:58 UTC 2015
On 18/09/15 18:00, Robert Moskowitz wrote:
>
>
> On 09/18/2015 11:34 AM, Rowland Penny wrote:
>> 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 m...
>>> 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 "m..."
>>
>> A similar search works against one of my AD DCs
>
> No dice. Took a bit to figure out how ClearOS forum works to ask a
> question there. Will see what I learn there.
>
>
>
Hmm, I wonder if this is your problem, you posted earlier that the
ldap_user_dn was:
cn=manager,ou=Internal,dc=home,dc=htt
and you are using : "cn=manager,ou=internal,dc=home,dc=htt"
i.e. you are using a lowercase 'i' whereas the OU starts with an
uppercase 'I'
Rowland
More information about the samba
mailing list