I had issues like this a long time ago in my previous life, and I think I had to change the code to use the WinNT provider instead of LDAP to get it working. I can't remember the specifics now, but you may want to try that. I will post more if I can find the code in question, or if I see yours first.
 
 
Sincerely,

Dèjì Akómöláfé, MCSE+M MCSA+M MCP+I
Microsoft MVP - Directory Services
www.readymaids.com - we know IT
www.akomolafe.com
Do you now realize that Today is the Tomorrow you were worried about Yesterday?  -anon


From: Joe L. Casale
Sent: Tue 1/4/2005 4:06 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for others ?

Sure, I will post it tomorrow.
And check on the username issue!
thanks,
jlc

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mulnick, Al
Sent: Tuesday, January 04, 2005 2:48 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for
others ?

For those users that it returns blank, does this return blank as well?
wscript.echo ADSysInfo.UserName
Or just the for the groups?

Can you post the rest of the code if any? That might be helpful as well.

al


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe L. Casale
Sent: Tuesday, January 04, 2005 4:33 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for
others?

Nope, small single forest.
jlc

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry
Sent: Tuesday, January 04, 2005 8:27 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for
others?

Do you have a multiple domain forest? If so, the memberof attribute will
not
show group memberships if they are domain local groups in other domains.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe L. Casale
Sent: Monday, January 03, 2005 1:32 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for
others?

Yes, it does have it. Its just not working for some people?
They are all win2ksp4 and above.

Thanks!
jlc

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Passo, Larry
Sent: Monday, January 03, 2005 2:29 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Script working for some users, and not for
others?

Do you also have "Set adSysInfo = CreateObject("AdSystemInfo")" before
these
4 lines?

Also, are the clients that are failing older than Win2k? If so, they
need to
have the AD client extension added.
http://msdn.microsoft.com/library/default.asp?url=""
si/iadsadsysteminfo.asp


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe L. Casale
Sent: Monday, January 03, 2005 12:41 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Script working for some users, and not for others?

Hi all,
I have this in my logion script, and for some users it works, and others
the
echo is blank?

Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName) wscript.echo
ADSysInfo.UserName strGroups = LCase(Join(CurrentUser.MemberOf))
wscript.echo strGroups

Is there any known reason someone might share, or a caveat to using this
method? Is there a more robust way to get group membership?

Thanks!
jlc
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to