From 99d98e31bc8e03cbec97bcea377c6c4da0b837b7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Feb 2011 12:50:46 +0100 Subject: s3: Remove unused args from get_nss_info --- source3/winbindd/idmap_ad.c | 2 -- source3/winbindd/idmap_adex/idmap_adex.c | 2 -- source3/winbindd/idmap_hash/idmap_hash.c | 2 -- source3/winbindd/nss_info.c | 2 +- source3/winbindd/nss_info_template.c | 2 -- 5 files changed, 1 insertion(+), 9 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index 4ca3248bd8..dc40d4cedf 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -813,8 +813,6 @@ static NTSTATUS nss_rfc2307_init( struct nss_domain_entry *e ) static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e, const struct dom_sid *sid, TALLOC_CTX *mem_ctx, - ADS_STRUCT *ads, - LDAPMessage *msg, const char **homedir, const char **shell, const char **gecos, diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c index c21e2fd233..1e815def70 100644 --- a/source3/winbindd/idmap_adex/idmap_adex.c +++ b/source3/winbindd/idmap_adex/idmap_adex.c @@ -285,8 +285,6 @@ static NTSTATUS _nss_adex_get_info(struct nss_domain_entry *e, const struct dom_sid * 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/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c index da5c4e3411..a3f4a3a8a3 100644 --- a/source3/winbindd/idmap_hash/idmap_hash.c +++ b/source3/winbindd/idmap_hash/idmap_hash.c @@ -277,8 +277,6 @@ static NTSTATUS nss_hash_init(struct nss_domain_entry *e ) static NTSTATUS nss_hash_get_info(struct nss_domain_entry *e, const struct dom_sid *sid, TALLOC_CTX *ctx, - ADS_STRUCT *ads, - LDAPMessage *msg, const char **homedir, const char **shell, const char **gecos, diff --git a/source3/winbindd/nss_info.c b/source3/winbindd/nss_info.c index b8e32b9945..8baa3c7c81 100644 --- a/source3/winbindd/nss_info.c +++ b/source3/winbindd/nss_info.c @@ -326,7 +326,7 @@ NTSTATUS nss_get_info( const char *domain, const struct dom_sid *user_sid, m = p->backend->methods; - return m->get_nss_info( p, user_sid, ctx, ads, msg, + return m->get_nss_info( p, user_sid, ctx, homedir, shell, gecos, p_gid ); } diff --git a/source3/winbindd/nss_info_template.c b/source3/winbindd/nss_info_template.c index 7eb7510dad..5fdfd9bba3 100644 --- a/source3/winbindd/nss_info_template.c +++ b/source3/winbindd/nss_info_template.c @@ -36,8 +36,6 @@ static NTSTATUS nss_template_init( struct nss_domain_entry *e ) static NTSTATUS nss_template_get_info( struct nss_domain_entry *e, const struct dom_sid *sid, TALLOC_CTX *ctx, - ADS_STRUCT *ads, - LDAPMessage *msg, const char **homedir, const char **shell, const char **gecos, -- cgit