summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-23 14:23:40 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-23 14:52:17 +1100
commit05f93c3e8fe2b0f6e520686742c48c78c96605ab (patch)
tree67439eb79368bc4adf889bd18485294f825ab8bc /source4/ldap_server
parent98e4393df926b600354ef16eb4eb19b5e11bf5c3 (diff)
downloadsamba-05f93c3e8fe2b0f6e520686742c48c78c96605ab.tar.gz
samba-05f93c3e8fe2b0f6e520686742c48c78c96605ab.tar.bz2
samba-05f93c3e8fe2b0f6e520686742c48c78c96605ab.zip
s4-dsdb: add a static samdb_credentials
Similarly to system_session(), this creates a static samdb_credentials()
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index f3d82a7bc4..8c6b8f9fd6 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -182,8 +182,8 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn)
conn->lp_ctx,
lp_sam_url(conn->lp_ctx),
conn->session_info,
- samdb_credentials(conn, conn->connection->event.ctx, conn->lp_ctx),
- conn->global_catalog ? LDB_FLG_RDONLY : 0, NULL);
+ samdb_credentials(conn->connection->event.ctx, conn->lp_ctx),
+ conn->global_catalog ? LDB_FLG_RDONLY : 0);
if (conn->ldb == NULL) {
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}