AD Intergration with Cent OS 6 | Unix Linux Forums | Red Hat

  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


Tags
ad centos 6

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-13-2012
bobby320 bobby320 is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 18 April 2014, 11:56 AM EDT
Posts: 85
Thanks: 22
Thanked 0 Times in 0 Posts
AD Intergration with Cent OS 6

Hello,

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 :


Code:
# 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.


Code:
workgroup = ctab
realm = CTAB.ALPHA.COM
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


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

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

[realms]
 CTLAB.ALPHA.COM = {
  kdc = ctab.alpha.com
  admin_server = ctab.alpha.com
 }

[domain_realm]
 .ctab.alpha.com = CTLAB.ALPHA.COM
 ctab.alpha.com = CTLAB.ALPHA.COM
#

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

Thanks,
Kartheek.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:29 AM
Installation of Web Logic9.2 on Cent OS5 rajp_8007 Red Hat 0 05-08-2009 02:23 AM
how to make a Cent OS package. toanilsharma1 Linux 1 08-19-2008 08: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 10:32 AM



All times are GMT -4. The time now is 11:42 AM.