[SOGo] Address lists not properly visualized in Web frontend

2012-06-14 Thread Andreas Schlager

  
  
Hi list,

via the SOGo thunderbird CardDAV extension I created an address list
like this:

  
  This works for thunderbird, I can use this list without problems.
  
  In SOGo 2.0 nightly webinterface there is no list visible, but
  empty address entries:


Maybe the web interface does not support address lists at the
moment? I can't find an option to create such lists via the web
frontend.

Kind regards,
-Andreas.

  



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] SOLVED Address lists not properly visualized in Web frontend

2012-06-14 Thread Andreas Schlager
Hi Christian,

thanks for your advise - this finally explains the behaviour to me ;-)

Regards,
-Andreas.

Am 2012-06-14 15:00, schrieb Christian Mack:
 Hello Andreas Schlager


 On 2012-06-14 12:03, Andreas Schlager wrote:
 via the SOGo thunderbird CardDAV extension I created an address list
 like this:


 This works for thunderbird, I can use this list without problems.

 In SOGo 2.0 nightly webinterface there is no list visible, but empty
 address entries:


 Maybe the web interface does not support address lists at the moment? I
 can't find an option to create such lists via the web frontend.

 In order to create address lists, click on the submenu point New List
 (2 address cards with a green plus sign).

 This will open the address list edit window.
 At the bottom of this window you find a big plus sign. Press it in order
 to add an address to the list.

 Be aware that you only can add addresses from the same address book.


 Kind regards,
 Christian Mack



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-11 Thread Andreas Schlager
Hi Ludovic,

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN
http://www.gnustep.org/plist-0_9.xml;
plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keyOCSFolderInfoURL/key
   
stringmysql://sogo:xx@localhost:3306/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key
   
stringmysql://sogo:xx@localhost:3306/sogo/sogo_sessions_folder/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoDraftsFolderName/key
stringDrafts/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoIMAPServer/key
stringlocalhost/string
keySOGoLanguage/key
stringGerman/string
keySOGoMailDomain/key
stringdaheim.at/string
keySOGoMailingMechanism/key
stringsmtp/string
keySOGoProfileURL/key
   
stringmysql://sogo:xxx@localhost:3306/sogo/sogo_user_profile/string
keySOGoSMTPServer/key
stringlocalhost/string
keySOGoSentFolderName/key
stringSent/string
keySOGoSieveServer/key
stringsieve://localhost/string
keySOGoTimeZone/key
stringEurope/Vienna/string
keySOGoTrashFolderName/key
stringTrash/string
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyIMAPHostFieldName/key
stringmailHost/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringou=users,dc=daheim,dc=at/string
keybindDN/key
stringcn=admin,dc=daheim,dc=at/string
keybindPassword/key
stringxx/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringShared Addresses/string
keyhostname/key
stringlocalhost/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string389/string
keytype/key
stringldap/string
/dict
/array
keybindFields/key
stringuid/string
/dict
/dict

Regards,
-Andreas.

Am 2012-05-08 22:36, schrieb Ludovic Marcotte:
 Show your complete sogod configuration.



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] [SOLVED] Sogo nightly - LDAP authentication doesn't work

2012-05-11 Thread Andreas Schlager
Hi Ludovic,

many thanks for this hint - logon now works flawless!

-Andreas.

Am 2012-05-11 12:19, schrieb Ludovic Marcotte:
 On 11/05/12 03:59, Andreas Schlager wrote:
  /array
  keybindFields/key
  stringuid/string
  /dict
 You configuration is incorrect. bindFields is an array of strings and
 must be within your SOGoUserSources' entry.



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Andreas Schlager
Thanks all for your answers.
At the moment I'm out of office - but will try this until next week.

-Andreas.

Am 2012-05-08 20:25, schrieb Ludovic Marcotte:
 On 05/05/12 21:33, Jean Raby wrote:
 Alright, SOGo is not doing an indirect bind, it tries to bind
 directly as uid=username,baseDN.

 From a quick look at the code, it seem that you need to set
 'bindFields' to tell it to do the inderect bind.

 Can you try adding this to you user source:
 keybindFields/key
 array
 stringuid/string
 /array 
 This is indeed the case.

 If you use an indirect bind (so you have defined bindFields), SOGo
 will use the bindDN to lookup the DN of the user. If found, it'll then
 try to bind using it.

 If you don't use bindFields, SOGo will generate the proper DN based on
 your SOGoUserSources' entry configuration and bind using it.

 In both cases, SOGo will cache the DN of the user for subsequent
 calls. It caches it internally, not in memcached. So if you want to
 completely flush that data, you must restart SOGo.




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-08 Thread Andreas Schlager
I've updated to latest nightly build and inserted the key bindFields
as described,
but unfortunately still the same result:

May  8 22:29:16 srv1 slapd[1699]: conn=1012 fd=21 ACCEPT from
IP=127.0.0.1:59681 (IP=0.0.0.0:389)
May  8 22:29:16 srv1 slapd[1699]: conn=1012 op=0 BIND
dn=uid=aschlager,ou=users,dc=daheim,dc=at method=128
May  8 22:29:16 srv1 slapd[1699]: conn=1012 op=0 RESULT tag=97 err=49 text=
May  8 22:29:16 srv1 slapd[1699]: conn=1012 op=1 UNBIND
May  8 22:29:16 srv1 slapd[1699]: conn=1012 fd=21 closed


Am 2012-05-08 20:25, schrieb Ludovic Marcotte:
 On 05/05/12 21:33, Jean Raby wrote:
 Alright, SOGo is not doing an indirect bind, it tries to bind
 directly as uid=username,baseDN.

 From a quick look at the code, it seem that you need to set
 'bindFields' to tell it to do the inderect bind.

 Can you try adding this to you user source:
 keybindFields/key
 array
 stringuid/string
 /array 
 This is indeed the case.

 If you use an indirect bind (so you have defined bindFields), SOGo
 will use the bindDN to lookup the DN of the user. If found, it'll then
 try to bind using it.

 If you don't use bindFields, SOGo will generate the proper DN based on
 your SOGoUserSources' entry configuration and bind using it.

 In both cases, SOGo will cache the DN of the user for subsequent
 calls. It caches it internally, not in memcached. So if you want to
 completely flush that data, you must restart SOGo.




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
Hi skywalk3r,

sorry - I didn't mentioned it: I'm using OpenLDAP 2.4 which is running
on the same system together with sogo.

Am 2012-05-04 19:50, schrieb skywalk3r:
 Dne 5/4/2012 7:40 PM, skywalk3r napsal(a):
 Dne 5/4/2012 7:18 PM, Andreas Schlager napsal(a):
 [snip]
 Hello, if you are using Active Directory (MS) you have to use
 cn=aschlager or ou=aschlager (if your users are stored in
 organization group) or use only dc=daheim,dc=at if you are using more OU
 oh sorry i didnt notice BIND dn line.. cn=username, cn=Users,
 dc=domain,dc=tld works for me if username is in Users container.


signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
Hi list,

I've investigated a little bit and IMHO the sogo nightly build tries to
uses the username which wants to login to BIND to the directory, and not
the bindDN directive.

Here's the sogo config:

keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyIMAPHostFieldName/key
stringmailHost/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringou=users,dc=daheim,dc=at/string
keybindDN/key
stringcn=admin,dc=daheim,dc=at/string
keybindPassword/key
stringmysecretpw/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringShared Addresses/string
keyhostname/key
stringlocalhost/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string389/string
keytype/key
stringldap/string
/dict
/array

Any idea how to resolve this?

Regards,
-Andreas.

Am 2012-05-04 19:18, schrieb Andreas Schlager:
 Hi list,

 I'm trying to configure LDAP auth. with sogo - but get struggling.
 OS authentication works well, but login via webinterfaces gives this
 errors in the logs:


 May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 ACCEPT from
 IP=127.0.0.1:33247 (IP=0.0.0.0:389)
 May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 BIND
 dn=uid=aschlager,dc=daheim,dc=at method=128
 May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 RESULT tag=97 err=49
 text=
 May 04 19:15:42 sogod [4960]: SOGoRootPage Login for user 'aschlager'
 might not have worked - password policy: 65535  grace: -1  expire: -1 
 bound: 0
 May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=1 UNBIND
 May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 closed

 Any help higlhly appreciated.

 -Andreas. 


signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-05 Thread Andreas Schlager
 
bound: 0
localhost - - [05/May/2012:21:01:01 GMT] POST /SOGo/connect HTTP/1.1
403 34/43 0.013 - - 512K
May  5 21:01:01 srv1 slapd[3039]: conn=1004 fd=21 closed


Am 2012-05-05 19:15, schrieb Jean Raby:
 On 12-05-05 11:02 AM, Andreas Schlager wrote:
 [snip]
 This is strange, you don't see any ldap bind for
 'cn=admin,dc=daheim,dc=at' in the slapd logs?
 I find it surprising that sogo tries to bind as
 uid=aschlager,dc=daheim,dc=at since the config file sets a baseDN of
 'ou=users,dc=daheim,dc=at' ... something is fishy here.



signature.asc
Description: OpenPGP digital signature


[SOGo] Sogo nightly - LDAP authentication doesn't work

2012-05-04 Thread Andreas Schlager
Hi list,

I'm trying to configure LDAP auth. with sogo - but get struggling.
OS authentication works well, but login via webinterfaces gives this
errors in the logs:


May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 ACCEPT from
IP=127.0.0.1:33247 (IP=0.0.0.0:389)
May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 BIND
dn=uid=aschlager,dc=daheim,dc=at method=128
May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=0 RESULT tag=97 err=49 text=
May 04 19:15:42 sogod [4960]: SOGoRootPage Login for user 'aschlager'
might not have worked - password policy: 65535  grace: -1  expire: -1 
bound: 0
May  4 19:15:42 srv1 slapd[4632]: conn=1014 op=1 UNBIND
May  4 19:15:42 srv1 slapd[4632]: conn=1014 fd=13 closed

Any help higlhly appreciated.

-Andreas.


signature.asc
Description: OpenPGP digital signature


[SOGo] LDAP BIND seems not to use bindDN

2012-03-27 Thread Andreas Schlager

  
  

  Hi there,

I'm using sogo nightly build with openLDAP on Debian squeeze and have a
problem with LDAP authentication.
When trying to logon via WEB frontend I cannot login.

The logs shows following entries (with LDAP status trace enabled):
2012-03-27 19:10:30.353 sogod[4666] ERROR(-[NGBundleManager
bundleWithPath:]): could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
2012-03-27 19:10:30.373 sogod[4666] WOCompoundElement: pool embedding is on.
2012-03-27 19:10:30.374 sogod[4666] WOCompoundElement: id logging is on.
Mar 27 19:10:30 srv1 slapd[1743]: conn=1010 fd=25 ACCEPT from
IP=127.0.0.1:33707 (IP=0.0.0.0:389)
Mar 27 19:10:30 srv1 slapd[1743]: conn=1010 op=0 BIND
dn="uid=aschlager,ou=users,dc=daheim,dc=at" method=128
Mar 27 19:10:30 srv1 slapd[1743]: conn=1010 op=0 RESULT tag=97 err=49 text=
Mar 27 19:10:30 srv1 slapd[1743]: conn=1010 op=1 UNBIND
Mar 27 19:10:30 sogod [4666]: SOGoRootPage Login for user 'aschlager'
might not have worked - password policy: 65535  grace: -1  expire: -1 
bound: 0
Mar 27 19:10:30 srv1 slapd[1743]: conn=1010 fd=25 closed

Here it seems that SOGo tries to bind with the users credentials and not
with bindDN given in the configuration.
When trying this with the ldapsearch command the query works (with
cn=admin,dc=daheim,dc=at as binddn).
I have to say that I'm not very firm with LDAP and so it surely could be
tha't I'm completely wrong with this assumption 

Here's the relevant part of the SOGo configuration:

keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringou=users,dc=daheim,dc=at/string
keybindDN/key
stringcn=admin,dc=daheim,dc=at/string
keybindPassword/key
stringsecret/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringShared Addresses/string
keyhostname/key
stringlocalhost/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string389/string
keytype/key
stringldap/string
/dict
/array

I hope anyone can help me out of this.

Many thanks in advance!

-Andreas.



-- 
  
  Mit freundlichen Grüßen / Kind
  regards
      Andreas Schlager
  andreas.schla...@ict-visions.at
  


ICT-Visions GmbH., Erlfeld 28, A-5441 Abtenau
UID:
  ATU 64878029, FN 321420b, Ges. Geschäftsführer: Andreas
  Schlager

  
  



signature.asc
Description: OpenPGP digital signature