L.P.H. van Belle
2019-Sep-18 08:44 UTC
[Samba] Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
If you upgrade, you might see multiple of these messages. Unable to initialize messaging context If you stop/start samba these are should be gone. If these are still there after stop/start, then your most probley missing some packages in you install. But i dont know much off .. EL7 .. but thats the first i would check here. Its also reported at Debian. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931688 There i noticed that smbclient is used but libsmbclient was not installed. So can you verify that also. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 18 september 2019 9:01 > Aan: sambalist > Onderwerp: Re: [Samba] Issue after upgrade to > samba-client-4.9.1-6.el7.x86_64 - Unable to initialize > messaging context > > On 17/09/2019 23:35, Stephen Black wrote: > > Done. > > And for those that didn't get the smb.conf > > [global] > ??? workgroup = SAMBA > ??? security = user > > ??? passdb backend = tdbsam > > ??? printing = cups > ??? printcap name = cups > ??? load printers = yes > ??? cups options = raw > > [homes] > ??? comment = Home Directories > ??? valid users = %S, %D%w%S > ??? browseable = No > ??? read only = No > ??? inherit acls = Yes > > [printers] > ??? comment = All Printers > ??? path = /var/tmp > ??? printable = Yes > ??? create mask = 0600 > ??? browseable = No > > [print$] > ??? comment = Printer Drivers > ??? path = /var/lib/samba/drivers > ??? write list = @printadmin root > ??? force group = @printadmin > ??? create mask = 0664 > ??? directory mask = 0775 > > You are running Samba as a standalone server. > > I think your problem is that on 3.6, it was 'ntlm auth = yes', this > changed to 'ntlm auth = no' at 4.7.0 and then again to 'ntlm auth = > ntlmv2-only' at 4.7.0 > > To test this, add 'ntlm auth = yes' to your smb.conf, if this > works, I > would find out how to turn off SMBv1 on your Windows server. > > Rowland > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Rowland penny
2019-Sep-18 08:51 UTC
[Samba] Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
On 18/09/2019 09:44, L.P.H. van Belle via samba wrote:> If you upgrade, you might see multiple of these messages. > > Unable to initialize messaging context > > If you stop/start samba these are should be gone. >Even easier way to not see that message, run the command with sudo or as root ;-) Rowland
L.P.H. van Belle
2019-Sep-18 09:11 UTC
[Samba] Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
Hmm, ok, so yes, that works. @Rowland, check the command also with an log level 10. (with and without sudo) If we need smbclient with sudo, then is should be moved from usr/bin to usr/sbin Dont you think? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 18 september 2019 10:52 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Issue after upgrade to > samba-client-4.9.1-6.el7.x86_64 - Unable to initialize > messaging context > > On 18/09/2019 09:44, L.P.H. van Belle via samba wrote: > > If you upgrade, you might see multiple of these messages. > > > > Unable to initialize messaging context > > > > If you stop/start samba these are should be gone. > > > Even easier way to not see that message, run the command with > sudo or as > root ;-) > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Andrew Bartlett
2019-Sep-18 09:25 UTC
[Samba] Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
On Wed, 2019-09-18 at 11:11 +0200, L.P.H. van Belle via samba wrote:> Hmm, ok, so yes, that works. > > @Rowland, check the command also with an log level 10. (with and > without sudo) > > If we need smbclient with sudo, then is should be moved from usr/bin > to usr/sbin > Dont you think?It's just a bug, which we have fixed in more recent versions. If it is seen on RHEL then customers of Red Hat need to file high-severity bugs in bugzilla.redhat.com and raise via the customer's channels there. I don't recall the solution being a trivial patch, but that is the kind of thing RHEL users pay to have sorted out for them. Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
L.P.H. van Belle
2019-Sep-18 09:36 UTC
[Samba] Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
Hello Andrew, Thank you this reponce.. Ah, ok, now, im testing it on 4.10.8 on Debian and i see the same. So we can ignore it for now? As far i can tell everything works correctly here with 4.10.8. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Andrew Bartlett [mailto:abartlet at samba.org] > Verzonden: woensdag 18 september 2019 11:25 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] Issue after upgrade to > samba-client-4.9.1-6.el7.x86_64 - Unable to initialize > messaging context > > On Wed, 2019-09-18 at 11:11 +0200, L.P.H. van Belle via samba wrote: > > Hmm, ok, so yes, that works. > > > > @Rowland, check the command also with an log level 10. (with and > > without sudo) > > > > If we need smbclient with sudo, then is should be moved from usr/bin > > to usr/sbin > > Dont you think? > > It's just a bug, which we have fixed in more recent versions. > If it is > seen on RHEL then customers of Red Hat need to file high-severity bugs > in bugzilla.redhat.com and raise via the customer's channels there. > > I don't recall the solution being a trivial patch, but that > is the kind > of thing RHEL users pay to have sorted out for them. > > Andrew Bartlett > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >
Maybe Matching Threads
- Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
- Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
- Issue after upgrade to samba-client-4.9.1-6.el7.x86_64 - Unable to initialize messaging context
- smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
- smbclient (Samba 4.9.4) "Unable to initialize messaging context"?