Hi, I'm using a samba 3.0.23c PDC with ldapsam. When I join a workstation to the domain with a user, the join works but in the logs I see the following message : lib/smbldap.c:smbldap_open(1009) smbldap_open: cannot access LDAP when not root.. It appears 4 times each time I want to join a machine. When I use root to join the domain there is no message. I have a level 10 log, if you want it give me an email adress to send it (I don't have the rights to publish it) I also have, randomly, 2 messages which follow each other but not related to domain joins. It appears even when there is nobody at the office. I have upped log level to 10 and will send you the log when it appears again. Do I have to open a new bug for this one ? Sincerely, Herve OTT
When I say "join with a user", it's a user with SeMachineAccountPrivilege of course :)
This is an extract from the level 10 logs : [2006/11/09 14:27:02, 10] lib/account_pol.c:account_policy_cache_timestamp(198) account policy cache lastset was: jeu, 09 nov 2006 11:37:40 CET [2006/11/09 14:27:02, 10] lib/account_pol.c:cache_account_policy_get(466) cache_account_policy_get: no valid cache entry (cache expired) [2006/11/09 14:27:02, 10] passdb/pdb_ldap.c:ldapsam_get_account_policy_from_ldap(3528) ldapsam_get_account_policy_from_ldap [2006/11/09 14:27:02, 5] lib/smbldap.c:smbldap_search_ext(1179) smbldap_search_ext: base => [sambaDomainName=PORTAIL,dc=portail,dc=noisiel,dc=dgi], filter => [(objectclass=*)], scope => [0] [2006/11/09 14:27:02, 0] lib/smbldap.c:smbldap_open(1009) smbldap_open: cannot access LDAP when not root.. [2006/11/09 14:27:02, 10] passdb/pdb_ldap.c:ldapsam_get_account_policy(3613) ldapsam_get_account_policy: failed to retrieve from ldap [2006/11/09 14:27:02, 10] passdb/pdb_ldap.c:ldapsam_set_account_policy_in_ldap(3461) ldapsam_set_account_policy_in_ldap [2006/11/09 14:27:02, 5] lib/smbldap.c:smbldap_modify(1363) smbldap_modify: dn => [sambaDomainName=PORTAIL,dc=portail,dc=noisiel,dc=dgi] [2006/11/09 14:27:02, 0] lib/smbldap.c:smbldap_open(1009) smbldap_open: cannot access LDAP when not root..
I believe this has been fixed for 3.0.23d. Jeremy.
I just installed 3.0.23d and problems are still there :(
this isn't an issue any more, can you confirm?