Hey Ketzal, I'm still not sure what you really mean.
Anyhow, I've played around with socat, to "pipe" the socket from the sogo server to the ldap server. On the ldap server I use this command: socat UNIX-LISTEN:/var/run/sogo/sogo-sockd.sock EXEC:'ssh s...@sogoserver "socat STDIO UNIX-CONNECT:/var/run/sogo/sogo-sockd.sock"' This works (I guess). Then I create an ldap addressbook in Thunderbird with these settings: Server: <ldapserver-IP> Base-DN: cn=personal,ou=people,dc=two4.it Port: 389 Bind-DN: <The Bind-DN of my account>,dc=two4,dc=it In the LDAP-Database I have: database sock suffix "ou=people,dc=two4.it" socketpath "/var/run/sogo/sogo-sockd.sock" extensions binddn When I enter a dot in the search field of the TB addressbook, it will return 0 results. The socat command gets killed with no error (so I guess it worked) and on the sogo server I see this: s...@sogo:/usr/sbin$ ./sogo-slapd-sockd <0x0x8c80b48[SOGoSockD]> listening on /var/run/sogo/sogo-sockd.sock <0x0x8d43a80[SOGoStartupLogger]> Using obsolete 'WOApplicationRedirectURL' user default. <0x0x8d43a80[SOGoStartupLogger]> Please configure the use of the x-webobjects-XXX headers with your webserver (see sample files). <0x0x8cb9738[SOGoCache]> Cache cleanup interval set every 300.000000 seconds <0x0x8cb9738[SOGoCache]> Using host(s) 'localhost' as server(s) So why do I get 0 results, although I have several addresses in my personal addressbook of this account? Btw, I'm using SOGo 1.3.2. Cheers, Dennis Am Donnerstag 14 Oktober 2010 09:56:36 schrieb ketzal devims: > The way I do it: 2 solutions: > > - 1 server with everything inside > - 2 servers: one with Apache and Sogo, the second one with Slapd, LDAP > database, MySQL. > > Louis > > 2010/10/13 Dennis Petschull <[email protected]> > > > What do you mean by that? Can you explain a little further, please? > > > > Cheers, > > Dennis > > > > On Wednesday 13 October 2010 10:21:53 ketzal devims wrote: > > > Don't put the Slapd on the same machine than the Sogo server, but slapd > > > > and > > > > > LDAP database should be on the same server. > > > > > > Louis > > > > > > 2010/10/12 Dennis Petschull <[email protected]> > > > > > > > Hi Louis, > > > > > > > > I just tried it out. As I expected, this does not work, as the slapd > > > > is looking for the socket on the ldap server, whereas the actual > > > > socket is of course on the sogo server. > > > > Here is the error message from the syslog on the ldap server: > > > > slapd[2631]: socket connect(/var/run/sogo/sogo-sockd.sock) failed > > > > > > > > So, is there anybody who did this already with ldap and sogo being on > > > > different > > > > hosts?? > > > > > > > > Cheers, > > > > Dennis > > > > > > > > On Monday 11 October 2010 11:16:15 ketzal devims wrote: > > > > > Hi Dennis, > > > > > > > > > > For my configuration, I did it in a Co-localized server, but I'm > > > > pretty > > > > > > > sure you can do it with two different servers. (If you're not > > > > > sure, try > > > > > > > > it > > > > > > > > > :)) > > > > > > > > > > Regs > > > > > Louis > > > > > > > > > > 2010/10/11 Dennis Petschull <[email protected]> > > > > > > > > > > > Hi Valentin, > > > > > > > > > > > > In general you're right. But are you sure that this also holds > > > > true > > > > > > for > > > > > > > > > > this special use-case of the sogo-slapd-sockd? > > > > > > As I understand, the users ldap query triggers the ldap server to > > > > ask > > > > > > the > > > > > > > > > > socket, specified in the ldap-directory. > > > > > > But the socket address is only present on the sogo server (where > > > > the > > > > > > > > sogo-slapd-sockd command was executed), not on the ldap server > > > > > > itself. Or am I missing something here....?? > > > > > > > > > > > > Cheers, > > > > > > Dennis > > > > > > > > > > > > On Monday 11 October 2010 09:20:43 Valentin Bud wrote: > > > > > > > Hello Dennis, > > > > > > > > > > > > > > On Sun, Oct 10, 2010 at 10:15 PM, Dennis Petschull < > > > > > > > > [email protected] > > > > > > > > > > >wrote: > > > > > > > > Hi Louis, > > > > > > > > > > > > > > > > thanks for your help. I think I can manage it now... > > > > > > > > But now that I'm setting it all up, a question came to my > > > > > > > > mind: > > > > > > > > > > > > > > > > For all of this to work out, the LDAP server and the SOGo > > > > server > > > > > > need > > > > > > > > > > > > reside > > > > > > > > on the same host, right? Or is it also possible when LDAP and > > > > > > > > SOGo servers are > > > > > > > > on different hosts?? > > > > > > > > > > > > > > Doesn't matter if SOGo and LDAP are on the same server or not. > > > > You > > > > > > must > > > > > > > > > > > point SOGo > > > > > > > to the LDAP server either using DNS name or IP address. > > > > > > > > > > > > > > a great day, > > > > > > > v > > > > > > > > > > > > -- > > > > > > [email protected] > > > > > > https://inverse.ca/sogo/lists > > > > > > > > -- > > > > [email protected] > > > > https://inverse.ca/sogo/lists > > > > -- > > [email protected] > > https://inverse.ca/sogo/lists > -- [email protected] https://inverse.ca/sogo/lists
