From 179687490c0e218aec70476fe14bea6613725f4a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 1 May 2018 16:52:18 -0400 Subject: [PATCH] cleanup settings and set defautls for ldap ad --- src/app/tabs/settings.component.html | 18 +++++++++--------- src/app/tabs/settings.component.ts | 5 +++++ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/app/tabs/settings.component.html b/src/app/tabs/settings.component.html index 2de04307..eed13971 100644 --- a/src/app/tabs/settings.component.html +++ b/src/app/tabs/settings.component.html @@ -34,7 +34,7 @@ -
+
@@ -106,11 +106,11 @@
-
- - -
+
+ + +
{{'userFilter' | i18n}}
-
+
-
+
@@ -181,13 +181,13 @@
-
+
-
+
diff --git a/src/app/tabs/settings.component.ts b/src/app/tabs/settings.component.ts index 8be06be2..90ce89c1 100644 --- a/src/app/tabs/settings.component.ts +++ b/src/app/tabs/settings.component.ts @@ -59,6 +59,11 @@ export class SettingsComponent implements OnInit, OnDestroy { this.sync.emailPrefixAttribute = 'sAMAccountName'; this.sync.groupPath = 'CN=Users'; this.sync.userPath = 'CN=Users'; + this.sync.memberAttribute = 'member'; + this.sync.userObjectClass = 'person'; + this.sync.groupObjectClass = 'group'; + this.sync.userEmailAttribute = 'mail'; + this.sync.groupNameAttribute = 'name'; } await this.configurationService.saveDirectoryType(this.directory);