[Samba] Pdbedit cannot modify SID

TAKAHASHI Motonobu monyo at monyo.com
Fri May 27 07:47:06 MDT 2011


From: Guillaume <g.jullien at free.fr>
Date: Fri, 27 May 2011 02:26:01 +0200

> Le 26/05/2011 17:16, TAKAHASHI Motonobu a écrit :
> > From: Guillaume<g.jullien at free.fr>
> > Date: Wed, 25 May 2011 12:44:51 +0200
> >
> >> Not to loose Windows profiles, I'm trying to modify john's SID on Ubuntu
> >> server :
> >> pdbedit -u john -U S-1-5-21-1222067456-3914006320-3959678504-11026
> >>
> >> Result shows no change in SID. No error message.

(snip)

> I have
> passdb backend = smbpasswd
> in smb.conf

smbpasswd cannot store SID value. SID value shown by pdbedit is
arithmetically calculated using UID.

You have to need to use tdbsam or ldapsam to store (and mofiry) SID
value.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list