#29486 - 2002-09-29 09:01 PM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
All of my times are from the CTRL-ALT-DEL screen in and the machine has been booted for several hours sometimes at this point.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29488 - 2002-09-30 03:33 AM
Re: Drive Mappings - XP, etc
|
Chris Jorgan
Fresh Scripter
Registered: 2002-08-29
Posts: 10
Loc: Japan
|
I believe I know your problem, as I had similar problems with my network. Whenever I tried to execute the login script from clients, it wouldn't locate the groups I had mentioned for my drive mappings. What I did to fix the problem was mention the domain name along with the group name, as I think the clients were attempting to look locally for the groups. Here's an example:
If InGroup ("DOMAINNAMEHERE\Domain Users") Use K: "FILE SERVER\FILESHARE" Endif
So if your domain name is Yahoo (which I'm pretty sure it isn't :-)), it would look something like this: If InGroup ("Yahoo\Domain Users") Use K: "FILE SERVER\FILESHARE" Endif
Let me know if I helped, as I'm also a beginner with very little experience with programming/coding, so I would feel great to know that I helped someone else out instead of everyone just helping me.
Good luck
_________________________
'I have often regretted my speech, never my silence.'
Xenocrates (396-314 BC)
Chris Jorgan
|
Top
|
|
|
|
#29490 - 2002-09-30 10:53 PM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
Tried the FQ as well... IF INGROUP("REMOTE\Test1") and that doesn't work either.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29491 - 2002-09-30 11:32 PM
Re: Drive Mappings - XP, etc
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Hmm. well, there are WMI alternatives to INGROUP... especially with ADSI.. interested? Start browsing the COM section of the bulletin board.
Brian
P.S. There are a few scripts floating around that use "NET USER" commands to enumerate local or domain groups, I believe.
|
Top
|
|
|
|
#29493 - 2002-09-30 11:56 PM
Re: Drive Mappings - XP, etc
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
You're write, jooel, however it gives an alternate means of testing: If you sit at a machine and do a "net user %username% /domain", it should tell you what domain groups the user belongs to. If that is functioning properly, then it's possible to get to the information.. if not then there are other issues.
Brian
|
Top
|
|
|
|
#29494 - 2002-10-01 12:07 AM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
I'll give the COM stuff a go once I figure it out...
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29496 - 2002-10-01 11:59 PM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
Although it is a very short topic...very interesting. I didn't setup WINS in this environment because it is so small although it is in the production env. I will try that before I delve into the COM stuff.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29497 - 2002-10-02 01:21 AM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
Tried the WINS thing, still doesn't work. Guess I'm off on the COM stuff.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29498 - 2002-10-02 01:33 AM
Re: Drive Mappings - XP, etc
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Can you log on to the domain controller and execute a simple INGROUP script in a DOS window to see if your current account is in the "Domain Users" group? What is the result?
|
Top
|
|
|
|
#29499 - 2002-10-02 03:58 AM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
I'm lost...On the DC, I can do an INGROUP for normal groups (Domain users, admins, etc) but none of the groups I setup under other OU's. On the PC, I can't get INGROUPs to work for ANY groups on the DC, even if I put in the domain name.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
#29500 - 2002-10-02 04:10 AM
Re: Drive Mappings - XP, etc
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Let's just focus on working with the DC for now. First this is a W2K active directory domain controller, right?
When you created your groups, did you create Group Scope = "Global" + Group Type = "Security" or did you use some other combination?
|
Top
|
|
|
|
#29501 - 2002-10-02 10:38 AM
Re: Drive Mappings - XP, etc
|
surfkat
Fresh Scripter
Registered: 2002-09-26
Posts: 19
Loc: Oxford, UK
|
Just had a quick read through the messages.
What version of XP are you using on the clients? I do not think XP Home is good for Networks. MS do not recommend it for business use, specially AD environments.
I have a mixed environment and INGROUP works fine. Did you try a Windows 2000 machine yet?
|
Top
|
|
|
|
#29503 - 2002-10-02 10:37 PM
Re: Drive Mappings - XP, etc
|
sasifras
Fresh Scripter
Registered: 2002-09-23
Posts: 16
|
All machines are XP Pro (not home, they don't work outside of P2P). I have 1 W2K machine I could possibly test on, although production must use XP so it'd be a sanity check thing.
W2K Server, native AD structure.
Groups are all created as - Global / Security (production groups are all Universal / Security, but in this environment, Global is what they would have to be)
Most groups are created under other OU's outside of the normal OU's. Strangly, this seems to be a common point of issue until I try to move one of these groups into the normal OU for groups (where the DU and DA's are at) and it still doesn't work.
The big thing for me is that when you run the kix.kix script that comes in the sample directory on the 2nd or 3rd page where it lists all groups user is in, it ONLY lists system-created groups. Lastly, my groups look the same (Global/Security) as the syscreated groups.
I thought ingroup was AD compliant...maybe I missed something.
_________________________
Thanks,
Sasifras
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 507 anonymous users online.
|
|
|