Hallo,
i've got a little question:
is it possible to query the domain controller
which user is loggid in from which workstation.
I'm writing an webapp for teachers; it would be nice to know
which pupil logged on from which workstation to shutdown the
correkt workstation in order to kick the pupil (force logoff)
or is there an other way to force an logout for an user?
sorry for my bad english
--
Best regards,
Malte mailto:malte.woelky@gmx.de
_________________
Malte Woelky -=[SkyNet]=-
Unix/DBs/Networks/LDAP/Active Directory
Cert : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003
voice : 0209/977 37 03 : 0173/90 32 167
eMail : Malte.Woelky@gmx.de
WWW : http://www.woelky.net/
_________ ICQ# 12 767 43 99 _________
On Tue, 2004-07-27 at 16:37, Malte Woelky wrote:> Hallo, > > i've got a little question: > is it possible to query the domain controller > which user is loggid in from which workstation. > > I'm writing an webapp for teachers; it would be nice to know > which pupil logged on from which workstation to shutdown the > correkt workstation in order to kick the pupil (force logoff) > > or is there an other way to force an logout for an user? > > > sorry for my bad english---- man smbstatus if you want to see some existing programming in this area - see Samba module in webmin www.webmin.com Craig
I know on the one linux box I have with 2.2.8 on it there is an option for utmp logging, but for some reason in my instance it doesn't resolve host names. I'm hoping this option still works in Samba3. Using that you can simply do a who, grep for smb if users can log in directly on your system and/or you want to get rid of the root user you're logged in as. Malte Woelky wrote:>Hallo, > > i've got a little question: > is it possible to query the domain controller > which user is loggid in from which workstation. > > I'm writing an webapp for teachers; it would be nice to know > which pupil logged on from which workstation to shutdown the > correkt workstation in order to kick the pupil (force logoff) > > or is there an other way to force an logout for an user? > > > sorry for my bad english > > >-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
Maybe Matching Threads
- small question
- install software when the user logs on (with admin previledges)
- Re: Request for sample qmailGroup ldif: LDAP attribute is not given b ut mandatory. (#5.3.5) error
- 'net rcp shudown' with mashine account (-n -P) possible???
- prerequisites for winbind (Samba-3.0.4-SuSE-9.0)