I am attaching a diff that addresses this behavior in the smbldap-useradd script.
The patch causes the script to first get the $config{userGecos} value from $Options{'c'} if defined, and otherwise from $userName.
This assignment is based on the $givenName and $userSN assignments which are very similar.
I am attaching a diff that addresses this behavior in the smbldap-useradd script.
The patch causes the script to first get the $config{userGecos} value from $Options{'c'} if defined, and otherwise from $userName.
This assignment is based on the $givenName and $userSN assignments which are very similar.