diff options
author | Jeremy Allison <jra@samba.org> | 2000-02-25 22:25:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-02-25 22:25:25 +0000 |
commit | 0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2 (patch) | |
tree | 5213fb9aa9cb2a4ae1ea9ee288a5a8f2eabd8998 /source3/include/smb.h | |
parent | 66018871c7eb1fedcdf8829b53038b6b484db6a3 (diff) | |
download | samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.tar.gz samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.tar.bz2 samba-0f1eee5c7ac4031cd2a97524b1f65a24d0d618c2.zip |
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.
(This used to be commit 9f6ad046761adecafba59040baa3abc9f0959e65)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 18b2cb1542..54fb4d5cc7 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -747,6 +747,7 @@ struct passdb_ops { */ BOOL (*add_smbpwd_entry)(struct smb_passwd *); BOOL (*mod_smbpwd_entry)(struct smb_passwd *, BOOL); + BOOL (*del_smbpwd_entry)(const char *); /* * Functions that manupulate a struct sam_passwd. @@ -783,6 +784,17 @@ struct passdb_ops { #endif }; +/* + * Flags for local user manipulation. + */ + +#define LOCAL_ADD_USER 0x1 +#define LOCAL_DELETE_USER 0x2 +#define LOCAL_DISABLE_USER 0x4 +#define LOCAL_ENABLE_USER 0x8 +#define LOCAL_TRUST_ACCOUNT 0x10 +#define LOCAL_SET_NO_PASSWORD 0x20 + /* key and data in the connections database - used in smbstatus and smbd */ struct connections_key { pid_t pid; |