Users AD in CentOs 7 problem

General support questions
Post Reply
penrril
Posts: 1
Joined: 2019/02/22 14:44:10

Users AD in CentOs 7 problem

Post by penrril » 2019/02/22 14:48:28

I would be needing help since I am having the following problem
I have an 8th generation proliant HP server with a CentOS 7 installed, on this system I run two virtualizations with Windows 2008 R2 quemu / kvm (a domain and a terminal server), and a samba server in turn.
CentOS is integrated into the Windows domain through Winbind and both Linux and samba use domain users to manage permissions.
The problem is that CentOS recognizes all domain users except two, those users only shows me the UID, but the group of those users recognizes them without problem.
If I wish to consult the list of users of the domain, those two users with problems appear to me well. And any kind of consultation works. The only problem I have it at the moment that CentOS assigns users to the folders.

Deputy command outputs

Folder permissions


[root@xxxxxxx ~]# ls -lha /home
total 152K
drwxr-xr-x. 28 root root 4,0K feb 20 14:22 .
dr-xr-xr-x. 21 root root 4,0K feb 18 12:32 ..
drwx------ 3 auxiliar auxiliar 4,0K ene 28 10:13 auxiliar
drwx------ 4 backup backup 4,0K jun 1 2018 backup
drwxrwx--- 21 cpocai cpocai 4,0K feb 21 11:26 cpocai
drwxrwx--- 3 despacho despacho 4,0K may 9 2018 despacho
drwxrwx--- 7 10001109 dsilva 4,0K feb 4 17:57 dsilva
drwxrwx--- 2 flanari flanari 4,0K jul 17 2018 flanari
drwxrwx--- 3 10001121 mbergesio 4,0K feb 15 15:11 mbergesio
drwxrwx--- 3 mcabana mcabana 4,0K may 2 2018 mcabana


read id

[root @ xxxxxxx ~] # id -u dsilva
id: dsilva: that user does not exist

[root @ xxxxxxx ~] # id -u cpocai
10001107

consult the domain

[root@xxxxxxx ~]# wbinfo --domain-users
administrador
invitado
cpocai
despacho
dsilva
flanari
mbergesio
backup
auxiliar

As you will see in the query appear, in the list of permissions appear only in group but not in user.
This error was from one day to the next. First step with one and then with the other.

if necessary I upload file configurations smb.conf krb5.conf and what they need.
another thing. This server is configured the same as two others that I have similar characteristics and in them I have no problems.

From already thank you very much

PS: sorry for my google english

mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: Users AD in CentOs 7 problem

Post by mashiro2004 » 2019/02/25 21:40:53

Hi,
You centos have latest updates?
yes is better if you post /etc/samba/smb.conf file.

Post Reply