[Samba] failed to bind the server

Suman Koirala koiralasu at mnstate.edu
Thu May 3 18:14:16 UTC 2018

I was trying to authenticate from AD and could not bind with the server.

I was able to do ldapsearch.

please suggest the possible cause for failed to bind server.

This is the log info from log.winbind-idmap

  child_read_request: read_data failed: NT_STATUS_END_OF_FILE
[2018/04/19 20:03:09.741686,  0] ../source3/lib/smbldap.c:1046(smbldap_connect_system)
  failed to bind to server ldap:/// with dn="cn=admin,dc=bean,dc=mydomain,dc=com" Error: Can't contact LDAP server

this is idmap config for winbind in smb.conf file.

idmap config * : backend = ldap
   idmap config * : ldap_url = ldap:///

idmap config * : ldap_base_dn = ou=idmap,dc=bean,dc=mydomain,dc=com
   idmap config * : ldap_user_dn = cn=admin,dc=bean,dc=mydomain,dc=com

the slapcat result

dn: dc=bean,dc=mydomain,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: mydomain.com
structuralObjectClass: organization
creatorsName: cn=admin,dc=bean,dc=mydomain,dc=com

dn: cn=admin,dc=bean,dc=mydomain,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator

modifiersName: cn=admin,dc=bean,dc=mydomain,dc=com

could you please hint us what can be the problem?

ldap server is up and running.


More information about the samba mailing list