network logon script execution

Jeff jeffrey at 216.181.255.113
Mon May 7 22:40:55 GMT 2001


Bas,
Thanks...it is.

/usr/local/samba/netlogon/scripts/:
-rwxrwxr-x    1 root     root           58 May  7 12:46 login.bat

contents:
c:\windows\net use z: \\shaggy\public /YES >> c:\smb.log

Jeff

-----Original Message-----
From: Bas [mailto:list at showme.wox.org]
Sent: Monday, May 07, 2001 11:50 AM
To: Jeff
Subject: Re: network logon script execution


Hi,

You should check if /usr/local/samba/netlogon/scripts/login.bat exists, and
if it's world readable.

Hope that helps,

Bas.

----- Original Message -----
From: "Jeff" <jeffrey at 216.181.255.113>
To: <samba at lists.samba.org>
Sent: Monday, May 07, 2001 11:12 PM
Subject: network logon script execution


> Hello,
>
> I am using samba-2.2 on a redhat lin 7 box, and am using domain logons.
It
> logs in the user in with no problem, but I cannot get it too properly run
a
> logon script.
>
> Here is smb.conf:
>
> workgroup = HOMEETHER.NET
> server string = Samba Server
> hosts allow = 192.168.0. 209.41.216. 209.41.217. 209.41.216.218. 127.
> logon script = scripts\login.bat
> log file = /var/log/samba/log.%m
> max log size = 50
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> username map = /etc/smbusers
> remote announce = 192.168.0.255
> local master = yes
> os level = 99
> domain master = yes
> preferred master = yes
> domain logons = yes
> wins support = yes
> dns proxy = no
>
> [netlogon]
>    comment = Network Logon Service
>    path = /usr/local/samba/netlogon
>    guest ok = no
>    writable = no
>    share modes = no
>    oplocks = no
>    browseable = yes
>    writelist = @username
>
> [public]
>    comment = Public
>    path = /new/public
>    public = yes
>    writable = yes
>    printable = no
>    write list = all
>
> [mp3]
>    comment = MP3's
>    path = /new/mp3
>    public = yes
>    writable = yes
>    printable = no
>    valid users = @mp3
>    write list = jeffrey
>
> [winprogs]
>    comment = Windows Programs
>    path = /home/.winprog
>    public = yes
>    writable = yes
>    printable = no
>    write list = all
>
> Here is my scripts/login.bat file:
>
> c:\windows\net use z: \\shaggy\public /YES >> c:\smb.log
>
> Here is the output to c:\smb.log:
>
> The command was completed successfully.
>
> My log.smbd has had nothing new in it for several days.
> My log.nmbd just has the general logging from when nmbd was last
restarted.
>
> It does validate my password according to /etc/smbpasswd.  All of my
shares
> work correctly.  I have tried logging in from several different windows98
> machines and an ME, and they all do the same thing.
> Does anyone have any idea?
>
> Thank You,
> Jeff
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba






More information about the samba mailing list