Join samba 4.1.7 as member server issues

Daniele Dario d.dario76 at gmail.com
Wed May 7 09:16:21 MDT 2014


Hi list,
I'm trying to join a new server (samba 4.1.7) on a samba AD domain which
has 2 samba 4.1.0 AD DCs.

I started from the wiki page "Setup a Samba AD Member Server" and I'm
using the tarball of 4.1.7 sources downloaded from samba repository but
after the "Build Samba" step I start having issues.

1st: would it be possible that when I run make install the process
created also /etc/samba/{smb.conf,gdbcommands}? If yes which would be
the conf file used? The one in /etc/samba or the one
in /usr/local/samba/etc?

BTW this is my smb.conf (in both folders)

[global]

   netbios name = SRV03
   workgroup = SAITEL
   security = ADS
   realm = SAITEL.LOC
   encrypt passwords = yes
   password server = KDC01 KDC02

   idmap config *:backend = tdb
   idmap config *:range = 70001-80000
   idmap config SAITEL:backend = ad
   idmap config SAITEL:schema_mode = rfc2307
   idmap config SAITEL:range = 500-40000

   winbind nss info = rfc2307
   winbind trusted domains only = no
   winbind use default domain = yes
   winbind enum users  = yes
   winbind enum groups = yes

2nd: joining the domain has to be done before to start the daemons am I
right?

# net ads join -U administrator
Enter administrator's password:
Using short domain name -- SAITEL
Joined 'SRV03' to realm 'saitel.loc'
No DNS domain configured for srv03. Unable to perform DNS Update.
DNS update failed!

>From now on everything is wrong.
I try to start smbd, nmbd using the script from the wiki (will signal
that the script does not start winbindd automatically so need to
understand if it would start in another way or something is missing)
bit wbinfo -u nor wbinfo -g don't produce any output.

Can somebody point me out in what I'm doing wrong?

Thanks in advance,
Daniele.



More information about the samba-technical mailing list