Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

vluu (TechnicalUser) (OP)
2 Jul 08 12:41
Hi Everyone,

I am having a strange problem that just recently popped-up.

I have a simple login script that has been used for years. Recently, user's would not get all they mappings because an error would occur while the login script runs. These error are specifically related to "IFMEMBER", please see attachment for screenshots.

This error is not affecting all users and the number of groups they belong to vary, and not related to there PCs because they have tried logging on to diffrent PCs. The server is fine running latest service packs. I also tested by creating some test accounts and the login scripts runs fine for them. I am beginning to believe it could be account related but not 100% sure. Anybody's help would be appreciated.

This is what I found from MS KB, http://support.microsoft.com/kb/290794, which does not help because user's with much more groups do not have a problem.

Thanks!
vluu (TechnicalUser) (OP)
2 Jul 08 12:45
Sorry guys the attachment did not work...anyhow here is the error i am getting when the login script runs:

ifmember: GetTokenInformation failed. Error code returned by system was 122

When I type "net helpmsg 122" I get this:

The data area passed to a system call is too small.

Any help would be appreciated as I am stumped!
vluu (TechnicalUser) (OP)
3 Jul 08 22:40
Wow..i am surprised no one else ever experienced this problem...I searched all the net and have found nothing.

Anybody???
58sniper (MIS)
4 Jul 08 0:27
ifmember is fairly outdated, given that many, if not most, complex login scripts use vbscript instead. There is a wealth of info here on vbscript, including using it in login scripts.

Pat Richard MVP
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close