From d76b3fd0a88aeedca42d1d29690c455951a6e975 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Feb 2011 12:55:34 +0100 Subject: s3: Remove some unused code --- source3/winbindd/idmap_ad.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'source3') 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 " -- cgit