s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.
[ira/wip.git] / source3 / include / smbldap.h
index f7f0de19c8fc069210238c51fc71274e9e96b7f9..d8f12bc373ce011d9c068e94a186b495cc382f52 100644 (file)
@@ -32,8 +32,11 @@ struct smbldap_state;
 
 NTSTATUS smbldap_init(TALLOC_CTX *mem_ctx,
                      struct tevent_context *tevent_ctx,
-                      const char *location,
-                      struct smbldap_state **smbldap_state);
+                     const char *location,
+                     bool anon,
+                     const char *bind_dn,
+                     const char *bind_secret,
+                     struct smbldap_state **smbldap_state);
 
 void smbldap_set_mod (LDAPMod *** modlist, int modop, const char *attribute, const char *value);
 void smbldap_set_mod_blob(LDAPMod *** modlist, int modop, const char *attribute, const DATA_BLOB *newblob);