Adding a third address book

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Adding a third address book

Postby WTPsyche » Tue Aug 22, 2006 9:59 am

I've previously added a second address book/directory to my Scalix server that populates by filtering [members of a mailnode] from the System directory. I wanted to add another, but when I make the addition to the swa.properties file and restart Tomcat... at first I can't log into SAC, and shortly thereafter the whole SWA/SAC returns an error page (sorry, I can't be specific, but it's an actual server error, not a 4xx code).

My question is... what exactly is the reason/rule for the "swa.ldap.x.type=" value? Can I have more than one "...type=other"?

E.g.:

Code: Select all

...
swa.ldap.3.type=other
swa.ldap.3.baseDN=o=dmr
swa.ldap.3.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.3.server=scalixserver.domain.com
swa.ldap.3.port=389
swa.ldap.3.displayName.resourceID=
swa.ldap.3.displayName.resourceLabel=DMR
swa.ldap.3.authType=none
swa.ldap.3.addressSearchLimit=100
swa.ldap.3.search....
...
swa.ldap.4.type=other
swa.ldap.4.baseDN=o=ethics
swa.ldap.4.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.4.server=scalixserver.domain.com
swa.ldap.4.port=389
swa.ldap.4.displayName.resourceID=
swa.ldap.4.displayName.resourceLabel=Ethics
swa.ldap.4.authType=none
swa.ldap.4.addressSearchLimit=100
swa.ldap.4.search...
...

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Aug 22, 2006 12:31 pm

Yes, the type is the key to the issue - the type is a bit of a misnamer, it is not really a type, but rather a tag, so all blocks need to have different names in the type field.

Please do not use the predefined type names personal and system for anything else, though, they have different meaning and alter some behaviour.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Thu Aug 24, 2006 8:55 am

Thanks Florian, I suspected as much. I'll give that a try... this time on my test box first.

Steve

WTPsyche
Posts: 46
Joined: Mon Mar 20, 2006 6:14 pm

Postby WTPsyche » Tue Nov 28, 2006 6:39 pm

Sorry to bump my own post, but I'm having a the same problem trying to add a *fourth* address book, called OIA. I've created the directory, established the dirsync, added the additional section to the slapd.conf file, and even modified the mapi.cfg file so Outlook successfully sees the new directory and its contents. However, when I add the additional section to the swa.properties file (starting at the line swa.ldap.5.type=OIA) for the new directory and restart Tomcat, the Admin console and/or the SWA interface becomes unresponsive.

The previous file that ends with the line swa.ldap.4.search.6.dirAttribute=pagerTelephoneNumber has been working fine, and is what I put back to get SWA and SAC working again. Does anyone see what I'm doing wrong?


swa.properties:

Code: Select all

[snip]
...
swa.ldap.1.type=system
swa.ldap.1.server=scalixserver.domain.com
swa.ldap.1.port=389
swa.ldap.1.baseDN=o=scalix
swa.ldap.1.displayName.resourceID=addressbooksearch_title_system
swa.ldap.1.displayName.resourceLabel=System Directory
swa.ldap.1.authType=none
swa.ldap.1.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.1.addressSearchLimit=100
swa.ldap.1.search.1.header=true
swa.ldap.1.search.1.type=name
swa.ldap.1.search.1.name.resourceID=addressbooksearch_label_name
swa.ldap.1.search.1.name.resourceLabel=Name
swa.ldap.1.search.1.dirAttribute=omcn
swa.ldap.1.search.2.header=true
swa.ldap.1.search.2.type=email
swa.ldap.1.search.2.name.resourceID=addressbooksearch_label_email
swa.ldap.1.search.2.name.resourceLabel=Email Address
swa.ldap.1.search.2.dirAttribute=rfc822Mailbox
swa.ldap.1.search.3.header=true
swa.ldap.1.search.3.type=
swa.ldap.1.search.3.name.resourceID=addressbooksearch_label_phone
swa.ldap.1.search.3.name.resourceLabel=Phone
swa.ldap.1.search.3.dirAttribute=telephoneNumber
swa.ldap.1.search.4.header=
swa.ldap.1.search.4.type=
swa.ldap.1.search.4.name.resourceID=
swa.ldap.1.search.4.name.resourceLabel=Fax Phone
swa.ldap.1.search.4.dirAttribute=facsimileTelephoneNumber
swa.ldap.1.search.5.header=
swa.ldap.1.search.5.type=
swa.ldap.1.search.5.name.resourceID=
swa.ldap.1.search.5.name.resourceLabel=Mobile Phone
swa.ldap.1.search.5.dirAttribute=mobileTelephoneNumber
swa.ldap.1.search.6.header=
swa.ldap.1.search.6.type=
swa.ldap.1.search.6.name.resourceID=
swa.ldap.1.search.6.name.resourceLabel=Pager Phone
swa.ldap.1.search.6.dirAttribute=pagerTelephoneNumber
swa.ldap.2.type=personal
swa.ldap.2.server=scalixserver.domain.com
swa.ldap.2.port=389
swa.ldap.2.baseDN=o=MyContacts
swa.ldap.2.displayName.resourceID=addressbooksearch_title_personal
swa.ldap.2.displayName.resourceLabel=Personal Contacts
swa.ldap.2.authType=simple
swa.ldap.2.bindDN=rfc822mailbox=%u
swa.ldap.2.filter=(|(&(cn=%s*)(|(mail=*)(304=4)))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.3.type=dmr
swa.ldap.3.baseDN=o=dmr
swa.ldap.3.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.3.server=scalixserver.domain.com
swa.ldap.3.port=389
swa.ldap.3.displayName.resourceID=
swa.ldap.3.displayName.resourceLabel=DMR
swa.ldap.3.authType=none
swa.ldap.3.addressSearchLimit=100
swa.ldap.3.search.1.header=true
swa.ldap.3.search.1.type=
swa.ldap.3.search.1.name.resourceID=addressbooksearch_label_name
swa.ldap.3.search.1.name.resourceLabel=Name
swa.ldap.3.search.1.dirAttribute=omcn
swa.ldap.3.search.2.header=true
swa.ldap.3.search.2.type=email
swa.ldap.3.search.2.name.resourceID=addressbooksearch_label_email
swa.ldap.3.search.2.name.resourceLabel=Email Address
swa.ldap.3.search.2.dirAttribute=rfc822Mailbox
swa.ldap.3.search.3.header=true
swa.ldap.3.search.3.type=
swa.ldap.3.search.3.name.resourceID=addressbooksearch_label_phone
swa.ldap.3.search.3.name.resourceLabel=Phone
swa.ldap.3.search.3.dirAttribute=telephoneNumber
swa.ldap.3.search.4.header=
swa.ldap.3.search.4.type=
swa.ldap.3.search.4.name.resourceID=
swa.ldap.3.search.4.name.resourceLabel=Fax Phone
swa.ldap.3.search.4.dirAttribute=facsimileTelephoneNumber
swa.ldap.3.search.5.header=
swa.ldap.3.search.5.type=
swa.ldap.3.search.5.name.resourceID=
swa.ldap.3.search.5.name.resourceLabel=Mobile Phone
swa.ldap.3.search.5.dirAttribute=mobileTelephoneNumber
swa.ldap.3.search.6.header=
swa.ldap.3.search.6.type=
swa.ldap.3.search.6.name.resourceID=
swa.ldap.3.search.6.name.resourceLabel=Pager Phone
swa.ldap.3.search.6.dirAttribute=pagerTelephoneNumber
swa.ldap.4.type=ETHICS
swa.ldap.4.baseDN=o=ETHICS
swa.ldap.4.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.4.server=scalixserver.domain.com
swa.ldap.4.port=389
swa.ldap.4.displayName.resourceID=
swa.ldap.4.displayName.resourceLabel=ETHICS
swa.ldap.4.authType=none
swa.ldap.4.addressSearchLimit=100
swa.ldap.4.search.1.header=true
swa.ldap.4.search.1.type=
swa.ldap.4.search.1.name.resourceID=addressbooksearch_label_name
swa.ldap.4.search.1.name.resourceLabel=Name
swa.ldap.4.search.1.dirAttribute=omcn
swa.ldap.4.search.2.header=true
swa.ldap.4.search.2.type=email
swa.ldap.4.search.2.name.resourceID=addressbooksearch_label_email
swa.ldap.4.search.2.name.resourceLabel=Email Address
swa.ldap.4.search.2.dirAttribute=rfc822Mailbox
swa.ldap.4.search.3.header=true
swa.ldap.4.search.3.type=
swa.ldap.4.search.3.name.resourceID=addressbooksearch_label_phone
swa.ldap.4.search.3.name.resourceLabel=Phone
swa.ldap.4.search.3.dirAttribute=telephoneNumber
swa.ldap.4.search.4.header=
swa.ldap.4.search.4.type=
swa.ldap.4.search.4.name.resourceID=
swa.ldap.4.search.4.name.resourceLabel=Fax Phone
swa.ldap.4.search.4.dirAttribute=facsimileTelephoneNumber
swa.ldap.4.search.5.header=
swa.ldap.4.search.5.type=
swa.ldap.4.search.5.name.resourceID=
swa.ldap.4.search.5.name.resourceLabel=Mobile Phone
swa.ldap.4.search.5.dirAttribute=mobileTelephoneNumber
swa.ldap.4.search.6.header=
swa.ldap.4.search.6.type=
swa.ldap.4.search.6.name.resourceID=
swa.ldap.4.search.6.name.resourceLabel=Pager Phone
swa.ldap.4.search.6.dirAttribute=pagerTelephoneNumber
swa.ldap.5.type=OIA
swa.ldap.5.baseDN=o=OIA
swa.ldap.5.filter=(|(&(cn=%s*)(mail=*))(&(sn=%s*)(mail=*))(&(gn=%s*)(mail=*))(mail=%s*)(&(omalias=%s*)(mail=*)))
swa.ldap.5.server=scalixserver.domain.com
swa.ldap.5.port=389
swa.ldap.5.displayName.resourceID=
swa.ldap.5.displayName.resourceLabel=OIA
swa.ldap.5.authType=none
swa.ldap.5.addressSearchLimit=100
swa.ldap.5.search.1.header=true
swa.ldap.5.search.1.type=
swa.ldap.5.search.1.name.resourceID=addressbooksearch_label_name
swa.ldap.5.search.1.name.resourceLabel=Name
swa.ldap.5.search.1.dirAttribute=omcn
swa.ldap.5.search.2.header=true
swa.ldap.5.search.2.type=email
swa.ldap.5.search.2.name.resourceID=addressbooksearch_label_email
swa.ldap.5.search.2.name.resourceLabel=Email Address
swa.ldap.5.search.2.dirAttribute=rfc822Mailbox
swa.ldap.5.search.3.header=true
swa.ldap.5.search.3.type=
swa.ldap.5.search.3.name.resourceID=addressbooksearch_label_phone
swa.ldap.5.search.3.name.resourceLabel=Phone
swa.ldap.5.search.3.dirAttribute=telephoneNumber
swa.ldap.5.search.4.header=
swa.ldap.5.search.4.type=
swa.ldap.5.search.4.name.resourceID=
swa.ldap.5.search.4.name.resourceLabel=Fax Phone
swa.ldap.5.search.4.dirAttribute=facsimileTelephoneNumber
swa.ldap.5.search.5.header=
swa.ldap.5.search.5.type=
swa.ldap.5.search.5.name.resourceID=
swa.ldap.5.search.5.name.resourceLabel=Mobile Phone
swa.ldap.5.search.5.dirAttribute=mobileTelephoneNumber
swa.ldap.5.search.6.header=
swa.ldap.5.search.6.type=
swa.ldap.5.search.6.name.resourceID=
swa.ldap.5.search.6.name.resourceLabel=Pager Phone
swa.ldap.5.search.6.dirAttribute=pagerTelephoneNumber


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron