diff options
author | Michael Adam <obnox@samba.org> | 2008-12-01 04:17:55 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-12-01 04:37:20 +0100 |
commit | 757a1f5132747807f7870097fab358b150f2790b (patch) | |
tree | 56fff2f24e619f85afa6dc7f291f507593d5ddd0 /source3/include | |
parent | 8340d100f6048776f6fd87704a10e7c103714ae7 (diff) | |
download | samba-757a1f5132747807f7870097fab358b150f2790b.tar.gz samba-757a1f5132747807f7870097fab358b150f2790b.tar.bz2 samba-757a1f5132747807f7870097fab358b150f2790b.zip |
s3:winbindd/nss_info: change nss_map_{to|from}_alias to take nss_domain_entry
instead of just the domain name
Michael
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nss_info.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/include/nss_info.h b/source3/include/nss_info.h index e756136b76..0224be099f 100644 --- a/source3/include/nss_info.h +++ b/source3/include/nss_info.h @@ -66,10 +66,12 @@ struct nss_info_methods { TALLOC_CTX *ctx, ADS_STRUCT *ads, LDAPMessage *msg, char **homedir, char **shell, char **gecos, gid_t *p_gid); - NTSTATUS (*map_to_alias)( TALLOC_CTX *mem_ctx, const char *domain, - const char *name, char **alias ); - NTSTATUS (*map_from_alias)( TALLOC_CTX *mem_ctx, const char *domain, - const char *alias, char **name ); + NTSTATUS (*map_to_alias)(TALLOC_CTX *mem_ctx, + struct nss_domain_entry *e, + const char *name, char **alias); + NTSTATUS (*map_from_alias)(TALLOC_CTX *mem_ctx, + struct nss_domain_entry *e, + const char *alias, char **name); NTSTATUS (*close_fn)( void ); }; |