[Samba] Problems joining station in domain

Marcio Demetrio Bacci marciobacci at gmail.com
Mon Aug 26 19:05:00 UTC 2019


Hi,

>How are you trying to join the computer ?

>What exact command are you using ?

I am using the graphical interface of the Windows client station.
System->Advanced Settings ->Computer Name ->Change

Then I enter the member of: EMPRESA (or EMPRESA.COM.BR), my admin username
and password.

cat /etc/samba/smb.conf

# Global parameters
[global]
netbios name = SAMBA4-DC1
realm = EMPRESA.COM.BR
workgroup = EMPRESA
server role = active directory domain controller
dns forwarder = 192.168.1.1 192.168.1.2
dns update command = /usr/sbin/samba_dnsupdate --use-samba-tool
ldap server require strong auth = no

[netlogon]
path = /var/lib/samba/sysvol/empresa.com.br/scripts
read only = No

[sysvol]
path = /var/lib/samba/sysvol
read only = No

It seems that the problem is intermittent. Now it works, now it doesn't work

Regards,

Márcio Bacci

Em seg, 26 de ago de 2019 às 15:49, Rowland penny via samba <
samba at lists.samba.org> escreveu:

> On 26/08/2019 19:35, Marcio Demetrio Bacci via samba wrote:
> > Hi,
> >
> > I'm having trouble entering stations in the domain, as message below:
> >
> > "
> >
> > *error while attempting to join domain "EMPRESA"security id structure is
> > invalid*"
> >
> > In the log I see the following message:
> >
> > tail -f /var/log/samba/log.samba
> > [2019/08/26 15:17:12.206883,  0]
> > ../source4/dsdb/common/util_samr.c:192(dsdb_add_user)
> >    Failed to create user record
> > CN=COMP0084,CN=Computers,DC=empresa,DC=com,DC=br: acl: unable to get
> access
> > to CN=COMP0084,CN=Computers,DC=empresa,DC=com,DC=br
> >
> > My user is Administrator and before was working.
> >
> > The station is Windows 7 Professional and my DCs are Samba 4.
> >
> > How could you solve this problem?
> >
> > Regards,
> >
> > Márcio Bacci
>
> How are you trying to join the computer ?
>
> What exact command are you using ?
>
> Can you post the smb.conf from the DC
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list