summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 12:50:46 +0100
committerVolker Lendecke <vl@samba.org>2011-03-06 12:51:01 +0100
commit99d98e31bc8e03cbec97bcea377c6c4da0b837b7 (patch)
tree3d47a26cedbdece2357538aeafa10952c69f26a3 /source3
parentf6f8ec8d8bccee5eec05c7f546e306bced897bbb (diff)
downloadsamba-99d98e31bc8e03cbec97bcea377c6c4da0b837b7.tar.gz
samba-99d98e31bc8e03cbec97bcea377c6c4da0b837b7.tar.xz
samba-99d98e31bc8e03cbec97bcea377c6c4da0b837b7.zip
s3: Remove unused args from get_nss_info
Diffstat (limited to 'source3')
-rw-r--r--source3/include/nss_info.h1
-rw-r--r--source3/winbindd/idmap_ad.c2
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.c2
-rw-r--r--source3/winbindd/idmap_hash/idmap_hash.c2
-rw-r--r--source3/winbindd/nss_info.c2
-rw-r--r--source3/winbindd/nss_info_template.c2
6 files changed, 1 insertions, 10 deletions
diff --git a/source3/include/nss_info.h b/source3/include/nss_info.h
index 9b910ca2567..19bbe22e3b0 100644
--- a/source3/include/nss_info.h
+++ b/source3/include/nss_info.h
@@ -64,7 +64,6 @@ struct nss_info_methods {
NTSTATUS (*get_nss_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);
NTSTATUS (*map_to_alias)(TALLOC_CTX *mem_ctx,
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 4ca3248bd83..dc40d4cedf0 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 c21e2fd2330..1e815def703 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 da5c4e3411f..a3f4a3a8a3a 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 b8e32b99455..8baa3c7c81c 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 7eb7510dadc..5fdfd9bba33 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,