source3/libads/kerberos.c:kerb_prompter causes problems when net ads join -k used in a script and the password has expired
realrichardsharpe at gmail.com
Wed Dec 5 14:54:48 MST 2012
At least on FreeBSD it seems that net ads join -k -Uuser%password
causes a high-CPU-usage infinite loop when the password has expired.
It seems that perhaps there should be a check to see if stdin is not a
tty and return a KRB5 error rather than success if is not a tty.
More information about the samba-technical