[Samba] PDC and yppasswd

Kevin G. J. Freels kevin at wildbrain.com
Wed Feb 6 13:05:03 GMT 2002


Greetings!

We are testing the implementation of Samba as a PDC as outlined
in Linux Magazine's "Using Samba as a PDC" by Andrew Bartlett
(Feb 2002, pg 16). This sounds great since we're actively trying
to get rid of a certain NT which acts as our PDC, and work
towards unifying our account namespace and storage environment.
Fortunately, Samba is assisting with this quite nicely.

However, in the article, the set up refers to an expect-like
configuration for passwords in the [global] section:

[global]
unix password sync = true
password program = /usr/bin/passwd %u
passwd chat = \
   *password* %n\n \
   *password* %n\n \
   *successful*

However, our UNIX users must use "yppasswd" to change their
passwords on each local system (really, updating the yp password
map). Our Samba server is not the same system as our NIS server,
so passwords must also be changed with yppasswd on that system.
The yppasswd routine requires *two* entries: the old (or current)
password, and the new password.  

My question: is there a set up for this? It looks like the
password chat deals with only one variable, i.e., the old
password. I have been told that there exists the possibility that
using plain "passwd" on a yp client will change the yppasswd
regardless, but I have had time to confirm that. Have NIS issues
like this one been addressed?

Thanks!!

....k
-- 
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
Kevin Freels, Systems Administrator          415/553.8000 (v)
Wild Brain, Inc.                             415/850.3273 (c)
2650 18th Street, San Francisco, CA 94110    415/553.8009 (f)
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
        "Just repeat to yourself, 'It's just a show, 
               I should really just relax!'"




More information about the samba mailing list