Operating System - Linux
1832690 Members
2817 Online
110043 Solutions
New Discussion

Re: Linux Authentication From Windows??

 
Tamer Shaalan
Regular Advisor

Linux Authentication From Windows??

Dear ALL,

I'm the administrator of a mixed netwrok that contains windows domain (2003 Enterprise server) and SLES 9.0 Linux server. I ask if it is possible to make authentication of Linux users of the server to be done from the windows domain active directory or not? This will make it too easy for users to have one account for both networks and its related applications.

ALL good replies will be highly appreciated.

Thanks.

Tamer.
Success is a journey, not a destination
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: Linux Authentication From Windows??

Yes you can. You must configure samba (via smb.conf) and set:

WORKGROUP = domain-name
security = server
password server = 192.168.0.1 192.168.0.2

You must then change the security settings to allow authenticate using SAMBA. I think that this you can do it via YAST.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tamer Shaalan
Regular Advisor

Re: Linux Authentication From Windows??

lvan,

Thanks for fast response. why these certain IP address? you should know that I don't mean samba specifically. I mean authentication when log in the server.

Tamer.
Success is a journey, not a destination
Ivan Ferreira
Honored Contributor

Re: Linux Authentication From Windows??

These ip are only examples and should be the ip address of your domain controllers.

And yes, this is for authenticate users that logon to linux, not only to access shares through samba.

Here is another method:

http://sadms.sourceforge.net/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vitaly Karasik_1
Honored Contributor

Re: Linux Authentication From Windows??

These article may help:

http://www.securityfocus.com/infocus/1563 Active Directory and Linux

Bill Thorsteinson
Honored Contributor

Re: Linux Authentication From Windows??

Read the documentation on PAM. There are
pam modules which will authenticate against
Windows. If you are allowing logins
based on the authentication, you may
also want to install the module that
creates a home directory on first login.

If you only want access to file and printer
shares, then configure Samba to authenticate
against Windows. The Samba documentation
package (at least for Debian) includes a
book with details for a variety of
configurations.
Andrea Rossi
Frequent Advisor

Re: Linux Authentication From Windows??

try winbind, included in samba suite, compatible with pam.
Geoff Wild
Honored Contributor

Re: Linux Authentication From Windows??

If you are talking about integrating Linux with ADS (not just Samba) - then you need a third party app - one that come to mind is:

http://www.centrify.com/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.