no argument sent to "check password script"
Asked by
Thomas Ellingsén
Problem: "check password script" does not pass password to standard input of script
# /usr/local/
Version 3.5.12
I made a test script
#!/bin/bash
echo $1 >> /tmp/pw.log
exit 0
and with smb.conf line
check password script = /path/to/
just a blank line is written to log file.
check password script = /path/to/
uid is writtnen to log file, but no password.
according to the smbd manpage the function "check password script" should pass the password to standard in of the password-
When i use a script that actually checks the password it always returns false, now I know why.... :)
Is this a general bug or something in my installation?
Best regards,
Thomas
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu samba Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Ellingsén
- Solved:
- Last query:
- Last reply:
To post a message you must log in.