This Programm runs perfectly on Command Line with the parameters i
specified...
But ist still do not get it to run with samba...
Samba doesnt complain or anything...
The script update just zhe passwd section but not the htpasswd...
Could someone tell me why?
here is my smb.conf
!-- SNIP
lx írta:
Gémes Géza schrieb:
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
Thanks Gemes,
i got it figuered out!!!
here is my script... (for others who seek the same answer)
#!/usr/bin/expect
#
# .htpasswd must be initialized by the beginning of the script
# first run proform a
# htpasswd -c passwordfile user
set timeout 5
# Setting Variables
set user [lindex $argv
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
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