LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux user accounts in AD? (https://www.linuxquestions.org/questions/linux-software-2/linux-user-accounts-in-ad-657440/)

adymcc 07-22-2008 10:13 AM

Linux user accounts in AD?
 
Hi, I have a strange problem. Please do not flame me this is not my doing I have been asked to get this working.

The situation is that I currently have a number of linux/unix user accounts to migrate in to Windows AD (2003 R2 with services for unix installed)

I have been told that all users will have a user account in AD in a numeric format 01-2345, this is the user account they will use when they log in with a windows client.

When the same user logs in using a Linux client they need to use an account with an alpha character in front of it, i.e A12-2345. OK this is the crunch, there can be only one account in AD, no software or schema changes are allowed in AD.

Additionally the Unix users are required to be able to change their passwords on the Linux/Unix platform as well.


What I have tried so far:

Kerberos and LDAP clients configured with PAM modules allow the linux machines to authenticate to AD, works very well and allows the users to login and change there passwords. However I have found no way to translate the users login name from 12-2345 to A12-2345 for the linux platform as specified. Kerberos option auth_to_local does not seem to work at all in RedHat (or what am I doing wrong, more info if needed).

With this we have tried various iterations of trying to get LDAP to use different AD attributes such as userprinciplename and UID none of which would work.

Potential Options:

If you have any suggestions on the best way to go about this let me know.

OpenLDAP Proxy to AD with translation in place to rewrite the samaccountname field.

Samba and Winbind as a member of the AD domain, is there any way to rewite the Samba/Windows account names?

OpenLDAP server with full replication (including the password field) from AD, where I can manipulate the User ID field. I believe Fedora Directory server is capable of this but requires Passsync to be installed on the AD domain controller for full password synchronisation (management screwed this one, any suggestions?)

adymcc 07-22-2008 04:48 PM

Hi Mods, may be this thread would be better off in the Server section.

Could you move it please?

adymcc 07-24-2008 05:30 AM

TTT, No one got any ideas, how about Openldap proxy to active directory?

reddazz 07-24-2008 11:03 PM

In the future if you need your thread to be moved to a different forum, please use the report button and ask a moderator to do it for you instead of starting a new thread elsewhere. Cheers.


All times are GMT -5. The time now is 05:12 PM.