Project

General

Profile

Bug #23939

Active Directory Auth Failure Throws 'INVALID_CREDENTIALS' Traceback

Added by Michael Dexter over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
John Hixson
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Exact Version: 11-MASTER-20170512040

Rather than warning of invalid Active Directory user name or password, the "Directory" tab throws this traceback:

Discussed with: John Hixson

Request Method: POST
Request URL: http://10.0.0.155/admin/directoryservice/activedirectory/edit/1/?inline=true
Software Version: FreeNAS-11-MASTER-201705120409 (985e5c7)
Exception Type: TypeError
Exception Value:
'INVALID_CREDENTIALS' object does not support indexing
Exception Location: ./freenasUI/directoryservice/forms.py in clean, line 585
Server time: Fri, 12 May 2017 10:20:53 -0700
Traceback

Request information

GET

Variable Value
inline 'true'
POST

Variable Value
all ''
ad_domainname 'ZENTYAL-DOMAIN.LAN'
ad_bindname 'Administroofus'
ad_bindpw 'passw0rd!'
ad_monitor_frequency '60'
ad_recover_retry '10'
ad_enable_monitor 'on'
ad_ssl 'off'
ad_certificate ''
ad_allow_dns_updates 'on'
ad_userdn ''
ad_groupdn ''
ad_site ''
ad_dcname ''
ad_gcname ''
ad_kerberos_realm '1'
ad_kerberos_principal ''
ad_timeout '60'
ad_dns_timeout '60'
ad_idmap_backend 'rid'
ad_nss_info ''
ad_ldap_sasl_wrapping 'plain'
ad_enable 'on'
ad_netbiosname_a 'CLIENT'
ad_netbiosalias ''
__form_id 'dialogForm_activedirectory'
FILES

No FILES data
COOKIES

Variable Value
csrftoken 'AeJt8vj1S7sP2F6xrTKQvYMK0yofYa9JOWCrWanJDS2uaWsOtOEIMkBrRlWW7tSZ'
fntreeSaveStateCookie 'root'
sessionid 'fo3f5305bwmxxejs1vuylgbtcjkxjqqv'
META

Variable Value

Associated revisions

Revision bdec6eb1 (diff)
Added by John Hixson over 3 years ago

Proper error handling Ticket: #23939

Revision 6b34c326 (diff)
Added by John Hixson over 3 years ago

Proper error handling Ticket: #23939 (cherry picked from commit bdec6eb1936d736af4f5eb1830d99847292e3caf)

Revision 23644817 (diff)
Added by John Hixson over 3 years ago

This slipped in by accident Ticket: #23939

Revision 86190620 (diff)
Added by John Hixson over 3 years ago

This slipped in by accident Ticket: #23939 (cherry picked from commit 23644817a40f3c70089d16bae994c9b043f574fa)

History

#1 Updated by John Hixson over 3 years ago

  • Status changed from Unscreened to Screened
  • Target version set to 11.0

#2 Updated by Dru Lavigne over 3 years ago

Will this make it into 11?

#3 Updated by John Hixson over 3 years ago

Dru Lavigne wrote:

Will this make it into 11?

I'm working very hard to fix the various DC issues to get this in the release.

#4 Updated by John Hixson over 3 years ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from John Hixson to Vaibhav Chauhan
  • Target version changed from 11.0 to 11.0-RC3

#5 Updated by Vaibhav Chauhan over 3 years ago

  • Assignee changed from Vaibhav Chauhan to Marcelo Araujo

can you please review ?

#6 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from Marcelo Araujo to Vaibhav Chauhan

looks ok.

#7 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Reviewed to Merged

#8 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Merged to Resolved

#9 Updated by William Grzybowski almost 3 years ago

  • Assignee changed from Vaibhav Chauhan to John Hixson

Also available in: Atom PDF