summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-05 00:24:57 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-05 00:24:57 +0000
commit8818847c85647cd824a33de57c0e544558fece77 (patch)
tree05a8f6d4d5524eb3b9f5908b1436a2f29f45ac12 /source3/libsmb
parentd67041a532ae2ab6f52647f0fd218dfe10a841c1 (diff)
downloadsamba-8818847c85647cd824a33de57c0e544558fece77.tar.gz
samba-8818847c85647cd824a33de57c0e544558fece77.tar.bz2
samba-8818847c85647cd824a33de57c0e544558fece77.zip
Ditto on the const religion.
(This used to be commit e1b940c91b748230664544fd9191123247dd1f24)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cli_samr.c b/source3/libsmb/cli_samr.c
index 49010324e3..b7e0e70030 100644
--- a/source3/libsmb/cli_samr.c
+++ b/source3/libsmb/cli_samr.c
@@ -129,7 +129,7 @@ NTSTATUS cli_samr_close(struct cli_state *cli, TALLOC_CTX *mem_ctx,
NTSTATUS cli_samr_open_domain(struct cli_state *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *connect_pol, uint32 access_mask,
- DOM_SID *domain_sid, POLICY_HND *domain_pol)
+ const DOM_SID *domain_sid, POLICY_HND *domain_pol)
{
prs_struct qbuf, rbuf;
SAMR_Q_OPEN_DOMAIN q;
@@ -940,7 +940,7 @@ NTSTATUS cli_samr_lookup_names(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Create a domain user */
NTSTATUS cli_samr_create_dom_user(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *domain_pol, char *acct_name,
+ POLICY_HND *domain_pol, const char *acct_name,
uint32 acb_info, uint32 unknown,
POLICY_HND *user_pol, uint32 *rid)
{