summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-31 04:17:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:01 -0500
commitc94718ecf860923a7857d8cb6821bd6a61ea00f9 (patch)
tree90ab19d38ba1e8b78988a99fd23e632075d85610 /source3/nsswitch
parenta78c61b9cdb535d43cda6de038ec7718e8b24491 (diff)
downloadsamba-c94718ecf860923a7857d8cb6821bd6a61ea00f9.tar.gz
samba-c94718ecf860923a7857d8cb6821bd6a61ea00f9.tar.bz2
samba-c94718ecf860923a7857d8cb6821bd6a61ea00f9.zip
r17947: Remove extra const.
Jeremy. (This used to be commit 86bfac33e35ee636581b88eb2ff55800c48b9a7b)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 2288f29888..b3332970db 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -601,7 +601,7 @@ static BOOL dcip_to_name( const char *domainname, const char *realm,
ads->auth.flags |= ADS_AUTH_NO_BIND;
if (ads_try_connect( ads, inet_ntoa(ip) ) ) {
- const char *sitename = sitename_fetch();
+ char *sitename = sitename_fetch();
/* We got a cldap packet. */
fstrcpy(name, ads->config.ldap_server_name);
namecache_store(name, 0x20, 1, &ip_list);