Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine of CardDAV and LDAP backend together #50

Open
user678 opened this issue Sep 6, 2012 · 2 comments
Open

Combine of CardDAV and LDAP backend together #50

user678 opened this issue Sep 6, 2012 · 2 comments

Comments

@user678
Copy link

user678 commented Sep 6, 2012

It's continuation of #49

You wrote:
"If you want to use BackendLDAP (l) for SYNC_FOLDER_TYPE_CONTACT for example, then you use:
SYNC_FOLDER_TYPE_CONTACT => 'l'

Its easy as that!"

When I use together:

            SYNC_FOLDER_TYPE_CONTACT => 'l',
            SYNC_FOLDER_TYPE_USER_CONTACT => 'v',

            'l' => array('name' => 'BackendLDAP', ...
            'v' => array( 'name' => 'BackendCardDAV', ...

BackendCardDAV does not return contacts (I've got only LDAP). I can send log file to you...

Any suggestions?

Regards,
Maxim

@fmbiete
Copy link
Contributor

fmbiete commented Sep 10, 2012

I believe it's not possible to use 2 different backends for contacts. At least I did not check it... you could send the log for more info.

In CardDav it's possible to create a addressbook and give each user public access (global address in this principal), and each user could have their own addressbook with their personal addresses.

But, and it's a big "but"... since I don't need this at the moment I fixed the backendCarDav to only get 1 principal.

@user678
Copy link
Author

user678 commented Sep 14, 2012

In the log file when I use following or reverse config

        SYNC_FOLDER_TYPE_CONTACT => 'l',
        SYNC_FOLDER_TYPE_USER_CONTACT => 'v',

or
SYNC_FOLDER_TYPE_CONTACT => 'v',
SYNC_FOLDER_TYPE_USER_CONTACT => 'l',

        'l' => array('name' => 'BackendLDAP', ...
        'v' => array( 'name' => 'BackendCardDAV', ...

z-push used only SYNC_FOLDER_TYPE_CONTACT backend.

Processing of 2 address books of CardDAV backend is the best solution, but CardDAV backend needs only one target folder. With the folder which contains 2 subfolders: GAL and user address book CardDAV backend does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants