|
-
October 3rd, 2003, 03:15 AM
#1
No home? Log out
I need the view of the experts out there in finding the best solution to this simple problem:
If a user has no homedirectoy available, he is simply logged out. There should be no exception to the rule...no by pass by pressing CTRL+ALt while logging in or pressing CTRL+C repeatedly etc etc.
Please give views
Thanks in advance
<a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>
-
October 7th, 2003, 10:27 PM
#2
what exactly are you asking? If a user has no home directory available, that does not mean he is logged out. but I'm sure that not's what you're asking.
when you say "no exception to the rule", what rule are you talking about?
-
October 7th, 2003, 11:47 PM
#3
I think what were wanting to know is, is this acct local or on the network?
-
October 8th, 2003, 12:27 AM
#4
Let me clarify.
I am talking about domain logons.
What I want is that if the homedirectory of a user is not available due to any reason he should not be able to log in. He is forcefully logged out immediately. Of course if he is already logged in then we can leave him logged in.
Thanks
<a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>
-
October 8th, 2003, 12:29 AM
#5
well, if the acct is not there...the only thing he can do is log into his local pc only...no network access
-
October 8th, 2003, 10:36 PM
#6
A home directory is a share on a server... the question is how to detect if this share is not available (i.e. the server that hosts it is down) and to then log off the user.
This sounds like it would turn a medium size problem (no home directory) into a massive problem (user can't do anything.) But anyway...
I think the only way is to build some kind of login script (batch file)
http://www.labmice.net/articles/batchcmds.htm
Have a look at the EXIST command to figure out how to detect the presence of a directory.
Then use a utility like this to force a logoff. http://www.winnetmag.com/Articles/In...ArticleID=9676
A script is the only way I think you can do this... if they are able to cancel the script then yes they will bypass this.
Rapmaster
(I don't like rap music.)
Microsoft MVP,
Windows - Shell/User
-
October 9th, 2003, 01:32 AM
#7
thanks
Thanks, Rapmaster. But the only thing which now remains is to exclude the slightest possibility of bypassing the script. Any ideas?
Thanks to all those who responded.
Gopesh
<a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|