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 640716 - Gconf fail to create the ~./.gconf dir when the username has a white space
Gconf fail to create the ~./.gconf dir when the username has a white space
Status: RESOLVED DUPLICATE of bug 161209
Product: GConf
Classification: Deprecated
Component: gconf
2.28.x
Other Linux
: Normal major
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-27 13:26 UTC by jose.rob.jr
Modified: 2011-01-28 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This is shown when I login with a username containing white space (19.95 KB, image/png)
2011-01-27 13:26 UTC, jose.rob.jr
Details

Description jose.rob.jr 2011-01-27 13:26:35 UTC
Created attachment 179434 [details]
This is shown when I login with a username containing white space

My system is configured to accept users in my Active Directory domain, everything works fine except the gconf when the username has a white space.

For eg, if I login with the user "DOMAIN\admin", the system will create the home dir:
/home/DOMAIN/admin

And everything will work fine.

But if I login with the user "DOMAIN\josé roberto", the system will create the dir:
/home/DOMAIN/josé roberto

And gconfd will fail as shown in the attachment.

I tried to change many config files and I think that it's related with the line:
xml:readwrite:$(HOME)/.gconf

It's in the file: /etc/gconf/2/path

I tried to add quotes in 3 different ways:
xml:readwrite:"$(HOME)"/.gconf
xml:readwrite:"$(HOME)/.gconf"
"xml:readwrite:$(HOME)/.gconf"

But that didn't work.

That line is probably being included in a line like:
conftool-2 --config-source xml:readwrite:$(HOME)/.gconf

and the argument get incorrectly splited 
conftool-2 --config-source xml:readwrite:/home/DOMAIN/josé roberto/.gconf
arg0: conftool-2
arg1: --config-source
arg2: xml:readwrite:/home/DOMAIN/josé
arg3: roberto/.gconf

when it should be:
conftool-2 --config-source "xml:readwrite:/home/DOMAIN/josé roberto/.gconf"
arg0: conftool-2
arg1: --config-source
arg2: xml:readwrite:/home/DOMAIN/josé roberto/.gconf

This is happening in Debian 5 and Ubuntu 10.04 LTS

I can't simply rename the users because there are more than 800 usernames with space...
Comment 1 jose.rob.jr 2011-01-27 13:30:50 UTC
When it happens the panes don't display and I can't do many things..

And to authenticate users in the Active Directory Domain I followed that steps:
http://www.surlyjake.com/linux/samba/join-debian-lenny-to-active-directory-using-samba/
Comment 2 jose.rob.jr 2011-01-28 10:50:52 UTC
Easy steps to reproduce:

# mkdir "/mnt/home with space"
# adduser --home "/mnt/home with space" sample

Now, try to login and you will get the error message:

The application "gnome-panel" attempted to change an aspect of your configuration that your system administrator or operating system vendor does not allow you to change. Some of the settings you have selected may not take effect, or may not be restored next time you use the application.
Comment 3 jose.rob.jr 2011-01-28 10:57:27 UTC

*** This bug has been marked as a duplicate of bug 161209 ***