logon script not working (it has more than 8 chars)
hello,
I have a strange problem here: server RH 7.1/samba 2.2.1 compiled from source with --with-pam--with-pam_smbpass, clear text passwords. Clients are win98; they logon and I have a *.bat for every user which maps some shares. Now, if the user name has less the 8 chars, all is ok; if the username has more than 8, the bat has also more (%U.bat) from some clients it's working, from others not. I'm climbing the walls; I'm working on this since yesterday and I came to no conclusion(some clients work, some don't) Maybe it's a registry problem on the win98/win98se side...
Here is the relevant part from my setup:
[global]
....
logon script = %U.bat
logon home = \\%L\%U
logon path = \\%L\profiles\%U
domain logons = Yes
...
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/netlogon
admin users = admin
read only = yes
public = yes
locking = no
browseable = yes
share modes = no
...
the permissions are ok on the linux side: 755 for the netlogon
and *.bat files; the format of the username is "aname_asurname", and the bat is aname_asurname.bat; from the clients that don't work it prints C:\WINDOWS>Access denied - Z:\ANAME~@%.BAT it logs on ok, though; if I run the the bat locally, it maps
the drives...
any ideas?
|