[Samba] Manage password change without windows...
Marco Gaiarin
gaio at sv.lnf.it
Thu Oct 23 13:49:01 GMT 2008
I'll come back on this a little.
> There's no a pam module that do what smbpasswd do?
Inspired by:
http://lists.samba.org/archive/samba/2003-February/060959.html
seems really that pam_smbpass works as expected, because are SAM-aware,
but need the availability, locally, of the SAM account database, eg
every client need not only to be a domain workstation, but also a DC,
or at least it is needed to define locally passdb backend, ldap *, and
all scripts.
A little too much for a 'simple' client configuration.
Still i'm confused about the fact that, with a simple smb.conf
configuration (eg, security = domain) i can simply use:
smbpasswd -r invernomuto
and change my password.
Looking at the source (utils/smbpasswd.c and
pam_smbpass/pam_smb_passwd.c) seems that the only difference is that
the first call:
password_change()
and the latter:
local_password_change()
I'm not a real c programmer, and i've not digged around all the code,
but seems that it is a matter to add a new parameter to the pam module
(dc=, eg) and change the function.
Please, say me something...
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba
mailing list