Package: smbldap-tools Version: 0.9.4-1 Severity: important If you use smbldap-tools to create a user and request home-directory creation, it breaks if the user name has a space in it. ssh and all the other services still work with usernames like "Fred Jones", so I believe that it's a legal username.
In the example of "Fred Jones", what happens is that the scripts create /home/Fred, /root/Jones/, and /root/Jones/Fred. I imagine this is a simple case of needing to escape the space or just to fail on home-dir creation if the name has spaces and report the error to the user. example in action (snipping non-relevant directory entries): maroon:~# smbldap-groupadd -a -g 3000 TestGroup maroon:~# smbldap-useradd -a -g 3000 -u 3939 -n -s /bin/bash -m -A 1 -B 1 -N Fred -S Jones "Fred Jones" maroon:/home# ls -al total 44 drwxr-xr-x 11 root root 4096 2008-05-09 16:18 . drwxr-xr-x 22 root root 4096 2008-01-10 04:01 .. drwx------ 2 fred root 4096 2008-05-09 16:18 Fred maroon:~# ls -al /home/Fred/ total 8 drwx------ 2 fred root 4096 2008-05-09 16:18 . drwxr-xr-x 11 root root 4096 2008-05-09 16:18 .. maroon:/home# cd /root/ maroon:~# ls -al total 132 drwxr-xr-x 7 root root 4096 2008-05-09 16:18 . drwxr-xr-x 22 root root 4096 2008-01-10 04:01 .. drwx------ 3 fred root 4096 2008-05-09 16:18 Jones maroon:~# ls -al /root/Jones/ total 24 drwx------ 3 fred root 4096 2008-05-09 16:18 . drwxr-xr-x 7 root root 4096 2008-05-09 16:18 .. -rw-r--r-- 1 fred root 220 2006-12-11 21:20 .bash_logout -rw-r--r-- 1 fred root 414 2006-12-11 21:20 .bash_profile -rw-r--r-- 1 fred root 2227 2006-12-11 21:20 .bashrc drwxr-xr-x 2 fred root 4096 2008-05-09 16:18 Fred maroon:~# ls -al /root/Jones/Fred/ total 8 drwxr-xr-x 2 fred root 4096 2008-05-09 16:18 . drwx------ 3 fred root 4096 2008-05-09 16:18 .. Note: If you don't enclose the username, Fred Jones, in quotes you get a new user simply called Fred, so that doesn't work either. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24.3-maroon10 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages smbldap-tools depends on: ii libcrypt-smbhash-perl 0.12-2 generate LM/NT hash of a password ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith ii libio-socket-ssl-perl 1.02-1.1 Perl module implementing object or ii libnet-ldap-perl 1:0.34-1.1 A Client interface to LDAP servers ii libunicode-maputf8-perl 1.11-2 Perl module for conversing between ii perl 5.8.8-12 Larry Wall's Practical Extraction smbldap-tools recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

