Re: [SOGo] Outlook email - no folders

2015-07-22 Thread Gerald Brandt



On 2015-06-04 12:41 PM, Julien Kerihuel wrote:

On 04/06/15 18:21, Gerald Brandt wrote:

Hi,

I just installed 2.3.0 from the inverse repos.  Outlook exits with the
following error:

Cannot start Microsoft Office Outlook.  Unable to open the Outlook
Wndow.  The set of folders
could not be opened.  The server is not available.  Contact your
administrator if this
condition persists.


I added the user via the RSAT tools from Microsoft.

Interesting. Could you provide a sample dump of the entry for the user
in the AD? I would be curious to see the attributes set by RSAT tools by
default.

My guess is that it may have partially added some attributes (which we
check against) but not all of them. Have you tried to run
openchange_newuser --enable?

Also did you create the profile in the first place and did you hit any
specific error?

Thanks,
Julien.



Hi,

I just created two users with the Windows 7 AD Tools, and then went to 
Linux to do an openchange_newuser --create.


The user shows up in samba-tool user list.
openchange_newuser worked.

Outlook works great, no issues.  The web interface shows no folders, and 
IMAP won't let me log in.  The error is:


Jul 22 15:41:17 pdc dovecot: auth: 
ldap(g...@erlphase.com,192.168.100.240,): unknown user
Jul 22 15:41:17 pdc dovecot: auth: 
passdb(g...@erlphase.com,192.168.100.240,): allow_nets 
check failed: IP not in allowed networks
Jul 22 15:41:27 pdc dovecot: auth: 
ldap(g...@erlphase.com,192.168.100.240,): unknown user
Jul 22 15:41:27 pdc dovecot: auth: 
passdb(g...@erlphase.com,192.168.100.240,): allow_nets 
check failed: IP not in allowed networks
Jul 22 15:41:37 pdc dovecot: auth: 
ldap(g...@erlphase.com,192.168.100.240,): unknown user
Jul 22 15:41:37 pdc dovecot: auth: 
passdb(g...@erlphase.com,192.168.100.240,): allow_nets 
check failed: IP not in allowed networks
Jul 22 15:41:39 pdc dovecot: imap-login: Disconnected (auth failed, 3 
attempts in 26 secs): user=, method=PLAIN, 
rip=192.168.100.240, lip=192.168.100.248, TLS, session=



So, I created a user with samba-tool and then openchange-newuser. Voila, 
everything works great.


What information can I get you to help solve the issue?

Gerald

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


Re: [SOGo] Outlook email - no folders

2015-06-04 Thread Gerald Brandt

On 2015-06-04 12:41 PM, Julien Kerihuel wrote:

On 04/06/15 18:21, Gerald Brandt wrote:

Hi,

I just installed 2.3.0 from the inverse repos.  Outlook exits with the
following error:

Cannot start Microsoft Office Outlook.  Unable to open the Outlook
Wndow.  The set of folders
could not be opened.  The server is not available.  Contact your
administrator if this
condition persists.


I added the user via the RSAT tools from Microsoft.

Interesting. Could you provide a sample dump of the entry for the user
in the AD? I would be curious to see the attributes set by RSAT tools by
default.

My guess is that it may have partially added some attributes (which we
check against) but not all of them. Have you tried to run
openchange_newuser --enable?

Also did you create the profile in the first place and did you hit any
specific error?

Thanks,
Julien.


Hi,

No errors when adding the user.  I just tested with using the Linux 
tools instead of RSAT, and things are working (sort of - another 
email).  I'll do more testing and try to answer you questions later 
today.  If I can't get to them today, they'll have to wait until Monday.


Gerald

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


Re: [SOGo] Outlook email - no folders

2015-06-04 Thread Julien Kerihuel
On 04/06/15 18:21, Gerald Brandt wrote:
> Hi,
>
> I just installed 2.3.0 from the inverse repos.  Outlook exits with the
> following error:
>
> Cannot start Microsoft Office Outlook.  Unable to open the Outlook
> Wndow.  The set of folders
> could not be opened.  The server is not available.  Contact your
> administrator if this
> condition persists.
>
>
> I added the user via the RSAT tools from Microsoft.

Interesting. Could you provide a sample dump of the entry for the user
in the AD? I would be curious to see the attributes set by RSAT tools by
default.

My guess is that it may have partially added some attributes (which we
check against) but not all of them. Have you tried to run
openchange_newuser --enable?

Also did you create the profile in the first place and did you hit any
specific error?

Thanks,
Julien.

-- 
Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

Twitter: http://twitter.com/jkerihuel

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79




signature.asc
Description: OpenPGP digital signature


[SOGo] Outlook email - no folders

2015-06-04 Thread Gerald Brandt

Hi,

I just installed 2.3.0 from the inverse repos.  Outlook exits with the 
following error:


Cannot start Microsoft Office Outlook.  Unable to open the Outlook Wndow.  The 
set of folders
could not be opened.  The server is not available.  Contact your administrator 
if this
condition persists.


I added the user via the RSAT tools from Microsoft.

Thinking I munged something up, I tried to cleanup the openchange user 
and re-initialize it:


root@pdc:/var/log# openchange_user_cleanup gbr 'xxx'

Starting IMAP cleanup

Logged in as 'gbr'

Starting MAPIstore cleanup

cn = gbr not found in openchange.ldb

Starting SQL cleanup

Table sogo_cache_folder_gbr emptied


Due to the 'not found' message I tried to create the openchange user:

root@pdc:/var/log# openchange_newuser --create gbr

Traceback (most recent call last):

  File "/usr/sbin/openchange_newuser", line 68, in 

openchange.newuser(provisionnames, lp, creds, username=args[0], 
mail=opts.mail)

  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 643, in 
newuser

db.modify_ldif(ldif_value)

  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 235, in 
modify_ldif

self.modify(msg, controls)

_ldb.LdbError: (20, 'Attribute homeMDB already exists for target GUID 
74fd6113-02cd-4525-8a46-f0e9785bc99c')

root@pdc:/var/log#


I'll be starting from scratch, and using the Linux tools to add the 
user, to see if that solves the issue.


Gerald

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