[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND

L.P.H. van Belle belle at bazuin.nl
Tue May 25 13:15:14 UTC 2021


These configs looks fine. 

Just.. i would add : search $(hostname -d) to the resolv.conf.. 

I had a look again and noticed this also. 

> usr/local/samba/var/locks/sysvol/xxxx.xxxx.com.br/Policies/{14
> 9AD731-C29D-41E7-B1D4-1DECA7DBED58}/GPT.INI
> # owner: BUILTIN\\administrators
> # group: users		<<<<<<  Linux group users ? 

Thats not right in my opinion. 

Go into windows GPO editor, go to this GPO remove it or fix it. 
And/or what happens if you create a new one with same settings. 


Greetz, 

Louis




> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Carlos via samba
> Verzonden: dinsdag 25 mei 2021 15:09
> Aan: samba
> Onderwerp: Re: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND
> 
> DC2
> 
> # smb.conf
> 
> # Global parameters
> [global]
>          netbios name = DCXX
>          realm = XXXX.XXXX.COM.BR
>          server role = active directory domain controller
>          server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, 
> drepl, winbindd, ntp_signd, kcc, dnsupdate
>          workgroup = XXXX
> 
>          ldap server require strong auth = no
> 
>          # Disable Cups
>          load printers = no
>          printing = bsd
>          printcap name = /dev/null
>          disable spoolss = yes
> 
>          # Auditoria
>          log level = 1 auth_audit:3
> 
> 
> [sysvol]
>          path = /usr/local/samba/var/locks/sysvol
>          read only = No
> 
> [netlogon]
>          path = 
> /usr/local/samba/var/locks/sysvol/xxx.xxx.com.br/scripts
>          read only = No
> 
> # /etc/hosts
> 
> 127.0.0.1 localhost
> 192.168.128.7   dcXXX.XXX.XXX.com.br dcXXX
> 
> # /etc/resolv.conf
> 
> nameserver 192.168.128.7
> nameserver IP-DC1
> 
> # /etc/nsswitch.conf
> 
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages 
> installed, try:
> # `info libc "Name Service Switch"' for information about this file.
> 
> passwd:         files systemd winbind
> group:          files systemd winbind
> shadow:         files
> gshadow:        files
> 
> hosts:          files dns
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:       nis
> 
> 
> Regrads;
> 
> 
> Em 25/05/2021 09:58, L.P.H. van Belle escreveu:
> > There still something off here.
> > I cant reproduce your error on my debian 10 DC's with 4.14.4
> >
> > Post the following.
> >
> > smb.conf
> > hosts
> > resolv.conf
> > nsswitch.conf
> >
> >
> > Greetz,
> >
> > Louis
> 
> -- 
> 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