On 8/9/2011 10:40 AM, Donny Brooks wrote:
On 8/9/2011 10:37 AM, Donny Brooks wrote:
On 8/9/2011 10:22 AM, Donny Brooks wrote:
On 8/9/2011 10:21 AM, Adi Kriegisch wrote:
Hi!

All this is collected at http://wiki.sogo.nu/ResourceConfiguration
(including LDAP schema). If you miss a thing, just add it.
Yes that is the same info that was on the list back in May. Good to have
it in one place. However I still need the objectclass for OpenLDAP. I
have never written one and having a ready to install one would greatly
speed up the process.
As I said before: It is in the Wiki, you just need to download it.

-- Adi
I actually JUST saw that as I got your reply. Sorry about that. Let the input begin!
Ok, I added the schema file to our OpenLDAP server and tried restarting ldap. However I got the following error:

/etc/openldap/schema/calresource.schema: line 159 objectclass: ObjectClass not found: "calEntry"


The offending lines 150-159 are below:


objectclass ( 1.3.6.1.1.5.1.1 NAME 'CalendarResource'
        DESC 'Calendar Resource Object Class'
            SUP calEntry
            AUXILIARY
            MUST (cn)
            MAY ( kind $ nickname $ description $ ou $ categories $
                 member $ uniquemember $ accessibilityurl $ capacity $
                 owner $ resourcemanager $ timezoneid $
                 multiplebookings $ maxinstances $
                 bookingwindowstart $ bookingwindowend $ vcarduid ) )

Anyone else had a similar error?
I do apologize for that. I was missing that schema also. I will try adding the steps needed to the wiki soon.
One last question to make sure I have this configured correctly. I should define the following:

defaults -u sogo write sogod KindFieldName thing

 defaults -u sogo write sogod MultiplebookingsFieldName Multiplebookings

If this is an example ldif I would use to input the resources:

dn: uid=meetingroom,ou=Users,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: CalendarResource
objectClass: calEntry
cn: Big Meetingroom
sn: Meetingroom
displayName: Example Big Meetingroom
givenName: Big
Kind: thing
mail: meetingr...@example.com
Multiplebookings: 0
uid: meetingroom

And I do not need to give it a uidNumber or gidNumber correct? Thanks for the input.
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to