diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-14 08:38:09 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-14 08:38:09 +0000 |
commit | 3d1b9bfb29db307e63033d4a94391a250e401238 (patch) | |
tree | c054e88127888f15041112a7690c515e00529308 /source3/utils | |
parent | e7c9c2990455998b8eb8b8e335ae62dd1fbf5a84 (diff) | |
download | samba-3d1b9bfb29db307e63033d4a94391a250e401238.tar.gz samba-3d1b9bfb29db307e63033d4a94391a250e401238.tar.bz2 samba-3d1b9bfb29db307e63033d4a94391a250e401238.zip |
Show the account flags in the 'verbose' listing of pdbedit.
Andrew Bartlett
(This used to be commit b5ec92d7a2e5ba33b641267d2319d101d70a0d9a)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 3f359c2f99..b30ab6f38e 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -78,6 +78,8 @@ static int print_sam_info (SAM_ACCOUNT *sam_pwent, BOOL verbosity, BOOL smbpwdst if (verbosity) { printf ("Unix username: %s\n", pdb_get_username(sam_pwent)); printf ("NT username: %s\n", pdb_get_nt_username(sam_pwent)); + printf ("Account Flags: %s\n", pdb_encode_acct_ctrl(pdb_get_acct_ctrl(sam_pwent), NEW_PW_FORMAT_SPACE_PADDED_LEN)); + if (IS_SAM_UNIX_USER(sam_pwent)) { uid = pdb_get_uid(sam_pwent); gid = pdb_get_gid(sam_pwent); |