diff options
author | George Lebl <jirka@5z.com> | 2003-08-07 00:45:24 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-08-07 00:45:24 +0000 |
commit | 5cacc8771c216740d520a68847df974a630ffe1a (patch) | |
tree | 9b8e25be37a58bf4ea6a0154e547450497b5efc6 /gui/gdmchooser.c | |
parent | 6b29c76db5aa5ec73327c77ec73bd07d54c15767 (diff) | |
download | gdm-5cacc8771c216740d520a68847df974a630ffe1a.tar.gz |
don't use the paths but let pam find modules itself
Wed Aug 06 17:40:27 2003 George Lebl <jirka@5z.com>
* gdmsetup-pam: don't use the paths but let pam find modules itself
* gui/gdmlogin.c, gui/greeter/greeter_item_ulist.c: limit number of
users at 100 (rather then 50) where it really becomes bad. We need
to handle this in a nicer way.
* daemon/xdmcp.c: make the globsessid default to rand() so that they
really differ from run to run, rather then just time(NULL). check
tcp wrappers for managed_forward and got_managed_forward (just to
be anal), also check tcp wrappers on forward query, the Alive packet
now gets sent with real info rather then just whatever keepalive
sent us (and thus follows the spec). Make sure the session id is
never zero as that can happen now. Send at most one unwilling packet
per second, and try to defer doing any actual work until after
we checked with tcp wrappers. Also add some more potential
debugging.
* daemon/verify-pam.c: translate the lowercase "username:" and
"password:", some modules seem to be using those.
* daemon/xdmcp.c, gui/gdmchooser.c: if the condition is not new
data to be read, don't try to run XdmcpFill
* docs/C/gdm.xml: more notes on security of XDMCP and using
MIT-MAGIC-COOKIE-1 added, plus a section on the TCP Wrappers,
though it kind of sucks.
Diffstat (limited to 'gui/gdmchooser.c')
-rw-r--r-- | gui/gdmchooser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/gdmchooser.c b/gui/gdmchooser.c index b075d2ff..08f76e00 100644 --- a/gui/gdmchooser.c +++ b/gui/gdmchooser.c @@ -384,6 +384,9 @@ gdm_chooser_decode_packet (GIOChannel *source, GdmChooserHost *gh; int pipe_buf; + if ( ! (condition & G_IO_IN)) + return TRUE; + if (! XdmcpFill (sockfd, &buf, (XdmcpNetaddr) &clnt_sa, &sa_len)) return TRUE; |