[Samba] Samba4 as BDC on a Win2003 AD_PDC
Rowland Penny
rowlandpenny at googlemail.com
Thu Oct 9 10:29:04 MDT 2014
On 09/10/14 16:21, Daniel ATUALIZEM TENHO NOVO MSN wrote:
> That's all smb.conf. It was auto generated and have no changes after
> the join DC step.
>
> root at alpha020v:~# cat /etc/samba/smb.conf
> # Global parameters
> [global]
> workgroup = ITEMNT
> realm = ITEMNT
> netbios name = ALPHA020V
> server role = active directory domain controller
>
> [netlogon]
> path = /var/lib/samba/sysvol/itemnt/scripts
> read only = No
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
>
>
>
> > Date: Thu, 9 Oct 2014 14:36:25 +0100
> > From: rowlandpenny at googlemail.com
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] Samba4 as BDC on a Win2003 AD_PDC
> >
> > On 09/10/14 13:43, Daniel ATUALIZEM TENHO NOVO MSN wrote:
> > > HI,
> > > I have a Windows 2003 as AD PDC.
> > > My intention is disable this Windows and use Samba4 instead.
> > >
> > > I have compiled Samba 4.1.12 on Debian 7 without problems.
> > >
> > > I followed Samba Wiki to Join this machine to Win domain, without
> to do the Samba4 provision steps, as mentioned.
> > >
> > > The join process occurs without errors and all strutcture of
> Wind2003 was replicated to Samba4. All modifications done on Windows
> 2003 are updated to Samba 4.
> > >
> > > But, using RSAT to conect to Samba4, I can't create or delete new
> users or groups. I receive this message on RSAT:
> > >
> > > "The server is unwilling to process the request"
> > >
> > > This is the output on log.samba when I try to create or modify an
> user by RSAT connected on Samba 4
> > >
> > > [2014/10/09 09:36:29.901189, 0]
> ../source4/dsdb/repl/drepl_ridalloc.c:43(drepl_new_rid_pool_callback)
> > > ../source4/dsdb/repl/drepl_ridalloc.c:43: RID Manager failed RID
> allocation - WERR_NO_LOGON_SERVERS - extended_ret[0x0]
> > >
> > >
> > > And, this message is output on log.samba all the time:
> > >
> > > [2014/10/09 09:37:00.527471, 0]
> ../source4/librpc/rpc/dcerpc_util.c:681(dcerpc_pipe_auth_recv)
> > > Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for
> e3514235-4b06-11d1-ab04-00c04fc2dcd2 at ncacn_ip_tcp:e50ee076-7a81-4616-aace-c18b350b7d4d._msdcs.ITEMNT[1025,seal,krb5]
> NT_STATUS_NO_LOGON_SERVERS
> > >
> > > I need a help to solve this issue.
> > >
> > > I want to change Wind2003 AD to Samba4 AD by:
> > > 1 - using Samba4 as secondary to get all users from Windows;
> > > 2 - testing Samba4 to create, modify and delete users, and
> replicate to Windows 2003;
> > > 3 - If step 2 pass, I wanto to "promote" samba 4 as primary DC and
> turning off Windows 2003;
> > > 4 - I will create a new samba4 to use as secondary DC.
> > >
> > > Thanks for any help!
> > >
> > >
> > >
> > Hi, if I understand you correctly, you have have joined your samba4
> > machine to your windows domain as another DC. I think to try and help
> > you sort out your problem you are going to have to post the smb.conf
> > from the samba4 DC.
> >
> > Rowland
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
That was quick ;-)
It seems ok, only thing that I would add is:
idmap_ldb:use rfc2307 = yes
Can you also check that the file /etc/resolv.conf points the nameserver
to itself i.e. the 'nameserver' line has either your samba4's ipaddress
or 127.0.0.1.
What is in /etc/krb5.conf ?
Rowland
More information about the samba
mailing list