source3/libads/kerberos.c:kerb_prompter causes problems when net ads join -k used in a script and the password has expired

Richard Sharpe realrichardsharpe at gmail.com
Wed Dec 5 14:54:48 MST 2012


Hi folks,

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.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list