UNIX->smbpasswd synch

douglas irvine dci at pitt.edu
Thu Jun 15 18:49:14 GMT 2000


OK, I setup
the executable script exactly like your readme says, but I'm getting a
"smbpasswd must *NOT* be run setuid root"

I can't figure a way around this...Ideas?

doug

Peter Samuelson wrote:

> [douglas irvine <dci at pitt.edu>]
> > I'm running samba 2.0.6 on RedHat 6.2--all standard installs. I would
> > like to be able to have the unix accounts have corresponding samba
> > accounts, w/ the same passwords.
>
> See the following, which I announced here yesterday:
>
>   http://peter.cadcamlab.org/misc/pam_pwexport-0.0.tar.gz
>
> > or if there is another solution using PAM or somehow else
> > automatically updating smbpasswd when "passwd" is used on the unix
> > side--I would greatly appreciate some direction ;)
>
> That's exactly what this module does, if you set it up right.  It
> harvests passwords whenever users type them in (through `login', `ssh',
> `passwd', `ftp', etc.), and ships them to a designated program or
> script.  The README includes an example script that uses `smbpasswd' to
> insert the correct password into your Samba password file.
>
> The Linux-PAM pam_unix module has a bug which prevents my module from
> picking up password changes, so you'll need to apply a patch (also
> included) to Linux-PAM and rebuild it.
>
> Peter

--
With Windows Millenium MS was able to get the boot time down to 25 seconds.
That's almost as short as it's uptime.





More information about the samba-ntdom mailing list