From 84fe86e385820eb98847449f164eee5c1fb973e1 Mon Sep 17 00:00:00 2001 From: Matthias Ronge Date: Thu, 12 Nov 2020 12:04:21 +0100 Subject: [PATCH] Improve example LDAP group Fixes #3304 --- .../db/migration/V2_54__update_LDAP_Group_table.sql | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Kitodo-DataManagement/src/main/resources/db/migration/V2_54__update_LDAP_Group_table.sql b/Kitodo-DataManagement/src/main/resources/db/migration/V2_54__update_LDAP_Group_table.sql index c03b16ac30e..d20c9b58962 100644 --- a/Kitodo-DataManagement/src/main/resources/db/migration/V2_54__update_LDAP_Group_table.sql +++ b/Kitodo-DataManagement/src/main/resources/db/migration/V2_54__update_LDAP_Group_table.sql @@ -14,19 +14,20 @@ SET SQL_SAFE_UPDATES = 0; UPDATE ldapGroup SET homeDirectory = '/usr/local/kitodo/users/{login}', -gidNumber = '242', -userDN = 'cn={login},ou=user,o=TestOrg,dc=kitodo,dc=org', +title = 'Local LDAP', +gidNumber = '100', +userDN = 'cn={login},ou=users,dc=nodomain', objectClasses = 'top,inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount', sambaSID = 'S-1-5-21-1234567890-123456789-1234567890-{uidnumber*2+1001}', sn = '{login}', uid = '{login}', -description = 'description', +description = 'Exemplary configuration of an LDAP group', displayName = '{user full name}', -gecos = 'gecos', -loginShell = 'loginShell', +gecos = '{user full name}', +loginShell = '/bin/false', sambaAcctFlags = '[U ]', sambaLogonScript = '_{login}.bat', -sambaPrimaryGroupSID = 'S-1-5-21-1234567890-123456789-1234567890-513', +sambaPrimaryGroupSID = 'S-1-5-21-1234567890-123456789-1234567890-1000', sambaPasswordMustChange = '2147483647', sambaPasswordHistory = '00000000000000000000000000000000000000', sambaLogonHours = 'FFFFFFFFFFFFFFFFFFFF',