diff options
author | Jeremy Allison <jra@samba.org> | 1998-07-28 18:15:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-07-28 18:15:31 +0000 |
commit | 7abcd0521e36425bf7c3dc90929c00ed49e9ab07 (patch) | |
tree | c60e3192ada229a9fdf5f81fe085d3f279256928 /source3/param | |
parent | 1aa138922e5c0e4925ff5cbfcdb4e7cad367b31b (diff) | |
download | samba-7abcd0521e36425bf7c3dc90929c00ed49e9ab07.tar.gz samba-7abcd0521e36425bf7c3dc90929c00ed49e9ab07.tar.bz2 samba-7abcd0521e36425bf7c3dc90929c00ed49e9ab07.zip |
loadparm.c: Added strict sync parameter.
locking.c: Added code to deal with real open mode of file.
reply.c: Added strict sync parameter.
server.c: Added strict sync parameter. Fixed open modes.
Jeremy.
(This used to be commit ed57b603b5c9333d588e62d774ad2be67e43ffd9)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 10b261ed02..da0210eee7 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -308,6 +308,7 @@ typedef struct BOOL bWidelinks; BOOL bSymlinks; BOOL bSyncAlways; + BOOL bStrictSync; char magic_char; BOOL *copymap; BOOL bDeleteReadonly; @@ -398,6 +399,7 @@ static service sDefault = True, /* bWidelinks */ True, /* bSymlinks */ False, /* bSyncAlways */ + False, /* bStrictSync */ '~', /* magic char */ NULL, /* copymap */ False, /* bDeleteReadonly */ @@ -582,6 +584,7 @@ static struct parm_struct parm_table[] = {"max connections", P_INTEGER, P_LOCAL, &sDefault.iMaxConnections, NULL, NULL, 0}, {"min print space", P_INTEGER, P_LOCAL, &sDefault.iMinPrintSpace, NULL, NULL, 0}, {"sync always", P_BOOL, P_LOCAL, &sDefault.bSyncAlways, NULL, NULL, 0}, + {"strict sync", P_BOOL, P_LOCAL, &sDefault.bStrictSync, NULL, NULL, 0}, {"Printing Options", P_SEP, P_SEPARATOR}, {"load printers", P_BOOL, P_GLOBAL, &Globals.bLoadPrinters, NULL, NULL, 0}, @@ -1211,6 +1214,7 @@ FN_LOCAL_BOOL(lp_manglednames,bMangledNames) FN_LOCAL_BOOL(lp_widelinks,bWidelinks) FN_LOCAL_BOOL(lp_symlinks,bSymlinks) FN_LOCAL_BOOL(lp_syncalways,bSyncAlways) +FN_LOCAL_BOOL(lp_strict_sync,bStrictSync) FN_LOCAL_BOOL(lp_map_system,bMap_system) FN_LOCAL_BOOL(lp_delete_readonly,bDeleteReadonly) FN_LOCAL_BOOL(lp_fake_oplocks,bFakeOplocks) |