SAMEDIT commands

Paul J Collins pjdc at
Thu Jul 27 00:54:01 GMT 2000

>>>>> "Matthew" == Matthew Geddes <mgeddes at> writes:

    Matthew> Hi,
    Matthew> I'm looking for the samedit commands needed to:

    Matthew> a) enable/disable a user account

Not sure how to do it from samedit, but you can disable a user account
by overwriting the first space in the [...] part of the smbpasswd line
with a captial letter D.  I'm not sure if the order of the flags is
significant; I created a new domain user, and the flags were NDU.

Paul Collins <pjdc at> - - - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Cover up and say goodnight... say goodnight."

More information about the samba-ntdom mailing list