Jason Pyeron
2011-Aug-09 13:15 UTC
[Samba] pdbedit profile and homedir not chaning on command
Any ideas why this is not working? [root at host67 ~]# pdbedit -u testuser -h \\\\five-68\\testuser -p \\\\five-68\\testuser\\profile Unix username: testuser NT username: Account Flags: [U ] User SID: S-1-5-21-369316088-3201261441-1704813131-2216 Primary Group SID: S-1-5-21-369316088-3201261441-1704813131-513 Full Name: Home Directory: \\host67\testuser HomeDir Drive: Logon Script: Profile Path: \\host67\testuser\profile Domain: PDINC Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: never Kickoff time: never Password last set: Tue, 09 Aug 2011 08:35:25 EDT Password can change: Tue, 09 Aug 2011 08:35:25 EDT Password must change: never Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [root at host67 ~]# uname -a && rpm -qf /etc/redhat-release `which pdbedit` Linux host67 2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 14 15:55:36 EST 2009 x86_64 x86_64 x86_64 GNU/Linux centos-release-4-7 samba-common-3.0.28-0.el4.9 samba-common-3.0.28-0.el4.9 [root at host67 ~]# -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00.
TAKAHASHI Motonobu
2011-Aug-09 15:40 UTC
[Samba] pdbedit profile and homedir not chaning on command
From: "Jason Pyeron" <jpyeron at pdinc.us> Date: Tue, 9 Aug 2011 09:15:09 -0400> Any ideas why this is not working? > > [root at host67 ~]# pdbedit -u testuser -h \\\\five-68\\testuser -p > \\\\five-68\\testuser\\profile> [root at host67 ~]# uname -a && rpm -qf /etc/redhat-release `which pdbedit` > Linux host67 2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 14 15:55:36 EST 2009 x86_64 > x86_64 x86_64 GNU/Linux > centos-release-4-7 > samba-common-3.0.28-0.el4.9 > samba-common-3.0.28-0.el4.9What "passdb backend" have you set? If "smbpasswd" is set, you can not change these with pdbedit, only can change with "logon home" and "logon path" parameter per Samba server. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>