summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_ads.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-10 16:32:58 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-10 16:32:58 +0000
commit8240abca9564a87feff1783739a03bb708610271 (patch)
tree8ca79917b0c5f41790f988e53f89dc756cf11685 /source3/nsswitch/winbindd_ads.c
parentfaab4f3c27d994add8691817c2ec965e459fce96 (diff)
downloadsamba-8240abca9564a87feff1783739a03bb708610271.tar.gz
samba-8240abca9564a87feff1783739a03bb708610271.tar.bz2
samba-8240abca9564a87feff1783739a03bb708610271.zip
Apply some const
(This used to be commit e2696b81bb5e4d12281cf99dc50f91844ae51c2e)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
-rw-r--r--source3/nsswitch/winbindd_ads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index e6b857f406..73c5af978c 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -390,7 +390,7 @@ failed:
/* Lookup user information from a rid */
static NTSTATUS query_user(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *sid,
+ const DOM_SID *sid,
WINBIND_USERINFO *info)
{
ADS_STRUCT *ads = NULL;
@@ -561,7 +561,7 @@ done:
/* Lookup groups a user is a member of. */
static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *sid,
+ const DOM_SID *sid,
uint32 *num_groups, DOM_SID ***user_gids)
{
ADS_STRUCT *ads = NULL;
@@ -659,7 +659,7 @@ done:
*/
static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *group_sid, uint32 *num_names,
+ const DOM_SID *group_sid, uint32 *num_names,
DOM_SID ***sid_mem, char ***names,
uint32 **name_types)
{