I use a lot of "force user" and "force group" directives on various shares. With smbstatus of Samba 2 I could always verify with a glance what uid and gid a particular service is being accessed as, with Samba 3 you can't. I'd REALLY like to see that come back to smbstatus. Here's a real world example of my complaint... Samba 2 smbstatus output... Samba version 2.2.8a Service uid gid pid machine ---------------------------------------------- htdocs schaefert cfusion 8004 medusa (192.168.0.5) Fri Jul 30 09:21:18 2004 optometry schaefert cfusion2 8004 medusa (192.168.0.5) Fri Jul 30 09:21:22 2004 Samba 3 smbstatus output... Samba version 3.0.2a PID Username Group Machine ------------------------------------------------------------------- 293 schaefert cfusion medusa (192.168.0.5) Service pid machine Connected at ------------------------------------------------------- htdocs 293 medusa Thu Jul 29 15:31:47 2004 optometry 293 medusa Thu Jul 29 15:30:45 2004 With Samba 3 I am connected to the optometry share with gid cfusion2 but there's no way to know that. Btw, no, smbstatus -v doesn't show it either. Basically this message is just a plea to the Samba developers to put back the uid and gid information. Thankyou, Tom Schaefer
On Sat, 2004-07-31 at 01:05, Tom Schaefer wrote:> I use a lot of "force user" and "force group" directives on various > shares. With smbstatus of Samba 2 I could always verify with a glance > what uid and gid a particular service is being accessed as, with Samba 3 > you can't. I'd REALLY like to see that come back to smbstatus. > > Here's a real world example of my complaint...> Basically this message is just a plea to the Samba developers to put back > the uid and gid information.The problem is, that information is not valid, except in 'security=share' and 'force user' cases. In all other cases, the user that connects to the share is not necessarily connected to the user actually accessing the share. This is why the information was split up the way it has been. Andrew Bartlett -- Andrew Bartlett abartlet@samba.org Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040731/979e8143/attachment.bin