Hi! root@debian-samba4:/usr/local/samba/private# /usr/local/samba/bin/ldbsearch --url=/usr/local/samba/private/sam.ldb | grep tester4 sAMAccountName: tester4 userPrincipalName: tester4@test.local root@debian-samba4:/usr/local/samba/private#
And I found there UID is saved - /usr/local/samba/bin/ldbedit --url=/usr/local/samba/private/idmap.ldb On PDC shows (cutted): # record 7 dn: CN=S-1-5-21-3451120384-2816699473-3647757164-1110 cn: S-1-5-21-3451120384-2816699473-3647757164-1110 objectClass: sidMap objectSid: S-1-5-21-3451120384-2816699473-3647757164-1110 type: ID_TYPE_BOTH xidNumber: 3000023 distinguishedName: CN=S-1-5-21-3451120384-2816699473-3647757164-1110 On BDC shows (cutted): # record 5 dn: CN=S-1-5-21-3451120384-2816699473-3647757164-1110 cn: S-1-5-21-3451120384-2816699473-3647757164-1110 objectClass: sidMap objectSid: S-1-5-21-3451120384-2816699473-3647757164-1110 type: ID_TYPE_BOTH xidNumber: 3000020 distinguishedName: CN=S-1-5-21-3451120384-2816699473-3647757164-1110 SID is the same, but the UID is different! 2013/6/17 steve <st...@steve-ss.com> > On Mon, 2013-06-17 at 14:50 +0400, Vladimir A Fomkin wrote: > > HI! > > root@bdc-samba:~# /usr/local/samba/bin/samba-tool user add tester4 > > New Password: > > Retype Password: > > ERROR(ldb): Failed to add user 'tester4': - samldb: Account name > > (sAMAccountName) 'tester4' already in use! > > root@bdc-samba:~# > > > Hi > ldbsearch --url=/usr/local/samba/private/sam.ldb | grep tester4 > > > > -- С уважением, Фомкин Владимир Андреевич ICQ:220967838 Skype:vladimir.fomkin http://vaf.net.ru -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba