The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Build A Primary Domain Controller With Samba - EnterpriseNetworkingPlanet iBot UNIX and Linux RSS News 0 07-11-2007 04:00 PM
Joining UNIX to a Windows2003 Domain Duki UNIX for Dummies Questions & Answers 4 08-10-2006 04:16 PM
Samba does not connect to domain frankkahle UNIX for Advanced & Expert Users 4 05-03-2006 02:23 PM
Samba / FreeBSD member server in MSFT 2003 AD domain ccy UNIX for Dummies Questions & Answers 0 09-29-2004 10:46 PM
Using Samba to join a win 2000 Domain gennaro UNIX for Dummies Questions & Answers 4 09-25-2002 10:54 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-22-2008
Bert Bert is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 4
Samba: Authenticating and joining AD domain as a member

Hi all,

I'm having some problems with joining an active directory domain as a member. My Linux servers using the same configuration across the board are all joining as domain controllers, which is bad.

I am running Samba 3.0.25b-0.4E.6 on all of my RHEL servers.

Here is my global stanza:
[global]
workgroup = DOMAIN
realm = DOMAIN.CA
server string = Samba Server
security = ADS
password server = passwordserver.DOMAIN.CA *
username map = None
log file = /var/log/samba/%m.log
domain logons = no
domain master = no
max log size = 1000
smb ports = 139
server signing = auto
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = 10.1.2.3
idmap uid = 1000-20000
idmap gid = 1000-20000
winbind use default domain = yes
short preserve case = No
preferred master = no
local master = no
log level = 4

Here's are the steps I am taking to join the domain:
# cat ktest
#!/bin/sh
# Destroy Kerberos Token
/usr/kerberos/bin/kdestroy
# Stop services
/etc/init.d/winbind stop
/etc/init.d/smb stop
# Log in to domain
/usr/kerberos/bin/kinit myusername@DOMAIN.CA
/usr/bin/net ads join -U myusername
# Start services
/etc/init.d/winbind start
/etc/init.d/smb start
# Check processes
/bin/ps -aef | grep -i winbind
/bin/ps -aef | grep -i smb

Verify Winbind
# wbinfo -t
Checking the trust secret via RPC calls succeeded
# wbinfo -m
EGI
DOMAIN.CA
# wbinfo -u
.. long list of AD users pulled down
# wbinfo -g
.. long list of AD groups

After the Linux server joins the domain, I check with the AD admins and the object for my Linux server always shows up as a "Domain Controller."

I've worked through this with the Oracle support, and with the relevant lines in [global], all that should have specified to the server not to let the Linux server join as a domain controller.

Is there something I'm missing?

Thanks,
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0