From d2653ee89d780271ae93a1ac6e376923ce6ae3e5 Mon Sep 17 00:00:00 2001
From: Robin Sheat <robin@catalyst.net.nz>
Date: Wed, 18 Sep 2013 17:32:14 +1200
Subject: [PATCH 2/2] Bug 10908 - restore docs on principal_name

Signed-off-by: Ulrich Kleiber <ulrich.kleiber@bsz-bw.de>
---
 C4/Auth_with_ldap.pm |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm
index 0296829..0d15721 100644
--- a/C4/Auth_with_ldap.pm
+++ b/C4/Auth_with_ldap.pm
@@ -443,6 +443,10 @@ Example XML stanza for LDAP configuration in KOHA_CONF.
                                         password comparison, e.g., to use Active Directory -->
     <anonymous_bind>0</anonymous_bind> <!-- set to 1 if users should be searched using
                                             an anonymous bind, even when auth_by_bind is on -->
+    <principal_name>%s@my_domain.com</principal_name>
+                                   <!-- optional, for auth_by_bind: a printf format to make userPrincipalName from koha userid.
+                                        Not used with anonymous_bind. -->
+
     <mapping>                  <!-- match koha SQL field names to your LDAP record field names -->
       <firstname    is="givenname"      ></firstname>
       <surname      is="sn"             ></surname>
-- 
1.7.9.5