To add to the discussion:

I (finally) found the debug log for my LDAP server. When I set up the new
connection on the Mac side, here's what comes up server-side. I'm having
trouble interpreting it.

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 fd=14 ACCEPT from IP=
127.0.0.1:54487 (IP=0.0.0.0:389)

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 fd=14 ACCEPT from IP=
127.0.0.1:54487 (IP=0.0.0.0:389)

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 BIND
dn="uid=sogo,ou=users,dc=modernedge,dc=com" method=128

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 BIND
dn="uid=sogo,ou=users,dc=modernedge,dc=com" method=128

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 BIND
dn="uid=sogo,ou=users,dc=MODERNEDGE,dc=COM" mech=SIMPLE ssf=0

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 BIND
dn="uid=sogo,ou=users,dc=MODERNEDGE,dc=COM" mech=SIMPLE ssf=0

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 RESULT tag=97
err=0 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=0 RESULT tag=97
err=0 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SRCH
base="ou=users,dc=modernedge,dc=com" scope=2 deref=0
filter="(|(uid=sogo)(mail=sogo))"

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SRCH
base="ou=users,dc=modernedge,dc=com" scope=2 deref=0
filter="(|(uid=sogo)(mail=sogo))"

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SRCH
attr=objectClass cn uid mail title company o displayname modifytimestamp
mozillahomestate mozillahomeurl homeurl st region mozillacustom2 custom2
mozillahomecountryname description notes department departmentnumber ou
orgunit mobile cellphone carphone mozillacustom1 custom1 mozillanickname
xmozillanickname mozillaworkurl workurl fax facsimiletelephonenumber
telephonenumber mozillahomestreet mozillasecondemail xmozillasecondemail
mozillacustom4 custom4 nsaimid nscpaimscreenname street streetaddress
postofficebox homephone cn commonname givenname mozillahomepostalcode
mozillahomelocalityname mozillaworkstreet2 mozillausehtmlmail
xmozillausehtmlmail mozillahomestreet2 postalcode zip c countryname pager
pagerphone mail sn surname mozillacustom3 custom3 l locality birthyear
serialnumber calfburl proxyaddresses

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SRCH
attr=objectClass cn uid mail title company o displayname modifytimestamp
mozillahomestate mozillahomeurl homeurl st region mozillacustom2 custom2
mozillahomecountryname description notes department departmentnumber ou
orgunit mobile cellphone carphone mozillacustom1 custom1 mozillanickname
xmozillanickname mozillaworkurl workurl fax facsimiletelephonenumber
telephonenumber mozillahomestreet mozillasecondemail xmozillasecondemail
mozillacustom4 custom4 nsaimid nscpaimscreenname street streetaddress
postofficebox homephone cn commonname givenname mozillahomepostalcode
mozillahomelocalityname mozillaworkstreet2 mozillausehtmlmail
xmozillausehtmlmail mozillahomestreet2 postalcode zip c countryname pager
pagerphone mail sn surname mozillacustom3 custom3 l locality birthyear
serialnumber calfburl proxyaddresses

Aug 17 14:47:13 modernedge-linux slapd[32565]: <= bdb_equality_candidates:
(uid) not indexed

Aug 17 14:47:13 modernedge-linux slapd[32565]: <= bdb_equality_candidates:
(uid) not indexed

Aug 17 14:47:13 modernedge-linux slapd[32565]: <= bdb_equality_candidates:
(mail) not indexed

Aug 17 14:47:13 modernedge-linux slapd[32565]: <= bdb_equality_candidates:
(mail) not indexed

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SEARCH RESULT
tag=101 err=0 nentries=1 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=1 SEARCH RESULT
tag=101 err=0 nentries=1 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=2 UNBIND

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 op=2 UNBIND

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 fd=14 closed

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=0 fd=14 closed

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 fd=14 ACCEPT from IP=
127.0.0.1:54489 (IP=0.0.0.0:389)

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 fd=14 ACCEPT from IP=
127.0.0.1:54489 (IP=0.0.0.0:389)

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 BIND
dn="uid=sogo,ou=users,dc=modernedge,dc=com" method=128

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 BIND
dn="uid=sogo,ou=users,dc=modernedge,dc=com" method=128

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 BIND
dn="uid=sogo,ou=users,dc=MODERNEDGE,dc=COM" mech=SIMPLE ssf=0

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 BIND
dn="uid=sogo,ou=users,dc=MODERNEDGE,dc=COM" mech=SIMPLE ssf=0

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 RESULT tag=97
err=0 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=0 RESULT tag=97
err=0 text=

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=1 UNBIND

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 op=1 UNBIND

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 fd=14 closed

Aug 17 14:47:13 modernedge-linux slapd[32565]: conn=1 fd=14 closed



On Wed, Aug 17, 2011 at 2:26 PM, Joel Newman <[email protected]> wrote:

> Steve,
>
> Thanks for the suggestion... unfortunately that didn't fix it.
>
> What's really frustrating is that there's no indication from AddressBook
> that it's even trying to connect. There's no reload/refresh button, no
> setting to tell it how often to sync, and the system log console simply says
> "com.apple.AddressBook[4958] Child with pid 5031 exited normally" when I
> add or delete an LDAP account.
>
> Strangely enough, the system log records a "Could not connect to server"
> error when I add a CardDAV account, but successfully adds the account
> anyway.
>
> - Joel
>
>
>
> On Wed, Aug 17, 2011 at 12:15 PM, Stephen Ingram <[email protected]>wrote:
>
>> Joel-
>>
>> Try ou=users,dc=modernedge,dc=com for your Search Base.
>>
>> Steve
>>
>> On Wed, Aug 17, 2011 at 11:49 AM, Joel Newman <[email protected]> wrote:
>> > Hello,
>> > I've just set up SOGo on a Debian Linux server to use as an office
>> contact
>> > sharing system, and it works great so far. I have all services running
>> and
>> > have successfully connected the CardDAV system to my AddressBook.app on
>> OSX
>> > 10.6.
>> > However, we have a couple of older Mac G5s in the office which can't
>> upgrade
>> > past OSX 10.5, and so their AddressBook.app doesn't have CardDAV
>> supported.
>> > I'm trying to get those connected via LDAP and failing... I don't get
>> any
>> > errors, it simply adds the connection and never does anything with it.
>> > I have only one user set up on sogo at this point, trying to connect all
>> > computers to the same account, so I know the credentials are good.
>> Running
>> > nmap reports that port 389 on the server is open for LDAP connection. I
>> can
>> > login using the same credentials and LDAP authentication on the web
>> > interface.
>> > The AddressBook configuration I have is:
>> > Server: 10.1.10.20 (this is an internal office test server)
>> > Port: 389
>> > Search Base: ou=users
>> > Scope: Subtree
>> > Authentication: simple
>> > User Name: sogo
>> > Password: secret
>> > My sogo configuration is:
>> > {
>> >     NSGlobalDomain = {
>> >     };
>> >     sogod = {
>> >         OCSFolderInfoURL =
>> > "mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info";
>> >         OCSSessionsFolderURL =
>> > "mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder";
>> >         SOGoAppointmentSendEMailNotifications = YES;
>> >         SOGoCalendarDefaultRoles = (
>> >             PublicViewer,
>> >             ConfidentialDAndTViewer
>> >         );
>> >         SOGoContactsDefaultRoles = (
>> >             ObjectViewer,
>> >             ObjectEditor,
>> >             ObjectCreator,
>> >             ObjectEraser
>> >         );
>> >         SOGoDraftsFolderName = Drafts;
>> >         SOGoIMAPServer = localhost;
>> >         SOGoLanguage = English;
>> >         SOGoMailDomain = modernedge.com;
>> >         SOGoMailingMechanism = smtp;
>> >         SOGoProfileURL =
>> > "mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile";
>> >         SOGoSMTPServer = 127.0.0.1;
>> >         SOGoSentFolderName = Sent;
>> >         SOGoSuperUsernames = (
>> >             jnewman,
>> >             aangell
>> >         );
>> >         SOGoTimeZone = America/Los_Angeles;
>> >         SOGoTrashFolderName = Trash;
>> >         SOGoUserSources = (
>> >             {
>> >                 CNFieldName = cn;
>> >                 IDFieldName = uid;
>> >                 UIDFieldName = uid;
>> >                 baseDN = "ou=users,dc=modernedge,dc=com";
>> >                 bindDN = "uid=sogo,ou=users,dc=modernedge,dc=com";
>> >                 bindPassword = rabbit84Car;
>> >                 canAuthenticate = YES;
>> >                 displayName = "Shared Addresses";
>> >                 hostname = localhost;
>> >                 id = public;
>> >                 isAddressBook = YES;
>> >                 port = 389;
>> >                 type = ldap;
>> >             }
>> >             }
>> >         );
>> >     };
>> > }
>> >
>> > Any ideas how I can get this working? Thanks in advance!
>> > - Joel Newman
>> > Digital Administrator
>> > Modern Edge, Inc.
>> > Portland, OR USA
>> >
>> --
>> [email protected]
>> https://inverse.ca/sogo/lists
>
>
>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to