Displaying 18 results from an estimated 18 matches for "msg_ctx".
Did you mean:
mrg_ctx
2018 Dec 21
0
smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
...“!” which the other patch fixes :-)
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");...
2014 Mar 13
0
Help with Possible Bug in Samba 4.1.5 on Connection Close
...events.c"
s3_event_loop_once(ev = 0x2000b2f8, location =
"../source3/smbd/process.c:3626"), line 303 in "events.c"
_tevent_loop_once(ev = 0x2000b2f8, location =
"../source3/smbd/process.c:3626"), line 530 in "tevent.c"
smbd_process(ev_ctx = 0x2000b2f8, msg_ctx = 0x2000b378, sock_fd = 40,
interactive = @0x00000000), line 3626 in "process.c"
unnamed block in smbd_accept_connection(ev = 0x2000b2f8, fde = 0x200c1598,
flags = 1, private_data = 0x200c1548), line 621 in "server.c"
smbd_accept_connection(ev = 0x2000b2f8, fde = 0x200c1598, f...
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
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...0810 in s3_event_loop_once (ev=0x7f6cb69a5360,
location=<optimized out>) at ../source3/lib/events.c:326
#18 0x00007f6cb2a68c0d in _tevent_loop_once ()
from /usr/lib/x86_64-linux-gnu/libtevent.so.0
#19 0x00007f6cb51d26b0 in smbd_process (ev_ctx=ev_ctx at entry=0x7f6cb69a5360,
msg_ctx=msg_ctx at entry=0x7f6cb69a5450, sock_fd=sock_fd at entry=34,
interactive=interactive at entry=false) at ../source3/smbd/process.c:3627
#20 0x00007f6cb5c4b084 in smbd_accept_connection (ev=0x7f6cb69a5360,
fde=<optimized out>, flags=<optimized out>, private_data=<optimize...
2017 Apr 18
0
Crash on samba-server(4.4) .. Some Queries
..."../source3/smbd/process.c:4117")
at ../tevent.c:533
#13 0x00007f8e1e8125ab in tevent_common_loop_wait (ev=0x7f8e24691b30,
location=0x7f8e21fc6b40 "../source3/smbd/process.c:4117") at ../tevent.c:637
#14 0x00007f8e21e7c6d1 in smbd_process
(ev_ctx=ev_ctx at entry=0x7f8e24691b30,
msg_ctx=msg_ctx at entry=0x7f8e24691c20, sock_fd=sock_fd at entry=39,
interactive=interactive at entry=false) at ../source3/smbd/process.c:4117
#15 0x00007f8e22965304 in smbd_accept_connection (ev=0x7f8e24691b30,
fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>...
2018 Nov 07
2
Avoiding constant HDD access
On Thu, Nov 08, 2018 at 06:12:40AM +1300, Andrew Bartlett wrote:
> On Wed, 2018-11-07 at 15:19 +0300, Albert Berger via samba wrote:
> >
> > I tried in sequence to start Samba in following conditions:
> >
> > 1. With all clients disconnected from Samba server;
> > 2. As above + all shares disabled;
> > 3. As above + minimal smb.conf
> > 4. With
2018 Jun 25
2
Samba 4.7.1 Generating Core Dumps
...v=0x55b48e5f3520, location=0x7fc228482798 "../source3/smbd/process.c:4127") at ../tevent_standard.c:145
glue_ptr = <optimized out>
glue = 0x55b48e5f3650
ret = <optimized out>
#34 0x00007fc228359444 in smbd_process (ev_ctx=ev_ctx at entry=0x55b48e5f3520, msg_ctx=msg_ctx at entry=0x55b48e5f44a0, sock_fd=sock_fd at entry=42, interactive=interactive at entry=false) at ../source3/smbd/process.c:4127
trace_state = {ev = 0x55b48e5f3520, frame = 0x55b48e61ca40, profile_idle = {start = 0, stats = 0x0}}
client = 0x55b48e627ab0
sconn = 0x55b4...
2020 Mar 03
6
Upgrade 4.9 -> 4.11 oups
Hello !
I decided to upgrade my fileservers from stretch/samba 4.9 to buster/samba 4.11
I just realized that smbd is not working anymore :-/
If someone has an idea It would be amazing... as an idiot, I upgraded my 20 servers.... without snapshot....
Thank you so much
Here's some logs :
root at ef113:~# tail /var/log/samba/log.smbd
#1
2018 Oct 05
2
Samba Panic when accessing share from OSX
...t;../source3/smbd/process.c:4127") at
../tevent.c:849
#21 0x00007f5af61ed2d7 in std_event_loop_wait (ev=0x55f77ed45710,
location=0x7f5af96108f8 "../source3/smbd/process.c:4127") at
../tevent_standard.c:145
#22 0x00007f5af94e7584 in smbd_process
(ev_ctx=ev_ctx at entry=0x55f77ed45710,
msg_ctx=msg_ctx at entry=0x55f77ed46580, sock_fd=sock_fd at entry=34,
interactive=interactive at entry=false) at ../source3/smbd/process.c:4127
#23 0x000055f77e69f1d4 in smbd_accept_connection (ev=0x55f77ed45710,
fde=<optimized out>, flags=<optimized out>, private_data=<optimized
out>) at...
2018 Nov 07
0
Avoiding constant HDD access
...bd_server_connection *sconn = talloc_get_type_abort(
private_data, struct smbd_server_connection);
DEBUG(5, ("housekeeping\n"));
change_to_root_user();
/* update printer queue caches if necessary */
update_monitored_printq_cache(sconn->msg_ctx);
/* check if we need to reload services */
check_reload(sconn, time_mono(NULL));
/*
* Force a log file check.
*/
force_check_log_size();
check_log_size();
return true;
}
so yes it's goint to look at smb.conf and check_log_siz...
2015 Jan 13
0
Smbd dumps core while starting
...DEV.NET", value=0xfffffffffffe770, ptimeout=0xfffffffffffe778)
at ../source3/lib/gencache.c:708
#6 0x0900000007037478 in sitename_fetch (realm=0x11002e710 "NAMDEV.NSROOTDEV.NET") at ../source3/libads/sitename_cache.c:98
#7 0x0900000006f2b364 in dsgetdcname (mem_ctx=0x110028550, msg_ctx=0x1100279d0, domain_name=0x11002e710 "NAMDEV.NSROOTDEV.NET", domain_guid=0x0, site_name=0x0,
flags=1073745937, info=0xfffffffffffe8e8) at ../source3/libsmb/dsgetdcname.c:1187
#8 0x090000000620812c in libnet_DomainJoin (mem_ctx=0x110028550, r=0x11002e550) at ../source3/libnet/libnet_j...
2013 Oct 14
1
Samba is still crashing
...=0x14138e0, location=0xec5c18
"../source3/smbd/process.c:3627") at ../source3/lib/events.c:326
#26 0x008a8133 in _tevent_loop_once (ev=0x14138e0, location=0xec5c18
"../source3/smbd/process.c:3627") at ../lib/tevent/tevent.c:530
#27 0x00d581ab in smbd_process (ev_ctx=0x14138e0, msg_ctx=0x1413960,
sock_fd=44, interactive=false) at ../source3/smbd/process.c:3627
#28 0x004376d1 in smbd_accept_connection (ev=0x14138e0, fde=0xad132a98,
flags=1, private_data=0xad1a1cb8) at ../source3/smbd/server.c:621
#29 0x0083b82c in run_events_poll (ev=0x14138e0, pollrtn=1,
pfds=0xad198ce0, num_p...
2017 Aug 25
2
Cannot login to Samba server remotely
... : 0x00000000 (0)
info : union smbXsrv_clientU(case 0)
info0 : *
info0: struct smbXsrv_client
table : *
ev_ctx : *
msg_ctx : *
global : *
global: struct smbXsrv_client_global0
db_rec : NULL
server_id: struct server_id
pid ...
2018 Nov 08
3
Avoiding constant HDD access
..._type_abort(
> private_data, struct smbd_server_connection);
>
> DEBUG(5, ("housekeeping\n"));
>
> change_to_root_user();
>
> /* update printer queue caches if necessary */
> update_monitored_printq_cache(sconn->msg_ctx);
>
> /* check if we need to reload services */
> check_reload(sconn, time_mono(NULL));
>
> /*
> * Force a log file check.
> */
> force_check_log_size();
> check_log_size();
> return true;
> }
>...
2015 Apr 21
0
samba-4.2.0 join samba3 PDC
..."../source3/smbd/process.c:3992") at
../lib/tevent/tevent.c:637
#39 0x00007f4802191c61 in _tevent_loop_wait (ev=0x7f48048a5a50,
location=0x7f4802ca3bb0 "../source3/smbd/process.c:3992") at
../lib/tevent/tevent.c:656
#40 0x00007f4802b1dbe4 in smbd_process (ev_ctx=0x7f48048a5a50,
msg_ctx=0x7f48048a5b40, sock_fd=40, interactive=false) at
../source3/smbd/process.c:3992
#41 0x00007f48035e8374 in smbd_accept_connection (ev=0x7f48048a5a50,
fde=0x7f48048b9b60, flags=1, private_data=0x7f48048b9ad0) at
../source3/smbd/server.c:627
#42 0x00007f4800c0097e in run_events_poll (ev=0x7f48048a5a5...
2016 Feb 15
1
Crash (talloc error) after failed chdir
...d out>) at ../source3/lib/events.c:303
#23 0x00007f44127d8a4d in _tevent_loop_once () from
/usr/lib/x86_64-linux-gnu/libtevent.so.0
#24 0x00007f44127d8beb in tevent_common_loop_wait () from
/usr/lib/x86_64-linux-gnu/libtevent.so.0
#25 0x00007f4415804ee9 in smbd_process (ev_ctx=0x55b775cf9390,
msg_ctx=<optimized out>, sock_fd=50, interactive=<optimized out>) at
../source3/smbd/process.c:4031
#26 0x000055b773b3c726 in smbd_accept_connection (ev=0x55b775cf9390,
fde=<optimized out>, flags=<optimized out>, private_data=<optimized
out>) at ../source3/smbd/server.c:646...
2009 Jul 07
1
Failing to join an ADS domain
Hi,
I am trying to join a microsoft AD domain using RHEL 5.3. I tried with the
default Samba release (provided by redhat) with no luck. I've just upgraded
to Samba 3.3.6 (using http://ftp.sernet.de/pub/samba/recent/rhel/5/x86_64/)
but it still fails.
The AD domain is "example.domain.org" and has its own DNS servers.
My /etc/resolv.conf file redirects DNS queries to the AD DC DNS
2015 Jan 08
3
Smbd dumps core while starting
updated smb.conf, still same error. details below.
# cat /etc/samba/smb.conf
[global]
workgroup = NAMDEV
realm = NAMDEV.NSROOTDEV.NET <http://namdev.nsrootdev.net/>
client ldap sasl wrapping = seal
;username map = /etc/opt/samba/users.map
encrypt passwords = yes
client ntlmv2 auth = yes
client lanman auth = no
client plaintext auth = no
lanman auth = no
ntlm auth