pdbedit [ WAS Re: [Samba] smbpasswd and LDAP
beast at setuid.com
Fri Aug 1 10:47:11 GMT 2003
Friday, August 1, 2003, 4:32:48 PM, Beast wrote:
> [root at potato samba]# smbpasswd -D5 -a budhi
> smbldap_search_suffix: searching for:[(&(sambaSID=S-1-5-21-2897595519-3619093474-3625347041-11598)(|(objectClass=sambaIdmapEntry)(objectClass=sambaSidEntry)))]
> Adding new user
> Setting entry for user: budhi
> failed to add user dn= uid=budhi,ou=people,ou=jakarta,dc=indorama,dc=com with: Already exists
> failed to modify/add user with uid = budhi (dn = uid=budhi,ou=people,ou=jakarta,dc=indorama,dc=com)
> Failed to add entry for user budhi.
> Failed to modify password entry for user budhi
> It seems samba was trying to add this new user instead of modify.
> Whenever I add new user which doesn't has posixaccount yet, smbpasswd
> refused to add. It's like chicken and egg pb.
Aah.., using pdbedit -a was able to add new (non existing posixaccount),
but what if I want to add custom attributes?
More information about the samba