View Issue Details

IDProjectCategoryView StatusLast Update
0002167SOGoPackaging (Debian)public2013-02-05 19:47
ReporterHolgerBri Assigned Tojraby 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0.3a 
Summary0002167: Used Sambaversion does not work correctly as AD
Description

Using the samba package which is provided on inverse does not work correctly. Every time when trying to join domain the network path cannot found. Same configuration does work on latest official Samba4 release without any problems.

In log.samba there are (not correlated to tries of joining domain) such entries;
../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
/usr/sbin/smbd: Failed to exec child - No such file or directory

Additional Information

I am not sure whether this topic is related: samba4-clients cannot be installed from inverse because smbclient is not available in needed version.

TagsNo tags attached.

Activities

HolgerBri

HolgerBri

2013-01-11 09:05

reporter   ~0005131

Last edited: 2013-01-11 09:06

I think I found a more relevant message for this topic when starting samba in debug mode:
root@ubuntu:~# samba -d3 -i -M single
samba: /usr/lib/x86_64-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/samba/libauth4.so)

but
root@ubuntu:~# dpkg -s libwbclient0
Package: libwbclient0
Status: install ok installed
Multi-Arch: same
Priority: optional
Section: libs
Installed-Size: 175
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: samba
Version: 2:3.6.3-2ubuntu2.3
Depends: libc6 (>= 2.14)
Pre-Depends: multiarch-support
Breaks: libpam-smbpass (<< 2:3.4.1), libsmbclient (<< 2:3.4.1), samba (<< 2:3.4.1), samba-common (<< 2:3.4.1), samba-tools (<< 2:3.4.1), smbclient (<< 2:3.4.1), smbfs (<< 2:3.4.1), swat (<< 2:3.4.1), winbind (<< 2:3.4.1)
Description: Samba winbind client library
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with
Microsoft Windows, OS X, and other Unix systems.
.
This package provides a library for client applications that interact
via the winbind pipe protocol with a Samba winbind server.
Homepage: http://www.samba.org
Original-Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>

Additionally I should mention that I am using Ubuntu 12.04 Server

HolgerBri

HolgerBri

2013-01-11 17:58

reporter   ~0005144

I found the reason and a workaround for this topic by comparing installed and by provision generated smb.conf. The original entries for server services and dcerpc endpoint servers are missing in generated smb.conf.

So (including openchange enhancements) global section has to contain:
[global]
workgroup = DOMAIN
realm = DOMAIN.LOCAL
netbios name = SAMBA
server role = active directory domain controller
passdb backend = samba4
server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, smb
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, mapiproxy, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver, winreg, srvsvc
dcerpc_mapiproxy:server = true
dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, exchange_ds_rfr

Regarding the samba4-client topics I will open a new bug

jraby

jraby

2013-02-05 19:47

viewer   ~0005344

Thanks for this, the documentation have been updated with a slightly different fix.

Instead of listing every dcerpc endpoint servers, use the following:
<pre>
dcerpc endpoint servers = +epmapper, +mapiproxy
</pre>

This will keep all the default services and add the 2 needed by openchange

Issue History

Date Modified Username Field Change
2013-01-08 21:00 HolgerBri New Issue
2013-01-09 17:32 ludovic Status new => assigned
2013-01-09 17:32 ludovic Assigned To => jraby
2013-01-11 09:05 HolgerBri Note Added: 0005131
2013-01-11 09:06 HolgerBri Note Edited: 0005131
2013-01-11 17:58 HolgerBri Note Added: 0005144
2013-02-05 19:47 jraby Note Added: 0005344
2013-02-05 19:47 jraby Status assigned => closed
2013-02-05 19:47 jraby Resolution open => fixed