![]() Is there any provision to add LDAP schema files as well? With docker logs, I found the following docker logs -f $(docker run -detach -rm -name test-openldap39 -env LDAP_ADMIN_USERNAME=admin -env LDAP_ADMIN_PASSWORD=adminpassword -env "LDAP_ROOT=dc=protegrity,dc=com" -env "LDAP_SKIP_DEFAULT_TREE=yes" -env "LDAP_CUSTOM_LDIF_DIR=/bootstrap/ldif" nusta-ldap)Ġ9:59:53.41 INFO => ** Starting LDAP setup **Ġ9:59:53.46 INFO => Validating settings in LDAP_* env varsĠ9:59:53.47 INFO => Initializing OpenLDAP.Ġ9:59:53.48 INFO => Creating LDAP online configurationĠ9:59:53.51 INFO => Starting OpenLDAP server in backgroundĠ9:59:53.54 INFO => Configure LDAP credentials for admin userĠ9:59:53.55 INFO => Adding LDAP extra schemasĠ9:59:53.57 INFO => Adding custom Schema : /schema/custom.ldif believe the variable LDAP_CUSTOM_SCHEMA_FILE expects the file to be in ldif format and does not support LDAP schema files. However when I build docker image with this file and try to create a docker instance, the docker container crashes. containers/bitnami/openldap/2.6/debian-11/rootfs/schema I have saved this file custom.ldif under following path MUST ( permissionInfo $ permissionName ) )objectidentifier customBusinessRoleSchema 1.3.6.1.4.1.920.001 ObjectClass ( customBusinessRolePermissionOCs:1 ![]() Objectidentifier customBusinessRolePermissionOCs customBusinessRolePermissionSchema:4Īttributetype ( customBusinessRolePermissionAttrs:1Īttributetype ( customBusinessRolePermissionAttrs:2Īttributetype ( customBusinessRolePermissionAttrs:3ĭESC 'This holds key/value pair of ldif attributes separated by = which will be applied to user'Īttributetype ( customBusinessRolePermissionAttrs:4ĭESC 'Colon separated group value group_name:attribute_name:user_attribute'Īttributetype ( customBusinessRolePermissionAttrs:5 Objectidentifier customBusinessRolePermissionAttrs customBusinessRolePermissionSchema:3 Objectidentifier customBusinessRolePermissionSchema 1.3.6.1.4.1.920.002
0 Comments
Leave a Reply. |