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
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.

Richard Sharpe

More information about the samba-technical mailing list