summaryrefslogtreecommitdiff
path: root/source/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 18b2cb15424..54fb4d5cc7c 100644
--- a/source/include/smb.h
+++ b/source/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;