summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2011-06-23 23:17:10 +0200
committerDominik Schmidt <dev@dominik-schmidt.de>2011-06-23 23:57:17 +0200
commit612f8cb9546a0607defe7a0ff5fd8048bbfdf92c (patch)
tree69e9e4c0d0b0aed95ea6e44fd2269a4d06d642ec /apps/user_ldap/appinfo
parentc8e57d5460e9b6b94f5730bcc5ca8197c42188ab (diff)
downloadnextcloud-server-612f8cb9546a0607defe7a0ff5fd8048bbfdf92c.tar.gz
nextcloud-server-612f8cb9546a0607defe7a0ff5fd8048bbfdf92c.zip
user_ldap: add port setting
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php
index f7ce4f87a62..67b61989f7f 100644
--- a/apps/user_ldap/appinfo/app.php
+++ b/apps/user_ldap/appinfo/app.php
@@ -23,6 +23,9 @@
require_once('apps/user_ldap/user_ldap.php');
+// define LDAP_DEFAULT_PORT
+define("OC_USER_BACKEND_LDAP_DEFAULT_PORT", 389);
+
// register user backend
OC_USER::useBackend( "LDAP" );