From fff6fa7576d69a3498f831ee99763b4b04f00e52 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Feb 2011 12:52:20 +0100 Subject: s3: Remove unused args from nss_get_info --- source3/include/nss_info.h | 1 - source3/winbindd/nss_info.c | 1 - source3/winbindd/winbindd_cache.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/include/nss_info.h b/source3/include/nss_info.h index 19bbe22e3b..bf66ef0a8c 100644 --- a/source3/include/nss_info.h +++ b/source3/include/nss_info.h @@ -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); diff --git a/source3/winbindd/nss_info.c b/source3/winbindd/nss_info.c index 8baa3c7c81..77ac421d55 100644 --- a/source3/winbindd/nss_info.c +++ b/source3/winbindd/nss_info.c @@ -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) { diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 832e8efe3c..a8b2e23414 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -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))); -- cgit