[Samba] Samba with dual network interfaces

Kaprino the NetCitizen kaprino at yahoo.com
Tue Jun 24 00:31:54 GMT 2003


I am having problems with Samba working with dual
network interfaces.  I have 2 interfaces setup
eth1=192.168.0.2 & eth0=192.168.4.14.  I have no
problems mapping  drives to samba from  any machines
from 192.168.4.0 network. But my laptop(IP
192.168.014) cannot map to the Samba shares. With the
laptop I was ablt to map to 192.168.4.13 because I am
IP Forwarding packets from the Samba  server which is
set as the default gateway(192.168.0.2) for the
laptop.  I get
the following error msg when do try mapping from
command line.
  
 net use z: \\192.168.0.2\homes /USER:oracle
/PERSISTENT:NO
 
   Windows System error 5.
 Acces denied  

Anyy help would be appreciated.

Thanks,

Kaprino


my smb.conf settings

[global]
        workgroup = TEST
        server string =%h
        security = user
        interfaces = eth1 192.168.0.2/24
#       interfaces = eth0 192.168.4.14/24
        username map = /etc/samba/smbusers
        smb passwd file = /etc/samba/smbpasswd
        encrypt passwords = yes
        log file =/var/log/samba/%m_%U.log
        log level = 10
        syslog = 0
        hosts allow =  192.168.0.0/16
        lanman auth=    no
        min protocol=   NT1
        lm announce=    no

[homes]
        comment = Home Directories
        valid users = oracle
        path=   /home/%S
        browseable = No
        hide dot files = yes
        read only = No
        create mask = 0740
        directory mask = 0750
        hide unreadable = yes

[test]
        comment = Test Share
        path=   /home
        valid users = oracle
        guest ok = No
        browseable = No
        read only = No
        directory mask = 0750
        create mask = 0740
        hide unreadable = yes



__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the samba mailing list