#121004 - 2004-06-10 11:12 AM
Mappings not working correctly, please help?
|
dcarr
Getting the hang of it
Registered: 2004-05-10
Posts: 62
|
I have created a logical drive known as "M:\Marketing". On the drive I have created two shares known as:
NW_Evnt_Dept and NW_Mktg_Dept
I am using kixscripsts to map to the drives from W9x client machines.
The two shares exist for two different departments.
The first share I created was NW_Mktg_Dept, and I mapped the drive as shown below:
If INGROUP (nw2_mktg_dept) Mapdrive ("M:","\\nw-data-store1\nw_mktg_dept) endif
I then created the second share and mapped the drive as follows:
If INGROUP (nw2_evnt_dept) Mapdrive ("H:","\\nw-data-store1\nw_evnt_dept) endif
When I assign users to this group the mapping does not work? Any ideas why?
|
Top
|
|
|
|
#121005 - 2004-06-10 11:40 AM
Re: Mappings not working correctly, please help?
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Is the mapping failing or the InGroup() not firing?
- Flush the cache (kixtart /f)
- Add a debug message to check the the new InGroup is working.
- Check the error return from the "USE" in your MapDrive UDF.
|
Top
|
|
|
|
#121006 - 2004-06-10 12:50 PM
Re: Mappings not working correctly, please help?
|
dcarr
Getting the hang of it
Registered: 2004-05-10
Posts: 62
|
Please excuse my ignorance.
Where abouts, when using W9x clients, should I place the -d
%0\..\kix32 %0\..\livscript.kix
I have tried after kix32 and after livscript.kix but the script will not run in debug mode?
|
Top
|
|
|
|
#121008 - 2004-06-10 01:14 PM
Re: Mappings not working correctly, please help?
|
dcarr
Getting the hang of it
Registered: 2004-05-10
Posts: 62
|
S orry that was a typing error the quotes are at the end.
Problem still persists?
|
Top
|
|
|
|
#121010 - 2004-06-10 03:27 PM
Re: Mappings not working correctly, please help?
|
dcarr
Getting the hang of it
Registered: 2004-05-10
Posts: 62
|
Hi Rich,
Were do you place the /f to flush the membership?
I have monitored the script and it does not even attempt to map the drive?
|
Top
|
|
|
|
#121011 - 2004-06-10 03:52 PM
Re: Mappings not working correctly, please help?
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Code:
%0\..\kix32 /f %0\..\livscript.kix
Should do it.
|
Top
|
|
|
|
#121012 - 2004-06-10 04:39 PM
Re: Mappings not working correctly, please help?
|
dcarr
Getting the hang of it
Registered: 2004-05-10
Posts: 62
|
Thanks for that Rich. I tried it but still no success?
Can kix map to multiple shares on the one logical drive?
It looks as though everything is right on the server with regards to permissions, group namings, etc?
|
Top
|
|
|
|
#121013 - 2004-06-10 05:00 PM
Re: Mappings not working correctly, please help?
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
You need to determine what the error is first.
If the InGroup() is not working, then the issue is not with the mapping, but rather with the group membership check, and you will need to fix that first.
Just run a simple script with the failing user: Code:
If InGroup("....whatever group") "Am in group" ? Else "Am not in group" ? EndIf
Once the group check is working you can worry about the drive mapping.
Check that your old and new groups are the same type i.e. Local vs Global.
|
Top
|
|
|
|
#121014 - 2004-06-10 06:34 PM
Re: Mappings not working correctly, please help?
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Quote:
KiXtart 2001 4.22 (Copyright Ruud van Velsen 2003) Microsoft Windows (logon) script processor.
Note: KiXtart is CareWare, please consult the manual for full details on distribution and licensing.
Usage :
KIX32 [script1] [...] [$var=123] [/f[:yyyy/mm/dd]] [/r:irel] [/d]
Options: /f = flush token cache (optionally only if older than date specified) /r = KXRPC search order (see manual for details) /d = enable debug mode
As I read it, it should be: %0\..\kix32 %0\..\livscript.kix /f
But I'm sure either way works just fine. Thanks for making KiXtart so easy Ruud.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 329 anonymous users online.
|
|
|