[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND

Rowland penny rpenny at samba.org
Tue May 25 13:54:13 UTC 2021


On 25/05/2021 13:55, Carlos via samba wrote:
> HI
>
> "I am unsure, have you given all the AD groups a gidNumber ?" I dont 
> understand.....


Can you run these commands on a DC:

sudo ldbsearch -H ldap://"$(host -t SRV 
_ldap._tcp.pdc._msdcs."$(hostname -d)" | awk '{print $NF}' | awk -F '.' 
'{print $1}')" -P -b "CN=Policies,CN=System,$(echo "DC=$(hostname -d)" | 
sed 's/\./,DC=/g')" -s sub '(objectClass=groupPolicyContainer)' cn | 
grep 'cn:'

sudo ls /var/lib/samba/sysvol/$(hostname -d)/Policies

Do the outputs show the same GPO's ?

Rowland





More information about the samba mailing list