samba nt and nis

Bill Moran wmoran at iowna.com
Tue May 8 17:42:42 GMT 2001


Christian Barth wrote:
> 
> > On Mon, 7 May 2001, Christian Barth wrote:
> >
> > > >  Is it possible to change my Password from a NT-Machine in nis baove samba?
> > > Yes, if the samba sever is on the same machine then the NIS server
> > >
> > > >  And how i can do it?
> > > put a "cd /var/yp; make" at the end of the passwd chat.
> > > or let cron do this.
> >
> > I haven't tried this but you can change the password chat to use yppasswd
> > instead of passwd. Then you can use it even in case the samba server is
> > not your NIS master.
> 
> In my expirence yppasswd dosen't work: It needs the old password in
> clear text for the chat, even if running as root on the nis-server,
> at last the implementations I know about. And we don't have the old
> password in clear text if unix passwd sync is set to true, see man
> smb.conf

I may be getting my threads crossed, but I'm fairly sure you said you
were using BSD. If my memory servers me correctly, pw will work properly
with NIS - you could modify your password chat to work with pw instead.
Check this first, as I'm not 100% sure my memory is reliable on this
point.

-Bill




More information about the samba mailing list