Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tkt-78015: Switch from SSSD to NSLCD (#2687)
* Switch from SSSD to NSLCD - Begin using NSLCD for authenticated LDAP. More work is needed to bring in / validate kerberos support post-sssd.
- Loading branch information
Showing
18 changed files
with
124 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import django.core.validators | ||
from django.db import migrations, models | ||
import freenasUI.freeadmin.models.fields | ||
|
||
def remove_sssd_aux_params(apps, schema_editor): | ||
LDAP = apps.get_model('directoryservice.LDAP') | ||
for o in LDAP.objects.all(): | ||
if not o.ldap_anonbind: | ||
o.ldap_auxiliary_parameters = "" | ||
o.save() | ||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('directoryservice', '0006_certificate_model'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython( | ||
remove_sssd_aux_params | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.