[Samba] SAMBA4: pdbedit not changing SID

simon+samba at matthews.eu simon+samba at matthews.eu
Sun Mar 31 18:36:09 MDT 2013

Since I don't seem to be having any luck with the classicupgrade, I 
decided to try starting from scratch and then adding users.

I ran the command:
/usr/local/samba/bin/samba-tool domain provision --realm=<my realm> \ 
--domain=<mydomain> --adminpass 'mypass' --server-role=dc  \

Then I tried both adding and changing users. In neither case can I change 
the SID with pdbedit. It seems to be added with a system-defined SID, 
irrespective of what I specify. pdbedit -v is able to list the user's 
parameters, including the SID.

Any suggestions? I am pretty much stuck here trying to figure out how to 
migrate from an existing SAMBA3 domain to SAMBA4.

More information about the samba mailing list