[OT] Re: R: [Samba] Invalid request size nsswitch/winbindd

Francis Galiegue fg at one2team.com
Mon Jan 7 10:28:58 GMT 2008


Le lundi 07 janvier 2008, Gianluca Culot a écrit :
> 
> > -----Messaggio originale-----
> > Da: samba-bounces+gianlucaculot=dmsware.com at lists.samba.org 
> > [mailto:samba-bounces+gianlucaculot=dmsware.com at lists.samba.or
> > g] Per conto di Volker Lendecke
> > Inviato: mercoledì 19 dicembre 2007 18.06
> > A: Charles Marcus
> > Cc: 'Samba at Lists. Samba. Org'
> > Oggetto: Re: [Samba] Invalid request size nsswitch/winbindd
> > 
> > On Wed, Dec 19, 2007 at 11:37:36AM -0500, Charles Marcus wrote:
> > > On 12/19/2007, Volker Lendecke (Volker.Lendecke at SerNet.DE) wrote:
> > > >Reboot your box. It's not only smbd, all processes in the system 
> > > >potentially can trigger this error.
> > > 
> > > Just to be clear - you're saying that anytime Samba is upgraded, I 
> > > should REBOOT??
> > 
> > Well, I think almost everything uses nss. So it's not a Samba 
> > thing, it's a problem that the nss subsystem does not reload 
> > the shared libraries when they change. For example if you 
> > install a new libnss_ldap.so, you have exactly the same problem.
> > 
> > Volker
> > 
> 
> Hello List
> 
> Thanks for all replies 
> And sorry for my late reply... I got busy with development problems... But
> now I'm back to network
> 
> As I understand...
> Nss is a shared subsystem in *NIX
> As it is shared it can be used be EVERY service / subsystem
> As NSS doesn't reload shwared library I should restart every service using
> NSS
> 
> So far so good.
> BUT I'm using NSS tu authenticate login, even to console. And I'd preferr
> NOT TO reboot, but to restart service.
> 
> How can I restart the login subsystem (i.e. VTI) without rebooting ?
> Every other services was already restarted (i.d. postfix dovecot samba
> apache ftp proxy squid....)
> 
> Thanks for every Hint!
> 

Uhm, AFAIK you don't need to reboot at all, a restart will do fine. When you 
quit a program, nsswitch will dlclose() all libnss_*.so, and dlopen() them on 
startup. So, if you have changed them inbetween, on restart the new version 
WILL be used.

The same goes for /sbin/login: when you log out of a session on a VT, a 
new /sbin/login is started. There really is no need for a restart, unless you 
use nscd, which you shouldn't anyway: it's much more trouble than it's worth.

-- 
Francis Galiegue, One2team - fg at one2team.com
[ATTENTION : CHANGEMENT DE COORDONNÉES !]
+33178945552, +33683877875, http://www.one2team.com
40 avenue Raymond Poincaré - 75116 PARIS


More information about the samba mailing list