[Samba] [MASSMAIL]Re: Failed to create user record

Karel González Herrera karel.gonzalez at etecsa.cu
Tue Sep 22 17:01:49 UTC 2015


this is may smb.conf

[global]
     workgroup = dtnorte
     realm = DTNORTE.ETECSA.CU
     netbios name = nbn-2
     server string = Zentyal Server
     server role = dc
     server role check:inhibit = yes
     server services = -dns
     server signing = auto
     dsdb:schema update allowed = yes
     drs:max object sync = 1200

     idmap_ldb:use rfc2307 = yes

     interfaces = lo,eth0,eth30,eth50,eth60
     bind interfaces only = yes

     log level = 3
     log file = /var/log/samba/samba.log
     max log size = 100000



     include = /etc/samba/shares.conf




[netlogon]
     path = /var/lib/samba/sysvol/dtnorte.etecsa.cu/scripts
     browseable = no
     read only = yes

[sysvol]
     path = /var/lib/samba/sysvol
     read only = no
El 22/09/15 a las 10:56, Rowland Penny escribió:
> 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
>

-- 
Ing. Karel González Herrera
Administrador de Red
Etecsa: Dirección Territorial Norte
e-mail: karel.gonzalez at etecsa.cu
Tel: 8344973 8607483
Mov: 52182690




More information about the samba mailing list