Problems logging onto domain
Luke Kenneth Casson Leighton
lkcl at samba.org
Wed Mar 22 10:18:36 GMT 2000
matthew, thanks for your encouragement.
createuser accountname, by default, creates a disabled account with no
password. otherwise, this would be a security risk.
samuserset accountname -p password does not re-enable a disabled account,
it just sets the password
samuserset2 accountname -c 0x5 is what you are looking for (i believe).
this will clear "no password required" and "account disabled".
do a samuser accountname -u and the Account Control Bits should show up
as: [U ].
_prior_ to the samuserset2 -c 0x5, it will look like this: [UXD ] -
usr account, no password, acount disabled.
luke
p.s i _will_ get round to writing a better syntax for samuserset2, unless
someone beats me to it.
p.p.s you can alwawys hand-edit smbpasswd :)
<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href=" http://cb1.com/~lkcl" > Samba and Network Development </a>
<a href=" http://samba.org" > Samba Web site </a>
<a href=" http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-ntdom
mailing list