s3:idmap: add a read_only flag to the idmap_domain struct.
authorMichael Adam <obnox@samba.org>
Thu, 29 Jul 2010 15:51:13 +0000 (17:51 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:41 +0000 (02:10 +0200)
This will be used to mark "allocating backends" (tdb, tdb2, ldap) read-only.

source3/include/idmap.h

index ad94045cbf19c45a264f071fe8027f56adb08c23..aab41cd7d3332cfc0226cd6f43d1c1733f3db827 100644 (file)
@@ -35,6 +35,7 @@ struct idmap_domain {
        struct idmap_methods *methods;
        uint32_t low_id;
        uint32_t high_id;
+       bool read_only;
        void *private_data;
 };