LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-15-2012, 12:42 AM   #1
R09u3Bull
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Rep: Reputation: Disabled
getent not working with SSSD


Hi I have a test setup wherein I am trying to authenticate AD users through RHEL 6 and I am using LDAP with SSSD without encryption.

this is my sssd.conf file :

Code:
[sssd]
config_file_version = 2
reconnection_retries = 3
sbus_timeout = 30
services = nss, pam
domains = DOMAIN.COM
[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3

[pam]
reconnection_retries = 3

[domain/DOMAIN.COM]
description = LDAP domain with AD server
enumerate = false
min_id = 1
id_provider = ldap
ldap_uri = ldap://WIN-SERV.DOMAIN.COM/
ldap_schema = rfc2307bis
ldap_user_search_base = dc=DOMAIN,dc=COM
ldap_group_search_base = dc=DOMAIN,dc=COM
ldap_default_bind_dn = CN=ldapsearch,CN=Users,DC=DOMAIN,DC=COM
ldap_default_authtok_type = password
ldap_default_authtok = paswd123

ldap_user_object_class = user
ldap_user_name = sAMAccountName
ldap_user_uid_number = uidNumber
ldap_user_gid_number = gidNumber
ldap_user_home_directory = unixHomeDirectory
ldap_user_shell = loginShell
ldap_user_principal = userPrincipalName
ldap_user_member = msSFU30PosixMemberOf

ldap_group_object_class = group
ldap_group_name = sAMAccountName
ldap_group_gid_number = gidNumber
ldap_group_member = memberUid
ldap_force_upper_case_realm = true
[sudo]

[autofs]

[ssh]
ldapsearches are working fine.
nsswitch.conf is edited as :
Code:
passwd:     files sss
shadow:     files sss
group:      files sss
But
Code:
#getent passwd test_user
just returns without any output.

P.S test_user is created in Active Directory. and I dont have any other users on the RHEL6 box except root.

Last edited by R09u3Bull; 11-15-2012 at 12:45 AM. Reason: forgot to add
 
  


Reply

Tags
active directory, ldap, rhel 6



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
getent shadow works but getent passwd does not??? shiv_softengg Linux - Networking 1 04-04-2011 08:06 AM
getent passwd only pulls local info - getent group works? epoh Linux - Server 2 03-14-2008 07:56 AM
getent command is not working correctly??? ajeetraina Linux - Server 1 12-28-2007 09:42 AM
nss_ldap not working (getent passwd) WindowBreaker Slackware 2 06-27-2006 02:19 AM
getent passwd and wibinfo -u not working bahadur Linux - Networking 0 06-14-2004 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:55 AM.

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