Hi, I'm trying to migrate from a SME server to an Ubuntu 10.04 Domain names are the same (domain SID already retrieved) example User john on SME server has SID S-1-5-21-1222067456-3914006320-3959678504-11026 User john on Ubuntu server has SID S-1-5-21-1222067456-3914006320-3959678504-3010 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. Can you help ? -- Guillaume 06 24 68 25 24
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. > > Can you help ?As far as I examined at Samba 3.5.6 on Lenny, ldapsam backend "pdbedit -U" works well. What passdb backend do you use? --- TAKAHASHI Motonobu <monyo at samba.gr.jp>
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.confsmbpasswd 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>