Hello Group,
*I am working on a very specific company's project where we want to use MAPI
proxy in different ways to save some money. I can not disclose more
information about the project.*
I have two copies of MAPI proxies installed on two different machines. The
configuration is identical except for the smb.conf file.
In the first file the binding string points to the secong MAPI proxy address
and second file the binding string points to actual Microsoft Exchange
server
The first smb.conf file looks as follows
###################
[global]
[globals]
netbios name = MAPIPROXY
workgroup = OPENCHANGE
realm = OPENCHANGE.LOCAL
server role = domain controller
### Configuration required by mapiproxy ###
dcesrv:assoc group checking = false
dcerpc endpoint servers = epmapper, mapiproxy
dcerpc_mapiproxy:binding = *ncacn_ip_tcp:100.100.100.107[print] ###
### This is the address of second proxy, which will talk to Exchange server
###
* dcerpc_mapiproxy:username = usrname
dcerpc_mapiproxy:password = password
dcerpc_mapiproxy:domain = EXCHANGE
dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
dcerpc_mapiproxy:modules = downgrade
### Configuration required by mapiproxy ###
[netlogon]
path = /usr/local/samba/var/locks/sysvo
###################
The second smb.conf file looks like
#######################
[global]
[globals]
netbios name = MAPIPROXY
workgroup = OPENCHANGE
realm = OPENCHANGE.LOCAL
server role = domain controller
### Configuration required by mapiproxy ###
dcesrv:assoc group checking = false
dcerpc endpoint servers = epmapper, mapiproxy
dcerpc_mapiproxy:binding = 100.100.100.209 * ### This is the address
of Exchange server###
* dcerpc_mapiproxy:username = username
dcerpc_mapiproxy:password = password
dcerpc_mapiproxy:domain = EXCHANGE
dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
dcerpc_mapiproxy:modules = downgrade
### Configuration required by mapiproxy ###
[netlogon]
path = /usr/local/samba/var/locks/sysvol/openchange.local/scripts
read only = no
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = no
######################
I start the samba server with the following command with debug level 5 and
interactively
like* "samba -d5 -i -M single" on both machines*
**
On first machine it starts successfully and prints following messages.
#####################
NPX6216# samba -d5 -i -M single
lp_load: refreshing parameters from /usr/local/samba/etc/smb.conf
params.c:pm_process() - Processing configuration file
"/usr/local/samba/etc/smb. conf"
Processing section "[global]"
Processing section "[globals]"
Processing section "[netlogon]"
Processing section "[sysvol]"
Global parameter workgroup found in service section!
Global parameter server string found in service section!
Global parameter security found in service section!
Unknown parameter encountered: "load printers"
Ignoring unknown parameter "load printers"
Global parameter log file found in service section!
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Global parameter dns proxy found in service section!
Processing section "[homes]"
Unknown parameter encountered: "writable"
Ignoring unknown parameter "writable"
Processing section "[printers]"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "writable"
Ignoring unknown parameter "writable"
pm_process() returned Yes
adding hidden service IPC$
adding hidden service ADMIN$
samba version 4.0.0alpha10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
fcntl_lock: fcntl lock gave errno 35 (Resource temporarily unavailable)
fcntl_lock: lock failed at offset 0 count 1 op 12 type 1 (Resource
temporarily u navailable)
ERROR: samba is already running. File /usr/local/samba/var/run/samba.pid
exists and process id 84126 is running.
####################
*However on second machine it gives plenty of errors of not finding
libmapiproxylib.so.0*
and
*dcesrv_init_context: failed to find endpoint server = 'mapiproxy'
task_server_terminate: [Failed to startup dcerpc server task]
samba_terminate: Failed to startup dcerpc server task*
*All messages are listed below.*
**
*##################*
*NPX6217# samba -d5 -i -M single
lp_load: refreshing parameters from /usr/local/samba/etc/smb.conf
params.c:pm_process() - Processing configuration file
"/usr/local/samba/etc/smb. conf"
Processing section "[global]"
Processing section "[globals]"
Processing section "[netlogon]"
Processing section "[sysvol]"
Global parameter workgroup found in service section!
Global parameter server string found in service section!
Global parameter security found in service section!
Unknown parameter encountered: "load printers"
Ignoring unknown parameter "load printers"
Global parameter log file found in service section!
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Global parameter dns proxy found in service section!
Processing section "[homes]"
Unknown parameter encountered: "writable"
Ignoring unknown parameter "writable"
Processing section "[printers]"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "writable"
Ignoring unknown parameter "writable"
pm_process() returned Yes
adding hidden service IPC$
adding hidden service ADMIN$
samba version 4.0.0alpha10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'ntlmssp' registered
NTPTR backend 'simple_ldb'
NTVFS backend 'simple' for type 1 registered
NTVFS backend 'cifs' for type 1 registered
NTVFS backend 'nbench' for type 1 registered
NTVFS backend 'unixuid' for type 1 registered
NTVFS backend 'unixuid' for type 3 registered
NTVFS backend 'unixuid' for type 2 registered
NTVFS backend 'cifsposix' for type 1 registered
NTVFS backend 'smb2' for type 1 registered
NTVFS backend 'default' for type 2 registered
NTVFS backend 'default' for type 3 registered
NTVFS backend 'default' for type 1 registered
NTVFS backend 'posix' for type 1 registered
PROCESS_MODEL 'standard' registered
PROCESS_MODEL 'prefork' registered
PROCESS_MODEL 'single' registered
AUTH backend 'winbind_samba3' registered
AUTH backend 'winbind' registered
AUTH backend 'winbind_wbclient' registered
AUTH backend 'server' registered
AUTH backend 'name_to_ntstatus' registered
AUTH backend 'fixed_challenge' registered
AUTH backend 'unix' registered
AUTH backend 'anonymous' registered
AUTH backend 'sam' registered
AUTH backend 'sam_ignoredomain' registered
SHARE backend [ldb] registered.
SHARE backend [classic] registered.
(normal if no LDAP backend required) Could not find entry to match filter:
'(&(o bjectclass=ldapSecret)(cn=SAMDB Credentials))' base:
'(null)'
ldb: no modules required by the db
ldb: No modules specified for this database
ldb_wrap open of sam.ldb
ldb: no modules required by the db
ldb: No modules specified for this database
ldb_wrap open of privilege.ldb
ldb: no modules required by the db
ldb: No modules specified for this database
ldb_wrap open of /usr/local/samba/private/schannel.ldb
samba: using 'single' process model
Unable to open /usr/local/samba/modules/dcerpc_server/dcesrv_mapiproxy.so:
Share d object "libmapiproxy.so.0" not found, required by
"dcesrv_mapiproxy.so"
DCERPC endpoint server 'wkssvc' registered
DCERPC endpoint server 'drsuapi' registered
DCERPC endpoint server 'spoolss' registered
DCERPC endpoint server 'winreg' registered
DCERPC endpoint server 'epmapper' registered
DCERPC endpoint server 'srvsvc' registered
DCERPC endpoint server 'netlogon' registered
DCERPC endpoint server 'browser' registered
DCERPC endpoint server 'rpcecho' registered
DCERPC endpoint server 'unixinfo' registered
DCERPC endpoint server 'samr' registered
DCERPC endpoint server 'remote' registered
DCERPC endpoint server 'dssetup' registered
DCERPC endpoint server 'lsarpc' registered
dcesrv_interface_register: interface 'epmapper' registered on endpoint
'ncacn_np :[\pipe\epmapper]'
dcesrv_interface_register: interface 'epmapper' registered on endpoint
'ncacn_ip _tcp:[135]'
dcesrv_interface_register: interface 'epmapper' registered on endpoint
'ncalrpc: [EPMAPPER]'
dcesrv_init_context: failed to find endpoint server = 'mapiproxy'
task_server_terminate: [Failed to startup dcerpc server task]
samba_terminate: Failed to startup dcerpc server task
NPX6217#
*
*#################
*
*I hope Julien the CTO of openchange SARL or Brad can help me.*
Brad: Today I have provided all the information. Please someone help. It
is very important at least for me.
Thanks a lot in advance.
--
Thanks
Nagrik
--
Thanks
Nagrik
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel