[Samba] Group policies are not applied

durwin at mgtsciences.com durwin at mgtsciences.com
Mon Apr 29 19:39:11 UTC 2019

I have hollowed these instructions.

My normal domain is company.com.  For the Samba domain it is 

DNS is working. I ran these commands.
host -t SRV _ldap._tcp.msi.company.com.
_ldap._tcp.msi.company.com has SRV record 0 100 389 dc0.msi.company.com.

host -t SRV _kerberos._udp.msi.company.com.
_kerberos._udp.msi.company.com has SRV record 0 100 88 

host -t A dc0.msi.company.com.
dc0.msi.company.com has address

host -t A msi.company.com
msi.company.com has address

host -t A dc0.msi.company.com
dc0.msi.company.com has address

host -t SRV _kerberos._udp.msi.company.com
_kerberos._udp.msi.company.com has SRV record 0 100 88 

host -t SRV _ldap._tcp.msi.company.com
_ldap._tcp.msi.company.com has SRV record 0 100 389 dc0.msi.company.com.

I can even resolve machines on company.com

I can join msi domain, add and modify users, but Group Policies are not 
applied.  I can even logon with created user.

These are Group Policies I added.
Add a Group Policy for adding Domain Users to local Admin group.

And this one to display logon message. Scroll down to 'Step 3: Domain 
Group Policy Management'

Here is my smb.conf file to start with.  I don't know what else to send at 
this time.

Ub18.04> less /etc/samba/smb.conf
# Global parameters
    netbios name = DC0
    realm = MSI.COMPANY.COM
    server role = active directory domain controller
    server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, 
winbindd, ntp_signd, kcc, dnsupdate
    workgroup = MSI
    idmap_ldb:use rfc2307 = yes

    path = /var/lib/samba/sysvol/msi.company.com/scripts
    read only = No

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

Thank you,


This email message and any attachments are for the sole use of the 
intended recipient(s) and may contain proprietary and/or confidential 
information which may be privileged or otherwise protected from 
disclosure. Any unauthorized review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient(s), please contact the 
sender by reply email and destroy the original message and any copies of 
the message as well as any attachments to the original message.

More information about the samba mailing list