[Samba] Re: Logon scripts not working on all users
Matt Anderson
sokkerstud_11 at hotmail.com
Fri Jun 8 22:08:14 GMT 2007
Boaz Bezborodko <boaz <at> mirrotek.com> writes:
>
> I have set up a logon script to run when users login. It works for me
> when I log in, but my user ID is mapped to a root group as well as
> administrative privileges. But it is not executing for regular users.
>
> What am I doing wrong?
>
> Thanks in advance,
> Boaz
>
> logon script = stdlogon.bat
> logon home =
> logon path =
> security = user
> preferred master = yes
> domain logons = yes
> time server = yes
> guest ok = no
> domain master = yes
> writable = no
> path = /data/printspool
>
> [netlogon]
>
> ; comment = Network Logon Service
> path = /var/lib/samba/netlogon
>
Hi Boaz,
A couple things to check:
1) Check out the file system permissions on the folder /var/lib/samba/netlogon
on the server (cd to /var/lib/samba/ and do an ls -l). Make sure that everyone
has Read access... it should look something like drwxr-xr-x. (It should look
the same for stdlogon.bat inside that folder as well, or -rwxr--r-- instead)
2) If that's setup correctly, then, do you have any BDCs setup as well? If so,
then the login script needs to be in both in the netlogon share for both the PDC
and BDC.
Hopefully that helps...
-Matt
3) If the file permissions look good and it's the only domain controller,
More information about the samba
mailing list