linuxmint / slick-greeter

A slick-looking LightDM greeter
GNU General Public License v3.0
365 stars 59 forks source link

[Feature Request] Domain Login, where it automatically puts DOMAINNAMEHERE\ before the User name when logging in #86

Open dominichayesferen opened 6 years ago

dominichayesferen commented 6 years ago

So, I'm attempting to build a distro for a school to potentially use, and while I've been doing a bit of research and discovered, that when connected to a user server domain, you'll most of the time have to put DOMAINNAME\usernamehere as your login, rather than just usernamehere to log in to the Domain.

What I'm asking for, is the ability to set it to be a more user-friendly way of logging in, by having it, like in Windows, where you can optionally log in as 'usernamehere' for the User Name output, but instead, it will log in as 'DOMAINNAME\usernamehere', I feel this will be so much more user-friendly, having the option to just have the domain name part auto-filled into the Username entry, unless the user themselves supply another Domain Name before their username.

dominichayesferen commented 6 years ago

Here's two ways I hope you developers do it, if you do implement this:

  1. Just automatically put the 'DOMAINNAME\' bit in the Username field when the user is then meant to input their username, which'd then go after that automatically added text
  2. Add 'DOMAINNAME\' at the start of the user name input, once they've pressed Enter to enter their password, automatically, unless another Domain Name was supplied by the user when putting in their username
jaszhix commented 6 years ago

What is the domain supposed to be in a Linux environment? Sounds like it would require making Slick Greeter depend on Samba, and then somehow integrating that into the session... seems like a lot of change for Windows interop.

dominichayesferen commented 6 years ago

@jaszhix From what I've seen in videos showing ways to do MS Active Directory in Linux, all it would involve is the greeter sending the username as having the DOMAINNAME\ bit before the user name, and letting the OS handle the rest, so then rather than the greeter sending the login username as "username", it would be "DOMAIN\username" instead. e.g: https://www.youtube.com/watch?v=oNCzh3dkdBM

dominichayesferen commented 6 years ago

...and given that that video shows Unity Greeter can do it fine, when entered manually, Slick Greeter would probably most likely work, even with the login having the domain name bit appended before the username input automatically...