Operating System - Linux
1830161 Members
3088 Online
109999 Solutions
New Discussion

Configure the unix/linux server to use windows username and password

 
nash11
Frequent Advisor

Configure the unix/linux server to use windows username and password

How can I configure the unix/linux server can log into the server using windows (Active directory) username and password ? LDAP is best way or not ? could advise the setup method ? thx
7 REPLIES 7
Andrey Deryugin
Honored Contributor

Re: Configure the unix/linux server to use windows username and password

Hello,

Hope that this howto will help:

http://gentoo-wiki.com/HOWTO_Adding_a_Samba_Server_into_an_existing_AD_Domain

Regrds,
Andrey
Ivan Ferreira
Honored Contributor

Re: Configure the unix/linux server to use windows username and password

You must configure SAMBA + PAM files to authenticate using Windows DC. Some linux distro have a tool to do this, for example, red hat and clones have the authconfig command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
nash11
Frequent Advisor

Re: Configure the unix/linux server to use windows username and password

thx replies,

Hi Ivan Ferreira,

Why you said "You MUST configure SAMBA + PAM files" , I search on the web , it seems there are many methods , the samba is the best way ? please suggest . thx

Sergejs Svitnevs
Honored Contributor

Re: Configure the unix/linux server to use windows username and password

Hello,

if you need to authenticate your linux against AD, you should use pure LDAP methods.

A good example:
http://enterprise.linux.com/enterprise/04/12/09/2318244.shtml?tid=102&tid=101&tid=100

Regards
nash11
Frequent Advisor

Re: Configure the unix/linux server to use windows username and password

thx reply,

I have follow all the step , but can't do the following part , could advise how to set the POSIX ? thx

Open the Active Directory Users and Groups management tool. a.) Modify a group object to function as a POSIX group.
b.) Right-click on the user group for assignment of a GID.
c.) Click on the Unix Attributes tab.
d.) Populate the NIS Domain dropdown and the GID number as appropriate.
nash11
Frequent Advisor

Re: Configure the unix/linux server to use windows username and password

thx

I have one more question , if all setting are OK , can it authenticate the linux via telnet ? thx
Ivan Ferreira
Honored Contributor

Re: Configure the unix/linux server to use windows username and password

Yes, it can also authenticate the users via telnet and even other services like squid proxy and sendmail using winbind.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?