diff options
author | Jeremy Allison <jra@samba.org> | 1997-11-17 19:16:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-11-17 19:16:38 +0000 |
commit | 9f804556c4d0bb68f9b7acaf2b679bc0a02ea8f9 (patch) | |
tree | 869fdc138c242f9a059e62562ef267043941ec09 /source3/param/loadparm.c | |
parent | 30dfa00877514274aef2cd3e1bd954b017beed10 (diff) | |
download | samba-9f804556c4d0bb68f9b7acaf2b679bc0a02ea8f9.tar.gz samba-9f804556c4d0bb68f9b7acaf2b679bc0a02ea8f9.tar.bz2 samba-9f804556c4d0bb68f9b7acaf2b679bc0a02ea8f9.zip |
loadparm.c : Added "veto oplock files" parameter.
make_printerdef.c: Fixed warning.
quotas.c: Fixed irix root errors.
server.c: Fixed oplock reference count bug.
smb.h: Added IS_VETO_OPLOCK_PATH().
Jeremy.
(This used to be commit c28487df63e29bc0f8d2ece876a07a2a076d4c73)
Diffstat (limited to 'source3/param/loadparm.c')
-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 69c5fbd5c2..3b8a06f02e 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -233,6 +233,7 @@ typedef struct char *szMangledMap; char *szVetoFiles; char *szHideFiles; + char *szVetoOplockFiles; char *comment; char *force_user; char *force_group; @@ -317,6 +318,7 @@ static service sDefault = NULL, /* szMangledMap */ NULL, /* szVetoFiles */ NULL, /* szHideFiles */ + NULL, /* szVetoOplockFiles */ NULL, /* comment */ NULL, /* force user */ NULL, /* force group */ @@ -556,6 +558,7 @@ struct parm_struct {"delete veto files",P_BOOL, P_LOCAL, &sDefault.bDeleteVetoFiles, NULL}, {"veto files", P_STRING, P_LOCAL, &sDefault.szVetoFiles, NULL}, {"hide files", P_STRING, P_LOCAL, &sDefault.szHideFiles, NULL}, + {"veto oplock files",P_STRING, P_LOCAL, &sDefault.szVetoOplockFiles,NULL}, {"guest only", P_BOOL, P_LOCAL, &sDefault.bGuest_only, NULL}, {"only guest", P_BOOL, P_LOCAL, &sDefault.bGuest_only, NULL}, {"guest ok", P_BOOL, P_LOCAL, &sDefault.bGuest_ok, NULL}, @@ -966,6 +969,7 @@ FN_LOCAL_STRING(lp_volume,volume) FN_LOCAL_STRING(lp_mangled_map,szMangledMap) FN_LOCAL_STRING(lp_veto_files,szVetoFiles) FN_LOCAL_STRING(lp_hide_files,szHideFiles) +FN_LOCAL_STRING(lp_veto_oplocks,szVetoFiles) FN_LOCAL_STRING(lp_driverlocation,szPrinterDriverLocation) FN_LOCAL_BOOL(lp_alternate_permissions,bAlternatePerm) |