[Samba] Winbind offline logon

Brian Atkins batkins at tlcdelivers.com
Mon Apr 23 15:51:35 GMT 2007


Gerry,

Thanks for the feedback. However, when I run 'smbcontrol winbindd
offline' it returns nothing, yet when I run 'smbcontrol winbindd
onlinestatus' it returns:

PID 4349: globla:Online BUILTIN:Online WLL-7179:Online AD_DOMAIN:Online

If I run 'wbinfo -u|-g' I get back user/group listings as I'd expect
even when I pull the network cable. Yet, when I attempt to login or su
to an AD user account with the network cable pulled, it fails. In
log.winbindd it shows:

cli_rpc_pipe_close: cli_close failed on pipe \NETLOGON, fnum 0x3 to
machine AD_PDC. Error was Call timed out: server did not respond after
10000 milliseconds

I'm still missing something. Is there better documentation talking about
how to implement offline logins with Samba somewhere?

Thanks,

On Sun, 2007-04-22 at 05:55 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Brian Atkins wrote:
> > I am running Xubuntu 7.04 and recently upgraded to samba 3.0.24 to take
> > advantage of the offline logon feature. I have added "winbind offline
> > logon = yes" and added the "cached_login" option to pam_winbind.so in my
> > pam.d/common-auth and pam.d/common-account files, but am still unable to
> > verify that it is working.
> > 
> > I can't locate any specific documentation covering the proper set-up
> > other than man pages. Am I missing something? I must be...
> 
> That's it.  You can add a script in /etc/network/ip-{up,down}.d/
> to call "smbcontrol winbindd {offline,online}" to send if off and
> online at will.
> 
> 
> 
> 
> 
> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGKz86IR7qMdg1EfYRAi1GAKCTi12/omVUGDECX6Jx2BbdXhhnYQCfbGmz
> t9cwtlcx7BZkAUV58VhDUdM=
> =MIuB
> -----END PGP SIGNATURE-----




More information about the samba mailing list