What file stores the address book?

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

lynchanthony43

What file stores the address book?

Postby lynchanthony43 » Wed Nov 07, 2007 4:26 pm

I have a need to take the address book and put it into a postgres database for use by another application. What file contains the complete address book and is it accessible as an ascii file?

kanderson

Postby kanderson » Wed Nov 07, 2007 5:23 pm

The best bet would be to have your application make an LDAP call to the scalix server. There really isn't a file that contains that information because it's dynamic.

If you need it as a file, you could dump it out with something like:

omsearch -s -m @ALL-ATTR@ > /tmp/dumpfile.txt

And parse it from there.

Alternately, if you just wanted names, maybe this would work better.

omshowu -m all > /tmp/dumpfile2.txt

Kev.

lynchanthony43

Postby lynchanthony43 » Thu Nov 08, 2007 9:01 am

Thanks,

I think the command line would be easier to script. I have not done much with LDAP though I think that would likely be a more efficient manner of getting the information I am trying to keep from having the developer write out too much code. If I can take this and stuff it in our db it will be much easier.

Tony

kanderson

Postby kanderson » Thu Nov 08, 2007 11:08 am

Your dev should be fine using tools like ldapsearch. That's common and a straightforward command to use...

Kev.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests