Web lists-archives.com

[Samba] Fw: AD usres are not show in Domain Controller when apply setfacl command




 
Dear Team I show below my problem when try to apply setfacl to share directory in domain controller


My Problem is:
I have one Samba AD [4.1] it work fine. I create common share folder in domain controller when try to apply ACL permission it show the following message
[root@sambadc ~]# setfacl -m "u:RISHI\Administrator:rwx" /ADD_Drive/Samplesetfacl: Option -m: Invalid argument near character 3
After that i try to find usres id 

[root@sambadc ~]# id RISHI\\administrator
id: RISHI\administrator: no such user
But when i try the below command it shows the users
[root@sambadc ~]# samba-tool user list

AvijitGhosh
RanjitRaman
TeernaChatterjee
AnkitJaiswal
Priyaranjan
DeepJoy
NirajKishorSingh
RajKumarMaurya
Test
HimanshuSinghi
SoumyaKanjilal
AshishJaiswal
PoushaliSengupta
BanditaRoy
RohitAgarwal
TuhinSaha
Subramaniam

My Samba file smb.conf

[root@sambadc ~]# vi /usr/local/samba/etc/smb.conf
# Global parameters
[global]
        workgroup = RISHI
        realm = RISHI.COM
        netbios name = SAMBADC
        server role = active directory domain controller
        server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
        idmap_ldb:use rfc2307 = yes

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/rishi.com/scripts
        read only = No

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No

[Rishinox]                                                                       ----> This my share name
        path = /ADD_Drive/Rishinox_Share                        ---> ADD_Drive is a directory i mount 1 TB Hard Disk I show                                                                                                                                             below  fstab config file       
        read only = no
        inherit acls = yes
        browseable = yes
        valid users = +rishi\"Domain Users"
# vi /etc/fstab

#
# /etc/fstab
# Created by anaconda on Thu Oct 26 20:59:06 2017
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=855b2556-69c5-40d5-8c1e-7686791de4e8 /                       ext4    defaults        1 1
UUID=76398c37-3212-4092-b8d4-cf2a807ac07d /home                   ext4    defaults        1 2
UUID=600ec943-139e-4bf2-9d70-51ce2bfaeeab swap                    swap    defaults        0 0
/dev/disk/by-uuid/1ff91bed-d951-4712-8812-c6bb5760b565 /LVM auto nosuid,nodev,nofail,x-gvfs-show 0 0

#Mount External Drive to ADD_Drive

/dev/sdb  /ADD_Drive ext4 defaults,acl 0 0


At Same time try ACL permission in Domain member server it can be apply and show the user Id

[root@backupserver ~]# id RISHI\\administrator
uid=16777216(administrator) gid=16777220(domain users) groups=16777220(domain users),16777221(group policy creator owners),16777222(denied rodc password replication group),16777223(enterprise admins),16777224(schema admins),16777225(domain admins),16777217(BUILTIN\users),16777216(BUILTIN\administrators)


Please solve my issue 

Thanks&RegardsBaranitharan
  

|  | I’m protected online with Avast Free Antivirus. Get it here — it’s free forever.  |

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba