LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2005, 09:37 AM   #1
JLindenmuth
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Samba help - cannot get NT PDC to work


Hello,

We are trying to add a 2nd samba server to our domain. We are using an NT 4.0 PDC and connecting to the PDC using winbind. Our network is relatively small – 25 computers. We have no Active Directory servers, no WINS servers, and the existing samba server running 3.0.11 has been running for 18 months with no issues.

We are completely stuck trying to add a second server. We’ve configured the 2nd server EXACTLY the same as the first. It’s on the same subnet, we’re using the same version of Linux (RHES3), and are using the same smb.conf file (except for the ‘netbios name’ parameter). The only difference that we can find is the samba version (3.0.14a vs. 3.0.11).

Here’s the problem: when we try to join the domain, we receive an
‘Unable to find a suitable server’ error
and
‘utils/net_ads.c:ads_startup(191) ads_connect: No such file or directory’

This appears to be an Active Directory error, which is confusing since we aren’t using Active Directory. If we set the ‘wins server’ parameter to our PDC, wbinfo –u will correctly show all the user names and passwords, but getent passwd won’t list our Domain users.

Any thoughts for how we can proceed? We’re pretty frustrated, and thinking about just switching the 2nd server to a windows box since this has already taken a few days of time. FYI: our smb.conf is listed below

Thanks,
Josh Lindenmuth



[global]
# seperate domain and username (e.g. domain+username)
winbind separator = +

# valid domain users range
idmap uid = 10000-20000

# valid domain group range
idmap gid = 10000-20000

# allow enumeration of winbind users and groups
winbind enum users = yes
winbind enum groups = yes

# GENERAL SAMBA SETTINGS
workgroup = PAYTIME1
dns proxy = no
log level = 1
log file = /var/log/samba/%m.log
netbios name = LINUX2
load printers = yes
server string = Samba App Server
password server = *
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 20
encrypt passwords = yes
printcap name = /etc/printcap
security = domain
max log size = 50
browsable = yes

#JAL new DOS mode settings
dos filemode = yes
dos filetimes = yes
dos filetime resolution = yes
directory mask = 0775
create mask = 0777
force create mode = 0
mangled names = yes
mangle prefix = 6
mangling method = hash2

# disable opportunistic locking - to fix samba issues
oplocks = no
level2 oplocks = no

[share]
comment = Shared Drive
path = /var/winshare
valid users = @"PAYTIME1+Domain Users", @"PAYTIME1+Domain Admins"
admin users = PAYTIME1+Administrator, @"PAYTIME1+Domain Admins"
read only = no
public = no
writable = yes
printable = no
nt acl support = yes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba As A PDC steve007 Linux - Newbie 1 06-13-2005 11:27 AM
Samba Pdc grogoreo Linux - Networking 0 03-12-2004 08:09 PM
after samba pdc shadow Linux - Networking 1 07-06-2003 10:43 AM
Samba PDC glc Linux - Networking 2 10-30-2001 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration