--- /dev/null
+<samba:parameter name="client netlogon ping protocol"
+ context="G"
+ type="enum"
+ enumlist="enum_client_netlogon_ping_protocol"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>This option controls the protocol Samba uses to issue netlogon
+ ping requests. This is normally done via connectionless ldap, but
+ some installations require LDAPS over TCP port 636 for this.
+ </para>
+
+ <para>Possible values are :</para>
+ <itemizedlist>
+ <listitem>
+ <para><constant>CLDAP</constant></para>
+ </listitem>
+ <listitem>
+ <para><constant>LDAP</constant></para>
+ </listitem>
+ <listitem>
+ <para><constant>LDAPS</constant></para>
+ </listitem>
+ <listitem>
+ <para><constant>STARTTLS</constant></para>
+ </listitem>
+ </itemizedlist>
+</description>
+
+<value type="default">CLDAP</value>
+</samba:parameter>
ACL_CLAIMS_EVALUATION_NEVER
};
+/* Controlling the protocol for netlogon ping */
+enum client_netlogon_ping_protocol {
+ CLIENT_NETLOGON_PING_CLDAP,
+ CLIENT_NETLOGON_PING_LDAP,
+ CLIENT_NETLOGON_PING_LDAPS,
+ CLIENT_NETLOGON_PING_STARTTLS
+};
+
/*
* Default passwd chat script.
*/
{-1, NULL}
};
+static const struct enum_list enum_client_netlogon_ping_protocol[] = {
+ {CLIENT_NETLOGON_PING_CLDAP, "cldap"},
+ {CLIENT_NETLOGON_PING_LDAP, "ldap"},
+ {CLIENT_NETLOGON_PING_LDAPS, "ldaps"},
+ {CLIENT_NETLOGON_PING_STARTTLS, "starttls"},
+ {-1, NULL}
+};
+
/* Note: We do not initialise the defaults union - it is not allowed in ANSI C
*
* NOTE: Handling of duplicated (synonym) parameters: