0

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I simply want to force the devices to input a username/password before they can use it (to keep track of who is using what for security purposes and thier user datas have to be in the server. So : Is it possible/practical to use a Linux server to authenticate Windows devices?

1

As you already added the Samba tag, it is possible to use Samba as a domain controller to authenticate Windows clients and provide space for the users to save their files. I already used such setups in small businesses. Whether that fits a "small concern" depends on your specific needs.

Edit

For authentication, you create a Windows domain on the Samba server and make your devices members of this domain. Now every domain user can login on any of the devices. Samba supports different backends, but you probably want to use the LDAP backend to manage the Samba users. You can use the same LDAP tree to manage the Linux users, you just need a few additional attributes.

  • 1
    Yes for file sharing purpose we can use samba. but how to authenticate windows users from linux server? – Jack Aug 9 '18 at 6:53
  • Windows clients behave like they would with a Windows Domain Controller. You have to supply a user and password, and the server, in this case Samba, will verify the password. – RalfFriedl Aug 9 '18 at 16:42
  • Is LDAP is enough for authentication? or I have to use PAM authentication ? – Jack Aug 10 '18 at 5:09
  • You can use PAM to use LDAP for authentication. Or PAM to use SSSD to use LDAP for authentication. SSHD should be present on RHEL and is quiet easy to use. – RalfFriedl Aug 10 '18 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.