[sork] small bug in smbpasswd driver for passwd

Eric Rostetter eric.rostetter@physics.utexas.edu
Tue, 10 Sep 2002 17:56:53 -0500


Quoting René Lund Jensen <lundeman@tbkol.dk>:

> Hey
> 
> I just found a bug in the smbpasswd driver for the passwd module.
> here is the diff. It's only on line I changed,

Fixed in CVS HEAD.

> Index: lib/Driver/smbpasswd.php
> ===================================================================
> RCS file: /repository/passwd/lib/Driver/smbpasswd.php,v
> retrieving revision 1.3
> diff -u -r1.3 smbpasswd.php
> --- lib/Driver/smbpasswd.php    24 Jul 2002 22:45:23 -0000      1.3
> +++ lib/Driver/smbpasswd.php    9 Sep 2002 19:55:28 -0000
> @@ -102,7 +102,7 @@
> 
>          $conf = &$GLOBALS['conf'];
> 
> -        $smbpasswd_path = @$this->params['smbpasswd']['program'];
> +        $smbpasswd_path = @$this->params['default']['program'];
> 
>          $server = @$this->params['default']['host'];
>          if ( isset($realm) && $realm != "" ) {

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."

--"Enterprise Strategies" columnist Tom Yager.