Re: nested group not getting mapped drive

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"nobody" <nobody@xxxxxxxxxx> wrote in message
news:%23UJg1JxwHHA.3588@xxxxxxxxxxxxxxxxxxxxxxx
I have a script that basically maps drives and printers based on domain
local groups. Its using the winnt provider which I think should support
nested groups.

SO I created one group with some users in it. The script maps drivers and
printers based on this group. Then I greated another group and put it into
the first group. Now the users in the second group are not getting mapped
drives.

Any idea?


The WinNT provider is blind to the hierarchy of AD, including nested domain
Global and Universal security groups. It does recognize nested local groups.
You cannot use the WinNT provider to reveal membership in nested domain
groups. You must use the LDAP provider. I have an example VBScript logon
script that maps drives and printers according to group membership linked
here:

http://www.rlmueller.net/Logon3.htm

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


.



Relevant Pages

  • Re: Running a script against an OU
    ... Do I need to place a forward slash between Computer and Accounts? ... run the script against an OU called lab1? ... the WinNT provider is blind to OU's, so you must use the LDAP provider to ... bind to the OU. ...
    (microsoft.public.scripting.vbscript)
  • Re: Running a script against an OU
    ... This can be done using a Startup script in a GPO, ... use the WinNT provider to bind to the computer to access local accounts (the ... Also, you have to use the NT name of the computer, called the NetBIOS ...
    (microsoft.public.scripting.vbscript)
  • Re: Script just stops running even though on error resume next
    ... The WinNT provider is available if the client is Windows 2000 or above. ... If you run the script ... after logon the error message should indicate the line number and hopefully ... the "After bind:" entry. ...
    (microsoft.public.scripting.vbscript)
  • Re: IT Audit Script Needed
    ... script should work for you, but I wanted to answer your question about ... container name in the domain "na.fabrikam.com". ... The WinNT provider is blind to the hierarchy of AD. ...
    (microsoft.public.windows.server.scripting)
  • Re: access to user accounts with ADSI
    ... You don't make it clear whether you're on an Active Directory network or ... var strUser = "Administrator"; ... > i am assuming the WinNT provider is the correct one, ... > SCRIPT USING WINNT PROVIDER: ...
    (microsoft.public.scripting.wsh)