Ditto on the const religion.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Dec 2001 00:24:57 +0000 (00:24 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Dec 2001 00:24:57 +0000 (00:24 +0000)
source/libsmb/cli_samr.c

index 49010324e35df22eab816c3c8d8e54504e02ad0b..b7e0e700308ba614a4fdf1336316cad8172a9410 100644 (file)
@@ -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)
 {