Hi Sassy,

You are right I did take the whole tree from svn checkout command and built
from scratch.

Where do I get "latest version of samba4 from git."  Kindly let me know.

I will install it right away.

arun

On Thu, May 13, 2010 at 12:59 PM, Sassy Natan <[email protected]> wrote:

> Hi,
> Did u pull the latest version of samba4 from the git?
> At the moment Samba4 and OpenChange are broken if u are trying to
> install the MAPI Server.
>
> I guess u should take the latest release, and not using the svn tree
> of openchange.
>
> I know Julien.kerihuel or brand are planing to make a new release once
> samba4alpha12 will be official release, but this might take some time.
>
> Let me know if u need more help with the old release.
>
> Sassy
>
> On Thu, May 13, 2010 at 10:28 PM, Vinay Nagrik <[email protected]> wrote:
> > Hello Group,
> >
> > To avoid any errors and confuesion.  I went on to the system and
> installed a
> > fresh copy of samba and MAPI proxy, starting from the svn check out
> command
> > and then following
> >
> > gmake samba-git
> >
> > and the following
> >
> > .autogen, ./configure and gmake commands.
> >
> > then I created the smb.conf file and put this file in
> >
> > /usr/local/samba/etc
> >
> > Following are all the messages I received on the system
> >
> > when I issued the
> >
> > ./setup/provision command I got following messages.
> >
> > #################
> > NPX6217# ./setup/provision --realm=OPENCHANGE.LOCAL --domain=OPENCHANGE
> > --adminpass=openchange --server-role='domain controller';
> > Traceback (most recent call last):
> >   File "./setup/provision", line 222, in <module>
> >     nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode)
> >   File "bin/python/samba/provision.py", line 1085, in provision
> >     users_gid = findnss_gid([users or "users"])
> >   File "bin/python/samba/provision.py", line 240, in <lambda>
> >     findnss_gid = lambda names: findnss(grp.getgrnam, names)[2]
> >   File "bin/python/samba/provision.py", line 236, in findnss
> >     raise KeyError("Unable to find user/group %r" % names)
> > KeyError: "Unable to find user/group ['users']"
> > NPX6217#
> > #################
> >
> > when I issued ./setup/newuser and the passwork command then I received
> > following messages.
> >
> > #####################
> > NPX6217# ./setup/newuser AJain
> > New Password:
> > Traceback (most recent call last):
> >   File "./setup/newuser", line 69, in <module>
> >     samdb.newuser(username, opts.unixname, password,
> > force_passwor
> > d_change_at_next_login_req=opts.must_change_at_next_login)
> >   File "bin/python/samba/samdb.py", line 123, in newuser
> >     user_dn = "CN=%s,CN=Users,%s" % (username, self.domain_dn())
> >   File "bin/python/samba/samdb.py", line 64, in domain_dn
> >     attrs=["defaultNamingContext"])
> > _ldb.LdbError: (34, 'NULL Base DN invalid for a base search')
> > NPX6217#
> > #####################
> >
> > Lastly when I issued the samba -d5 -i -M single command it failed to
> start
> > and gave following messages.  It is a brand new set up of MAPI proxy
> > ################
> > 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:
> > '(&(objectclass=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
> > ldb: start ldb transaction (nesting: 0)
> > ldb: commit ldb transaction (nesting: 0)
> > ldb: start ldb transaction (nesting: 0)
> > ldb: commit ldb transaction (nesting: 0)
> > samba: using 'single' process model
> > 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#
> >
> > My smb.conf file resides in /usr/local/samba/etc/ and it has following
> > contents.
> >
> > ####################
> > #======================= Global Settings
> > =====================================
> > [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.162.216[print]
> >         dcerpc_mapiproxy:username = testuser
> >         dcerpc_mapiproxy:password = openchange
> >         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/
> > ####################
> >
> > Can somebody from openchange SARL or somebody who must have encountered
> the
> > same thing first time tell me how can I start my samba server
> successfully.
> > I will greatly appreciate this gesture.
> >
> > Thanks in anticipation.  Please help.
> > --
> > Thanks
> >
> > Nagrik
> >
>  > _______________________________________________
> > devel mailing list
> > [email protected]
> > http://mailman.openchange.org/listinfo/devel
> >
> >
>



-- 
Thanks

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

Reply via email to