Failed to bind - LDAP client internal error on Centos 5.x
hello
i install samba4 and openldap2.4.17 from source i install and configure openldap without error but when i type this line
. tar xzvf samba4.tar.gz
2. cd SAMBA_4_0/source
3. ./autogen.sh
4. ./configure
5. make;make install
./setup/provision-backend --realm=hum-office.um.ac.ir --domain=hum-office --ldap-admin-pass=SuperSecretPassword --ldap-backend-type=openldap --server-role='domain controller' --ol-slapd="/usr/local/libexec/slapd"
********** OUT PUT *******************
Your openldap Backend for Samba4 is now configured, and is ready to be started
Server Role: domain controller
Hostname: hum-office
DNS Domain: hum-office.um.ac.ir
Base DN: DC=hum-office,DC=um,DC=ac,DC=ir
LDAP admin user: samba-admin
LDAP admin password: SuperSecretPassword
LDAP Debug-Output:
(1, 'connection to remote LDAP server dropped?')
Ok. - No other slapd-Instance listening on: ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi. Starting slapd now for final provision.
Started slapd for final provisioning with PID: 4885
Now run final provision with: --ldap-backend=ldapi --ldap-backend-type=openldap --password=SuperSecretPassword --username=samba-admin --realm=hum-office.um.ac.ir --domain=HUM-OFFICE --server-role='domain controller'
./setup/provision --ldap-backend=ldapi --ldap-backend-type=openldap --password=SuperSecretPassword --username=samba-admin --realm=sci-office.um.ac.ir --domain=SCI-OFFICE --server-role='domain controller'
Setting up secrets.ldb
Setting up the registry
Setting up templates db
Setting up idmap db
Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi'
module partition initialization failed
module show_deleted initialization failed
module extended_dn_out_dereference initialization failed
module operational initialization failed
module kludge_acl initialization failed
module samldb initialization failed
module asq initialization failed
module server_sort initialization failed
module paged_results initialization failed
module rootdse initialization failed
Unable to load modules for /usr/local/samba/private/sam.ldb: (null)
Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi'
module partition initialization failed
why failed to bind ldap client .... i installed it completely on ubuntu server before but i have problem with centos 5.x
|