Improve usage examples
This commit is contained in:
parent
243276702f
commit
c79c8bffd7
5 changed files with 29 additions and 15 deletions
|
@ -1,9 +0,0 @@
|
|||
dn: cn=ldapPublicKey,cn=schema,cn=config
|
||||
objectClass: olcSchemaConfig
|
||||
cn: ldapPublicKey
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.24552.500.1.1.1.13 NAME 'sshPublicKey'
|
||||
DESC 'MANDATORY: OpenSSH Public key' EQUALITY octetStringMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
|
||||
olcObjectClasses: ( 1.3.6.1.4.1.24552.500.1.1.2.0 NAME 'ldapPublicKey'
|
||||
SUP top AUXILIARY DESC 'MANDATORY: OpenSSH LPK objectclass'
|
||||
MUST ( sshPublicKey $ uid ) )
|
|
@ -33,7 +33,7 @@ olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
|
|||
# Allow unauthenticated read access for schema and base DN autodiscovery
|
||||
olcAccess: {1}to dn.exact="" by * read
|
||||
olcAccess: {2}to dn.base="cn=Subschema" by * read
|
||||
# Define CRYPT as preferred algorighm for password hashing
|
||||
# Define CRYPT as preferred algorithm for password hashing
|
||||
olcPasswordHash: {CRYPT}
|
||||
|
||||
# Config db settings
|
||||
|
@ -60,6 +60,17 @@ include: file:///etc/ldap/schema/ppolicy.ldif
|
|||
# misc adds support for local mail users and aliases
|
||||
include: file:///etc/ldap/schema/misc.ldif
|
||||
|
||||
# schema support for storing user public keys
|
||||
dn: cn=ldapPublicKey,cn=schema,cn=config
|
||||
objectClass: olcSchemaConfig
|
||||
cn: ldapPublicKey
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.24552.500.1.1.1.13 NAME 'sshPublicKey'
|
||||
DESC 'MANDATORY: OpenSSH Public key' EQUALITY octetStringMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
|
||||
olcObjectClasses: ( 1.3.6.1.4.1.24552.500.1.1.2.0 NAME 'ldapPublicKey'
|
||||
SUP top AUXILIARY DESC 'MANDATORY: OpenSSH LPK objectclass'
|
||||
MUST ( sshPublicKey $ uid ) )
|
||||
|
||||
# Load module
|
||||
dn: cn=module{0},cn=config
|
||||
objectClass: olcModuleList
|
Loading…
Add table
Add a link
Reference in a new issue