LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-15-2012, 07:28 AM   #1
chrisk2305
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
LDAP Client Configuration - Login with UPN


Hi everybody,

i've been searching for hours now and still didn't find a solution to my problem:

I successfully configured the LDAP Client on a SLES 11 SP2 for VMWare machine and can authenticate against our Windows Server 2008 R2 Domain. What I want is to login with the userprincipalname instead of the samaccountname.

I tried to change a few settings in ldap.conf, but that doesn't seem to change anything. I can successfully login with "domain\username". But I want to login with username@domain.com which would be the UPN attribute. In my case different users will have completely differtnt UPNs (e.g. xxx@xxx.com, xyx@yyy.com and so on)

Where can I change the mapping? Here is a part of my ldap.conf where i tried to change the mapping (which obviously didn't work):

Code:
# RFC 2307 (AD) mappings
#nss_map_objectclass posixAccount user
#nss_map_objectclass shadowAccount user
nss_map_attribute uid userPrincipalName
#nss_map_attribute homeDirectory unixHomeDirectory
#nss_map_attribute shadowLastChange pwdLastSet
#nss_map_objectclass posixGroup group
#nss_map_attribute uniqueMember member
pam_login_attribute userPrincipalName
#pam_filter objectclass=User
#pam_password ad Any help is greatly appreciated!
tia Christian
 
Old 11-19-2012, 01:59 AM   #2
chrisk2305
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
any ideas? Help is really appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LDAP Client Configuration sunveer Linux - Newbie 10 11-07-2012 06:04 PM
[SOLVED] Ldap client configuration not working sunveer Linux - Newbie 4 10-13-2012 06:21 AM
ldap authentication (active directory) and using UPN as username td3201 Linux - General 1 10-01-2008 03:33 AM
ldap client configuration sp149 Linux - Server 7 01-14-2008 04:06 PM
LDAP client configuration help omart Linux - Software 1 11-22-2004 02:06 AM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration