[Samba] password synchronization.

awesome-dave1 at juno.com awesome-dave1 at juno.com
Mon Feb 25 11:45:04 GMT 2002

	Much thanks, i look forward to your results.
	I myself have the added complication that once i get the unix side of
this working i might have to integrate windows 2k clients in to it.

On Mon, 25 Feb 2002 12:30:14 +0000 (GMT) Mac <dmccann at nibsc.ac.uk>
> Hi Dave,
> >To: samba at samba.org
> >From: awesome-dave1 at juno.com
> >Subject: [Samba] password synchronization.
> >Date: Sun, 24 Feb 2002 11:32:24 -0500
> >
> >Hello,
> >	I'm running samba 2.2  on FreeBSD 4.4. I was wondering if 
> there was a
> >way to sync up the samba and FreeBSD user passwords so that when 
> either
> >via the unix passwd or samba's smbpasswd program a user changes a
> >password it is changed through both systems? If anyone is dong this
> >successfully please let me know.
> I'm currently working on this for my own site.
> I _have_ to get it working very soon and when I do I'm more than 
> happy
> to tell people how I've done it.
> I have the added complication of using NIS.
> And the extra added complication that NIS doesn't use '/etc/passwd',
> but instead '/var/ypdata/etc/passwd'.
> And I have multiple Samba servers....
> And it's all on IRIX.
> But it _will_ all work. (It has to)
> The basic plan is to get the 'unix password sync' working on the NIS
> master (which will involve the 'unix password sync' program directly
> editing /var/ypdata/etc/passwd) and then forcing all password 
> changing
> to be done via Samba.
> So anyone typing 'passwd' at a UNIX prompt will in fact be changing
> their Samba password, and then Samba will 'sync' the UNIX (NIS)
> password for them.
> I'm actually working on full automation of account creation/deletion 
> as
> well so additions/removals in /var/ypdata/etc/passwd will be
> automatically reflected in smbpasswd.
> Watch this space.
> P.S.  If anyone out there has already done this, or even part of 
> this,
> please, please let me know. I'd hate to re-invent a wheel that 
> someone
> is already rolling with.
>                                Mac
>           Assistant Systems Adminstrator @nibsc.ac.uk
>                         dmccann at nibsc.ac.uk
>    Work: +44 1707 654753 x285      Everything else: +44 7956 237670 
> (anytime)

Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:

More information about the samba mailing list