LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-05-2003, 01:46 PM   #1
alris
LQ Newbie
 
Registered: Jun 2003
Location: Hong Kong
Posts: 9

Rep: Reputation: 0
Unhappy 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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
execute a script upon logon Starch Linux - Newbie 3 05-12-2005 04:04 PM
Logon script icedude Linux - Newbie 5 04-19-2005 08:01 AM
Logon Script.... vamsi_samavedam Linux - Distributions 1 05-25-2004 08:46 AM
How to remove or strip control chars in the 'script' utility? fieldmethods Linux - General 1 10-24-2003 01:11 PM
logon script not working (it has more than 8 chars) alris Linux - Networking 1 06-06-2003 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration