Hi Markus,
If you configure your Samba as follows
unix password sync = yes
passwd program = /usr/bin/passwd %u
pam password change = yes
Then everytime a user changes their samba password (using smbpasswd on
the Samba server or CTRL-ALT-DEL/Change Password on a client logged into
the domain) the password will also be copied to /etc/passwd so they will
always remain in sync.
Is this what you want?
The only minor headache is ensuring your users use smbpasswd rather than
passwd to change their password even when they want to change their
Linux/UNIX system password.
-stephen
Markus Franke wrote:> Dear Samba Users,
>
> I have a Linux Server exporting its services (NFS/NIS) to some Linux
> Clients. Now, I have installed a new Windows Client and I would like to
> use Samba as a PDC.
> My question is, if there is any possibility to align the passwords
> between /etc/passwd and some backend (e.g. smbpasswd). I know that there
> is mksmbpasswd.sh but it resets all passwords and just aligns usernames
> with /etc/passwd. Is there a way to preserve also the passwords? Or is
> there maybe also a special backend for doing so?
>
> Thanks for help,
>
>
> Regards,
> Markus
>
>
--
Stephen Mulcahy, Applepie Solutions Ltd, Innovation in Business Center,
GMIT, Dublin Rd, Galway, Ireland. mailto:smulcahy@aplpi.com
mobile:+353.87.2930252 office:+353.91.751262 http://www.aplpi.com