Displaying 20 results from an estimated 214 matches for "init_globals".
2016 Dec 13
0
Enabling statistics in release builds / static constructors
...tic cl::opt MyOpt("my-cool-option", cl::desc("bla"));
> static cl::opt AnotherOpt("bla", cl::desc("foo bar"));
> // Note that the constructors of Statistic and cl::opt would be reworked to be pure constexpr and do not run any code
>
> static void init_globals() {
> NumBlips.init();
> MyOpt.init();
> AnotherOpt.init();
> }
> // Note that the init_globals() function is pretty mechanical so hopefully easy to understand and maintain.
>
> We have to call init_gloabals somewhere early:
> - Put an init_globals() call into code that...
2016 Dec 13
3
Enabling statistics in release builds / static constructors
...ot;blips");
static cl::opt MyOpt("my-cool-option", cl::desc("bla"));
static cl::opt AnotherOpt("bla", cl::desc("foo bar"));
// Note that the constructors of Statistic and cl::opt would be reworked to be pure constexpr and do not run any code
static void init_globals() {
NumBlips.init();
MyOpt.init();
AnotherOpt.init();
}
// Note that the init_globals() function is pretty mechanical so hopefully easy to understand and maintain.
We have to call init_gloabals somewhere early:
- Put an init_globals() call into code that runs early.
- We already have a lot o...
2016 Dec 13
2
Enabling statistics in release builds / static constructors
...t("my-cool-option", cl::desc("bla"));
>> static cl::opt AnotherOpt("bla", cl::desc("foo bar"));
>> // Note that the constructors of Statistic and cl::opt would be reworked to be pure constexpr and do not run any code
>>
>> static void init_globals() {
>> NumBlips.init();
>> MyOpt.init();
>> AnotherOpt.init();
>> }
>> // Note that the init_globals() function is pretty mechanical so hopefully easy to understand and maintain.
>>
>> We have to call init_gloabals somewhere early:
>> - Put an init_g...
2016 Dec 13
0
Enabling statistics in release builds / static constructors
Given that LLVM has so many auto-registration systems (cl::opt, target
registry, pass registry, statistics, I'm sure there's more), maybe we
should spend the time to build an auto-registration system that doesn't
involve static constructors?
It needs custom code for every supported object file format, and is hard to
get right when DSOs are involved, but in the long run it's
2016 Dec 13
0
Enabling statistics in release builds / static constructors
...option", cl::desc("bla"));
>>> static cl::opt AnotherOpt("bla", cl::desc("foo bar"));
>>> // Note that the constructors of Statistic and cl::opt would be reworked to be pure constexpr and do not run any code
>>>
>>> static void init_globals() {
>>> NumBlips.init();
>>> MyOpt.init();
>>> AnotherOpt.init();
>>> }
>>> // Note that the init_globals() function is pretty mechanical so hopefully easy to understand and maintain.
>>>
>>> We have to call init_gloabals somewhere ear...
2014 Jul 21
1
Domain member (2k8R2) server, problem mapping Kerberos/NSS users
...e something missing regarding the mapping of Kerberos principals
to NSS accounts?
Thanks!
Elias P.
-------
Full log:
[2014/07/21 13:17:30.631879, 3]
../source3/param/loadparm.c:4838(lp_load_ex)
lp_load_ex: refreshing parameters
[2014/07/21 13:17:30.632052, 3]
../source3/param/loadparm.c:750(init_globals)
Initialising global parameters
[2014/07/21 13:17:30.632205, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2014/07/21 13:17:30.632266, 3]
../source3/param/loadparm.c:3564(do_section)
Processing section "[g...
2010 Oct 30
2
Samba 3.4.9 net rpc shutdown and XP Domain client
...esteis # net -d3 -S "XP" -U "Administrator"%"xxx" rpc shutdown -t "60"
-C "Shutting down in 1 minutes."
[2010/10/31 01:22:10, 3] param/loadparm.c:9039(lp_load_ex)
lp_load_ex: refreshing parameters
[2010/10/31 01:22:10, 3] param/loadparm.c:4848(init_globals)
Initialising global parameters
[2010/10/31 01:22:10, 2] param/loadparm.c:4707(max_open_files)
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
[2010/10/31 01:22:10, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/etc/...
2013 May 23
0
RHEL6 implementation running slow
...3] ../libcli/auth/ntlmssp_server.c:348(ntlmssp_server_preauth)
Got user=[awetheri] domain=[ADND] workstation=[workstation] len1=24 len2=160
[2013/05/23 10:19:16.405235, 3] param/loadparm.c:9572(lp_load_ex)
lp_load_ex: refreshing parameters
[2013/05/23 10:19:16.413957, 3] param/loadparm.c:5192(init_globals)
Initialising global parameters
[2013/05/23 10:19:16.415016, 3] ../lib/util/params.c:550(pm_process)
params.c:pm_process() - Processing configuration file "/shared/samba/3.6.15/lib/smb.conf"
[2013/05/23 10:19:16.415632, 3] param/loadparm.c:8310(do_section)
Processing section "...
2004 Jan 19
0
smbclient connect problem
...g a slightly
older version of smbclient) to a similarly setup
Windows box. This is what I get with d3 debug:
smbclient //guelyb-2k-2/pool mypassword -N -U GUELYB
-d3
[2004/01/19 17:59:08, 3]
param/loadparm.c:lp_load(3926)
lp_load: refreshing parameters
[2004/01/19 17:59:08, 3]
param/loadparm.c:init_globals(1303)
Initialising global parameters
[2004/01/19 17:59:08, 3]
param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration
file "/etc/samba/smb.conf"
[2004/01/19 17:59:08, 3]
param/loadparm.c:do_section(3429)
Processing section "[global]"
[2004/01/19 17:...
2018 Mar 02
2
Smbstatus shows many nobody users from win10 pc's
...sp_server.c:452(ntlmssp_server_preauth) Got
user=[] domain=[] workstation=[PCJEROEN] len1=1 len2=0
[2018/03/02 09:16:39.513177, 3]
../source3/param/loadparm.c:3823(lp_load_ex) lp_load_ex:
refreshing parameters
[2018/03/02 09:16:39.513277, 3]
../source3/param/loadparm.c:542(init_globals) Initialising global
parameters
[2018/03/02 09:16:39.513451, 3]
../source3/param/loadparm.c:2752(lp_do_section) Processing
section "[global]"
[2018/03/02 09:16:39.513718, 2]
../source3/param/loadparm.c:2769(lp_do_section) Processing
section &...
2006 Jul 03
1
Cannot join win2k ADS
.../03 12:49:38, 0] utils/net_ads.c:ads_startup(191)
ads_connect: No results returned
NET ADS JOIN:
root@server:/etc/samba# net ads join -UAdministrator@kcs.com -d 3
[2006/07/03 12:50:08, 3] param/loadparm.c:lp_load(3915)
lp_load: refreshing parameters
[2006/07/03 12:50:08, 3] param/loadparm.c:init_globals(1329)
Initialising global parameters
[2006/07/03 12:50:08, 3] param/params.c:pm_process(573)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2006/07/03 12:50:08, 3] param/loadparm.c:do_section(3417)
Processing section "[global]"
[2006/07/03 12:...
2001 Dec 28
1
(patch) memory leak in loadparm.c
...k.
-------------- next part --------------
--- loadparm.c.~1.40.~ Sun Dec 2 03:16:15 2001
+++ loadparm.c Fri Dec 28 07:22:25 2001
@@ -108,7 +108,8 @@
/*
- * This structure describes a single service.
+ * This structure describes a single service. If you update this, be
+ * sure to update init_globals below!
*/
typedef struct
{
@@ -179,6 +180,7 @@
static int iNumServices = 0;
static int iServiceIndex = 0;
static BOOL bInGlobalSection = True;
+static BOOL bsDefaultInitialized = False;
#define NUMPARAMETERS (sizeof(parm_table) / sizeof(struct parm_struct))
@@ -297,6 +299,28 @@
#ifdef...
2006 Feb 21
0
Authenticating Samba on NT4 SRV
...pd.conf and smbldap.conf no md5, sha
or ssha. I'm just using IDEALX procedure and when triing to pass the
command :
net rpc join -S PDC-NT4 -Uroot i've got :
[2006/02/21 15:05:29, 3] param/loadparm.c:lp_load(3911)
lp_load: refreshing parameters
[2006/02/21 15:05:29, 3] param/loadparm.c:init_globals(1312)
Initialising global parameters
[2006/02/21 15:05:29, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2006/02/21 15:05:29, 3] param/loadparm.c:do_section(3404)
Processing section "[global]"
[2006/02/21 15...
2009 Sep 02
1
Problem to join Win20900 ADS realm
...:07:00
-------------------------------------------------------------------------
station91:~# net rpc oldjoin -U win-user5%win-pass -S serverpdc1 -d 3
[2009/09/02 10:36:21, 3] param/loadparm.c:lp_load_ex(8818)
lp_load_ex: refreshing parameters
[2009/09/02 10:36:21, 3] param/loadparm.c:init_globals(4653)
Initialising global parameters
[2009/09/02 10:36:21, 3] param/params.c:pm_process(569)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2009/09/02 10:36:21, 3] param/loadparm.c:do_section(7481)
Processing section "[global]"...
2004 Sep 21
1
Fw: failed tcon_X with NT_STATUS_ACCESS_DENIED
...getting this error, i can join my other
AD servers just this one fails.
root@sunserver:/usr/local/samba/var# net join -d 3 -w fsa.com -S
WIN2KSERVER -U Administrator
[2004/09/20 17:58:31, 3] param/loadparm.c:lp_load(3897)
lp_load: refreshing parameters
[2004/09/20 17:58:31, 3] param/loadparm.c:init_globals(1307)
Initialising global parameters
[2004/09/20 17:58:31, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
[2004/09/20 17:58:31, 3] param/loadparm.c:do_section(3390)
Processing section "[Global]"
[2004...
2005 May 24
1
ADS join troubles 3.0.14a
...n send krb5.conf and smb.conf if needed!
Here's the command and subsequent
error:
#net ads join -U'svcSAMBA%xxxxxxxx!' -S sfintra1.AD.CHECKPOINT.COM -d3
[2005/05/24 11:33:09, 3] param/loadparm.c:lp_load(3907)
lp_load: refreshing parameters
[2005/05/24 11:33:09, 3] param/loadparm.c:init_globals(1321)
Initialising global parameters
[2005/05/24 11:33:09, 3] param/params.c:pm_process(573)
params.c:pm_process() - Processing configuration file "/usr/pkg/samba-3.0.14a/lib/smb.conf"
[2005/05/24 11:33:09, 2] lib/interface.c:add_interface(81)
added interface ip=172.16.211.151 bcast...
2005 Nov 01
1
Join ADS domain - Insufficient Access
...e domain.
I can get a Kerberos ticket, no problem
However when I try to join the domain I get:
app1:~ # net ads join -S servername -d 3 -w domain -U tester%password
[2005/11/01 07:44:58, 3] param/loadparm.c:lp_load(3907)
lp_load: refreshing parameters
[2005/11/01 07:44:58, 3] param/loadparm.c:init_globals(1321)
Initialising global parameters
[2005/11/01 07:44:58, 3] param/params.c:pm_process(573)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2005/11/01 07:44:58, 3] param/loadparm.c:do_section(3409)
Processing section "[global]"
[2005/11/01...
2003 Jul 07
1
Samba can't find my @groups
...e unable to map foreign SIDs
[2003/07/07 10:37:36, 1] sam/idmap_tdb.c:db_idmap_init(331)
idmap gid range missing or invalid
idmap will be unable to map foreign SIDs
[2003/07/07 10:37:36, 3] param/loadparm.c:lp_load(3851)
lp_load: refreshing parameters
[2003/07/07 10:37:36, 3] param/loadparm.c:init_globals(1274)
Initialising global parameters
[2003/07/07 10:37:36, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2003/07/07 10:37:36, 3] param/loadparm.c:do_section(3367)
Processing section "[global]"
[2003/07/07 10:...
2006 Aug 28
2
Samba Groups Vanished
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Our Samba Groups appear to have vanished.
I've verified this by trying, "net group /domain" in windows and it
returns no results. Trying "net rpc group -S nuada" on our master server
returns nothing either.
"net rpc info" on both our master and backup return
Domain Name: DIAS
Domain SID:
2016 Jul 28
2
Samba domain member and rfc2307 user IDs
...rver.c:452(ntlmssp_server_preauth)
Got user=[Administrator] domain=[DOMAIN] workstation=[TEST-CLIENT] len1=24 len2=270
[2016/07/29 00:02:16.711450, 3] ../source3/param/loadparm.c:3742(lp_load_ex)
lp_load_ex: refreshing parameters
[2016/07/29 00:02:16.711567, 3] ../source3/param/loadparm.c:544(init_globals)
Initialising global parameters
[2016/07/29 00:02:16.711741, 3] ../source3/param/loadparm.c:2671(lp_do_section)
Processing section "[global]"
[2016/07/29 00:02:16.712184, 2] ../source3/param/loadparm.c:2688(lp_do_section)
Processing section "[Shared Items]"
[2016/07/29 0...