summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-19 05:00:39 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-19 05:00:39 +0000
commit534fe319d9de8da2ed7e911dbba3c7df08193efa (patch)
tree83bcff6a41c637ad2eac663ed4facccb00eb8075 /source/include/smb.h
parent082109369b981713f68c13053b6419686f69ef26 (diff)
downloadsamba-534fe319d9de8da2ed7e911dbba3c7df08193efa.tar.gz
samba-534fe319d9de8da2ed7e911dbba3c7df08193efa.tar.xz
samba-534fe319d9de8da2ed7e911dbba3c7df08193efa.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.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 1c1a16b5b46..65746d219ca 100644
--- a/source/include/smb.h
+++ b/source/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