diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 17:00:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 23:08:49 +0200 |
commit | 93126b3315a70d1beaeaa64d05cdbfb167acbabe (patch) | |
tree | fd7555f136bbc9c7b7f96b8cc753c0bfe0f9ed58 /source4/nbt_server | |
parent | 6280725b47391c69dd7db1133c15bd0ce7418da6 (diff) | |
download | samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.gz samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.bz2 samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.zip |
samdb: Add flags argument to samdb_connect().
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/nbt_server.c | 2 | ||||
-rw-r--r-- | source4/nbt_server/wins/winsdb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/nbt_server.c b/source4/nbt_server/nbt_server.c index 2ffa911587..4bccc02cc5 100644 --- a/source4/nbt_server/nbt_server.c +++ b/source4/nbt_server/nbt_server.c @@ -66,7 +66,7 @@ static void nbtd_task_init(struct task_server *task) return; } - nbtsrv->sam_ctx = samdb_connect(nbtsrv, task->event_ctx, task->lp_ctx, system_session(task->lp_ctx)); + nbtsrv->sam_ctx = samdb_connect(nbtsrv, task->event_ctx, task->lp_ctx, system_session(task->lp_ctx), 0); if (nbtsrv->sam_ctx == NULL) { task_server_terminate(task, "nbtd failed to open samdb", true); return; diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c index a0fe87dc68..f62cce9205 100644 --- a/source4/nbt_server/wins/winsdb.c +++ b/source4/nbt_server/wins/winsdb.c @@ -1013,7 +1013,7 @@ struct winsdb_handle *winsdb_connect(TALLOC_CTX *mem_ctx, h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lock_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)), NULL, NULL, flags); - if (!h->ldb) goto failed; + if (!h->ldb) goto failed; h->caller = caller; h->hook_script = lpcfg_wins_hook(lp_ctx); |