From 0507b54d35a707fe78cdd363a2bb970d3d77217d Mon Sep 17 00:00:00 2001 From: Matthias Ronge Date: Thu, 12 Nov 2020 12:01:02 +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..37848577c12 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', +gidNumber = '100', +userDN = 'cn={login},ou=users,dc=host,dc=example,dc=org', objectClasses = 'top,inetOrgPerson,posixAccount,shadowAccount,sambaSamAccount', sambaSID = 'S-1-5-21-1234567890-123456789-1234567890-{uidnumber*2+1001}', sn = '{login}', uid = '{login}', -description = 'description', +title = 'Local LDAP', +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-100', sambaPasswordMustChange = '2147483647', sambaPasswordHistory = '00000000000000000000000000000000000000', sambaLogonHours = 'FFFFFFFFFFFFFFFFFFFF',