accountflags in smbpasswd

Matthew Geddes mgeddes at
Tue Sep 12 23:09:48 GMT 2000

Marek Stancel wrote:
> Hi all,
> I know about U W N D accountflags.
> Now I saw a new one: P. May someone tell me, what it means?
> Are there more flags..?
> thank you,
> Marek Stancel

Which version of Samba are you using? If you're using Samba TNG, the
samedit man page has a section for it's samuserset2 command. Play around
with this command and you should be able to work out what each one is.

Hope it helps,


Matthew Geddes
Network Manager
Xavier College
Gawler, SA

...And by the way, Lars Kneschke's Samba TNG FAQ is at

More information about the samba-ntdom mailing list