CentOS and Samba4 Part I – Installation (Download, Compile, Install)

Currently I’am working on configuring Samba4 on my CentOS 5.5 Linux system. Here I would try to show the process of installation, configuration and running the Samba 🙂

Ok, first of all I installed a fresh CentOS system using the CentOS 5.5 NetInstall CD i386. During the setup process I have unchecked all options regarding what type of installation it would be (Desktop – Gnome, Desktop – KDE, Server… etc).

The next thing to do was to get the rpmforge repository working because we need git, so:

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

# rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt

# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

After that I was able to install git:

# yum install git

Now we have git installed. The next step was to choose were to pull samba4 repositories. I decided to pull them into /opt directory. So following the instructions from Samba website i did this:

# cd /opt

# git clone git://git.samba.org/samba.git samba-master; cd samba-master

After pulling all data from the server now is time to compile it. In Samba4 Howto we have information what recommended optional libraries it requires:

  • acl and xattr development libraries (libattr1-dev package in Debian/Ubuntu, libacl-devel Fedora/CentOS)
  • blkid development libraries (libblkid-dev package in Debian/Ubuntu, libblkid-devel in Fedora, e2fsprogs-devel in CentOS)
  • gnutls (libgnutls-dev package in Debian/Ubuntu, gnutls-devel in Fedora/CentOS)
  • readline (libreadline5-dev package in Debian/Ubuntu, readline-devel in Fedora/CentOS )
  • Python development libraries
  • (python-dev in Debian/Ubuntu, python-devel in Fedora/CentOS)
  • gdb in Fedora/Centos
  • pkgconfig in Fedora/CentOS

The original information is only for Debian/Ubuntu and in Samba4 Howto we have addidional information about Fedora installation. I have managed to work it under CentOS. Because of my fresh and clean installation of CentOS I am in need of  a c/c++ compiler – the gcc would do.

# yum install libacl-devel e2fsprogs-devel gnutls-devel readline-devel python-devel gdb pkgconfig gcc

After those libs got installed, I’ll have to go to the /source4 directory and done this:

# cd samba-master

# cd source4

# ./autogen-waf.sh

The autogen-waf.sh is configure script. We have to run it because only the released versions of Samba has a pre-generated configure script. Next is to do the configure think, but there we have to options: configure and configure.developer. The second option – configure.developer includes extra debug information if any problem occurs.

# cd samba-master

# cd source4

# ./configure.developer –with-dnsupdate –with-ldap –with-krb5

Ok, after that I have got some errors during the ./configure.developer operation – I don’t know what the problem is, besides currently I am out of time and I decided to download a tarball with the latest alpha release which is samba-4.0.0alpha14.tar.gz.

# cd /opt

# wget http://download.samba.org/samba/ftp/samba4/samba-4.0.0alpha14.tar.gz

# tar xvvf samba-4.0.0alpha14.tar.gz

# cd samba-4.0.0alpha14

# cd source4

# ./autogen-waf.sh

# ./configure.developer

# make

After few minutes the configure process ends successfully… and I can move on with the rest of the process. Maybe there is a problem in the Samba git repository… The default Samba setup defines the install directory to /usr/local/samba. Now the Samba4 howto says that they “recommend” to run the tests that validate our Samba build

# make quicktest

After that I wroted:

# make install

which installed me Samba in /usr/local/samba.

The Samba tree looks like this: [spoiler effect=”simple”]

samba/
|– bin
|   |– cifsdd
|   |– gentest
|   |– ldbadd
|   |– ldbdel
|   |– ldbedit
|   |– ldbmodify
|   |– ldbrename
|   |– ldbsearch
|   |– locktest
|   |– masktest
|   |– ndrdump
|   |– nmblookup
|   |– nsstest
|   |– ntlm_auth
|   |– oLschema2ldif
|   |– pidl
|   |– regdiff
|   |– regpatch
|   |– regshell
|   |– regtree
|   |– samba-tool
|   |– smbclient
|   |– smbtorture
|   |– tdbbackup
|   |– tdbdump
|   |– tdbrestore
|   |– tdbtool
|   |– testparm
|   -- wbinfo
|-- etc
|-- include
|   |-- charset.h
|   |-- core
|   |   |-- doserr.h
|   |   |-- error.h
|   |   |-- ntstatus.h
|   |  
— werror.h

|   |– credentials.h
|   |– dcerpc.h
|   |– dcerpc_server
|   |   -- common.h
|   |-- dcerpc_server.h
|   |-- dlinklist.h
|   |-- domain_credentials.h
|   |-- gen_ndr
|   |   |-- atsvc.h
|   |   |-- dcerpc.h
|   |   |-- epmapper.h
|   |   |-- lsa.h
|   |   |-- mgmt.h
|   |   |-- misc.h
|   |   |-- nbt.h
|   |   |-- ndr_atsvc.h
|   |   |-- ndr_atsvc_c.h
|   |   |-- ndr_dcerpc.h
|   |   |-- ndr_epmapper.h
|   |   |-- ndr_epmapper_c.h
|   |   |-- ndr_mgmt.h
|   |   |-- ndr_mgmt_c.h
|   |   |-- ndr_misc.h
|   |   |-- ndr_samr.h
|   |   |-- ndr_samr_c.h
|   |   |-- ndr_svcctl.h
|   |   |-- ndr_svcctl_c.h
|   |   |-- netlogon.h
|   |   |-- samr.h
|   |   |-- security.h
|   |   |-- server_id.h
|   |  
— svcctl.h
|   |– gensec.h
|   |– ldap-util.h
|   |– ldap_errors.h
|   |– ldap_message.h
|   |– ldap_ndr.h
|   |– ldb.h
|   |– ldb_errors.h
|   |– ldb_handlers.h
|   |   |– popt.h
|   |   |– session.h
|   |   -- version.h
|   |-- share.h
|   |-- tdb_wrap.h
|   |-- tdr.h
|   |-- torture.h
|   |-- tsocket.h
|   |-- tsocket_internal.h
|   |-- util
|   |   |-- attr.h
|   |   |-- byteorder.h
|   |   |-- data_blob.h
|   |   |-- debug.h
|   |   |-- memory.h
|   |   |-- safe_string.h
|   |   |-- talloc_stack.h
|   |   |-- tevent_ntstatus.h
|   |   |-- tevent_unix.h
|   |   |-- tevent_werror.h
|   |   |-- time.h
|   |  
— xfile.h
|   |– util.h
|   |– util_ldb.h
|   -- wbclient.h
|-- lib
|   |-- libdcerpc-atsvc.so -> libdcerpc-atsvc.so.0.0.1
|   |-- libdcerpc-atsvc.so.0 -> libdcerpc-atsvc.so.0.0.1
|   |-- libdcerpc-atsvc.so.0.0.1
|   |-- libdcerpc-samr.so -> libdcerpc-samr.so.0.0.1
|   |-- libdcerpc-samr.so.0 -> libdcerpc-samr.so.0.0.1
|   |-- libdcerpc-samr.so.0.0.1
|   |-- libdcerpc-server.so -> libdcerpc-server.so.0.0.1
|   |-- libdcerpc-server.so.0 -> libdcerpc-server.so.0.0.1
|   |-- libdcerpc-server.so.0.0.1
|   |-- libdcerpc.so -> libdcerpc.so.0.0.1
|   |-- libdcerpc.so.0 -> libdcerpc.so.0.0.1
|   |-- libdcerpc.so.0.0.1
|   |-- libgensec.so -> libgensec.so.0.0.1
|   |-- libgensec.so.0 -> libgensec.so.0.0.1
|   |-- libgensec.so.0.0.1
|   |-- libndr-standard.so -> libndr-standard.so.0.0.1
|   |-- libndr-standard.so.0 -> libndr-standard.so.0.0.1
|   |-- libndr-standard.so.0.0.1
|   |-- libndr.so -> libndr.so.0.0.1
|   |-- libndr.so.0 -> libndr.so.0.0.1
|   |-- libndr.so.0.0.1
|   |-- libnss_winbind.so.2
|   |-- libpolicy.so -> libpolicy.so.0.0.1
|   |-- libpolicy.so.0 -> libpolicy.so.0.0.1
|   |-- libpolicy.so.0.0.1
|   |-- libregistry.so -> libregistry.so.0.0.1
|   |-- libregistry.so.0 -> libregistry.so.0.0.1
|   |-- libregistry.so.0.0.1
|   |-- libsamba-hostconfig.so -> libsamba-hostconfig.so.0.0.1
|   |-- libsamba-hostconfig.so.0 -> libsamba-hostconfig.so.0.0.1
|   |-- libsamba-hostconfig.so.0.0.1
|   |-- libsamba-util.so -> libsamba-util.so.0.0.1
|   |-- libsamba-util.so.0 -> libsamba-util.so.0.0.1
|   |-- libsamba-util.so.0.0.1
|   |-- libsamdb.so -> libsamdb.so.0.0.1
|   |-- libsamdb.so.0 -> libsamdb.so.0.0.1
|   |-- libsamdb.so.0.0.1
|   |-- libtorture.so -> libtorture.so.0.0.1
|   |-- libtorture.so.0 -> libtorture.so.0.0.1
|   |-- libtorture.so.0.0.1
|   |-- mit_samba.so
|   |-- pkgconfig
|   |   |-- dcerpc.pc
|   |   |-- dcerpc_atsvc.pc
|   |   |-- dcerpc_samr.pc
|   |   |-- dcerpc_server.pc
|   |   |-- gensec.pc
|   |   |-- ldb.pc
|   |   |-- ndr.pc
|   |   |-- ndr_standard.pc
|   |   |-- policy.pc
|   |   |-- pyldb-util.pc
|   |   |-- registry.pc
|   |   |-- samba-hostconfig.pc
|   |   |-- samba-util.pc
|   |   |-- samdb.pc
|   |  
— torture.pc
|   |– python2.4
|   |   -- site-packages
|   |       |-- _tevent.so
|   |       |-- ldb.so
|   |       |-- samba
|   |       |   |-- __init__.py
|   |       |   |-- _glue.so
|   |       |   |-- _ldb.so
|   |       |   |-- auth.so
|   |       |   |-- com.so
|   |       |   |-- credentials.so
|   |       |   |-- dcerpc
|   |       |   |   |-- __init__.py
|   |       |   |   |-- atsvc.so
|   |       |   |   |-- base.so
|   |       |   |   |-- dfs.so
|   |       |   |   |-- drsblobs.so
|   |       |   |   |-- drsuapi.so
|   |       |   |   |-- echo.so
|   |       |   |   |-- epmapper.so
|   |       |   |   |-- idmap.so
|   |       |   |   |-- initshutdown.so
|   |       |   |   |-- irpc.so
|   |       |   |   |-- lsa.so
|   |       |   |   |-- mgmt.so
|   |       |   |   |-- misc.so
|   |       |   |   |-- nbt.so
|   |       |   |   |-- netlogon.so
|   |       |   |   |-- samr.so
|   |       |   |   |-- security.so
|   |       |   |   |-- srvsvc.so
|   |       |   |   |-- svcctl.so
|   |       |   |   |-- unixinfo.so
|   |       |   |   |-- winbind.so
|   |       |   |   |-- winreg.so
|   |       |   |   |-- wkssvc.so
|   |       |   |  
— xattr.so
|   |       |   |– drs_utils.py
|   |       |   |– dsdb.so
|   |       |   |– external
|   |       |   |   |– __init__.py
|   |       |   |   |– dns
|   |       |   |   |   |– __init__.py
|   |       |   |   |   |– dnssec.py
|   |       |   |   |   |– e164.py
|   |       |   |   |   |– edns.py
|   |       |   |   |   |– entropy.py
|   |       |   |   |   |– exception.py
|   |       |   |   |   |– flags.py
|   |       |   |   |   |– hash.py
|   |       |   |   |   |– inet.py
|   |       |   |   |   |– ipv4.py
|   |       |   |   |   |– ipv6.py
|   |       |   |   |   |– message.py
|   |       |   |   |   |– name.py
|   |       |   |   |   |– namedict.py
|   |       |   |   |   |– node.py
|   |       |   |   |   |– opcode.py
|   |       |   |   |   |– query.py
|   |       |   |   |   |– rcode.py
|   |       |   |   |   |– rdata.py
|   |       |   |   |   |– rdataclass.py
|   |       |   |   |   |– rdataset.py
|   |       |   |   |   |– rdatatype.py
|   |       |   |   |   |– rdtypes
|   |       |   |   |   |   |– ANY
|   |       |   |   |   |   |   |– AFSDB.py
|   |       |   |   |   |   |   |– CERT.py
|   |       |   |   |   |   |   |– CNAME.py
|   |       |   |   |   |   |   |– DLV.py
|   |       |   |   |   |   |   |– DNAME.py
|   |       |   |   |   |   |   |– DNSKEY.py
|   |       |   |   |   |   |   |– DS.py
|   |       |   |   |   |   |   |– GPOS.py
|   |       |   |   |   |   |   |– HINFO.py
|   |       |   |   |   |   |   |– HIP.py
|   |       |   |   |   |   |   |– ISDN.py
|   |       |   |   |   |   |   |– KEY.py
|   |       |   |   |   |   |   |– LOC.py
|   |       |   |   |   |   |   |– MX.py
|   |       |   |   |   |   |   |– NS.py
|   |       |   |   |   |   |   |– NSEC.py
|   |       |   |   |   |   |   |– NSEC3.py
|   |       |   |   |   |   |   |– NSEC3PARAM.py
|   |       |   |   |   |   |   |– NXT.py
|   |       |   |   |   |   |   |– PTR.py
|   |       |   |   |   |   |   |– RP.py
|   |       |   |   |   |   |   |– RRSIG.py
|   |       |   |   |   |   |   |– RT.py
|   |       |   |   |   |   |   |– SIG.py
|   |       |   |   |   |   |   |– SOA.py
|   |       |   |   |   |   |   |– SPF.py
|   |       |   |   |   |   |   |– SSHFP.py
|   |       |   |   |   |   |   |– TXT.py
|   |       |   |   |   |   |   |– X25.py
|   |       |   |   |   |   |   -- __init__.py
|   |       |   |   |   |   |-- IN
|   |       |   |   |   |   |   |-- A.py
|   |       |   |   |   |   |   |-- AAAA.py
|   |       |   |   |   |   |   |-- APL.py
|   |       |   |   |   |   |   |-- DHCID.py
|   |       |   |   |   |   |   |-- IPSECKEY.py
|   |       |   |   |   |   |   |-- KX.py
|   |       |   |   |   |   |   |-- NAPTR.py
|   |       |   |   |   |   |   |-- NSAP.py
|   |       |   |   |   |   |   |-- NSAP_PTR.py
|   |       |   |   |   |   |   |-- PX.py
|   |       |   |   |   |   |   |-- SRV.py
|   |       |   |   |   |   |   |-- WKS.py
|   |       |   |   |   |   |  
— __init__.py
|   |       |   |   |   |   |– __init__.py
|   |       |   |   |   |   |– dsbase.py
|   |       |   |   |   |   |– keybase.py
|   |       |   |   |   |   |– mxbase.py
|   |       |   |   |   |   |– nsbase.py
|   |       |   |   |   |   |– sigbase.py
|   |       |   |   |   |   -- txtbase.py
|   |       |   |   |   |-- renderer.py
|   |       |   |   |   |-- resolver.py
|   |       |   |   |   |-- reversename.py
|   |       |   |   |   |-- rrset.py
|   |       |   |   |   |-- set.py
|   |       |   |   |   |-- tokenizer.py
|   |       |   |   |   |-- tsig.py
|   |       |   |   |   |-- tsigkeyring.py
|   |       |   |   |   |-- ttl.py
|   |       |   |   |   |-- update.py
|   |       |   |   |   |-- version.py
|   |       |   |   |  
— zone.py
|   |       |   |   |– subunit
|   |       |   |   |   |– __init__.py
|   |       |   |   |   |– chunked.py
|   |       |   |   |   |– details.py
|   |       |   |   |   |– iso8601.py
|   |       |   |   |   |– progress_model.py
|   |       |   |   |   |– run.py
|   |       |   |   |   |– test_results.py
|   |       |   |   |   -- tests
|   |       |   |   |       |-- TestUtil.py
|   |       |   |   |       |-- __init__.py
|   |       |   |   |       |-- sample-script.py
|   |       |   |   |       |-- sample-two-script.py
|   |       |   |   |       |-- test_chunked.py
|   |       |   |   |       |-- test_details.py
|   |       |   |   |       |-- test_progress_model.py
|   |       |   |   |       |-- test_subunit_filter.py
|   |       |   |   |       |-- test_subunit_stats.py
|   |       |   |   |       |-- test_subunit_tags.py
|   |       |   |   |       |-- test_tap2subunit.py
|   |       |   |   |       |-- test_test_protocol.py
|   |       |   |   |      
— test_test_results.py
|   |       |   |   -- testtools
|   |       |   |       |-- __init__.py
|   |       |   |       |-- _spinner.py
|   |       |   |       |-- compat.py
|   |       |   |       |-- content.py
|   |       |   |       |-- content_type.py
|   |       |   |       |-- deferredruntest.py
|   |       |   |       |-- helpers.py
|   |       |   |       |-- matchers.py
|   |       |   |       |-- monkey.py
|   |       |   |       |-- run.py
|   |       |   |       |-- runtest.py
|   |       |   |       |-- testcase.py
|   |       |   |       |-- testresult
|   |       |   |       |   |-- __init__.py
|   |       |   |       |   |-- doubles.py
|   |       |   |       |  
— real.py
|   |       |   |       |– tests
|   |       |   |       |   |– __init__.py
|   |       |   |       |   |– helpers.py
|   |       |   |       |   |– test_compat.py
|   |       |   |       |   |– test_content.py
|   |       |   |       |   |– test_content_type.py
|   |       |   |       |   |– test_deferredruntest.py
|   |       |   |       |   |– test_fixturesupport.py
|   |       |   |       |   |– test_helpers.py
|   |       |   |       |   |– test_matchers.py
|   |       |   |       |   |– test_monkey.py
|   |       |   |       |   |– test_run.py
|   |       |   |       |   |– test_runtest.py
|   |       |   |       |   |– test_spinner.py
|   |       |   |       |   |– test_testresult.py
|   |       |   |       |   |– test_testsuite.py
|   |       |   |       |   -- test_testtools.py
|   |       |   |       |-- testsuite.py
|   |       |   |      
— utils.py
|   |       |   |– gensec.so
|   |       |   |– getopt.py
|   |       |   |– hostconfig.py
|   |       |   |– idmap.py
|   |       |   |– join.py
|   |       |   |– messaging.so
|   |       |   |– ms_display_specifiers.py
|   |       |   |– ms_schema.py
|   |       |   |– ndr.py
|   |       |   |– net.so
|   |       |   |– netbios.so
|   |       |   |– netcmd
|   |       |   |   |– __init__.py
|   |       |   |   |– common.py
|   |       |   |   |– domainlevel.py
|   |       |   |   |– drs.py
|   |       |   |   |– dsacl.py
|   |       |   |   |– enableaccount.py
|   |       |   |   |– export.py
|   |       |   |   |– fsmo.py
|   |       |   |   |– gpo.py
|   |       |   |   |– group.py
|   |       |   |   |– join.py
|   |       |   |   |– ldapcmp.py
|   |       |   |   |– machinepw.py
|   |       |   |   |– netacl.py
|   |       |   |   |– newuser.py
|   |       |   |   |– ntacl.py
|   |       |   |   |– pwsettings.py
|   |       |   |   |– rodc.py
|   |       |   |   |– setexpiry.py
|   |       |   |   |– setpassword.py
|   |       |   |   |– spn.py
|   |       |   |   |– time.py
|   |       |   |   |– user.py
|   |       |   |   -- vampire.py
|   |       |   |-- ntacls.py
|   |       |   |-- param.so
|   |       |   |-- policy.so
|   |       |   |-- provision
|   |       |   |   |-- __init__.py
|   |       |   |  
— backend.py
|   |       |   |– registry.so
|   |       |   |– samba3.py
|   |       |   |– samdb.py
|   |       |   |– schema.py
|   |       |   |– sd_utils.py
|   |       |   |– tests
|   |       |   |   |– __init__.py
|   |       |   |   |– auth.py
|   |       |   |   |– blackbox
|   |       |   |   |   |– __init__.py
|   |       |   |   |   -- ndrdump.py
|   |       |   |   |-- core.py
|   |       |   |   |-- credentials.py
|   |       |   |   |-- dcerpc
|   |       |   |   |   |-- __init__.py
|   |       |   |   |   |-- bare.py
|   |       |   |   |   |-- misc.py
|   |       |   |   |   |-- registry.py
|   |       |   |   |   |-- rpc_talloc.py
|   |       |   |   |   |-- rpcecho.py
|   |       |   |   |   |-- sam.py
|   |       |   |   |   |-- testrpc.py
|   |       |   |   |  
— unix.py
|   |       |   |   |– dsdb.py
|   |       |   |   |– gensec.py
|   |       |   |   |– hostconfig.py
|   |       |   |   |– messaging.py
|   |       |   |   |– netcmd.py
|   |       |   |   |– ntacls.py
|   |       |   |   |– param.py
|   |       |   |   |– provision.py
|   |       |   |   |– registry.py
|   |       |   |   |– samba3.py
|   |       |   |   |– samba3sam.py
|   |       |   |   |– samdb.py
|   |       |   |   |– security.py
|   |       |   |   |– upgrade.py
|   |       |   |   |– upgradeprovision.py
|   |       |   |   |– upgradeprovisionneeddc.py
|   |       |   |   -- xattr.py
|   |       |   |-- upgrade.py
|   |       |   |-- upgradehelpers.py
|   |       |   |-- xattr_native.so
|   |       |  
— xattr_tdb.so
|   |       |– talloc.so
|   |       |– tdb.so
|   |       -- uuid.so
|  
— samba
|       |– libasn1-samba4.so.8 -> libasn1-samba4.so.8.0.0
|       |– libasn1-samba4.so.8.0.0
|       |– libauth-samba4.so
|       |– libauthkrb5-samba4.so
|       |– libcli-ldap-samba4.so
|       |– libcli-nbt-samba4.so
|       |– libcluster-samba4.so
|       |– libcmdline-credentials-samba4.so
|       |– libcom_err-samba4.so.0 -> libcom_err-samba4.so.0.25
|       |– libcom_err-samba4.so.0.25
|       |– libcredentials-samba4.so
|       |– libdb-glue-samba4.so
|       |– libdcerpc-samba-samba4.so
|       |– libdcerpc-samba4-samba4.so
|       |– libdlz_bind9-samba4.so
|       |– libdsdb-module-samba4.so
|       |– liberrors-samba4.so
|       |– libevents-samba4.so
|       |– libgssapi-samba4.so.2 -> libgssapi-samba4.so.2.0.0
|       |– libgssapi-samba4.so.2.0.0
|       |– libhcrypto-samba4.so.5 -> libhcrypto-samba4.so.5.0.1
|       |– libhcrypto-samba4.so.5.0.1
|       |– libhdb-samba4.so.11 -> libhdb-samba4.so.11.0.2
|       |– libhdb-samba4.so.11.0.2
|       |– libheimbase-samba4.so.1 -> libheimbase-samba4.so.1.0.0
|       |– libheimbase-samba4.so.1.0.0
|       |– libheimntlm-samba4.so.1 -> libheimntlm-samba4.so.1.0.1
|       |– libheimntlm-samba4.so.1.0.1
|       |– libhx509-samba4.so.5 -> libhx509-samba4.so.5.0.0
|       |– libhx509-samba4.so.5.0.0
|       |– libkdc-policy-samba4.so
|       |– libkdc-samba4.so.2 -> libkdc-samba4.so.2.0.0
|       |– libkdc-samba4.so.2.0.0
|       |– libkrb5-samba4.so.26 -> libkrb5-samba4.so.26.0.0
|       |– libkrb5-samba4.so.26.0.0
|       |– libldb-cmdline-samba4.so
|       |– libldb-samba4.so.0 -> libldb-samba4.so.0.9.22
|       |– libldb-samba4.so.0.9.22
|       |– libldbsamba-samba4.so
|       |– libndr-samba-samba4.so
|       |– libndr-samba4-samba4.so
|       |– libnetif-samba4.so
|       |– libnss_wrapper-samba4.so
|       |– libntvfs-samba4.so
|       |– libpac-samba4.so
|       |– libprocess_model-samba4.so
|       |– libpyldb-util-samba4.so.0 -> libpyldb-util-samba4.so.0.9.22
|       |– libpyldb-util-samba4.so.0.9.22
|       |– libpytalloc-util-samba4.so.2 -> libpytalloc-util-samba4.so.2.0.4
|       |– libpytalloc-util-samba4.so.2.0.4
|       |– libreplace-samba4.so
|       |– libroken-samba4.so.19 -> libroken-samba4.so.19.0.1
|       |– libroken-samba4.so.19.0.1
|       |– libsamba-net-samba4.so
|       |– libsamba-sockets-samba4.so
|       |– libsamba_python-samba4.so
|       |– libsamdb-common-samba4.so
|       |– libsecurity-samba4.so
|       |– libsecurity-session-samba4.so
|       |– libservice-samba4.so
|       |– libshares-samba4.so
|       |– libsmbpasswd-samba4.so
|       |– libsocket_wrapper-samba4.so
|       |– libsubunit-samba4.so
|       |– libtalloc-samba4.so.2 -> libtalloc-samba4.so.2.0.4
|       |– libtalloc-samba4.so.2.0.4
|       |– libtdb-samba4.so.1 -> libtdb-samba4.so.1.2.8
|       |– libtdb-samba4.so.1.2.8
|       |– libtdb-wrap-samba4.so
|       |– libtevent-samba4.so.0 -> libtevent-samba4.so.0.9.10
|       |– libtevent-samba4.so.0.9.10
|       |– libuid_wrapper-samba4.so
|       |– libwbclient-samba4.so
|       |– libwinbind-client-samba4.so
|       |– libwind-samba4.so.0 -> libwind-samba4.so.0.0.0
|       |– libwind-samba4.so.0.0.0
|       -- libwrap_xattr-samba4.so
|-- modules
|   |-- gensec
|   |  
— krb5.so
|   |– ldb
|   |   |– acl.so
|   |   |– aclread.so
|   |   |– anr.so
|   |   |– asq.so
|   |   |– descriptor.so
|   |   |– extended_dn_in.so
|   |   |– extended_dn_out.so
|   |   |– extended_dn_store.so
|   |   |– ildap.so
|   |   |– instancetype.so
|   |   |– lazy_commit.so
|   |   |– ldbsamba_extensions.so
|   |   |– linked_attributes.so
|   |   |– local_password.so
|   |   |– naming_fsmo.so
|   |   |– new_partition.so
|   |   |– objectclass.so
|   |   |– objectclass_attrs.so
|   |   |– objectguid.so
|   |   |– operational.so
|   |   |– paged_results.so
|   |   |– paged_searches.so
|   |   |– partition.so
|   |   |– password_hash.so
|   |   |– pdc_fsmo.so
|   |   |– ranged_results.so
|   |   |– rdn_name.so
|   |   |– repl_meta_data.so
|   |   |– resolve_oids.so
|   |   |– rootdse.so
|   |   |– samba3sam.so
|   |   |– samba3sid.so
|   |   |– samba_dsdb.so
|   |   |– samba_secrets.so
|   |   |– samldb.so
|   |   |– sample.so
|   |   |– schema_data.so
|   |   |– schema_load.so
|   |   |– server_sort.so
|   |   |– show_deleted.so
|   |   |– simple_dn.so
|   |   |– simple_ldap_map.so
|   |   |– skel.so
|   |   |– subtree_delete.so
|   |   |– subtree_rename.so
|   |   |– tdb.so
|   |   |– update_keytab.so
|   |   -- wins_ldb.so
|   |-- process_model
|   |   |-- onefork.so
|   |   |-- prefork.so
|   |  
— standard.so
|   -- service
|       |-- cldap.so
|       |-- dcerpc.so
|       |-- dns.so
|       |-- dns_update.so
|       |-- drepl.so
|       |-- kcc.so
|       |-- kdc.so
|       |-- ldap.so
|       |-- nbtd.so
|       |-- ntp_signd.so
|       |-- samba3_smb.so
|       |-- smb.so
|       |-- web.so
|       |-- winbind.so
|      
— wrepl.so
|– private
|   -- smbd.tmp
|      
— messaging
|– sbin
|   |– provision
|   |– samba
|   |– samba_dnsupdate
|   |– samba_spnupdate
|   -- upgradeprovision
|-- share
|   |-- lowcase.dat
|   |-- man
|   |   |-- man1
|   |   |  
— pidl.1
|   |   -- man3
|   |       |-- Parse::Pidl::Dump.3pm
|   |       |-- Parse::Pidl::NDR.3pm
|   |       |-- Parse::Pidl::Util.3pm
|   |       |-- Parse::Pidl::Wireshark::Conformance.3pm
|   |      
— Parse::Pidl::Wireshark::NDR.3pm
|   |– perl5
|   |   -- Parse
|   |       |-- Pidl
|   |       |   |-- CUtil.pm
|   |       |   |-- Compat.pm
|   |       |   |-- Dump.pm
|   |       |   |-- Expr.pm
|   |       |   |-- IDL.pm
|   |       |   |-- NDR.pm
|   |       |   |-- ODL.pm
|   |       |   |-- Samba3
|   |       |   |   |-- ClientNDR.pm
|   |       |   |  
— ServerNDR.pm
|   |       |   |– Samba4
|   |       |   |   |– COM
|   |       |   |   |   |– Header.pm
|   |       |   |   |   |– Proxy.pm
|   |       |   |   |   -- Stub.pm
|   |       |   |   |-- Header.pm
|   |       |   |   |-- NDR
|   |       |   |   |   |-- Client.pm
|   |       |   |   |   |-- Parser.pm
|   |       |   |   |  
— Server.pm
|   |       |   |   |– Python.pm
|   |       |   |   |– TDR.pm
|   |       |   |   -- Template.pm
|   |       |   |-- Samba4.pm
|   |       |   |-- Typelist.pm
|   |       |   |-- Util.pm
|   |       |  
— Wireshark
|   |       |       |– Conformance.pm
|   |       |       -- NDR.pm
|   |       |-- Pidl.pm
|   |      
— Yapp
|   |           -- Driver.pm
|   |-- setup
|   |   |-- DB_CONFIG
|   |   |-- ad-schema
|   |   |   |-- MS-AD_Schema_2K8_Attributes.txt
|   |   |   |-- MS-AD_Schema_2K8_Classes.txt
|   |   |   |-- MS-AD_Schema_2K8_R2_Attributes.txt
|   |   |   |-- MS-AD_Schema_2K8_R2_Classes.txt
|   |   |  
— licence.txt
|   |   |– aggregate_schema.ldif
|   |   |– cn=replicator.ldif
|   |   |– cn=samba-admin.ldif
|   |   |– cn=samba.ldif
|   |   |– display-specifiers
|   |   |   |– DisplaySpecifiers-Win2k0.txt
|   |   |   |– DisplaySpecifiers-Win2k3.txt
|   |   |   |– DisplaySpecifiers-Win2k3R2.txt
|   |   |   |– DisplaySpecifiers-Win2k8.txt
|   |   |   -- DisplaySpecifiers-Win2k8R2.txt
|   |   |-- dns_update_list
|   |   |-- fedora-ds-init.ldif
|   |   |-- fedorads-dna.ldif
|   |   |-- fedorads-index.ldif
|   |   |-- fedorads-linked-attributes.ldif
|   |   |-- fedorads-pam.ldif
|   |   |-- fedorads-partitions.ldif
|   |   |-- fedorads-refint-add.ldif
|   |   |-- fedorads-refint-delete.ldif
|   |   |-- fedorads-samba.ldif
|   |   |-- fedorads-sasl.ldif
|   |   |-- fedorads.inf
|   |   |-- idmap_init.ldif
|   |   |-- krb5.conf
|   |   |-- memberof.conf
|   |   |-- mmr_serverids.conf
|   |   |-- mmr_syncrepl.conf
|   |   |-- modules.conf
|   |   |-- named.conf
|   |   |-- named.conf.update
|   |   |-- named.txt
|   |   |-- olc_mmr.conf
|   |   |-- olc_seed.ldif
|   |   |-- olc_serverid.conf
|   |   |-- olc_syncrepl.conf
|   |   |-- olc_syncrepl_seed.conf
|   |   |-- phpldapadmin-config.php
|   |   |-- prefixMap.txt
|   |   |-- provision.ldif
|   |   |-- provision.reg
|   |   |-- provision.smb.conf.dc
|   |   |-- provision.smb.conf.member
|   |   |-- provision.smb.conf.standalone
|   |   |-- provision.zone
|   |   |-- provision_basedn.ldif
|   |   |-- provision_basedn_modify.ldif
|   |   |-- provision_basedn_references.ldif
|   |   |-- provision_computers_add.ldif
|   |   |-- provision_computers_modify.ldif
|   |   |-- provision_configuration.ldif
|   |   |-- provision_configuration_basedn.ldif
|   |   |-- provision_configuration_references.ldif
|   |   |-- provision_dns_add.ldif
|   |   |-- provision_group_policy.ldif
|   |   |-- provision_init.ldif
|   |   |-- provision_partitions.ldif
|   |   |-- provision_privilege.ldif
|   |   |-- provision_rootdse_add.ldif
|   |   |-- provision_rootdse_modify.ldif
|   |   |-- provision_schema_basedn.ldif
|   |   |-- provision_schema_basedn_modify.ldif
|   |   |-- provision_self_join.ldif
|   |   |-- provision_self_join_modify.ldif
|   |   |-- provision_users.ldif
|   |   |-- provision_users_add.ldif
|   |   |-- provision_users_modify.ldif
|   |   |-- refint.conf
|   |   |-- schema-map-fedora-ds-1.0
|   |   |-- schema-map-openldap-2.3
|   |   |-- schema_samba4.ldif
|   |   |-- secrets.ldif
|   |   |-- secrets_dns.ldif
|   |   |-- secrets_init.ldif
|   |   |-- secrets_sasl_ldap.ldif
|   |   |-- secrets_simple_ldap.ldif
|   |   |-- share.ldif
|   |   |-- slapd.conf
|   |  
— spn_update_list
|   |– upcase.dat
|   -- valid.dat
— var
|– lib
|– locks
`– run[/spoiler]

It’s a veeeery long tree 🙂

So – now we have compiled and installed our Samba4 server.

1 Comment

  1. hi , thanks for the DOC.

    i want to knoe the procedure to install samba4 without DC. i want to install pure file server with SAMBA4. is it possible please help me here.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

This website stores some user agent data. These data are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to opt-out of any future tracking, a cookie will be set up in your browser to remember this choice for one year. I Agree, Deny
646