Samba groupmap permissions problems
I am having a problem getting Samba groupmaps to work correctly, can anyone see what I am doing wrong?
We have a Win 2012 Domain Controller with user 'Nick' who is a member of the Windows group "Samba Users".
On the Linux side there is a "samba" group which is mapped to the Windows "Samba Users" group.:
net groupmap add ntgroup="Samba Users" unixgroup=samba
I then create a samba share on the linux box:
Owner=root, Group=samba, permissions=0770
Accessing this from Windows as user Nick fails with lack of permissions problem. If I change the permissions on the share to 0777 then I can read/write to it.
Problem is even doing this any files or directories written are created with user=Nick & Group="domain admins".
What am I doing wrong here?
It is possible that the name "Samba Users" is having trouble because of the caps and spaces. You might have to rename the whole group as "sambausers" or samba_users".
In many programming areas I see this issue, because the underlying code does not seem able to accept many "illegal characters" which it may also be using in the background to do other things.
I have also seen this type of problem in LibreOffice, especially in regard to Section names and spreadsheet formulae.
It is so easy to forget that these are really "dumb machines"
This may not be the ultimate answer, however it may be a part of the broken chains.
Bruce from Canada
|All times are GMT -5. The time now is 12:05 PM.|