Project

General

Profile

Bug #43943

Add ability for user to disable LDAP config by setting an empty hostname in new UI

Added by Alex Moras almost 2 years ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

New UI on FreeNAS 11.2 doesn't allow users to delete/save an empty LDAP config under Directory Services. You have to load the legacy UI which allows you to save an empty "hostname" essentially disabling it. Fix would be to allow users to save an empty config under the new UI.


Related issues

Has duplicate FreeNAS - Bug #44295: Cannot disable ldap serviceClosed

History

#1 Updated by Dru Lavigne almost 2 years ago

  • Assignee changed from Release Council to Erin Clark
  • Target version changed from Backlog to 11.2-RC1

#2 Updated by Dru Lavigne almost 2 years ago

Once this field allows that, the tooltip should be updated to indicate that an empty value disables the config.

#3 Updated by Erin Clark almost 2 years ago

  • Assignee changed from Erin Clark to Vaibhav Chauhan

#5 Updated by Dru Lavigne almost 2 years ago

  • Has duplicate Bug #44295: Cannot disable ldap service added

#6 Updated by Vaibhav Chauhan almost 2 years ago

  • Status changed from Unscreened to Closed

closing as duplicate issue was considered fixed.

#7 Updated by Lola Yang almost 2 years ago

  • Status changed from Closed to Ready for Testing
  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Unable to delete LDAP config to Add ability for user to disable LDAP config by setting an empty hostname in new UI

#10 Updated by Timothy Moore II over 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Testing with FreeNAS system installed with INTERNAL24 (RC1):

Go to Directory Services/LDAP. Input valid LDAP credentials, set Enabled, and click SAVE. Confirm SAVE functions correctly. Delete Hostname string, unset Enable, and click SAVE. Confirm Hostname is deleted, LDAP is disabled, but remaining settings are preserved.

#11 Updated by Timothy Moore II over 1 year ago

  • Needs Doc changed from Yes to No

#12 Updated by Bonnie Follweiler over 1 year ago

Test Passed in FreeNAS 11.2-INTERNAL24
The tooltip didn't indicate anything (per comment #2)but I think that was ok since you have to uncheck the Enable button to save it without a hostname anyway

#13 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Ready for Testing
  • Needs QA changed from No to Yes
  • Needs Doc changed from No to Yes

We need to clarify the correct behavior in order to QA/doc this.

#14 Updated by Vaibhav Chauhan over 1 year ago

1) connect to working LDAP server, by entering following creds to LDAP corresponding fileds

Hostname: ldap01.tn.ixsystems.com (NO SSL, anonymous bind enabled)
Base DN: dc=ldap01,dc=tn,dc=ixsystems,dc=com
Bind DN: cn=admin,dc=ldap01,dc=tn,dc=ixsystems,dc=com

Bind password: OpenSource123!

2) get list of ALL users(including LDAP) via shell
[root@freenas ~]# getent passwd

disabled LDAP by unchecking Enable checkbox and remove hostname entry.
run and see if any LDAP users exist after disabling LDAP

[root@freenas ~]# getent passwd

#15 Updated by Bonnie Follweiler over 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

#17 Updated by Timothy Moore II over 1 year ago

  • Needs Doc changed from Yes to No

#18 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF