On Mon, 2009-03-23 at 21:42 +0100, Paolo Abeni wrote:
> hello,
> 
> I just compiled and installed samba-4 and mapiproxy from latest
> git/svn. I followed the steps described here:
> 
> http://apidocs.openchange.org/mapiproxy/index.html#server_conf
> 
> using 'LOCALDOMAIN' for domain name and realm name, and configured
> mapiproxy in server mode.

Hi Paolo,

Your realm is incorrect. It needs to be a domain name such as XXXX.YYYY
where XXXX can - in your example - be LOCALDOMAIN and YYYY any
extension, for example LOCAL or TEST.

The realm name is computed with the netbios name (form smb.conf) to
provide a fully qualified domain name MAPI clients will use when
querying Exchange with RFR protocol.

snipset from smb.conf:

netbios name = my
workgroup    = firstest
realm        = firstest.ever

- FQDN with this config would be "my.firstest.ever"
- samba provisioning should be done using a command-line similar to the
one below:

# ./setup/provision --domain=firstest --realm=firstest.ever
--server-role='domain controller' --adminpass='secret'

> 
> Then I try to create a profile
> 
> mapiprofile --domain LOCALDOMAIN --realm LOCALDOMAIN -I 127.0.0.1 -P
> local -u testuser1 -p testuser1 -c --dump-data

Specifying --realm with mapiprofile is not mandatory unless you want a
gssapi authentication instead of ntlmssp.

> and I get an error code:
> 
> ProcessNetworkProfile    : MAPI_E_INVALID_PARAMETER (0x80070057)
> 
> You may find in attachment the full trace in attachment. Am I missing
> something ?!? It's mapiprofile supposed to work against mapiproxy ?!?


Yes mapiproxy / openchange server is working with mapiprofile and
Outlook.

Your log lacks information I can use to detect what is going on, but it
looks like the server is not up and running properly. The samba log
output produced with "/usr/local/samba/sbin/samba -d5 -i -M single"
would give more detailed information. Your smb.conf file may also give
pointers where the problem is.

Cheers,
Julien.

-- 
Julien Kerihuel
[email protected]
OpenChange Project Manager

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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to