I am having a problem getting my group drives to map. Unless The user logging on is a member of the Domain Admins group the @PRIMARYGROUP token is not being read. I am in a "very fresh" W2K environment (today actually), and all of my scripts ran successfully in the test network. actually all of my scripts still work except for this portion.
code:
If @PRODUCTTYPE = 'Windows NT Server' GoTo end EndIf If @PRODUCTTYPE = 'Windows 2000 Server' GoTo end EndIf
Use p: "\\server\share\@PRIMARYGROUP\@PRIMARYGROUP_pub" ? @error ? @serror Use g: "\\server\share\@PRIMARYGROUP\@PRIMARYGROUP_priv" Use m: "\\server\MS Office" ; This is only being mapped because Access97 will not use a UNC path to access the "share.mdw"
Call %0\..\logon2.kix
:end
;---------end Group Drive mapping script
Any insight? This is all I need to do before celebrating a successful Deploy
KiXtart 4.2
[ 13. July 2003, 06:53: Message edited by: jacks73 ]
#75877 - 2003-07-1301:48 PMRe: A problem with @PRIMARYGROUP
Howard BullockHoward Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
jacks73, try my EnumObject.exe located on my Perl Win32 Admin Utilities web page. It will provide you a text file of youe accounts and properties including primary group. It will also output all the domain groups and the group's SID. The last part of the SID is the RID which you can match up to "PrimaryGroup" property of the users.
Using this program will help determine if the properties of your domain are what you think they are thereby making it easiere to determine if KiXtart is reporting correctly or if KiXtart is misbehaving.
When I run the code with a non- Domain Admin I get: "
Error return is: 0 Error return means: The operation completed successfully."
As a Domain Admin I get: "Jack Davis IS Error return is: 0 Error return means: The operation completed successfully"
Howard,
I downloaded your EnumObject.exe and couldn't get it to run. I think I might have the syntax wrong though it looked pretty straight forward. When I run
c:\EnumObject.exe Nails.com RMspare
I get this: Win32::OLE(0.1502): GetObject() Not a Win32::OLE object at EnumObject.pl line 31
I don't recall you mentioning the client OS. It sounds like a permission issue in AD (stating the obvious). Have you done anything to tweak the AD perms or is it 'out of the box' perms?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.