We're using smbldap-tools with our samba environment. First let me
introduce by saying I'm the systems and net engineer at University
Sainteanne. We've generally been very happy with the smbldap-tools
series of scripts and have leveraged them to run our openldap/samba
environment. Thank you for creating and releasing these tools.
The smbldap-usermod -c "full name" username. Updates both the gecos and
description of a user.
smbldap-usermod line 301
if ( defined( $tmp = $Options{'c'} ) ) {
push(
@mods,
'gecos' => $tmp,
'description' => $tmp
);
}
smbldap-useradd line 279
$config{userGecos} = $tmp if ( defined( $tmp = $Options{'c'} ) );
Formerly smbldap-useradd would when -c "full name" was specified,
populate both the description and the gecos. However it no longer does
this.
-c "comment"
The new user's comment field (gecos). This option is for gecos only!
To set as user's full name use the -N and -S options.
As documented by the help. However, smbldap-usermod -c "" still
performs the old behavior. What's worse is there's no way to populate
the "description" attribute, which Samba uses. It would be nice to
either that -c "" set both, or to give us another argument we can
populate the description attitude with.
Also incidentally, it would be nice to have a parameter we could use to
disable the creation/use of the lmpassword hash. We simply comment
these lines out of the scripts now. We could write this option into the
script, but we're not interested in creating a fork of smbldap-tools in
production. I'd be happy to submit a patch that will lookup a
configuration option from smbldap.conf about which hashes to use.
_______________________________________________
Smbldap-tools-tech mailing list
[email protected]
https://mail.gna.org/listinfo/smbldap-tools-tech