Hi, Am Sonntag, den 01.04.2007, 10:49 -0300 schrieb Freitas: > > I'd like to deny multiple logins to a samba domain. I already searched > > the archive and found some threads about it. This one seems to be a good > > idea: > > > > http://lists.samba.org/archive/samba/2006-April/119867.html > > > > Does anyone know where to find such scipt examples? > > You can try here. > http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/AdvancedNetworkManagement.html#id386516
Ah, great link. I was playing with smbstatus in these minutes :-) I'd like to put the preexec script paramteter to global or to netlogon section, not to a user's share section. What's best location?. At my netlogon section there is already the following line to create dynamic login scripts: root preexec = /usr/local/bin/make_logon_script '%m' '%U' '%a' '%g' '% L' How do I combine these two lines? The script PermitSingleLogon.sh should be executed before my old make_logon_script and if the return is 1 the login process should be aborted completely. Thanks, Marcus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
