Problem with logon script

Martin Gabauer Martin.Gabauer at spselh.sk
Mon Dec 3 03:16:05 GMT 2001


Hi,
I have a problem with logon script.
I will at first disconnect all connected drives from last Windows run, and
the connect home dir.
My smb.conf :
[Global]
        logon script = STARTUP.BAT
        logon drive = m:
        logon home = \\sapo\%U
        logon path = \\sapo\%U\setting\%m\profile
        domain logons = Yes
 

[homes]
        comment = Home Directories
        read only = No
        browseable = No
        valid users = %U

[netlogon]
        path = /home/netlogon
        comment = Network Logon Directory
        guest ok = Yes
        browseable = No
        share modes = No

And my STARTUP.BAT script :
net use * /delete /yes^M
net use m: /home^M
net time \\sapo /set /yes^M

If run "net use * /delete /yes", then disconnect all connections and script no go next.

			Thanks for help ...





More information about the samba mailing list