[Samba] Win9x login script drive mapping problem

Simon Jester tanstaafl_bh at netzero.net
Wed May 29 08:51:44 GMT 2002


Can you post the relevant part of your logon script?

----- Original Message -----
From: "A.J.Dawson" <A.J.Dawson at Bradford.ac.uk>
To: <samba at lists.samba.org>
Sent: Wednesday, May 29, 2002 11:29 AM
Subject: [Samba] Win9x login script drive mapping problem


> I am having problems with a Windows 98 machine that is connecting to our
Linux
> Samba server. The problem is that I cannot get it to automatically map
users
> drives when they log on. The login script *appears* to run okay, but the
drives
> are simply not mapped.
>
> Under Windows NT/2K this has not been a problem.
>
> I have tried creating a one line login script along the lines of
>
> net use * \\server\share
>
> And even that doesnt work!
>
> I suspect that I am doing something daft, but if anyone could give me a
few
> pointers, that would be most useful!
>
> My smb.conf is attached at the bottom of the e-mail
>
> Regards
>
> Dr. Andy Dawson
> A.J.Dawson at Bradford.ac.uk
>
>  Never attribute to malice that which is adequately explained by
stupidity.
>
>
> # Start of smb.conf file
>
> [global]
>    workgroup = SOMEGROUP
>    server string = NT Server
>    socket options = TCP_NODELAY
>    interfaces = XXX.XXX.XXX.XXX/24
>    local master = yes
>    os level = 69
>    domain master = yes
>    preferred master = yes
>    domain logons = yes
>    wins server = XXX.XXX.XXX.XXX
>    ;dns proxy = yes
>    time server = yes
>    map archive = yes
>    browseable = yes
>
>    # log file options - log by machine name, not > 200k /log
>    log file = /usr/local/samba/log/log.%m
>    max log size = 200
>
>    # security considerations
>    security = user
>    encrypt passwords = yes
>    # NOTE: we need to set this to no for Win95 clients < 4.00.950a
>    hosts allow = XXX.XXX.XXX. 127.
>    remote announce = XXX.XXX.XXX.255/SOMEGROUP
>    guest account = nobody
>    map to guest = Never
>    guest ok = no
>    domain admin group = @NT_adm
>    add user script = /usr/sbin/useradd -c NT_machine -d /dev/null -g
NT_machines -s /bin/false %m$
>    bind interfaces only = yes
>    unix password sync = yes
>    passwd program = /usr/bin/passwd %u
>
>    # printer defaults
>    load printers = yes
>    printing = BSD
>    print command = /usr/bin/lpr -P%p -r %s
>    lpq command = /usr/bin/lpq -P%p
>    use client driver = yes
>    disable spoolss = yes
>    printer admin = @NT_adm
>    printcap name = /etc/printcap
>
>    # logon paths etc.
>    logon script = scripts\%u.bat
>
>    logon drive = p:
>
> [netlogon]
>    comment = Network Logon Service
>    path = /usr/local/samba/netlogon
>    guest ok = no
>    writable = no
>    browseable = no
>
> [homes]
>    comment = %u on %L
>    volume = %u on %L
>    writeable = yes
>    valid users = @users
>    nt acl support = no
>    browseable = no
>
> [Guest]
>    comment = Guest on %L
>    volume = Guest on %L
>    writeable = yes
>    path = /home/guest
>    valid users = @users
>    force group = users
>    force create mode = 770
>    force directory mode = 770
>    create mask = 770
>    directory mask = 770
>    browseable = yes
>
> [Netlon]
>    comment = Netlon on %L
>    volume = Netlon on %L
>    writable = yes
>    path = /home/netlon
>    valid users = @netlon
>    force group = netlon
>    force create mode = 770
>    force directory mode = 770
>    create mask = 770
>    directory mask = 770
>    browseable = no
>
> #### Printers ####
>
> [Laserjet_6MP]
>    comment = Laserjet_6MP on %L
>    printable = yes
>    path = /var/spool/lpd/ircps02.irc.brad.ac.uk-lp-lj_6mp
>    printer = lj_6mp
>    browseable = yes
>    read only = yes
>    valid users = @users
>
> # End of smb.conf
>
>
> --
> 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