Thank you for all your help.

While doing some tests today I found I had access to read/write to folders that 
I shouldn't have as the user I was connected as.
I then discovered force user and force group had been set for that share and 
were working in 5.1.1.
Further tests confirmed this  when set by:
net conf setparm [share] "force user" "<user>" 

I'm now very curious what tests I did months ago, that failed!

As I understand it, these setting will be used and available via mmsmb in 5.1.3 
upwards.

Kindest regards,
Paul

Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E: [email protected]


-----Original Message-----
From: gpfsug-discuss <[email protected]> On Behalf Of Christof 
Schmitt
Sent: 26 September 2022 18:50
To: [email protected]
Subject: Re: [gpfsug-discuss] Supported samba options

On Mon, 2022-09-26 at 15:40 +0000, Paul Ward wrote:
> So the 5.1.3+ implementation uses the values in the SMB registry for 
> "valid user", "host allow", "Host deny"
> If we have force user/group set, via net config,  will it just pick 
> that up?

Yes, whatever is set will be kept. The settings will then also be visible in 
mmsmb. mmsmb is just a wrapper that accesses the same config as "net conf" 
internally in the background.

Regards,

Christof
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at gpfsug.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss_gpfsug.org&amp;data=05%7C01%7Cp.ward%40nhm.ac.uk%7Ce7f740c8249f418db0c208da9fe82b0e%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637998116782749229%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Hpvlzn%2BDFx3zR8mzJHPiT7ZOhiT6R7gfxP3LZDayl8o%3D&amp;reserved=0

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org

Reply via email to