diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-11 15:30:09 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-11 17:46:35 +0300 |
commit | a735c1ade2573fadc84a0aae03cdaa1bddd43f90 (patch) | |
tree | 97327aaf998d89cd8ccc8b0b46d24da9f44f39a7 | |
parent | 84fb3ed8a5e6cb253ec1e461185b0b68e57cf21a (diff) | |
download | samba-a735c1ade2573fadc84a0aae03cdaa1bddd43f90.tar.gz samba-a735c1ade2573fadc84a0aae03cdaa1bddd43f90.tar.bz2 samba-a735c1ade2573fadc84a0aae03cdaa1bddd43f90.zip |
s4/test-libnet: add few comments for utility functions
-rw-r--r-- | source4/torture/libnet/utils.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source4/torture/libnet/utils.c b/source4/torture/libnet/utils.c index 7c254d634a..58db297a99 100644 --- a/source4/torture/libnet/utils.c +++ b/source4/torture/libnet/utils.c @@ -36,7 +36,6 @@ * * @param _domain_handle [out] Ptr to storage to store Domain handle * @param _dom_sid [out] If NULL, Domain SID won't be returned - * @return */ bool test_domain_open(struct torture_context *tctx, struct dcerpc_binding_handle *b, @@ -162,8 +161,7 @@ done: * Removes user by RDN through SAMR interface. * * @param domain_handle [in] Domain handle - * @param name - * @return + * @param user_rdn [in] User's RDN in ldap database */ bool test_user_cleanup(struct torture_context *tctx, struct dcerpc_binding_handle *b, @@ -302,6 +300,9 @@ bool test_user_create(struct torture_context *tctx, } +/** + * Deletes a Group using SAMR interface + */ bool test_group_cleanup(struct torture_context *tctx, struct dcerpc_binding_handle *b, TALLOC_CTX *mem_ctx, struct policy_handle *domain_handle, @@ -361,6 +362,13 @@ bool test_group_cleanup(struct torture_context *tctx, } +/** + * Creates a Group object using SAMR interface + * + * @param group_name [in] Name of the group to create + * @param rid [out] RID of group created. May be NULL in + * which case RID is not required by caller + */ bool test_group_create(struct torture_context *tctx, struct dcerpc_binding_handle *b, TALLOC_CTX *mem_ctx, struct policy_handle *handle, const char *name, |