LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2008, 10:16 AM   #1
vergeer
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
samba problem; netlogon


Hi all,

I have a problem with my linux samba domain controller..

I have made a usergroup (teachers) in /home folder (with the commando groupadd) and have put some users in there. In this folder 'teachers' I have made an other folder 'netlogon' and in this netlogon is a batch file 'login.bat' (in this batchfile: net use p: \\{servername}\teachers )


in my smb.conf:

logon script = login.bat

[netlogon]
comment = Network Logon Service
path = /home/%g/netlogon
guest ok = yes
writable = no
share modes = no

[teachers]
comment = teachers share
path = /home/teachers
guest ok = yes
writable = yes
valid users = @teachers

For some reason you cant see the drive P: if I login with a user of the group teachers..
He said the following if I look in the /var/log/samba folder:

'/home/users/netlogon' does not exist or permission denied when connecting to [netlogon] Error was No such file or directory

I have set all the rights (chmod 777) on the teacher and netlogon folder

Any idea what the problem is?

grtz

Last edited by vergeer; 10-06-2008 at 10:52 AM.
 
Old 10-06-2008, 10:43 AM   #2
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Rep: Reputation: 17
well u don't mention samba version.

i'm using v3.02

i dont know if my step is still valid on newer release.

but no error on mine.


- do u create user for each machine that will join to smb pdc ?
i mean machine not user who will access.

- i have below references regedit setting if we run 2k/xp as client.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
requiresignorseal -- set value to 0
signsecurechannel -- set value to 0

hope can help.

Last edited by WorldIsNotFair; 10-06-2008 at 12:48 PM.
 
Old 10-06-2008, 11:03 AM   #3
vergeer
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
requiresignorseal --> 0
signsecurechannel --> 0

this doesnt work

dont know what you exactly mean, but I have made users with:
useradd -n [user]
passwd [user]
smbpasswd [user]

and have made a computer with:
useradd [computername]$ -d /dev/zero -s /bin/false
smbpasswd -a -m [computername]$
smbpasswd -a root

Last edited by vergeer; 10-06-2008 at 12:03 PM.
 
Old 10-06-2008, 12:46 PM   #4
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Rep: Reputation: 17
what u mean by "this doesn't work" ?

- u have edited the windows registry then still don't work?

or you didn't find the parameter on registry[haven't edit the registry] ?


don't give up friend.
 
Old 10-06-2008, 03:26 PM   #5
vergeer
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
yes I have edited the windows registry and it still don't work

dont understand why he cant find my netlogon ;/ I think thats the problem
 
  


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
Problem with netlogon script in Samba avinash.rao Ubuntu 8 09-03-2009 08:29 AM
samba & netlogon problem CarLost Linux - Networking 8 09-15-2005 04: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 - Newbie

All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration