diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-19 05:00:39 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-19 05:00:39 +0000 |
commit | fda194255c156ce373d5f195e960bf8712fe4d67 (patch) | |
tree | 923128bdd81be1be598fb4224a2fb74820ffa8f1 /source3/include | |
parent | 6cc71c5354bc352daab0b76f9298c13ad0715c71 (diff) | |
download | samba-fda194255c156ce373d5f195e960bf8712fe4d67.tar.gz samba-fda194255c156ce373d5f195e960bf8712fe4d67.tar.bz2 samba-fda194255c156ce373d5f195e960bf8712fe4d67.zip |
Beau Kuiper: provided patch so that passwords could only be changed by
root if the ACB_PWLOCK bit is set (on a per-user basis). he also added
an extra smbpasswd option so that this bit can be modified from
command-line.
(This used to be commit 534fe319d9de8da2ed7e911dbba3c7df08193efa)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 1c1a16b5b4..65746d219c 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -372,6 +372,7 @@ typedef struct nttime_info #define ACB_SVRTRUST 0x0100 /* 1 = Server trust account */ #define ACB_PWNOEXP 0x0200 /* 1 = User password does not expire */ #define ACB_AUTOLOCK 0x0400 /* 1 = Account auto locked */ +#define ACB_PWLOCK 0x0800 /* 1 = Password is locked and connot be changed remotely */ #define MAX_HOURS_LEN 32 |