summaryrefslogtreecommitdiffstats
path: root/source3/lib/smbldap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-15 23:56:38 +0100
committerGünther Deschner <gd@samba.org>2011-11-16 12:26:26 +0100
commit65e2944c678a7d4d111ee00e9e964fde14b163a6 (patch)
treef583a2ed29949dc794b95f6e2966b6d4deb13296 /source3/lib/smbldap.c
parentaf50d7a57fcc69d0bc5928410618f253071e9759 (diff)
downloadsamba-65e2944c678a7d4d111ee00e9e964fde14b163a6.tar.gz
samba-65e2944c678a7d4d111ee00e9e964fde14b163a6.tar.xz
samba-65e2944c678a7d4d111ee00e9e964fde14b163a6.zip
s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.
Guenther
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r--source3/lib/smbldap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index ea21ed6b4b8..5a1ba09ff13 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -1703,6 +1703,9 @@ static int smbldap_state_destructor(struct smbldap_state *state)
NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx, struct tevent_context *tevent_ctx,
const char *location,
+ bool anon,
+ const char *bind_dn,
+ const char *bind_secret,
struct smbldap_state **smbldap_state)
{
*smbldap_state = talloc_zero(mem_ctx, struct smbldap_state);