summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-05 00:43:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:02 -0500
commitda574945caea27fea468ed41eb42311480253a58 (patch)
treeee17e50401124881e3f055f77d1425f794c9b137 /source4/lib
parentc7c6b5620b4d5a40798ad536ee1b1426438de878 (diff)
downloadsamba-da574945caea27fea468ed41eb42311480253a58.tar.gz
samba-da574945caea27fea468ed41eb42311480253a58.tar.bz2
samba-da574945caea27fea468ed41eb42311480253a58.zip
r12057: fixed authentication in ldb client tools
(This used to be commit 020de11a61a1aa2c77c0a308186c85960c10fe32)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/cmdline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index 0be8951b9f..78dc84d01c 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -170,6 +170,9 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
if (ldb_set_opaque(ldb, "sessionInfo", system_session(ldb))) {
goto failed;
}
+ if (ldb_set_opaque(ldb, "credentials", cmdline_credentials)) {
+ goto failed;
+ }
#endif
if (ldb_connect(ldb, ret->url, flags, ret->options) != 0) {
fprintf(stderr, "Failed to connect to %s - %s\n",