Another user migration idea

Andrew Perrin - Demography aperrin at demog.Berkeley.EDU
Wed Sep 23 15:37:43 GMT 1998

We have a hacked-together system that basically does this, along with
making users select an e-mail only password for our security system.
You're welcome to borrow whatever you like from our system, no guarantees
of course -- check out

Andrew J. Perrin - aperrin at - NT/Unix Admin/Support
Department of Demography    -    University of California at Berkeley
2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA --------------------------SEIU1199

On Wed, 23 Sep 1998, Dana Canfield wrote:

> I've been using NISGina with sambapasswdd to migrate users from Unix to
> smbpasswd, but I've encountered a few glitches that make this less than
> desirable.  So, I've been trying hard to dream up a new solution.  Maybe
> this has already been discussed, but I'm now wondering if it would be
> possible to write a or that would
> update /etc/smbpasswd when someone logs in?  I know this is kind of
> specific to Linux and maybe Solaris, but wouldn't pam have access to the
> cleartext password?  I don't have the programming skills to pull this
> off, but it seems like someone like Luke who has written several PAM
> modules would be able to do this pretty easily.
> On a more permanent tangent, it seems that it would be possible to
> further modify pam_unix_passwd so that whenever anyone changed their
> Unix passwd, the samba passwd would be changed as well.  This might be a
> slightly cleaner method than replacing passwd with smbpasswd.
> Any comments??
> Thanks
> Dana

More information about the samba-ntdom mailing list