[Samba] Using more than one passwd program
Gémes Géza
geza at kzsdabas.sulinet.hu
Thu Jun 23 21:27:16 GMT 2005
lx wrote:
> Hello Everybody,
>
> i try to use more than the common:
>
> passwd program = /usr/bin/passwd %u
>
> what i try to do is a
>
> passwd program = /usr/bin/passwd %u && /usr/bin/htpasswd
> /location/of/file %u
>
> it works perfect with /usr/bin/passwd...
>
> but i just can´t get it to make an entry to /usr/bin/htpasswd
>
> can someone please help me
>
> best regards
> Alex
In that case you might want to write an expect script which would invoke
/usr/bin/passwd and /usr/bin/htpaswd, and tell your samba, that your
password program is that script.
Good Luck!
Geza
More information about the samba
mailing list