GDM: Settings `IncludeAll=false` and `Include=username` do not have any effect
Submitted by Paul Menzel
Link to original bug (#684773)
Description
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.
Version: 3.4.x