?
Solved

Samba password server in different subnet

Posted on 2004-04-20
3
Medium Priority
?
243 Views
Last Modified: 2010-03-18
My current situation:

1 Samba server on the 219.x.y.z subnet (DMZ)
1 Samba server on the 192.168.128.x protected subnet

Both Samba servers running Fedora Core 1, Samba is from RPM of FC1.

I setup the 219 Samba server to act as a password server:

[global]
        workgroup = ABC
        netbios name = INTERNET
        server string = ABC Internet Server
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        ldap ssl = no
        os level = 33
        preferred master = yes
        domain master = yes
        local master = yes
        security = user
        domain logons = yes

And I want the 192 Samba server to ack as a pass through server to ask for the 219 Samba server to authenticate:

[global]
        workgroup = ABC
        netbios name = INTRANET
        server string = ABC Intranet Server
        null passwords = Yes
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        wins support = Yes
        ldap ssl = no
        security = user
        password server = host.abc.com # Host name of 219 Samba server

I know that the "password server" option should be a netbios name, but they are on different subnet and the broadcast should be stopped by the router.

I failed.  Any suggestion?  

Thank you.

William WK Lee
Hong Kong

0
Comment
Question by:wk
1 Comment
 
LVL 8

Accepted Solution

by:
da99rmd earned 2000 total points
ID: 10877032
Are the 2 smb servers on the same server or 2 diffrent ?

on the 192 server you cant have this
>security = user
By specifying the name of another SMB server (such as a WinNT box) with this option, and using
              security = domain or security = server you can get Samba to do all its username/password vali­
              dation via a remote server.

read the man smb.conf

I realy dont know if the password server = ip works
 This option sets the name of the password server to use.  It must be a NetBIOS name, so if the
              machine's  NetBIOS  name is different from its Internet name then you may have to add its Net­
              BIOS name to the lmhosts file which is stored in the same directory as the smb.conf file.

so you can specify the ip in the lmhost file and use a netbios name of your choise.

/Rob
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question