LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User Mapping of Windows and Linux Users (https://www.linuxquestions.org/questions/linux-newbie-8/user-mapping-of-windows-and-linux-users-4175504675/)

mickay369 05-11-2014 11:32 PM

User Mapping of Windows and Linux Users
 
Hello, we have a new server loaded with CentOS 6.4. I have already configured the server to join to our Windows Domain server using winbind. Users with the same log-in on windows domain and linux have no problem accessing the server.

My concern is that, how do we map a user with different logins on windows and linux? We ought to use ID numbers on linux instead of their initials as used in the domain.

For example:
Windows login: user1
Linux login: user1
** User with the same login on windows and linux can access the server without having a problem.

Windows login: user2
Linux login: 1234
** User not having the same login on windows and linux encounters credential login unless we add user2 on linux.

Is there any way that when user2 will access our linux server, the server will automatically recognize the user as 1234?

Thank you so much for helping. We badly need assistance. Thanks again!

bigrigdriver 05-12-2014 03:50 PM

Look at the Samba documentation, chapter 24. Especially, look at the sections discussing Handling of Foreigh SIDs and Pam authentication. You may find a solution there.

You should also read chapter 14 Identity mapping.

mickay369 05-12-2014 07:15 PM

Hello bigrigdriver, thank you so much for the reply. Yes, I will look into it! Will update soon! thanks!


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