Unix/Linux Go Back    

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.

AD Intergration with Cent OS 6

Red Hat

ad centos 6

Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-13-2012   -   Original Discussion by bobby320
bobby320 bobby320 is offline
Registered User
Join Date: Apr 2011
Last Activity: 22 October 2015, 10:27 AM EDT
Posts: 87
Thanks: 22
Thanked 0 Times in 0 Posts
AD Intergration with Cent OS 6


I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server.

error message :

# net ads join -U 504783
Host is not configured as a member server.
Invalid configuration.  Exiting....
Failed to join domain: This operation is only allowed for the PDC of the doma        in.

configuration file of samba smb.conf under [global] is updated with this info.

workgroup = ctab
security = ads
idmap uid = 7000-500000
idmap gid = 7000-500000
template shell = /bin/bash
template homedir = /home/%U
winbind use default domain = true
winbind offline logon = false
winbind nss info = rfc2307
idmap config TRD:backend = ad
idmap config TRD:defauly = yes
idmap config TRD:range = 70000-500000
idmap config TRD:schema_mode = rfc2307
server string = Samba Server Version %y

I have updated krb5.conf as this

#more /etc/krb5.conf
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

 default_realm = CTAB.ALPHA.COM
 dns_lookup_realm = false
 dns_lookup_kdc = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true

  kdc = ctab.alpha.com
  admin_server = ctab.alpha.com

 .ctab.alpha.com = CTLAB.ALPHA.COM
 ctab.alpha.com = CTLAB.ALPHA.COM

I wasnt able to fix it can someone please suggest it.

Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UVFS in Cent OS rajarshiroy77 Linux 2 06-23-2010 04:29 AM
Installation of Web Logic9.2 on Cent OS5 rajp_8007 Red Hat 0 05-08-2009 03:23 AM
how to make a Cent OS package. toanilsharma1 Linux 1 08-19-2008 09:19 AM
Chek if a file exists in Ubuntu and Cent OS using shell script m_kk Shell Programming and Scripting 2 03-26-2008 11:32 AM

All times are GMT -4. The time now is 09:40 AM.