diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-27 05:57:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:22 -0500 |
commit | 4c3b07b654f4eb9041da0e9a84bc60d667901fe5 (patch) | |
tree | 9313c76ded12df3eef7b1a9053f126ca03f3be3e /source4/lib/ldb/include/ldb_private.h | |
parent | 4e7c9367a7f885b685d7d1476c359e5848356f83 (diff) | |
download | samba-4c3b07b654f4eb9041da0e9a84bc60d667901fe5.tar.gz samba-4c3b07b654f4eb9041da0e9a84bc60d667901fe5.tar.bz2 samba-4c3b07b654f4eb9041da0e9a84bc60d667901fe5.zip |
r18942: add a ldb_set_create_perms() function in ldb. I didn't call it
ldb_set_umask() (which is what we had discussed) as it doesn't
actually set the umask (in effect it sets the inverse of the umask -
the perms to be used for the file)
(This used to be commit 7e2ec875908c112d5c3b0f6d18f9a8bbacf33539)
Diffstat (limited to 'source4/lib/ldb/include/ldb_private.h')
-rw-r--r-- | source4/lib/ldb/include/ldb_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h index 96b71ff3b4..3cacd5e292 100644 --- a/source4/lib/ldb/include/ldb_private.h +++ b/source4/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 |