mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-10-04 05:07:13 +00:00
ldap.conf.adoc: add ldap.conf docu
This commit is contained in:
parent
72af0c84ee
commit
51ac959227
17
gen-ldap.conf.5-opts.pl
Executable file
17
gen-ldap.conf.5-opts.pl
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use lib '.';
|
||||
use strict;
|
||||
use warnings;
|
||||
use PVE::RESTHandler;
|
||||
|
||||
use Data::Dumper;
|
||||
|
||||
use PMG::LDAPConfig;
|
||||
|
||||
my $schema = PMG::LDAPConfig->createSchema(1);
|
||||
my $properties = $schema->{properties};
|
||||
|
||||
print PVE::RESTHandler::dump_properties($properties);
|
||||
|
||||
exit(0);
|
60
ldap.conf.5-opts.adoc
Normal file
60
ldap.conf.5-opts.adoc
Normal file
@ -0,0 +1,60 @@
|
||||
`accountattr`: `<string>` ('default =' `sAMAccountName, uid`)::
|
||||
|
||||
Account attribute name name.
|
||||
|
||||
`basedn`: `<string>` ::
|
||||
|
||||
Base domain name.
|
||||
|
||||
`binddn`: `<string>` ::
|
||||
|
||||
Bind domain name.
|
||||
|
||||
`bindpw`: `<string>` ::
|
||||
|
||||
Bind password.
|
||||
|
||||
`comment`: `<string>` ::
|
||||
|
||||
Description.
|
||||
|
||||
`disable`: `<boolean>` ::
|
||||
|
||||
Flag to disable/deactivate the entry.
|
||||
|
||||
`filter`: `<string>` ::
|
||||
|
||||
LDAP filter.
|
||||
|
||||
`groupbasedn`: `<string>` ::
|
||||
|
||||
Base domain name for groups.
|
||||
|
||||
`groupclass`: `<string>` ('default =' `group, univentionGroup, ipausergroup`)::
|
||||
|
||||
List of objectclasses for groups.
|
||||
|
||||
`mailattr`: `<string>` ('default =' `mail, userPrincipalName, proxyAddresses, othermailbox, mailAlternativeAddress`)::
|
||||
|
||||
List of mail attribute names.
|
||||
|
||||
`mode`: `<ldap | ldaps>` ('default =' `ldap`)::
|
||||
|
||||
LDAP protocol mode ('ldap' or 'ldaps').
|
||||
|
||||
`port`: `<integer> (1 - 65535)` ::
|
||||
|
||||
Specify the port to connect to.
|
||||
|
||||
`profile`: `<string>` ::
|
||||
|
||||
Profile ID.
|
||||
|
||||
`server1`: `<string>` ::
|
||||
|
||||
Server address.
|
||||
|
||||
`server2`: `<string>` ::
|
||||
|
||||
Fallback server address. Userd when the first server is not available.
|
||||
|
43
ldap.conf.adoc
Normal file
43
ldap.conf.adoc
Normal file
@ -0,0 +1,43 @@
|
||||
[[pmg_ldap_configuration_file]]
|
||||
ifdef::manvolnum[]
|
||||
ldap.conf(5)
|
||||
============
|
||||
:pmg-toplevel:
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
ldap.conf - Proxmox Mail Gateway LDAP Configuration
|
||||
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
`/etc/pmg/ldap.conf`
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
endif::manvolnum[]
|
||||
ifndef::manvolnum[]
|
||||
LDAP Configuration
|
||||
==================
|
||||
endif::manvolnum[]
|
||||
|
||||
The file `/etc/pmg/ldap.conf` contains the LDAP configuration.
|
||||
|
||||
|
||||
File Format
|
||||
-----------
|
||||
|
||||
TODO
|
||||
|
||||
Options
|
||||
-------
|
||||
|
||||
include::ldap.conf.5-opts.adoc[]
|
||||
|
||||
|
||||
ifdef::manvolnum[]
|
||||
include::pmg-copyright.adoc[]
|
||||
endif::manvolnum[]
|
@ -189,6 +189,8 @@ include::cluster.conf.adoc[]
|
||||
|
||||
include::user.conf.adoc[]
|
||||
|
||||
include::ldap.conf.adoc[]
|
||||
|
||||
:leveloffset: 0
|
||||
|
||||
:leveloffset: 1
|
||||
|
Loading…
Reference in New Issue
Block a user