git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r10810: This adds the hooks required to communicate the current user from the
[gd/samba-autobuild/.git]
/
source4
/
lib
/
ldb
/
tools
/
cmdline.c
diff --git
a/source4/lib/ldb/tools/cmdline.c
b/source4/lib/ldb/tools/cmdline.c
index 7cdecc334f8948e551255d90231dcf7aa1898d0b..642ad127d8040d59570ff6a5264aa8a188af3d64 100644
(file)
--- a/
source4/lib/ldb/tools/cmdline.c
+++ b/
source4/lib/ldb/tools/cmdline.c
@@
-75,6
+75,11
@@
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
if (r != 0) {
goto failed;
}
+
+ if (ldb_set_opaque(ldb, "securityToken", system_session(ldb))) {
+ goto failed;
+ }
+
#endif
ret = talloc_zero(ldb, struct ldb_cmdline);