samba 4.3.4: winbindd is mapping a user uid to an incorrected value

Rowland Penny repenny241155 at gmail.com
Thu Jan 14 17:00:50 UTC 2016


On 14/01/16 15:35, Daniele Dario wrote:
>
>
>
> Sorry. Before I pasted the wrong gidNumber for Domain Users (it's
> gidNumber: 4000001 phew: rereading your answer I got scared because it
> was the same of the uidNumber I was having problems)

You don't need to worry, whilst you cannot have two objects with the 
same name, you can have a user object with a uidNumber of '4001107' and 
group object with a gidNumber of '4001107'. You do not have to user 
separate ranges for users & groups.

>
>  From what I see in the log samba has still the wrong uidNumber cached
>
> [2016/01/14 16:32:00.820368,
> 2] ../source3/modules/vfs_acl_xattr.c:193(connect_acl_xattr)
>    connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true'
> and 'force unknown acl user = true' for service marco
> [2016/01/14 16:32:00.824023,
> 2] ../source3/smbd/service.c:864(make_connection_snum)
>    192.168.12.112 (ipv4:192.168.12.112:49264) connect to service marco
> initially as user SAITEL\marco (uid=3000033, gid=100) (pid 3914)
>
> It's folder is owned by the right uid so I'll see what happens just
> restarting samba as soon as I can.
>
> I'll let you know.

OK, it might be worth checking idmap.ldb for an entry that refers to 
'marco', you would need to search for marco's SID.

Rowland




More information about the samba-technical mailing list