Controlling access to software

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Nov 6 14:22:11 GMT 1997


On Thu, 6 Nov 1997, Ben B Hall wrote:

> Hello,
> 
> Due to the fact that we have to purchase machine licenses rather than site
> licenses for Microsoft Office 97 we need to be able to limit which machine
> can run it from Win95 though samba. Any way to place restrictions on
> individual peices of software rather than having to ban machines from the
> entire samba program areas?

hi ben,

ok, i think there's a feature in samba which limits the number of connections
(users).  there's no reason why you couldn't code up a per-share version 
of this (Connections[] array, referenced by cnum variables splattered all 
over the place.  i think share connections are established by SMBtcon and 
SMBtconX, both of which call make_connection().  that might give you some 
starting places).

this will end up looking a bit like NT: you can set "max number of 
connections" on a per-share basis.

then, you install office in a specific share, and limit the number of 
users on it.

luke



<a href="mailto:lkcl at switchboard.net"  > Luke Kenneth Casson Leighton </a>
<a href="http://mailhost.cb1.com/~lkcl"> Lynx2.7-friendly Home Page   </a>
<br><b> "Apply the Laws of Nature to your environment because your
         environment applies the Laws of Nature to you"               </b>



More information about the samba mailing list