git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6c968
)
r12057: fixed authentication in ldb client tools
author
Andrew Tridgell
<tridge@samba.org>
Mon, 5 Dec 2005 00:43:50 +0000
(
00:43
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:47:02 +0000
(13:47 -0500)
source/lib/ldb/tools/cmdline.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/tools/cmdline.c
b/source/lib/ldb/tools/cmdline.c
index 0be8951b9f0b0fe16dd3a5c2b319de54d8f42aa5..78dc84d01cf3f7e5e69e13cfd5972c0d36c652d7 100644
(file)
--- a/
source/lib/ldb/tools/cmdline.c
+++ b/
source/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",