?
Solved

Samba password server in different subnet

Posted on 2004-04-20
3
Medium Priority
?
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
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

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

770 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