LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba problem; netlogon (https://www.linuxquestions.org/questions/linux-newbie-8/samba-problem%3B-netlogon-674571/)

vergeer 10-06-2008 10:16 AM

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

WorldIsNotFair 10-06-2008 10:43 AM

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.

vergeer 10-06-2008 11:03 AM

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

WorldIsNotFair 10-06-2008 12:46 PM

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.

vergeer 10-06-2008 03:26 PM

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


All times are GMT -5. The time now is 08:17 AM.