Problem with logon script
Doug Douglass
samba at denverdata.com
Mon Dec 3 11:51:04 GMT 2001
Martin,
Look at the PERSISTENT switch to the NET USE command. It will accomplish
what you want without your logon script trying to disconnect all shares
while it's running.
Doug
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Martin Gabauer
> Sent: Monday, December 03, 2001 4:14 AM
> To: samba at lists.samba.org
> Subject: Problem with logon script
>
>
> 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 ...
>
>
> --
> 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