configuring Samba to bridge networks

Posted on 2004-11-05
Medium Priority
Last Modified: 2010-03-18
I current have 3 small networks.  On the edge of 2 of them sit window 2k3 servers, and on the 3rd sits Mr. Samba.  Everything works fine and dandy in a fail-safe world where the internet is up and running.  However, upon a glick in the network the entire Samba subnet can no longer do anything network related, including connecting to the samba server in the same subnet.

I've looked over the smbd.conf file, and believe my problem to be "security = server".  From what I understand, this passes all authentication requests immediately to the DC.  However, when i set it to domain, nothing works.

I appreciate any help one can give me helping Samba retain some information, or at least allow users to connect from the local subnet even though there isn't a link to the DC.

Thanks in advance!

Question by:elbarro
  • 2
  • 2
LVL 38

Expert Comment

ID: 12510541

   What's the "password server = ?" in smb.conf?
Can you ping the password server from your Samba machine? If not, then fix this the network connection between samba
server and password server first.

   You can set "security" to "user" and "share" to allow users connect without a link to DC.

LVL 12

Expert Comment

ID: 12573172
- In your Samba smbd.conf what have you set your os level=?

Author Comment

ID: 12590615
Avgavg, I havent added a line w/ os level = x
security = server so that smb has permission to see netowrk resources.

LVL 38

Assisted Solution

wesly_chen earned 800 total points
ID: 12590737
>  I havent added a line w/ os level
os level = 33 by default. You don't need to set it if you don't have this line.

> a glick in the network
What happen?

LVL 12

Accepted Solution

avgavg earned 1200 total points
ID: 12590888
Hi elbarro, specifying os level in smb.conf will help to control (to some extent) which machine wins master browser elections whenever a PC or server comes back on the network after a network crash.

Can you post your smb.conf file contents? That will give us a lot more information about your setup at one go.

When you say you have '3 small networks' do you mean each small network is on a separate subnet with different gateways?

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

807 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