Здравствуйте! Пытаюсь настроить авторизацию на Linux mint 17 через Active Directory 2003, делаю по статье Ссылка!!!
getent passwd не выводит доменных пользователей, но в логах появляется ошибка:
Nov 18 12:54:29 test sudo: pam_unix(sudo:session): session closed for user root
Nov 18 12:54:48 test nscd: nss_ldap: failed to bind to LDAP server ldap://dc.domen.loc: Invalid credentials
Nov 18 12:54:48 test nscd: nss_ldap: reconnecting to LDAP server...
Nov 18 12:54:48 test nscd: nss_ldap: failed to bind to LDAP server ldap://dc.domen.loc: Invalid credentials
Nov 18 12:54:48 test nscd: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Nov 18 12:54:49 test nscd: nss_ldap: failed to bind to LDAP server ldap://dc.domen.loc: Invalid credentials
Nov 18 12:54:49 test nscd: nss_ldap: could not search LDAP server - Server is unavailable
Выполняю команду
ldapsearch -x -h dc -b "dc=domen,dc=loc" -D "cn=Administrator,dc=domen,dc=loc" -W "sAMAccountName=user1"
ldap_bind: Invalid credentials (49)
additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
ldapsearch -x -h dc -b "dc=domen,dc=loc" -D "Administrator@domen.loc" -W "sAMAccountName=user1"
# extended LDIF
#
# LDAPv3
# base <dc=domen,dc=loc> with scope subtree
# filter: sAMAccountName=user1
# requesting: ALL
#
# search reference
ref: ldap://domen.loc/CN=Configuration,DC=domen,DC=loc
# search reference
ref: ldap://domen.loc/DC=DomainDnsZones,DC=domen,DC=loc
# search reference
ref: ldap://domen.loc/DC=ForestDnsZones,DC=domen,DC=loc
# search result
search: 2
result: 0 Success
# numResponses: 4
# numReferences: 3
Если в ldap.conf выстовляю binddn Administrator@domen.loc то в логах ничего нету