diff options
Diffstat (limited to 'source3/modules/nfs4_acls.c')
-rw-r--r-- | source3/modules/nfs4_acls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index b4715af2ed..bd3c7fac72 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -590,7 +590,8 @@ static bool nfs4_map_sid(smbacl4_vfs_params *params, const struct dom_sid *src, become_root(); mapping_db = db_open(NULL, dbname, 0, TDB_DEFAULT, - O_RDONLY, 0600); + O_RDONLY, 0600, + DBWRAP_LOCK_ORDER_1); unbecome_root(); if (mapping_db == NULL) { |