Fwd: Re: [Samba] smbpasswd fails to add machine account with
ldapsam
Christoph Rudorff
christoph at wtal.de
Wed Nov 19 17:50:38 GMT 2003
Hello!
The test report from today:
I compiled the 3.0.1pre3 version because ChangeLog says something about
"cannot access LDAP when not root.." -> Bug #281 but is not solved 100%.
smbldap-useradd.pl is doing fine, but samba still does not create
sambaSamAccount. Samba still looks up machine accounts with ou=People
regardless what I configure.
Further testing is delayed until monday.
chris
ps: if anyone needs the full log(s) - no problem.
/var/log/messages while trying to join a w2k client to DC:
--
/usr/local/sbin/smbldap-useradd.pl: called with -w ,-d ,/dev/null ,-g ,Domain
Computers ,-c ,Machine Account ,-s ,/bin/false ,nopliz$
smbd3[23018]: [2003/11/19 18:26:10, 0] lib/smbldap.c:smbldap_open(800)
smbd3[23018]: smbldap_open: cannot access LDAP when not root..
smbd3[23018]: [2003/11/19 18:26:10, 0]
passdb/pdb_ldap.c:ldapsam_search_one_group(1639)
smbd3[23018]: ldapsam_search_one_group: Problem during the LDAP search: LDAP
error: (Insufficient access)
smbd3[23018]: ldapsam_search_one_group: Query was:
ou=Groups,dc=mki,dc=fh-duesseldorf,dc=de,
(&(objectClass=sambaGroupMapping)(gidNumber=553))
smbd3[23018]: [2003/11/19 18:26:10, 0] lib/smbldap.c:smbldap_open(800)
smbd3[23018]: smbldap_open: cannot access LDAP when not root..
smbd3[23018]: [2003/11/19 18:26:10, 0]
lib/smbldap.c:smbldap_search_suffix(1076)
smbd3[23018]: smbldap_search_suffix: Problem during the LDAP search:
(Insufficient access)
smbd3[23018]: [2003/11/19 18:26:10, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2333)
smbd3[23018]: could not add user/computer nopliz$ to passdb. Check
permissions?
--
ps: why must it be root? A connection to ldap as "Manager" should be
sufficent.
More information about the samba
mailing list