Comment 4 for bug 68386

Revision history for this message
Zach (uid000) wrote :

I just installed smbldap-tools on my 8.10 desktop. Even though my desktop isn't configured to run the scripts, i took a quick look at the source.
At line 243 of smbldap-useradd, the gecos assignment is the same as always:
$config{userGecos} = $tmp if (defined($tmp = $Options{'c'}));
It should be
$config{userGecos} = ($Options{'c'} || $userName);
so that it get is from the -c option if specified but defaults to using the username.