I'd say it is quite likely.
What is in /usr/local/samba/modules/dcerpc_mapiproxy_server/ ?
I have
-rwxr-xr-x. 1 root root  329175 2010-03-18 21:38 exchange_ds_rfr.so
-rwxr-xr-x. 1 root root 4207787 2010-03-18 21:38 exchange_emsmdb.so
-rwxr-xr-x. 1 root root 1643667 2010-03-18 21:38 exchange_nsp.so

If you don't have that, and you have those somewhere else, you probably got
the prefix to your samba installation wrong at configure time.
I didn't have them in there. I did a clean install and now they are there. Don't know what went wrong last time.

And when I try to create a user with the following command
      mapiprofile -t /tmp/qubox.ldb --profile=testuser --username=test
--password=test --domain=OPENCHANGE -I 192.168.178.49 --create
The only output I get is 'Deleting profile'. It seems he is not adding
any user. The next command shows my assumtion.
      #mapiprofile -t /tmp/qubox.ldb --list
      We have 0 profiles in the database:
That indicates that the profile wasn't created. That can be for a few reasons,
such as the credentials (or domain) are wrong, or it could be a problem with
the server setup. In this case, I'd say the server setup is the likely
problem.
This problem sadly wasn't solved throught a clean install.
Increasing the debug level gives me this, looks like he can connect to port 135 but he is getting no correct awnser.

/etc/openchange# mapiprofile -d 100 --database=/tmp/profiles.ldb --profile=testprofile --username=test --password=test --domain=OPENCHANGE -I 192.168.178.49 --create
Using binding ncacn_ip_tcp:192.168.178.49
Mapped to DCERPC endpoint 135
added interface ip=192.168.178.49 nmask=255.255.255.0
added interface ip=23.32.1.13 nmask=255.255.255.0
added interface ip=192.168.178.49 nmask=255.255.255.0
added interface ip=23.32.1.13 nmask=255.255.255.0
[...]
rpc request data:
[0000] 01 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 02 00 00 00   4B 00 00 00 4B 00 00 00   ........ K...K...
[0020] 05 00 13 00 0D E0 F5 44   15 3C 61 D1 11 93 DF 00   .......D .<a.....
[0030] C0 4F D7 BD 09 01 00 02   00 00 00 13 00 0D 04 5D   .O...... .......]
[0040] 88 8A EB 1C C9 11 9F E8   08 00 2B 10 48 60 02 00   ........ ..+.H`..
[0050] 02 00 00 00 01 00 0B 02   00 00 00 01 00 07 02 00   ........ ........
[0060] 00 00 01 00 09 04 00 C0   A8 B2 31 00 00 00 00 00   ........ ..1.....
[0070] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0080] 01 00 00 00                                       ....
rpc reply data:
[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[0010] 00 00 00 00 00 00 00 00   01 00 00 00 00 00 00 00   ........ ........
[0020] 00 00 00 00 D6 A0 C9 16                            ........
Failed to connect to remote server: ncacn_ip_tcp:192.168.178.49[] NT_STATUS_PORT_UNREACHABLE
You must specify a ncacn binding string
    MapiLogonProvider        : MAPI_E_LOGON_FAILED (0x80040111)
Deleting profile

I can connect to that port using telnet. So it's not blocked.

Marcus

Brad

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

Reply via email to