summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_cache.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-06 00:08:53 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-06 00:08:53 +0000
commita9598d2e88fcd5384640baa963000e4f02679985 (patch)
treeb97aef17ac6e768526676e868e14b4828501272e /source3/nsswitch/winbindd_cache.c
parent9925ab72f0274aee8c13567b22a37289474af751 (diff)
downloadsamba-a9598d2e88fcd5384640baa963000e4f02679985.tar.gz
samba-a9598d2e88fcd5384640baa963000e4f02679985.tar.bz2
samba-a9598d2e88fcd5384640baa963000e4f02679985.zip
(merge from 3.0)
Add const. Andrew Bartlett (This used to be commit b08502a8fb1083cc49fd2976880b7bef3f14a72a)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r--source3/nsswitch/winbindd_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index bc6967dee1..91ef38a368 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -585,7 +585,7 @@ static void centry_end(struct cache_entry *centry, const char *format, ...)
static void wcache_save_name_to_sid(struct winbindd_domain *domain,
NTSTATUS status,
- const char *name, DOM_SID *sid,
+ const char *name, const DOM_SID *sid,
enum SID_NAME_USE type)
{
struct cache_entry *centry;
@@ -604,7 +604,7 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain,
}
static void wcache_save_sid_to_name(struct winbindd_domain *domain, NTSTATUS status,
- DOM_SID *sid, const char *name, enum SID_NAME_USE type)
+ const DOM_SID *sid, const char *name, enum SID_NAME_USE type)
{
struct cache_entry *centry;
fstring sid_string;
@@ -972,7 +972,7 @@ do_query:
given */
static NTSTATUS sid_to_name(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *sid,
+ const DOM_SID *sid,
char **name,
enum SID_NAME_USE *type)
{