After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684773 - GDM: Settings `IncludeAll=false` and `Include=username` do not have any effect
GDM: Settings `IncludeAll=false` and `Include=username` do not have any effect
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-25 10:53 UTC by Paul Menzel
Modified: 2018-05-24 10:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2012-09-25 10:53:14 UTC
GDM 3.4.1-3 from Debian Sid/unstable is build with

    --with-custom-conf=/etc/gdm3/daemon.conf

so the following file

        $ more /etc/gdm3/daemon.conf
        [daemon]
        [security]
        [xdmcp]
        [greeter]
        IncludeAll = false
        Include = joey

should only display the user joey in the user list. Unfortunately it does not work and all users are displayed.

Grepping GDM’s source it looks like that key is not used anymore.

/src/gdm(master) $ git grep GDM_KEY_INCLUDE_ALL
common/gdm-settings-keys.h:#define GDM_KEY_INCLUDE_ALL "greeter/IncludeAll"
paul@mattotaupa:~/src/gdm(master) $ gedit common/gdm-settings-keys.h &
/src/gdm(master) $ git grep gdm-settings-keys
common/Makefile.am:     gdm-settings-keys.h     \
common/test-settings-client.c:#include "gdm-settings-keys.h"
daemon/gdm-display.c:#include "gdm-settings-keys.h"
daemon/gdm-server.c:#include "gdm-settings-keys.h"
daemon/gdm-simple-slave.c:#include "gdm-settings-keys.h"
daemon/gdm-simple-slave.c:#include "gdm-settings-keys.h"
daemon/gdm-xdmcp-chooser-slave.c:#include "gdm-settings-keys.h"
daemon/gdm-xdmcp-display-factory.c:#include "gdm-settings-keys.h"
daemon/main.c:#include "gdm-settings-keys.h"
daemon/session-worker-main.c:#include "gdm-settings-keys.h"
daemon/simple-slave-main.c:#include "gdm-settings-keys.h"
daemon/xdmcp-chooser-slave-main.c:#include "gdm-settings-keys.h"
gui/simple-chooser/chooser-main.c:#include "gdm-settings-keys.h"
gui/simple-chooser/gdm-host-chooser.c:#include "gdm-settings-keys.h"
gui/simple-greeter/gdm-greeter-login-window.c:#include "gdm-settings-keys.h"
gui/simple-greeter/gdm-user-chooser-widget.c:#include "gdm-settings-keys.h"
gui/simple-greeter/greeter-main.c:#include "gdm-settings-keys.h"

Although I also could not find a commit where a line containing `GDM_KEY_INCLUDE_ALL` was removed.
Comment 1 Paul Menzel 2012-09-25 10:55:07 UTC
This issue is tracked as #688741 [1] in the Debian BTS.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688741
Comment 2 Rafael Varela 2016-05-08 11:14:04 UTC
This problem is still present in Debian Jessie (GDM 3.14). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759360

Note: In bug #759360 gdm 3.12 is reported but Jessie finally shipped GDM 3.14 when it was released.
Comment 3 Laurent Bigonville 2016-05-08 12:59:58 UTC
Well the code to handle IncludeAll/Include/Exclude seems to be not present in 3.14
Comment 4 GNOME Infrastructure Team 2018-05-24 10:46:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/112.