diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php
index e1819b2ee82534569cecb5e49027e15643ceda10..0bb36d4da8de405b8baa916e5784fcd8ca0f18dc 100755
--- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php
+++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/TgExtra.class.php
@@ -1028,7 +1028,7 @@ class TgExtra {
         $entry = $arrUserEntry[0];
 
         $result[] = new userDetail (
-				     $entry['sn'][0], // ePPN, use sn which holds it too as uid is hidden in the dn
+				     mb_strtolower( $entry['sn'][0]), // ePPN, use sn which holds it too as uid is hidden in the dn
 				     $entry['cn'][0],  // name
 				     isset ($entry['mail'][0]) ? $entry['mail'][0] : null,  
 				     isset ($entry['o'][0]) ? $entry['o'][0]: null,  // organisation
diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php
index 91f5512c2360c2d8ce3f114ea6fab11a6e1331b4..62df32cdf78036fd1d44199b2733bbca1037ffdb 100755
--- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php
+++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCheckAccess.php
@@ -59,7 +59,7 @@ if( isset( $_POST['auth'] ) ) {
   }
   catch( SoapFault $f ) {
 
-    echo "SOAP FAULT!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail;
+    echo "SOAP FAULT!: " . serialize ($f);
 
   }