search for: get_dyn_configfil

Displaying 7 results from an estimated 7 matches for "get_dyn_configfil".

Did you mean: get_dyn_configfile
2019 Sep 26
1
why auth3_check_password load smb.conf again
Hi, In function auth3_check_password of file source3/auth/auth_ntlmssp.c, it load smb.conf by lp_load_with_shares(get_dyn_CONFIGFILE());. I am wondering why it is needed since smbd has load config before and it hurts the performance when smb.conf is large. Thanks, Haihua
2009 Dec 22
8
Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config
I'm running FreeBSD 8 on a Sheevaplug (ARM5 processor) I compiled and installed Samba 3.3.9 from ports using defaults and defaults for dependencies. I left the smb.conf file untouched, ran testparm and immediately received the coredump. The same happens running smbd and nmbd. Can anyone help me resolve? http://old.nabble.com/file/p26879957/testparm.core.gz testparm.core.gz -- View this
2018 Dec 21
0
smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
...I just added the below patch to my own-compiled 4.9.4 tree :-) --- popt_common_cmdline.c.ORIG 2018-11-08 08:58:08.000000000 +0100 +++ popt_common_cmdline.c 2018-12-21 14:08:04.660504000 +0100 @@ -106,7 +106,7 @@ bool ok; msg_ctx = cmdline_messaging_context(get_dyn_CONFIGFILE()); - if (msg_ctx == NULL) { + if (msg_ctx == NULL && geteuid() == 0) { fprintf(stderr, "Unable to initialize " "messaging context\n"); } - Peter
2018 Dec 21
3
smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
Sambadevs, I don't know if this is a bug or just a spurious error message when using smbclient (on a standalone config), but checking smbclient, I get: 02:47 2pi:~> smbclient -U% -Llocalhost Unable to initialize messaging context Sharename Type Comment --------- ---- ------- samba Disk 2pi - Law IPC$ IPC
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
...poptGetArg(0x55591473b310, 0x55591474a120, 0, 1) = 0 20582 poptFreeContext(0x55591473b310, 0x55591474a120, 1, 1) = 0 20582 popt_burn_cmdline_password(6, 0x7ffff4a0f998, 0x5559146fd010, 2) = 1 20582 get_dyn_CONFIGFILE(0x7f3e4e991197, 0x7ffff4a1108c, 10, 5) = 0x7f3e4e8a8053 20582 cmdline_messaging_context(0x7f3e4e8a8053, 0x7ffff4a1108c, 10, 5) = 0 20582 init_names(0, 0x7ffff4a0f4b0, 0x555914739fd0, 0x7f3e4db425d7) = 1 20582 dcer...
2023 Oct 14
3
Compiling within Samba Source-Tree
...well, but here's my first question: It must be possible to tell the build-system that smbscardd needs -lcrypto Please let me know how. There's another problem: My daemon does some sort of initilization which I copied from smbpasswd.c In short this initialization looks like: configfile=get_dyn_CONFIGFILE(); lp_load_global(configfile); secrets_init(); initialize_password_db(False, NULL); get_global_sam_sid(); domain=lp_workgroup(); After this initialization the daemon accepts connections and calls local_change_password() Works very well but initialize_password_db() produces the following warning:...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0