s3: Remove unused args from nss_get_info
authorVolker Lendecke <vl@samba.org>
Sat, 26 Feb 2011 11:52:20 +0000 (12:52 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 6 Mar 2011 11:51:01 +0000 (12:51 +0100)
source3/include/nss_info.h
source3/winbindd/nss_info.c
source3/winbindd/winbindd_cache.c

index 19bbe22e3b01ff953c52e53968697c947ce152bd..bf66ef0a8cc13803c9ae697b49e1dd1c877e70b8 100644 (file)
@@ -84,7 +84,6 @@ NTSTATUS smb_register_idmap_nss(int version,
 
 NTSTATUS nss_get_info( const char *domain, const struct dom_sid *user_sid,
                       TALLOC_CTX *ctx,
-                      ADS_STRUCT *ads, LDAPMessage *msg,
                       const char **homedir, const char **shell,
                       const char **gecos, gid_t *p_gid);
 
index 8baa3c7c81caee89a8fdc267a8980a5670918719..77ac421d5511d05ebf194b7a335d063231aa4653 100644 (file)
@@ -308,7 +308,6 @@ static struct nss_domain_entry *find_nss_domain( const char *domain )
 
 NTSTATUS nss_get_info( const char *domain, const struct dom_sid *user_sid,
                       TALLOC_CTX *ctx,
-                      ADS_STRUCT *ads, LDAPMessage *msg,
                       const char **homedir, const char **shell,
                       const char **gecos, gid_t *p_gid)
 {
index 832e8efe3c5000dc1e1b332b0412b8f52bed40f1..a8b2e23414884383cd32fb03d752e713ed6199b2 100644 (file)
@@ -4673,7 +4673,7 @@ NTSTATUS nss_get_info_cached( struct winbindd_domain *domain,
 
 do_query:
 
-       nt_status = nss_get_info( domain->name, user_sid, ctx, ads, msg, 
+       nt_status = nss_get_info( domain->name, user_sid, ctx,
                                  homedir, shell, gecos, p_gid );
 
        DEBUG(10, ("nss_get_info returned %s\n", nt_errstr(nt_status)));