[Samba] [netlogon] section being ignored

2010-02-09 Thread Mark Leisher ♺

Samba 3.4, Ubuntu 9.10.

Been fiddling with this for days and didn't find anything related with a 
search.


With the simple config file attached, none of the VBS logon scripts are 
executed when users log on to the domain. Am I missing something obvious?

--
Mark Leisher
[global]
workgroup = ZZ
server string = Zz
passdb backend = tdbsam
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
map to guest = Bad User
username map = /etc/samba/smbusers
add machine script = /usr/sbin/useradd -c Machine -d /var/empty -s 
/sbin/nologin %m$
logon script = %U.vbs
local master = Yes
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
security = user
utmp = yes

[homes]
comment = Home Directories
valid users = %S
read only = No
inherit acls = Yes
browseable = Yes
writable = Yes

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
public = no
browsable = no
writeable = no
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] [netlogon] section being ignored

2010-02-09 Thread Gaiseric Vandal
Does it work if you specify a *.bat or *.cmd file?I haven't seen 
*.vbs files used as a logon script before.
Once you logon to the PC, are you able to view the netlogon share and 
logon scripts?




Are you trying to have a different logon script for each user?   
Variables in the script should still allow you to map each user's home 
directory appropriately.


Alternately  you could specify the logon script parameter for each 
user's account.


On 02/09/10 12:58, Mark Leisher ♺ wrote:

Samba 3.4, Ubuntu 9.10.

Been fiddling with this for days and didn't find anything related with 
a search.


With the simple config file attached, none of the VBS logon scripts 
are executed when users log on to the domain. Am I missing something 
obvious?


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] [netlogon] section being ignored

2010-02-09 Thread Mark Leisher ♺

Gaiseric Vandal wrote:
Does it work if you specify a *.bat or *.cmd file?I haven't seen 
*.vbs files used as a logon script before.
Once you logon to the PC, are you able to view the netlogon share and 
logon scripts?




We've been using .vbs files for several years, and until 3.4, they 
worked fine. All users can log on to the netlogon share and read files. 
Bat and cmd files are ignored as well. No error messages in the log files.

--
Mark Leisher
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba