summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-09 07:05:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:20 -0500
commit617c39ab5ffbefcd7d0536c72ffbb0c36ce04215 (patch)
tree63cb28e40878c8286cfe8d550e7a3cc8e32574c5 /source3/lib/ldb/include
parent6c6842ee9449c45160fb82b6c1002f20414d3e6e (diff)
downloadsamba-617c39ab5ffbefcd7d0536c72ffbb0c36ce04215.tar.gz
samba-617c39ab5ffbefcd7d0536c72ffbb0c36ce04215.tar.bz2
samba-617c39ab5ffbefcd7d0536c72ffbb0c36ce04215.zip
r19182: merge from samba4:
add ldb_set_create_perms() function to set the create_perms after ldb_init() and before ldb_connect() metze (This used to be commit dd9d469eef337954b6aee4c86ac0691f52812456)
Diffstat (limited to 'source3/lib/ldb/include')
-rw-r--r--source3/lib/ldb/include/ldb.h1
-rw-r--r--source3/lib/ldb/include/ldb_private.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/ldb/include/ldb.h b/source3/lib/ldb/include/ldb.h
index 0761280d90..d2f3bd53d3 100644
--- a/source3/lib/ldb/include/ldb.h
+++ b/source3/lib/ldb/include/ldb.h
@@ -781,6 +781,7 @@ int ldb_wait(struct ldb_handle *handle, enum ldb_wait_type type);
int ldb_set_timeout(struct ldb_context *ldb, struct ldb_request *req, int timeout);
int ldb_set_timeout_from_prev_req(struct ldb_context *ldb, struct ldb_request *oldreq, struct ldb_request *newreq);
+void ldb_set_create_perms(struct ldb_context *ldb, unsigned int perms);
/**
Initialise ldbs' global information
diff --git a/source3/lib/ldb/include/ldb_private.h b/source3/lib/ldb/include/ldb_private.h
index 96b71ff3b4..3cacd5e292 100644
--- a/source3/lib/ldb/include/ldb_private.h
+++ b/source3/lib/ldb/include/ldb_private.h
@@ -119,6 +119,8 @@ struct ldb_context {
int default_timeout;
unsigned int flags;
+
+ unsigned int create_perms;
};
#ifndef ARRAY_SIZE