|
I am attempting to map a couple of drives if a user is in the right AD group, this is my script
IF INGROUP("GROUP-NAME") use O: "\\servername\foldername" /PERSISTENT:NO use T: "\\servername\anotherfoldername" /PERSISTENT:NO ENDIF
I have checked and I am in the AD group. I have tried adding the domain name in front of the group name but the application log is recording
Event Type: Error Event Source: KIXTART Event Category: None Event ID: 1332 Date: 21/07/2009 Time: 14:12:55 User: N/A Computer: Description: The description for Event ID ( 1332 ) in Source ( KIXTART ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Failed to resolve SID(s) Error : No mapping between account names and security IDs was done. (0x534/1332).
When I run this code use "O:" "\\berfsho001\ablage" use "T:" "\\berfsho001\akten" the drives map.
|