enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #01500
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
Status: Open => Solved
Thomas Ellingsén confirmed that the question is solved:
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.