Márcio Luciano Donada
2005-Feb-27 16:07 UTC
[Samba] smbldap_open: cannot access LDAP when not root ...
-----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-----
Matthias Spork
2005-Feb-27 16:15 UTC
[Samba] smbldap_open: cannot access LDAP when not root ...
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-----
Andrew Bartlett
2005-Mar-01 07:06 UTC
[Samba] smbldap_open: cannot access LDAP when not root ...
On Sun, 2005-02-27 at 14:06 -0300, M?rcio Luciano Donada wrote:> -----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?What user are you trying to use to join the domain. It must either be root (Samba < 3.0.11) or an user with the SeMachineAccount privilege (Samba >= 3.0.11). Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050301/5c9c2c03/attachment.bin