summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 17:00:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:08:49 +0200
commit93126b3315a70d1beaeaa64d05cdbfb167acbabe (patch)
treefd7555f136bbc9c7b7f96b8cc753c0bfe0f9ed58 /source4/smb_server/smb
parent6280725b47391c69dd7db1133c15bd0ce7418da6 (diff)
downloadsamba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.gz
samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.bz2
samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.zip
samdb: Add flags argument to samdb_connect().
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/trans2.c b/source4/smb_server/smb/trans2.c
index aae85d6be9..416d6f04f1 100644
--- a/source4/smb_server/smb/trans2.c
+++ b/source4/smb_server/smb/trans2.c
@@ -1627,7 +1627,7 @@ static NTSTATUS trans2_getdfsreferral(struct smbsrv_request *req,
context = talloc_new(req);
NT_STATUS_HAVE_NO_MEMORY(context);
- ldb = samdb_connect(context, req->tcon->ntvfs->event_ctx, lp_ctx, system_session(lp_ctx));
+ ldb = samdb_connect(context, req->tcon->ntvfs->event_ctx, lp_ctx, system_session(lp_ctx), 0);
if (ldb == NULL) {
DEBUG(2,(__location__ ": Failed to open samdb\n"));
talloc_free(context);