[Samba] Failed to create user record

Rowland Penny rowlandpenny241155 at gmail.com
Tue Sep 22 15:56:14 UTC 2015


On 22/09/15 17:22, Karel González Herrera wrote:
> root at nbn-0:~# mbpasswd -a pepe
> -bash: mbpasswd: command not found
> root at nbn-0:~# smbpasswd -a pepe
> params.c:pm_process() - Processing configuration file 
> "/etc/samba/shares.conf"
> ldb_wrap open of idmap.ldb
> New SMB password:
> Retype new SMB password:
> Failed to create user record 
> CN=pepe,CN=Users,DC=dtnorte,DC=etecsa,DC=cu: 
> ../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in 
> CN=pepe,CN=Users,DC=dtnorte,DC=etecsa,DC=cu - 
> ../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in 
> CN=pepe,CN=Users,DC=dtnorte,DC=etecsa,DC=cu - ../l
> Failed to add entry for user pepe.
>
> i need help
>  thanks
>

Please post:
Your smb.conf
What OS you are using
and finally, could you explain why you think using a command to add a 
user to a standalone server will work with an AD DC ?

Rowland



More information about the samba mailing list