summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 12:55:34 +0100
committerVolker Lendecke <vl@samba.org>2011-03-06 12:51:01 +0100
commitd76b3fd0a88aeedca42d1d29690c455951a6e975 (patch)
treeb7fef0920fa6e88f54843ecf4ec0a85f3200c910 /source3/winbindd
parentd3ba16a5000dca0a270298057ce0eaf10d84f2b8 (diff)
downloadsamba-d76b3fd0a88aeedca42d1d29690c455951a6e975.tar.gz
samba-d76b3fd0a88aeedca42d1d29690c455951a6e975.tar.bz2
samba-d76b3fd0a88aeedca42d1d29690c455951a6e975.zip
s3: Remove some unused code
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ad.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index dc40d4cedf..8e7f432f0b 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -856,27 +856,6 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e,
return NT_STATUS_INVALID_PARAMETER;
}
- /* See if we can use the ADS connection struct swe were given */
-
-#if 0
- if (ads) {
- DEBUG(10, ("nss_ad_get_info: using given ads connection and "
- "LDAP message (%p)\n", msg));
-
- *homedir = ads_pull_string( ads, mem_ctx, msg, ctx->ad_schema->posix_homedir_attr );
- *shell = ads_pull_string( ads, mem_ctx, msg, ctx->ad_schema->posix_shell_attr );
- *gecos = ads_pull_string( ads, mem_ctx, msg, ctx->ad_schema->posix_gecos_attr );
-
- if (gid) {
- if ( !ads_pull_uint32(ads, msg, ctx->ad_schema->posix_gidnumber_attr, gid ) )
- *gid = (uint32)-1;
- }
-
- nt_status = NT_STATUS_OK;
- goto done;
- }
-#endif
-
/* Have to do our own query */
DEBUG(10, ("nss_ad_get_info: no ads connection given, doing our "