LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2004, 09:35 AM   #1
CarLost
Member
 
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47

Rep: Reputation: 16
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!
 
Old 09-24-2004, 09:50 AM   #2
colinjrob
LQ Newbie
 
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13

Rep: Reputation: 0
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! :-)
 
Old 09-24-2004, 10:02 AM   #3
colinjrob
LQ Newbie
 
Registered: Sep 2004
Location: London, England
Distribution: RH9, Fedora, OpenLinux3.1.1
Posts: 13

Rep: Reputation: 0
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.
 
Old 09-24-2004, 11:58 AM   #4
antwoneeter
LQ Newbie
 
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12

Rep: Reputation: 0
Also remember that the login script needs to be DOS formatted if you created it in vi. Just a thought.
 
Old 09-24-2004, 04:08 PM   #5
CarLost
Member
 
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47

Original Poster
Rep: Reputation: 16
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
 
Old 09-24-2004, 04:29 PM   #6
CarLost
Member
 
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47

Original Poster
Rep: Reputation: 16
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!!!!!
 
Old 09-13-2005, 09:21 AM   #7
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Rep: Reputation: 15
same problem

Did you get this working? I have the same problem
 
Old 09-14-2005, 10:06 PM   #8
antwoneeter
LQ Newbie
 
Registered: Sep 2004
Location: Appleton, WI
Distribution: Debian, SUSE, Red Hat
Posts: 12

Rep: Reputation: 0
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
 
Old 09-15-2005, 04:28 AM   #9
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Netlogon from win98-client lars12 Linux - Networking 0 07-21-2004 07:41 AM
Netlogon issues > Samba 3.02a w/ Win98 HiroMasaki Linux - Networking 17 05-15-2004 05:28 AM
Samba Netlogon - Driving me mad!!! ndprichardson Linux - Networking 12 10-25-2003 02:38 AM
Help! Premature Logoff, Samba [netlogon] scooter549 Linux - General 4 09-10-2003 08:49 PM
My samba netlogon script doesn't execute colpaarm Linux - Software 1 07-25-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:53 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