git.samba.org
/
kamenim
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4/ldb: expose the ldb flags with ldb_get_flags()
[kamenim/samba.git]
/
source4
/
lib
/
ldb
/
common
/
ldb.c
diff --git
a/source4/lib/ldb/common/ldb.c
b/source4/lib/ldb/common/ldb.c
index dc3032643cc062224d1121f4f945589c72222da6..6939cefb59389d0797c2e05f4f21beb1757a71c5 100644
(file)
--- a/
source4/lib/ldb/common/ldb.c
+++ b/
source4/lib/ldb/common/ldb.c
@@
-1467,3
+1467,9
@@
int ldb_global_init(void)
/* Provided for compatibility with some older versions of ldb */
return 0;
}
+
+/* return the ldb flags */
+unsigned int ldb_get_flags(struct ldb_context *ldb)
+{
+ return ldb->flags;
+}