Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-24-2004, 09:35 AM
|
#1
|
Member
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47
Rep:
|
samba & netlogon problem
Hi people....
I have a little problem
my users don't map any disk at all. The netlogon script is quite light, about 4 lines
some like:
net use F: /delete /yes
net use F: \\BIG-PC\share
and another stuff, but their don't map! If I use that commands in DOS windows and it works fine
I don't understand why!
|
|
|
09-24-2004, 09:50 AM
|
#2
|
LQ Newbie
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13
Rep:
|
You haven't given too much to go on but the thing that I would like to find out if I was in your shoes was whether the client computers (you haven't mentioned the OS) are actually running the logon script at all.
You can test this by placing a 'PAUSE' statement on a fresh line before your drive mapping command lines. If they run the logon script then they will hang with a DOS box displayed until a key is pressed. If this doesn't occur then they're not running the script anyway.
Sorry I could be any more help at the mo! :-)
|
|
|
09-24-2004, 10:02 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13
Rep:
|
Just done some research and it looks like you'll you need to edit your smb.conf file and add the following line to the global service :
logon script = <logon_script.bat>
This will only work if the Linux box is setup as the logon server.
For more info see the man pages for smb.conf.
Good Luck. 
|
|
|
09-24-2004, 11:58 AM
|
#4
|
LQ Newbie
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12
Rep:
|
Also remember that the login script needs to be DOS formatted if you created it in vi. Just a thought.
|
|
|
09-24-2004, 04:08 PM
|
#5
|
Member
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47
Original Poster
Rep:
|
Ok sorry..... I know..... is a short questions.......
I already do the pause thing, but is not working. Even I put son emu-wait command (@ping 127.0.0.1 -n 10 -w 1000 > null) but that, like the previous, don't work
the OS are almost win98 & some 95
and YES the line : logon script = startnet.bat ----> exist
the last th....... I write this with vi..... I'll try in dos format
|
|
|
09-24-2004, 04:29 PM
|
#6
|
Member
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47
Original Poster
Rep:
|
Nop.....is not working
the windows logon (in client pc) is to fast to look in there
by the way....... sorry 4 the very bad English...... I'm from Chile!!!
SAY HI!!!!!
|
|
|
09-13-2005, 09:21 AM
|
#7
|
Member
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119
Rep:
|
same problem
Did you get this working? I have the same problem
|
|
|
09-14-2005, 10:06 PM
|
#8
|
LQ Newbie
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12
Rep:
|
NETLOGON Dir
Do you have the logon script in the [netlogon] share?
I don't know if Win 9x boxes are that picky, but I'd try renaming the logon script to logon.bat.
http://daniel.fiser.cz/?go=samba
|
|
|
09-15-2005, 04:28 AM
|
#9
|
Member
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119
Rep:
|
i've got it working, i made the origional year11.bat in wondows, but made the mistake of editing the other ones in the linux editor, when i edited the files in XP notepad, and reloaded them, they worked fine.
|
|
|
All times are GMT -5. The time now is 05:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|