Login Scripts

tschweikle at FIDUCIA.de tschweikle at FIDUCIA.de
Thu Aug 5 09:06:11 GMT 1999


Sam Feagins wrote:
> Hello All,
>      I've got a real stupid question here..  I've got my samba server
> all setup to accept domain logons and it works great, except the login
> script.  The server is mapping drive off itself, but the script output
> says the path is invalid.  Any ideas??  Here's an example of the
> script...
>
> net use x: \\server\sfeagins
>
> I've tried using instead of the netbios name the ip addres, but it does
> the same thing.  Here's my smb.conf.
>
> [global]
> workgroup = xdomain
> hosts allow = 192.168.0.
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> domain master = yes
> domain logins = yes
> logon script = %U.bat
>
> Clients are Win98...  Server is RH6 Linux.
> Any help is appreciated..
> SAM

Create a share named netlogon. The name ist fixed, you can't change it:

[netlogon]
        comment = Resource für Anmeldeserver
        path = /usr/share/netlogon


pack your logon-scripts there and make them world readable.

--


More information about the samba-ntdom mailing list