Integrate RHEL with Active Directory


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Integrate RHEL with Active Directory
# 8  
Old 01-20-2014
Hi Stuart,

We chose SSSD because we already had some experience of it, also we felt that it was more suitable for our environment. The SSSD authentication has in the main worked well, there have been the odd issues with it mostly revolving around NCSD - but that is a known issue.

The configuration as you can see is fairly straight forward, but we had to embed tha password in the config (not something that I was happy with) due to not being able to use a host key file.

Gull04
# 9  
Old 01-20-2014
Hi Gull,

I do have some questions regarding your conf file please could you let me know if I am correct with the following:
Code:
[sssd]
config_file_version = 2
reconnection_retries = 3
sbus_timeout = 30
services = nss, pam
domains = XXXXXXXXXXXXX (This would be my domain?)

[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3

[pam]
reconnection_retries = 3
#ldap_schema = rfc2307bis (is this your schema ID or is this a generic Schema ID which I can use)
ldap_schema = rfc2307
ldap_user_search_base = cn=Users,dc=xxx,dc=xxxxx,dc=com (This would be my domain?)

ldap_group_search_base = cn=Users,dc=xxx,dc=xxxxx,dc=com (This would be my domain?)

ldap_default_bind_dn = cn=admintest,cn=Users,dc=xxx,dc=xxxxx,dc=com (This would be my domain?)

ldap_default_authtok_type = password (does this notify us that we are authentication via a password?)
ldap_default_authtok = XXXXXXXX (is this a password or user or domain?)
ldap_force_upper_case_realm = True

[domain/EKB.ATMEL.COM] (does this need to be my domain?)
description = LDAP auth to AD2003 (the AD Schema is 
min_id = 100
id_provider = ldap
auth_provider = ldap
ldap_uri = ldap://kdc1.xxx.xxxxx.com
ldap_schema = rfc2307bis
ldap_search_base = cn=Users,dc=xxx,dc=xxxxx,dc=com
ldap_default_bind_dn = cn=admintest,cn=Users,dc=xxx,dc=xxxxx,dc=com
ldap_default_authtok_type = password
ldap_default_authtok = XXXXXXXX (once again same q as before?)
ldap_user_object_class = user
ldap_group_object_class = group
ldap_user_home_directory = unixHomeDirectory
ldap_user_gecos = displayName
enumerate = true
chpass_provider = krb5
auth_provider = krb5
krb5_kdcip = 10.143.253.183 (would this be my DC?)
krb5_realm = XXX.XXXXX.COM
krb5_ccachedir = /tmp
krb5_ccname_template = FILE:%d/krb5cc_%U_XXXXXX
krb5_auth_timeout = 15

#cache_credentials = True
#ldap_id_use_start_tls = False
debug_level = 9
krb5_kpasswd = kdc1.xxx.xxxxx.com:749
#ldap_search_base = cn=Users,dc=xxx,dc=xxxxx,dc=com
#krb5_realm = XXX.XXXXX.COM
#chpass_provider = krb5
#krb5_kdcip = kdc1.xxx.xxxxx.com:88
#ldap_tls_cacertdir = /etc/openldap/cacerts

---------- Post updated at 12:50 PM ---------- Previous update was at 11:49 AM ----------

ok I have edited the conf file for SSSD and I am now about to setup the NSS but for some reason when I use authconfig --enablesssd --update all I get is errors, is this something to do with the conf file for SSSD not being setup correctly?

Last edited by Franklin52; 01-20-2014 at 11:05 AM.. Reason: Please use code tags
# 10  
Old 01-21-2014
Hi Stuart,

Sorry about the delay, hope that you weren't depending on this as I've been a bit busy here.

Code:
ldap_default_authtok_type = password (does this notify us that we are authentication via a password?)Yes
ldap_default_authtok = XXXXXXXX (is this a password or user or domain?)It's a password.
ldap_force_upper_case_realm = True

[domain/EKB.ATMEL.COM] (does this need to be my domain?)Yes it does.
description = LDAP auth to AD2003 (the AD Schema is 
min_id = 100
id_provider = ldap
auth_provider = ldap
ldap_uri = ldap://kdc1.xxx.xxxxx.com(Your LDAP)
ldap_schema = rfc2307bis
ldap_search_base = cn=Users,dc=xxx,dc=xxxxx,dc=comYes, this should be your domain.
ldap_default_bind_dn = cn=admintest,cn=Users,dc=xxx,dc=xxxxx,dc=com
ldap_default_authtok_type = password
ldap_default_authtok = XXXXXXXX (once again same q as before?)See above.

There may well be some suck it and see with the SSSD, we are using an older version here due to production constraints.

If you still have issues, let me see the errors and I'll see if I can help.

Regards

Gull04
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Active Directory OR LDAP

Hi, How can we check users added through LDAP or AD. Users added through a group of AD or LDAP group. (2 Replies)
Discussion started by: Nishit
2 Replies

2. UNIX for Advanced & Expert Users

Active Directory with 6.1

Is there anyone who is utilizing Active Directory (2008R2) for AIX user account management? If yes or if AD is possible with AIX systems, can you please share what to be done to get there? Please advise. (1 Reply)
Discussion started by: Daniel Gate
1 Replies

3. Red Hat

ldap and active directory

Hi Friends, I need your help to get some solution of one of my problem. Ours is a mixed domain. Most of the servers are windows and very little linux servers. We are using the MS AD for authentication. My problem is, I want to authenticate linux servers against AD. I donot want to use any... (1 Reply)
Discussion started by: arumon
1 Replies

4. HP-UX

HP-UX authenticating to Active Directory

Hey, I've asked questions about this project here before and gotten lots of help so I figured I'd give it another try. I've recently set up my HP-UX environment to authenticate to a Windows Active Directory server (Windows Server 2003 R2). I setup an account on Active Directory which works... (2 Replies)
Discussion started by: Rike255
2 Replies

5. UNIX for Dummies Questions & Answers

setup active directory

i would like to ask about unix with active directory..actually my situation is at ny place there already have dns server in unix based,i want to implement an active directory to the network..from what i read about active directory we have to used bind dns...some say that bind could not handle in... (1 Reply)
Discussion started by: nour
1 Replies

6. UNIX for Dummies Questions & Answers

Active Directory and UNIX

Hello - I have a very vague question, which will probably result in vague answers because I don't have a lot of detailed information and I don't know a whole lot about active directory. Our Windows/NT admin has been rolling out Active Directory over the past several weeks and as time goes on,... (1 Reply)
Discussion started by: rm -r *
1 Replies

7. Windows & DOS: Issues & Discussions

unix and active directory

Hi Does anybody know the steps and requirements of the installation process of Windows Active Directory using Unix/Linux Bind DNS. I will appreciate if somebody gives the answer. (1 Reply)
Discussion started by: Darwin Rodrigue
1 Replies
Login or Register to Ask a Question