summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ad.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-01 04:17:55 +0100
committerMichael Adam <obnox@samba.org>2008-12-01 04:37:20 +0100
commit757a1f5132747807f7870097fab358b150f2790b (patch)
tree56fff2f24e619f85afa6dc7f291f507593d5ddd0 /source3/winbindd/idmap_ad.c
parent8340d100f6048776f6fd87704a10e7c103714ae7 (diff)
downloadsamba-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/winbindd/idmap_ad.c')
-rw-r--r--source3/winbindd/idmap_ad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 60a2d8642a..0f2ac5127e 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -824,7 +824,7 @@ done:
*********************************************************************/
static NTSTATUS nss_ad_map_to_alias(TALLOC_CTX *mem_ctx,
- const char *domain,
+ struct nss_domain_entry *e,
const char *name,
char **alias)
{
@@ -838,7 +838,7 @@ static NTSTATUS nss_ad_map_to_alias(TALLOC_CTX *mem_ctx,
/* Check incoming parameters */
- if ( !domain || !name || !*alias) {
+ if ( !e || !e->domain || !name || !*alias) {
nt_status = NT_STATUS_INVALID_PARAMETER;
goto done;
}
@@ -896,7 +896,7 @@ done:
*********************************************************************/
static NTSTATUS nss_ad_map_from_alias( TALLOC_CTX *mem_ctx,
- const char *domain,
+ struct nss_domain_entry *e,
const char *alias,
char **name )
{