search for: enum_list

Displaying 20 results from an estimated 20 matches for "enum_list".

2018 May 11
4
vfs_full_audit and facility 'auth'...
...he facilities shown in > > 'man syslog' e.g. full_audit:facility = LOG_AUTH > > OK, done. But samba (as stated in previous email) still reply: > > [2018/05/08 17:34:42.388486, > 0] ../source3/param/loadparm.c:1179(lp_enum) lp_enum(LOG_AUTH,enum): > value is not in enum_list! > > so seems that 'auth' and also 'LOG_AUTH' is not a valid keyword... > > > (debian jessie, systemd, samba 4.5 from louis repository) > OK, if you look in 'man vfs_full_audit' is says this: full_audit:facility = FACILITY Log messa...
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...Default = { True, /* bWidelinks */ True, /* bSymlinks */ False, /* bSyncAlways */ - False, /* bStrictAllocate */ + STRICT_ALLOCATE_OFF, /* iStrictAllocate */ False, /* bStrictSync */ '~', /* magic char */ NULL, /* copymap */ @@ -861,6 +861,21 @@ static const struct enum_list enum_config_backend[] = { {-1, NULL} }; +static const struct enum_list enum_strict_allocate[] = { + {STRICT_ALLOCATE_OFF, "No"}, + {STRICT_ALLOCATE_OFF, "False"}, + {STRICT_ALLOCATE_OFF, "0"}, + {STRICT_ALLOCATE_OFF, "Off"}, + {STRICT_ALLOCATE_OFF, &quot...
2018 May 08
2
vfs_full_audit and facility 'auth'...
...nlink full_audit:failure = none full_audit:facility = auth full_audit:priority = info but samba refuse 'full_audit:facility = auth' as a good option: [2018/05/08 16:32:50.564456, 0] ../source3/param/loadparm.c:1179(lp_enum) lp_enum(auth,enum): value is not in enum_list! Why?! Only local* are acceptable? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostraf...
2018 May 08
2
vfs_full_audit and facility 'auth'...
...gt; full_audit:facility = FACILITY > Log messages to the named syslog(3) facility. > > See 'man syslog' for the 'facilities' you can use. [2018/05/08 17:34:42.388486, 0] ../source3/param/loadparm.c:1179(lp_enum) lp_enum(LOG_AUTH,enum): value is not in enum_list! ;-) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0...
2018 May 10
2
vfs_full_audit and facility 'auth'...
...Log messages to the named syslog(3) facility. > > > > > > See 'man syslog' for the 'facilities' you can use. > > > [2018/05/08 17:34:42.388486, > > 0] ../source3/param/loadparm.c:1179(lp_enum) > > lp_enum(LOG_AUTH,enum): value is not in enum_list! > > > ;-) > > > Some hint on how to use 'auth' as facility?! Thanks. You would replace 'FACILITY' with one of the facilities shown in 'man syslog' e.g. full_audit:facility = LOG_AUTH Rowland
2009 May 07
13
what database field type should i use ??
in a database table if there is a field which has a certain set of fixed values. for example staus => {Single, Married, Divorced } OR state => {California, Albama, Olaska ...} so what should be preferred way out of the following for storing the values 1. Keep the field as "string(Rails)" VARCHAR(MySQL) itself ....and while showing the field just show the field value. 2. Keep
2018 May 11
0
vfs_full_audit and facility 'auth'...
...> 'man syslog' e.g. full_audit:facility = LOG_AUTH > > > > OK, done. But samba (as stated in previous email) still reply: > > > > [2018/05/08 17:34:42.388486, > > 0] ../source3/param/loadparm.c:1179(lp_enum) lp_enum(LOG_AUTH,enum): > > value is not in enum_list! > > > > so seems that 'auth' and also 'LOG_AUTH' is not a valid keyword... > > > > > > (debian jessie, systemd, samba 4.5 from louis repository) > > > > OK, if you look in 'man vfs_full_audit' is says this: > > full_au...
2003 Sep 30
1
announce as ... whatif? Faking Samba to be a W2k machine?
..., Quick q. Has anyone tried this, and what's the success/failure of this? Changing param/loadparm.c : /* Types of machine we can announce as. */ #define ANNOUNCE_AS_NT_SERVER 1 #define ANNOUNCE_AS_WIN95 2 #define ANNOUNCE_AS_WFW 3 #define ANNOUNCE_AS_NT_WORKSTATION 4 static const struct enum_list enum_announce_as[] = { {ANNOUNCE_AS_NT_SERVER, "NT"}, {ANNOUNCE_AS_NT_SERVER, "NT Server"}, {ANNOUNCE_AS_NT_WORKSTATION, "NT Workstation"}, {ANNOUNCE_AS_WIN95, "win95"}, {ANNOUNCE_AS_WFW, "WfW"},...
2011 Mar 18
1
[PATCH] s3: Add "spoolss backchannel" parameter
...ap_hidden */ True, /* bMap_archive */ @@ -2642,6 +2644,15 @@ static struct parm_struct parm_table[] = { .flags = FLAG_HIDE, }, { + .label = "spoolss backchannel", + .type = P_BOOL, + .p_class = P_LOCAL, + .ptr = &sDefault.bSpoolssBackchannel, + .special = NULL, + .enum_list = NULL, + .flags = FLAG_ADVANCED, + }, + { .label = "printing", .type = P_ENUM, .p_class = P_LOCAL, @@ -5665,6 +5676,7 @@ FN_LOCAL_BOOL(lp_guest_ok, bGuest_ok) FN_LOCAL_BOOL(lp_guest_only, bGuest_only) FN_LOCAL_BOOL(lp_administrative_share, bAdministrative_share) FN_LOCAL_...
2018 May 11
0
vfs_full_audit and facility 'auth'...
...t; wrote: > On 11 May 2018 at 17:00, Rowland Penny via samba-technical < > samba-technical at lists.samba.org> wrote: > > > On Fri, 11 May 2018 16:46:55 +0200 > > "Timur I. Bakeyev" <timur at freebsd.org> wrote: > > > static const struct enum_list enum_log_facilities[] = { > > > { LOG_USER, "USER" }, > > > { LOG_LOCAL0, "LOCAL0" }, > > > { LOG_LOCAL1, "LOCAL1" }, > > > { LOG_LOCAL2, "LOCAL2" }, > >...
2018 Mar 16
2
[PATCH] drm: Don't pass the index to drm_property_add_enum()
...7 +1156,7 @@ int drm_connector_attach_scaling_mode_property(struct drm_connector *connector, { struct drm_device *dev = connector->dev; struct drm_property *scaling_mode_property; - int i, j = 0; + int i; const unsigned valid_scaling_mode_mask = (1U << ARRAY_SIZE(drm_scaling_mode_enum_list)) - 1; @@ -1177,7 +1177,7 @@ int drm_connector_attach_scaling_mode_property(struct drm_connector *connector, if (!(BIT(i) & scaling_mode_mask)) continue; - ret = drm_property_add_enum(scaling_mode_property, j++, + ret = drm_property_add_enum(scaling_mode_property, drm_sca...
2011 Jun 11
0
RFE: Proposed fix for incompat introduced with 'unix extensions' and 'wide links'....in 3.4(?)..
...bool bUnixExtensions; bool bDisableNetbios; char * szDedicatedKeytabFile; @@ -939,6 +940,15 @@ .flags = FLAG_ADVANCED }, { + .label = "client managed wide links", + .type = P_BOOL, + .p_class = P_GLOBAL, + .ptr = &Globals.bClientManagedWidelinks, + .special = NULL, + .enum_list = NULL, + .flags = FLAG_ADVANCED + }, + { .label = "unix charset", .type = P_STRING, .p_class = P_GLOBAL, @@ -5085,6 +5095,7 @@ #else Globals.bUseMmap = True; #endif + Globals.bClientManagedWidelinks = False; Globals.bUnixExtensions = True; Globals.bResetOnZeroVC = False; Gl...
2018 May 11
3
vfs_full_audit and facility 'auth'...
...y 2018 at 17:00, Rowland Penny via samba-technical < > > samba-technical at lists.samba.org> wrote: > > > > > On Fri, 11 May 2018 16:46:55 +0200 > > > "Timur I. Bakeyev" <timur at freebsd.org> wrote: > > > > static const struct enum_list enum_log_facilities[] = { > > > > { LOG_USER, "USER" }, > > > > { LOG_LOCAL0, "LOCAL0" }, > > > > { LOG_LOCAL1, "LOCAL1" }, > > > > { LOG_LOCAL2, "LOCAL...
2002 Mar 15
1
disabling offline caching from samba
I'm preparing to roll out a bunch of win XP clients and and am running down all the quirks that come up in the application log on my test box. 1) AutoEnrollement fails - samba is not an active directory so this makes sense it must be disabled by editing the group policy with gpedit.msc computer configuration->windows settings -> security settings -> public key policies ->
2018 Apr 26
1
[PATCH] drm: Don't pass the index to drm_property_add_enum()
...ng_mode_property(struct drm_connector *connector, { struct drm_device *dev = connector->dev; struct drm_property *scaling_mode_property; - int i, j = 0; + int i; const unsigned valid_scaling_mode_mask = (1U << ARRAY_SIZE(drm_scaling_mode_enum_list)) - 1; @@ -1177,7 +1177,7 @@ int drm_connector_attach_scaling_mode_property(struct drm_connector *connector, if (!(BIT(i) & scaling_mode_mask)) continue; - ret = drm_property_add_enum(scaling_mode_property, j++, + ret = drm_p...
2018 Apr 23
0
[PATCH] drm: Don't pass the index to drm_property_add_enum()
...ng_mode_property(struct drm_connector *connector, { struct drm_device *dev = connector->dev; struct drm_property *scaling_mode_property; - int i, j = 0; + int i; const unsigned valid_scaling_mode_mask = (1U << ARRAY_SIZE(drm_scaling_mode_enum_list)) - 1; @@ -1177,7 +1177,7 @@ int drm_connector_attach_scaling_mode_property(struct drm_connector *connector, if (!(BIT(i) & scaling_mode_mask)) continue; - ret = drm_property_add_enum(scaling_mode_property, j++, + ret = drm_p...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...ommon.c > +++ b/source3/modules/vfs_acl_common.c > @@ -46,8 +46,16 @@ static NTSTATUS store_acl_blob_fsp(vfs_handle_struct *handle, > SECINFO_DACL | \ > SECINFO_SACL) > > +enum default_acl_style {DEFAULT_ACL_POSIX, DEFAULT_ACL_WINDOWS}; > + > +static const struct enum_list default_acl_style[] = { > + {DEFAULT_ACL_POSIX, "posix"}, > + {DEFAULT_ACL_WINDOWS, "windows"} > +}; > + > struct acl_common_config { > bool ignore_system_acls; > + enum default_acl_style default_acl_style; > }; > > static bool init_acl_commo...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...ommon.c > +++ b/source3/modules/vfs_acl_common.c > @@ -46,8 +46,16 @@ static NTSTATUS store_acl_blob_fsp(vfs_handle_struct *handle, > SECINFO_DACL | \ > SECINFO_SACL) > > +enum default_acl_style {DEFAULT_ACL_POSIX, DEFAULT_ACL_WINDOWS}; > + > +static const struct enum_list default_acl_style[] = { > + {DEFAULT_ACL_POSIX, "posix"}, > + {DEFAULT_ACL_WINDOWS, "windows"} > +}; > + > struct acl_common_config { > bool ignore_system_acls; > + enum default_acl_style default_acl_style; > }; > > static bool init_acl_commo...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the