[Samba] SAMBA4: pdbedit not changing SID
geza at kzsdabas.hu
Mon Apr 1 01:26:18 MDT 2013
2013-04-01 02:36 keltezéssel, simon+samba at matthews.eu írta:
> 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.
Trying to add users one by one (preserving SID) is IMHO a lot harder
(you would probably need to ldbmodify the user record of each one) to
do, than fixing your samba3 install to have it classicupgraded.
More information about the samba