[Samba] smbldap-tools [smbldap-useradd.pl]

Henrik Skantz hesk at snafu.se
Tue Jan 4 18:01:11 GMT 2005


Hi, I have a question about smbldap-useradd.pl.
When i add a user with smbldap-useradd -m -a USERNAME, USERNAME
is not appended to sambaHomePath.

In smbldap_conf.pm i have sambaHomePath = q(\\\\SERVER\\)

I've solved this by adding ". $userName;" in 
smbldap-useradd.pl (358).

...
 my $valsmbhome;
  if (defined $_userSmbHome) {
       $valsmbhome = "$_userSmbHome" . $userName;
...

I've checked cvs for any diffs. but haven't found any.


/Henrik 



More information about the samba mailing list