summaryrefslogtreecommitdiffstats
path: root/source3/python/py_samr.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-24 06:31:49 +0000
committerTim Potter <tpot@samba.org>2003-03-24 06:31:49 +0000
commit223828642548c7e25f6189e274aa1edcdfe30c4f (patch)
tree2dfdc2a6966d131af7536f6013c6f0dffec3290b /source3/python/py_samr.h
parent4f70a8f6587e6d1c0cb9e5530197733ea48d7719 (diff)
downloadsamba-223828642548c7e25f6189e274aa1edcdfe30c4f.tar.gz
samba-223828642548c7e25f6189e274aa1edcdfe30c4f.tar.xz
samba-223828642548c7e25f6189e274aa1edcdfe30c4f.zip
Started working on python routines to add and delete domain users.
Unfortunately users get created with the ACB mask set to disabled and must change password. The set_user_info2 call required to fix this doesn't quite work yet... (This used to be commit 55a341a367a7d1b18ae7ef04678479eb74b68ea3)
Diffstat (limited to 'source3/python/py_samr.h')
-rw-r--r--source3/python/py_samr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/python/py_samr.h b/source3/python/py_samr.h
index 3292eb97ec..4d2b0675b4 100644
--- a/source3/python/py_samr.h
+++ b/source3/python/py_samr.h
@@ -78,4 +78,9 @@ extern PyObject *samr_error;
/* The following definitions are from py_samr_conv.c */
BOOL py_from_acct_info(PyObject **array, struct acct_info *info, int num_accts);
+BOOL py_from_SAM_USER_INFO_10(PyObject **dict, SAM_USER_INFO_10 *info);
+BOOL py_to_SAM_USER_INFO_10(SAM_USER_INFO_10 *info, PyObject *dict);
+BOOL py_from_SAM_USER_INFO_21(PyObject **dict, SAM_USER_INFO_21 *info);
+BOOL py_to_SAM_USER_INFO_21(SAM_USER_INFO_21 *info, PyObject *dict);
+
#endif /* _PY_SAMR_H */