Kolab Intermediate 2.4 Release

Heiner Markert mephisto at gmx.net
Thu May 10 10:03:08 CEST 2012


Am Wednesday 09 May 2012 22:41:39 schrieb Jeroen van Meeuwen (Kolab Systems):
> On 2012-05-09 18:21, Heiner Markert wrote:
> > Am Wednesday 09 May 2012 17:57:52 schrieb Jeroen van Meeuwen (Kolab 
> > Systems):
> >> On 2012-05-09 16:46, Heiner Markert wrote:
> >> > That worked, thank you!
> >> > Maybe I just do not see the option, but when I log into the admin
> >> > interface and select "Users", I do not see any possibility to
> >> > actually
> >> > add a user...
> >> > All I can do is search for existing users, configure the search,
> >> > reset the search, switch to "Groups" or "About" view, and log out.
> >> >
> >> > The apache error log states
> >> > sh: /usr/lib64/mozldap/ldapsearch: Permission denied
> >> > when logging into the web interface or when opening the
> >> > "Groups"-panel, but no errors appear when loading the "Users" 
> >> panel.
> >> >
> >>
> >> Permission denied - is SELinux set to enforce the targeted policy by
> >> any change?
> >>
> >> The mozldap/ldapsearch tool is used (because PHP LDAP is lacking
> >> support for the getEffectiveRights() control) to determine whether 
> >> the
> >> logged in user is allowed to create/delete entries from the user and
> >> group base_dn.
> >>
> >> Kind regards,
> >>
> >> Jeroen van Meeuwen
> >>
> >
> > Thank you again for the hint. I set SELinux mode to permissive, and
> > it worked.
> > I found two additional issues:
> >
> > 1) When creating a new user, the cyrus mailbox is not created - I hat
> > to manually invoke cyradm and create the mailbox for the user.
> 
> Can you please verify the kolabd service is running?

Kolabd is not running - it does not get started on system boot. This might be because the startup script does not seem to be linked into rc5.d:
# ls /etc/rc5.d/*kolab*
K10kolabd  S65kolab-saslauthd

When I start kolabd manually, I get
# /etc/init.d/kolabd start
Starting kolabd:                                                            [  OK  ]
Process KolabdProcess-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/multiprocessing/process.py", line 232, in _bootstrap
    self.run()
  File "/usr/lib64/python2.6/multiprocessing/process.py", line 88, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.6/site-packages/kolabd/process.py", line 37, in synchronize
    auth.synchronize()
  File "/usr/lib/python2.6/site-packages/pykolab/auth/__init__.py", line 195, in synchronize
    self._auth.synchronize()
  File "/usr/lib/python2.6/site-packages/pykolab/auth/ldap/__init__.py", line 699, in synchronize
    callback=self._synchronize_callback,
  File "/usr/lib/python2.6/site-packages/pykolab/auth/ldap/__init__.py", line 1718, in _search
    secondary_domains
  File "<string>", line 10, in <module>
  File "/usr/lib/python2.6/site-packages/pykolab/auth/ldap/__init__.py", line 1480, in _persistent_search
    secondary_domains=secondary_domains
  File "/usr/lib/python2.6/site-packages/pykolab/auth/ldap/__init__.py", line 1370, in _synchronize_callback
    eval("self._change_none_%s(entry, change_dict)" % (entry['type']))
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/pykolab/auth/ldap/__init__.py", line 1083, in _change_none_user
    if not self.imap.user_mailbox_exists(entry[result_attribute]):
KeyError: 'mail'


and afterwards

# ps aux | grep kolabd
root      3207  0.4  2.2 226208 15612 pts/0    S    09:38   0:00 /usr/bin/python /usr/sbin/kolabd -p /var/run/kolabd/kolabd.pid --fork -l warning
root      3209  0.3  0.0      0     0 pts/0    Z    09:38   0:00 [kolabd] <defunct>
root      3215  0.0  0.1 103232   824 pts/0    S+   09:40   0:00 grep kolabd


When creating a new user, again the mailbox does not get created - obviously, the above error is to be taken seriously.

> > I have one additional question: Is it possible to access the calendar
> > as ics-stream in some way? Horde used to support this, and "plain"
> > roundcube calendar seems to support it as well, but I didn't find a
> > way to do that in kolab-roundcube...
> >
> 
> Which is... what exactly? You mean an export of the calendar?
> 

I used to upload the contents of one of my calendars by uploading a full ics file to a special URL generated by Horde to allow ics up- and download of a single calendar. This can e.g. be done by adding an ics calendar in thunderbird, but can as well be used in scripts. I think the more correct name for this feature is "ics-feed".
Will such a thing be available with the new kolab? I regulary worked with the ics URLs to easily access and modify my calendar data...

Kind regards
Heiner


> Kind regards,
> 
> Jeroen van Meeuwen
> 





More information about the users mailing list