new ldb group mapping code
Gerald (Jerry) Carter
jerry at samba.org
Wed Sep 27 02:55:20 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gerald (Jerry) Carter wrote:
> Tridge,
>
> I just noticed that
>
> -rw-rw-rw- 1 root Sep 25 14:29 /var/lib/samba/group_mapping.ldb
>
> But I can seem to find where to set the perms in the open.
Why is the 0666 mode hard coded in the open?
/* note that we use quite a large default hash size */
ltdb->tdb = ltdb_wrap_open(ltdb, path, 10000,
tdb_flags, open_flags, 0666, ldb);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGegYIR7qMdg1EfYRAvhTAJ40fSU6MbIQe4cYkrlNa8eMSFUi2wCghr4N
Bh/glOfeA45sTIwmvDEGMB0=
=YGDV
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list