[Samba] smbldap_open: cannot access LDAP when not root ...

Matthias Spork hallo at matthiasspork.de
Sun Feb 27 16:14:50 GMT 2005


Hello,

if you have such in your smb.conf:

        ldap admin dn = uid=samba,o=company,c=com
        ldap ssl = no
        ...

you must have an account "uid=samba,o=company,c=com" with a password in 
your ldap.
You can tell samba this password by "smbpasswd -w password".

matze


Márcio Luciano Donada schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> I am it has two weeks trying to twirl the PDC with samba + LDAP and ties
> the moment only migraines. It would like to know which is the problem,
> now, below described in mine log's?
>
> [2005/02/27 12:14:47, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 8 try!
> [2005/02/27 12:14:48, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:48, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 9 try!
> [2005/02/27 12:14:49, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:49, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 10 try!
> [2005/02/27 12:14:50, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:50, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 11 try!
> [2005/02/27 12:14:51, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:51, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 12 try!
> [2005/02/27 12:14:52, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:52, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 13 try!
> [2005/02/27 12:14:53, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:53, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 14 try!
> [2005/02/27 12:14:54, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:54, 1] lib/smbldap.c:another_ldap_try(1004)
> ~  Connection to LDAP server failed for the 15 try!
> [2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_open(881)
> ~  smbldap_open: cannot access LDAP when not root..
> [2005/02/27 12:14:55, 0] lib/smbldap.c:smbldap_search_suffix(1169)
> ~  smbldap_search_suffix: Problem during the LDAP search: (unknown)
> (Timed out)
> [2005/02/27 12:14:55, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2398)
> ~  could not add user/computer 16178-audit$ to passdb.  Check 
> permissions?
> [2005/02/27 12:14:55, 2] smbd/server.c:exit_server(609)
> ~  Closing connections
>
> []'s
> - --
> Márcio Luciano Donada
> mdonada at auroraalimentos dot com dot br
> FreeBSD - The uptime is mesuared in years!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCIf4yyJq2hZEymxcRAqklAJ93A5VdVRx8j4F+ok4i82AL7zRTSQCgp7P1
> SJo/w4FHuH4VbD5OktjtPKo=
> =mKHg
> -----END PGP SIGNATURE-----



More information about the samba mailing list