← Back to team overview

enterprise-support team mailing list archive

Re: [Question #200409]: no argumet sent to "check password script"

 

Question #200409 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/200409

Thomas Ellingsén posted a new comment:
i found the problem. I missunderstood the syntax for the stdin

it should be
#!/bin/bash
read PASSWORD
echo $PASSWORD >> /tmp/pw.log
exit 0

if the %u is added it could be

#!/bin/bash
read PASSWORD
echo $1 >> /tmp/pw.log
echo $PASSWORD >> /tmp/pw.log
exit 0

:)

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.