Page 2 of 3 <123>
Topic Options
#29485 - 2002-09-29 04:49 PM Re: Drive Mappings - XP, etc
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
another way to check on that slowness could be to boot up the machine and leave it alone for 5 mins or so.

this was the method to log on faster with nt-server...
 
_________________________
!

download KiXnet

Top
#29486 - 2002-09-29 09:01 PM Re: Drive Mappings - XP, etc
sasifras Offline
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
#29487 - 2002-09-29 09:17 PM Re: Drive Mappings - XP, etc
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I don't know about ad-domain, but in our nt-domain haven't heard anything similar...
_________________________
!

download KiXnet

Top
#29488 - 2002-09-30 03:33 AM Re: Drive Mappings - XP, etc
Chris Jorgan Offline
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
#29489 - 2002-09-30 04:22 AM Re: Drive Mappings - XP, etc
Fernando Madruga Offline
Starting to like KiXtart

Registered: 2002-08-21
Posts: 149
Loc: Coimbra.Portugal.Europe.Earth....
Are you hiding from someone, guy54321? Zero personal info, not even your first/last names... Not even a signature! Some people, like myself, tend to ignore those who want to stay in the shadows... This is just an opportunity to make you "see the light"... [Smile]

[ 30. September 2002, 04:22: Message edited by: Fernando Madruga ]
_________________________
Later,   [b]Mad[/b]ruga

Top
#29490 - 2002-09-30 10:53 PM Re: Drive Mappings - XP, etc
sasifras Offline
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 Offline
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
#29492 - 2002-09-30 11:49 PM Re: Drive Mappings - XP, etc
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still, if it's not working, I believe there is error somewhere else...

so, mostlikely the com-solutions will not work either.
 
_________________________
!

download KiXnet

Top
#29493 - 2002-09-30 11:56 PM Re: Drive Mappings - XP, etc
BrianTX Offline
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 Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 16
I'll give the COM stuff a go once I figure it out...
_________________________
Thanks, Sasifras

Top
#29495 - 2002-10-01 03:01 PM Re: Drive Mappings - XP, etc
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Are you running WINS? We're getting reports that WINS seems to be required for INGROUP to work. See WINS and XP .

[ 01. October 2002, 15:08: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#29496 - 2002-10-01 11:59 PM Re: Drive Mappings - XP, etc
sasifras Offline
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 Offline
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 Offline
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?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#29499 - 2002-10-02 03:58 AM Re: Drive Mappings - XP, etc
sasifras Offline
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 Offline
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?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#29501 - 2002-10-02 10:38 AM Re: Drive Mappings - XP, etc
surfkat Offline
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
#29502 - 2002-10-02 02:59 PM Re: Drive Mappings - XP, etc
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
IIRC, Windows XP Home cannot even connect to a domain, thus he must be talking about Windows XP Professional. I also believe that Windows XP Home is limited to a five-node peer-to-peer network, too.

Also, I think we might have to ask Ruud for advice about the INGROUP functionality. I have not yet seem any specific statement that INGROUP is fully AD compliant.

[ 02. October 2002, 15:02: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#29503 - 2002-10-02 10:37 PM Re: Drive Mappings - XP, etc
sasifras Offline
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
#29504 - 2002-10-02 11:25 PM Re: Drive Mappings - XP, etc
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ingroup is ad compliant for sure, but might be that some little difference in your env explouds everything...
 
_________________________
!

download KiXnet

Top
Page 2 of 3 <123>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.07 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org