Projects
Kolab:16:Testing
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 57
View file
kolab-syncroton.spec
Changed
@@ -43,7 +43,7 @@ %global upstream_version 2.4.2 Name: kolab-syncroton -Version: 2.4.2.29 +Version: 2.4.2.30 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -kolab-syncroton (2.4.2.29-0~kolab1) unstable; urgency=low +kolab-syncroton (2.4.2.30-0~kolab1) unstable; urgency=low * Release version 2.4.2
View file
kolab-syncroton-2.4.2.tar.gz/bin/inspect.php
Changed
@@ -51,18 +51,27 @@ rcube::raise_error("Email address not specified (--email).", false, true); } $email = $opts'email'; -if (empty($opts'adminpassword')) { - rcube::raise_error("Admin password not specified (--adminpassword).", false, true); + +$proxyAuth = false; +if ($password = $opts'adminpassword') { + $proxyAuth = true; + $user = "cyrus-admin"; +} else { + $password = $opts'password'; +} + +if (empty($password)) { + rcube::raise_error("Password not specified (--adminpassword/--password).", false, true); } -$password = $opts'adminpassword'; $rcube = rcube::get_instance(); $default_port = $rcube->config->get('default_port', 143); $default_host = $rcube->config->get('default_host'); -$user = "cyrus-admin"; $imap = new \rcube_imap_generic(); -$options'auth_cid' = $user; -$options'auth_pw' = $password; +if ($proxyAuth) { + $options'auth_cid' = $user; + $options'auth_pw' = $password; +} $options'auth_type' = 'PLAIN'; $options'port' = $default_port; $options'socket_options' = @@ -96,7 +105,7 @@ if ($data = $db->fetch_assoc($select)) { $userid = $data'user_id'; } else { - rcube::raise_error("User not found: $email.", false, true); + rcube::raise_error("User not found in roundcube database (only available after first login): $email.", false, true); } print("Found the user with id: $userid\n");
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 1:2.4.2.29-1~kolab1 +Version: 1:2.4.2.30-1~kolab1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Homepage: http://www.kolab.org/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.