Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-08-06 Thread Hardy Flor
I've created a new user and this also has an incorrect address.
Why is the address of the first entry 'mail' used? In the Konfigurtaion
but the "maildrop" field is defined as e-mail.

Am 31.07.2015 um 21:45 schrieb Hardy Flor:
> Hello Christian,
>
> the solution in the FAQ
> (http://www.sogo.nu/nc/support/faq/article/updates-in-ldap-directory-not-reflected-in-sogo.html)
> is update the database. I have no entry in the database with the old
> emailaddress. Memcached is restart with the restart of the server.
>
>
> Hardy
>
> 
> result from ldapsearch:
> dn: uid=flor_hardy,ou=users,dc=PTB,dc=intern
> maildrop: hardy.f...@ptb-ingenieure.de
> 
>
> 
> SOGoUserSources
> 
> 
> CNFieldName
> displayName
> IDFieldName
> uid
> MailFieldNames
> 
> maildrop
> 
> UIDFieldName
> uid
> baseDN
> ou=users,dc=PTB,dc=intern
> bindDN
> cn=,dc=PTB,dc=intern
> bindFields
> 
> uid
> cn
> displayName
> mail
> 
> bindPassword
> geheim
> canAuthenticate
> YES
> displayName
> PTB Adressen
> hostname
> yyy.yyy.yyy.yyy
> id
> public
> isAddressBook
> YES
> port
> 
> scope
> sub
> type
> ldap
> 
> 
> 
>
> Am 31.07.2015 um 15:12 schrieb Christian Mack:
>> Hello
>>
>> Am 31.07.2015 um 13:26 schrieb Hardy Flor:
>>> I have a field with a single value for the emailaddess. When I change
>>> this field, is the change not displayed in the adressbook. In the
>>> database no field contain the old emailaddess.
>>> Restart of the server work also not.
>>>
>>> Where does the wrong emailaddress?
>>>
>> Sorry, but your question confused me a bit.
>> First you change an email address in LDAP, then you search for it in the
>> database?
>> How should it get there?
>> Why should a server restart change that?
>>
>> Perhaps it would be better to give us step by step instructions on what
>> you did and what didn't work.
>>
>>
>> Kind regards,
>> Christian Mack
>>
>
> Diese Nachricht besteht zu 100% aus wiederverwerteten Bits und Bytes.
> Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-08-04 Thread Hardy Flor
Has any further evidence?

Am 31.07.2015 um 21:45 schrieb Hardy Flor:
> Hello Christian,
>
> the solution in the FAQ
> (http://www.sogo.nu/nc/support/faq/article/updates-in-ldap-directory-not-reflected-in-sogo.html)
> is update the database. I have no entry in the database with the old
> emailaddress. Memcached is restart with the restart of the server.
>
>
> Hardy
>
> 
> result from ldapsearch:
> dn: uid=flor_hardy,ou=users,dc=PTB,dc=intern
> maildrop: hardy.f...@ptb-ingenieure.de
> 
>
> 
> SOGoUserSources
> 
> 
> CNFieldName
> displayName
> IDFieldName
> uid
> MailFieldNames
> 
> maildrop
> 
> UIDFieldName
> uid
> baseDN
> ou=users,dc=PTB,dc=intern
> bindDN
> cn=,dc=PTB,dc=intern
> bindFields
> 
> uid
> cn
> displayName
> mail
> 
> bindPassword
> geheim
> canAuthenticate
> YES
> displayName
> PTB Adressen
> hostname
> yyy.yyy.yyy.yyy
> id
> public
> isAddressBook
> YES
> port
> 
> scope
> sub
> type
> ldap
> 
> 
> 
>
> Am 31.07.2015 um 15:12 schrieb Christian Mack:
>> Hello
>>
>> Am 31.07.2015 um 13:26 schrieb Hardy Flor:
>>> I have a field with a single value for the emailaddess. When I change
>>> this field, is the change not displayed in the adressbook. In the
>>> database no field contain the old emailaddess.
>>> Restart of the server work also not.
>>>
>>> Where does the wrong emailaddress?
>>>
>> Sorry, but your question confused me a bit.
>> First you change an email address in LDAP, then you search for it in the
>> database?
>> How should it get there?
>> Why should a server restart change that?
>>
>> Perhaps it would be better to give us step by step instructions on what
>> you did and what didn't work.
>>
>>
>> Kind regards,
>> Christian Mack
>>
>
> Diese Nachricht besteht zu 100% aus wiederverwerteten Bits und Bytes.
> Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-07-31 Thread Hardy Flor
Hello Christian,

the solution in the FAQ
(http://www.sogo.nu/nc/support/faq/article/updates-in-ldap-directory-not-reflected-in-sogo.html)
is update the database. I have no entry in the database with the old
emailaddress. Memcached is restart with the restart of the server.


Hardy


result from ldapsearch:
dn: uid=flor_hardy,ou=users,dc=PTB,dc=intern
maildrop: hardy.f...@ptb-ingenieure.de



SOGoUserSources


CNFieldName
displayName
IDFieldName
uid
MailFieldNames

maildrop

UIDFieldName
uid
baseDN
ou=users,dc=PTB,dc=intern
bindDN
cn=,dc=PTB,dc=intern
bindFields

uid
cn
displayName
mail

bindPassword
geheim
canAuthenticate
YES
displayName
PTB Adressen
hostname
yyy.yyy.yyy.yyy
id
public
isAddressBook
YES
port

scope
sub
type
ldap




Am 31.07.2015 um 15:12 schrieb Christian Mack:
> Hello
>
> Am 31.07.2015 um 13:26 schrieb Hardy Flor:
>> I have a field with a single value for the emailaddess. When I change
>> this field, is the change not displayed in the adressbook. In the
>> database no field contain the old emailaddess.
>> Restart of the server work also not.
>>
>> Where does the wrong emailaddress?
>>
> Sorry, but your question confused me a bit.
> First you change an email address in LDAP, then you search for it in the
> database?
> How should it get there?
> Why should a server restart change that?
>
> Perhaps it would be better to give us step by step instructions on what
> you did and what didn't work.
>
>
> Kind regards,
> Christian Mack
>

Diese Nachricht besteht zu 100% aus wiederverwerteten Bits und Bytes.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-07-31 Thread Christian Mack
Am 31.07.2015 um 15:25 schrieb Chris Coleman:
> 
> On 7/31/2015 9:12 AM, Christian Mack wrote:
>> Hello
>>
>> Am 31.07.2015 um 13:26 schrieb Hardy Flor:
>>> I have a field with a single value for the emailaddess. When I change
>>> this field, is the change not displayed in the adressbook. In the
>>> database no field contain the old emailaddess.
>>> Restart of the server work also not.
>>>
>>> Where does the wrong emailaddress?
>>>
>> Sorry, but your question confused me a bit.
>> First you change an email address in LDAP, then you search for it in the
>> database?
>> How should it get there?
>> Why should a server restart change that?
>>
>> Perhaps it would be better to give us step by step instructions on what
>> you did and what didn't work.
>>
> 
> I think what Hardy means to say is, when updating (side-loading) an
> email address stored in the database, the updated email address data
> isn't shown in the web interface address book.
> Where is the web interface caching the outdated version of the email
> address.
> Ultimately, how to modify/side-load  data in the database, and trigger a
> refresh / cache invalidate, in the sogo web interface.
> Side note: Is there a soap or rest interface available in sogo for doing
> data extract and load ?
> 

If that is the case, then the answers are:
SOGo caches its data in memcached for as long as is set in
SOGoCacheCleanupInterval (in seconds).

If you want to change data from outside SOGo and be immediatedly
visible, then you have to restart memcached (not sogod!) after the
changes are done.

And no, there is no REST api to do so.
But you can use backup and restore with sogo-tool.


Kind regards,
Christian Mack

-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-07-31 Thread Chris Coleman



On 7/31/2015 9:12 AM, Christian Mack wrote:

Hello

Am 31.07.2015 um 13:26 schrieb Hardy Flor:

I have a field with a single value for the emailaddess. When I change
this field, is the change not displayed in the adressbook. In the
database no field contain the old emailaddess.
Restart of the server work also not.

Where does the wrong emailaddress?


Sorry, but your question confused me a bit.
First you change an email address in LDAP, then you search for it in the
database?
How should it get there?
Why should a server restart change that?

Perhaps it would be better to give us step by step instructions on what
you did and what didn't work.


Kind regards,
Christian Mack



I think what Hardy means to say is, when updating (side-loading) an 
email address stored in the database, the updated email address data 
isn't shown in the web interface address book.
Where is the web interface caching the outdated version of the email 
address.
Ultimately, how to modify/side-load  data in the database, and trigger a 
refresh / cache invalidate, in the sogo web interface.
Side note: Is there a soap or rest interface available in sogo for doing 
data extract and load ?


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Updates in LDAP directory not reflected in SOGo

2015-07-31 Thread Christian Mack
Hello

Am 31.07.2015 um 13:26 schrieb Hardy Flor:
> 
> I have a field with a single value for the emailaddess. When I change
> this field, is the change not displayed in the adressbook. In the
> database no field contain the old emailaddess.
> Restart of the server work also not.
> 
> Where does the wrong emailaddress?
> 

Sorry, but your question confused me a bit.
First you change an email address in LDAP, then you search for it in the
database?
How should it get there?
Why should a server restart change that?

Perhaps it would be better to give us step by step instructions on what
you did and what didn't work.


Kind regards,
Christian Mack

-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] Updates in LDAP directory not reflected in SOGo

2015-07-31 Thread Hardy Flor

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a field with a single value for the emailaddess. When I change
this field, is the change not displayed in the adressbook. In the
database no field contain the old emailaddess.
Restart of the server work also not.

Where does the wrong emailaddress?

Hardy
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVu1tZAAoJEP848zVanIdIn+wQAIRcUVjh7Flkb+8IJcGJF++Z
sd7LkWEnLhLpl3ag7IjaDLoEx6ir0/8D1ZPSVrzJfGGNu4SuddoY1RrO73WegEMo
TPHDFtjfxwXVhgynLviagJn1z4cehNegFtUHIRCocJxZCUES4jDB3/fvK+SLprFp
MfoWHz5V900y967DjFu5W1NqzCj26JXwgmt+f8CFfBngBr+6YJTknnKHfj92unRw
g71Qpt0lxgvp+ppqWkjVpRZpmRyFFN/CprAG44qVPjq3LjEbJ1T2B6tKgs1od9NR
bNa9kvP0IAiz9JeJDG6CFWfeRKKrrq6poCC5IFR+uz9hr4PKW0Q+zcCDFpU9sQbC
BpiLJDdO09HsIbeqfuX8aX1DK0A7oxxrWQa3Cf1DU2vi/2ckuSmdIeEqe9DnccVb
pctq9gZs129abL78DS5glbfXHkjMnxh3bZpCiPfoiV+dXPukeny/Sft3dn2aq6QV
0gYNCI1RAhWbetUpfJDzbL0ElU6xkBsdRE/SWlWU+ueQye/XxLzmiLyUTT28bhNl
5j2nlPnJuf4W+9omuuJZhKH3793y/+wsHtO+0f5C1j+MHoUu5XyhGhMdRMrpuhfr
ArP8+5tpdyx2V7j5YIY+dlmmadX1oxserEOTMQQOofJcBWEc08/RgdgdotSTq8wC
iTjqdyqSycLCcUSUkSiA
=sowi
-END PGP SIGNATURE-

-- 
users@sogo.nu
https://inverse.ca/sogo/lists