Re: GDM login editing.
- From: Chookij Vanatham <Chookij Vanatham sun com>
- To: Brent Ellis <bellis matchschool org>
- Cc: gdm sunsite dk, Chookij Vanatham sun com
- Subject: Re: GDM login editing.
- Date: Fri, 20 Jun 2003 11:49:45 -0700 (PDT)
Hi Brent,
Here is a very little bit guidance. Perhap, it could be a starting point.
I'm new to gdm as well.
> I am installing linux and winbind on our schools computer lab. We
> still have windows clients so it is easier to not change the
> authentication system.
>
> Winbind users have a username of DOMAIN+username where the "+" is the
> winbind separator.
>
> What I would like to do is have the login fields for gdm to match the
> windows login fields so that the students login the same way on all the
> machines on my network.
>
> Essential I would like the GDM screen to have the following fields
> displayed
>
> Username
> Password
> Domain
>
> I would like username and password to be blank and Domain to have a
> default setting(specified in a file somewhere)
>
> I would like it to take the Domain and append the username with the
> winbind separator in between then pass that as the username to login
> for auth.
>
Problably, you need to modify the gdm2/daemon/slave.c.
gdm_verify_user(GdmDisplay, *username,..) is doing the authentication.
Problably, GdmDisplay should have another entry for domainname.
Not sure whether "Domain+username" should be passed to PAM or
Winbind.
>
> Is this possible, easy, already done somewhere.
>
> If it is a matter of editing some XML,
>
Editing XML file is not enough. You will have to add coding to
gdm2/gui/greeter/greeter_parser.c to parse "Domain" xml entry
and try to pass this domain info into gdm_verify_user().
> and making a perl script to sit on top of GDM then I may be able to do it.
> However, I don't know how GDM works at all so I am looking for a little
> guidance.
I would say that reading gdm2 source is the way to go...
Chookij V.
>
> Thanks
>
> Brent Ellis
> Match School
> bellis matchschool org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gdm-unsubscribe sunsite dk
> For additional commands, e-mail: gdm-help sunsite dk
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]