Documentation ¶
Overview ¶
ports:
ldap: 1389 ldaps: 1686 ca.pem: ... crt.pem: ... crt.key: ... ca.pem.file: ... crt.pem.file: ... crt.key.file: ...
databases:
- base: ... replicas:
- url: ca.pem: ... crt.pem: ... crt.key: ... ca.pem.file: ... crt.pem.file: ... crt.key.file: ... attrs: "*,+"
olcSynrepl: syncrepl
... provider=ldaps://ldap.example.com bindmethod=simple binddn="cn=goodguy,dc=example,dc=com" credentials=dirtysecret starttls=critical schemachecking=on scope=sub searchbase="dc=example,dc=com" tls_cacert=/path/to/file tls_cert=/path/to/file.ext tls_key=/path/to/file.ext tls_protocol_min=1.2 tls_reqcert=demand type=refreshAndPersist
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SrvConfig ServerConfig Database []DatabaseConfig Schemas []SchemaConfig }
type DatabaseConfig ¶
type DatabaseConfig struct { Base string Replicatls []ReplicaTls }
func (*DatabaseConfig) ImportNotNull ¶
func (dbIn *DatabaseConfig) ImportNotNull(db *DatabaseConfig)
type ReplicaTls ¶
func (*ReplicaTls) ImportNotNull ¶
func (rtIn *ReplicaTls) ImportNotNull(rt *ReplicaTls)
type SchemaConfig ¶
type ServerConfig ¶
type ServerConfig struct { AdminPassword string AdminPasswordSHA string AdminPasswordFile string ReplicaPassword string ReplicaPasswordSHA string ReplicaPasswordFile string LdapPort string Srvtls serverTls Debug string }
func (*ServerConfig) GetAdminPassword ¶
func (scIn *ServerConfig) GetAdminPassword() (string, error)
func (*ServerConfig) GetReplicaPassword ¶
func (scIn *ServerConfig) GetReplicaPassword() (string, error)
func (*ServerConfig) ImportNotNull ¶
func (scIn *ServerConfig) ImportNotNull(sc *ServerConfig)
Click to show internal directories.
Click to hide internal directories.