Bugzilla – Bug 119012
wrongly generated home directory name prohibits creating new LDAP user
Last modified: 2005-10-10 14:12:07 UTC
There is no possible to add an LDAP-User. An error message occurs: "The home directory may only contain the following characters: a-z, A-Z, 0-9, and _-/ Try again." I've analysed, and yast2 generates a bad home directory: e.g. : for the user varkoly -> /home/%uid/varkoly I've configured an SL10 with LDAP backend on gsx16.suse.de.
attach the logfiles dir, please
Created attachment 50938 [details] y2log
Created attachment 50939 [details] y2log
Ah, I probably broke it with some previous fix. Workaround: if you go to Details tab from Edit user tab before clicking Accept, it should work.
Created attachment 51127 [details] patch for /usr/share/YaST2/include/dialogs.ycp Could you test again with this patch?
What was the result?
Fixed in yast2-users-2.13.2 Andreas, this issue might deserve a YOU patch. The problem is that with default setting, name of home directory for new LDAP user is (internaly) wrongly generated and yast2-users complains. It could be worked around (see comment #4), but it is annoying (as necessary for every user creation). Generally, LDAP suport is more SLES-feature, but this part (users and groups) should work correctly also in the box. Please, comment.
Ok, let's fix it. SWAMP-ID: Maintenance-Tracker-2417
OK. Now waiting for Peter if he confirmes that new package works. New package (for 10.0) could be found here: http://lide.suse.cz/~~jsuchome/yast2/rpms/yast2-users-2.12.9-0.i586.rpm
Yes it works :-))))))))))))) Thanks a lot!
released