[Samba] SAMBA 3.0.4 + LDAP + usrmgr
uzanatta at provincia.treviso.it
Wed May 19 10:41:21 GMT 2004
I've upgrade to Samba 3.0.4 a System wich it's running
The System is working with LDAP and smbldap-tools 0.8.4 for managing
users and groups.
I'd like to manage the user and group with usrmgr.exe running into a
When I tried adding new user the programs didn't work and it's reported
The log system running in the PDC [SLES 8], reporting:
smbd: init_ldap_from_sam: Setting entry for user: ccc
slapd: => bdb_dn2id_add: put failed: DB_KEYEXIST: Key/data pair
already exists -30996
smbd: [2004/05/19 12:11:01, 1] passdb/pdb_ldap.c:
smbd: ldapsam_modify_entry: Failed add user dn= uid=xxxxxx,
ou=People,o=PROVTV with: Already exists
smbd: ldapsam_add_sam_account: failed to modify/add user with
uid = ccc (dn = uid=ccc,ou=People,o=PROVTV)
smbd: could not add user/computer ccc to passdb. Check
The user has never been add before.
Whent I've tried adding a new group the program did.
The Administrator user is Administrator with uid=0 and gid=512; the
user root isn't in ldap tree but in the passwd file.
Samba's working with admin ldap user for managing ldap [ldap admin dn].
add machine script = /var/lib/samba/scripts/smbldap-useradd -w %u
add user script = /var/lib/samba/scripts/smbldap-useradd -s /bin/
false -d /dev/null %u
delete user script = /var/lib/samba/scripts/smbldap-userdel %u
add user to group script = /var/lib/samba/scripts/smbldap-groupmod -
m %u %g
delete user from group script = /var/lib/samba/scripts/smbldap-
groupmod -x %u %g
add group script = /var/lib/samba/scripts/smbldap-groupadd -p %g
delete group script = /var/lib/samba/scripts/smbldap-groupdel %g
set primary group script = /var/lib/samba/scripts/smbldap-usermod -g
More information about the samba