summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-07-18 11:56:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:13 -0500
commit018044a4b2ecc4a02eac9951849962c0f338f847 (patch)
tree876711402d7773a8c531efa92d421d0d2a4d770e /source3
parent8e99b53461f1aa7b318fc36dc47ab5d6abd37f9a (diff)
downloadsamba-018044a4b2ecc4a02eac9951849962c0f338f847.tar.gz
samba-018044a4b2ecc4a02eac9951849962c0f338f847.tar.bz2
samba-018044a4b2ecc4a02eac9951849962c0f338f847.zip
r17111: cleanup the idmap_ad initialization after review by gd
(This used to be commit 6c0a690f0a8ec4539b06ad75da0fd91abeb15fa4)
Diffstat (limited to 'source3')
-rw-r--r--source3/sam/idmap_ad.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/sam/idmap_ad.c b/source3/sam/idmap_ad.c
index f0adfa4028..cb09628c3f 100644
--- a/source3/sam/idmap_ad.c
+++ b/source3/sam/idmap_ad.c
@@ -139,13 +139,9 @@ static ADS_STRUCT *ad_idmap_cached_connection(void)
return ads;
}
+/* no op */
static NTSTATUS ad_idmap_init(const char *uri)
{
- ad_idmap_uri = SMB_STRDUP(uri);
- if (ad_idmap_uri == NULL) {
- return NT_STATUS_NO_MEMORY;
- }
-
return NT_STATUS_OK;
}