When using windows NT and Netware there are ways of limiting the logins of users such as only allowing them on between 9am - 5pm and limiting maximum concurrent connection to one. Is there a way of enforcing these restrictions through samba or similar? Many thanks Gareth Norman
I know that the Samba LDAP schema contains an entry for logon times, but I am not sure if it is implemented yet. This implies that you use LDAP as your back end for storing credentials. On Wed, 2003-06-04 at 08:20, Gareth Norman wrote:> When using windows NT and Netware there are ways of limiting the logins of > users such as only allowing them on between 9am - 5pm and limiting maximum > concurrent connection to one. Is there a way of enforcing these > restrictions through samba or similar? > > Many thanks > > Gareth Norman-- Geoff Stitt -------------- 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/20030604/ed1ee208/attachment.bin
You could always used some scripts to control logons. Joel On Wed, Jun 04, 2003 at 01:20:22PM +0100, Gareth Norman wrote:> When using windows NT and Netware there are ways of limiting the logins of > users such as only allowing them on between 9am - 5pm and limiting maximum > concurrent connection to one. Is there a way of enforcing these > restrictions through samba or similar? > > Many thanks > > Gareth Norman > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Well, all I can really tell you is that the best thing I ever did was to learn the bash shell and bash shell scripting. It takes a while, but since my computer (linux) uses the bash shell, it is well worth the effort. You could use any scripting language your computer supports. Once you get the feel for scripting, then it wouldn't be too hard to use samba's resources, like the variables passed when a user logs on and smbstatus. And, learn about the preexec parameter. Joel>I know very little about shell scripting. Any information I should be > looking for in particular? > > Thanks > > Gareth Norman. > > ----- Original Message ----- > From: "Joel Hammer" <Joel@HammersHome.com> > To: "Gareth Norman" <gareth@dungeon.ws>; <samba@lists.samba.org> > Sent: Wednesday, June 04, 2003 9:47 PM > Subject: Re: [Samba] Limiting Users > > > > You could always used some scripts to control logons. > > Joel > > On Wed, Jun 04, 2003 at 01:20:22PM +0100, Gareth Norman wrote: > > > When using windows NT and Netware there are ways of limiting the logins > of > > > users such as only allowing them on between 9am - 5pm and limiting > maximum > > > concurrent connection to one. Is there a way of enforcing these > > > restrictions through samba or similar? > > > > > > Many thanks > > > > > > Gareth Norman > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba >