[Samba] tattooing of tdbsam backend with logon script value

Harry Jede walk2sun at arcor.de
Mon Oct 17 09:29:08 MDT 2011


On 15:21:48 wrote Pat Emblen:
> On 15/10/11 19:15, Harry Jede wrote:
> > pdbedit -S ""<user>
> 
> Not here, it just sets an empty logon script, it doesn't default back
> to the one in smb.conf.
> 
> root at sheldon:/home/smb/netlogon# pdbedit -S "" talcom
> Unix username:        talcom
> NT username:
> Account Flags:        [U          ]
> User SID:             S-1-5-21-3019205139-2287944265-981039286-3000
> Primary Group SID:    S-1-5-21-3019205139-2287944265-981039286-513
> Full Name:            talcom
> Home Directory:       \\sheldon\talcom
> HomeDir Drive:
> Logon Script:         				<< default 
missing
> Profile Path:         \\sheldon\profiles\talcom
> Domain:               SHELDON
> Account desc:
> Workstations:
> Munged dial:
> Logon time:           0
> Logoff time:          9223372036854775807 seconds since the Epoch
> Kickoff time:         9223372036854775807 seconds since the Epoch
> Password last set:    Fri, 30 Sep 2011 20:03:00 EST
> Password can change:  Fri, 30 Sep 2011 20:03:00 EST
> Password must change: never
> Last bad password   : 0
> Bad password count  : 0
> Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> r
I can see two differences between your acoounts and my:
1. You dont have a "NT Username"
2. Your "Home Directory" and your "Profile Path" points to the netbios 
server name "sheldon", which is identical to your netbios domain name 
"SHELDON".

Try to create a new account with:
pdbedit -a newuser

and check it again. Is your Server Name really equal to your workgroup 
name?




-- 

Regards
	Harry Jede


More information about the samba mailing list