#30016 - 2002-10-01 06:38 PM
LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
Greetings all
Forgive me if this has been covered somewhere already, but I've spent more than 6 hours looking for it, but not finding anything that fixes it.
Here's the situation: I've been using kixtart for about three years now, and have used the same (basically) script since the beginning. After upgrading to 4.10, the mapping to an LPT no longer works, except on Win9x machines.
I've included below the section of the script that used to work, but no longer does.
The group name is proper (Active Directory, Win2k server), and the UNC path to the printer share name is correct. (If I remove the InGroup section and use @userid=, it works fine.)
IF InGroup ("PRT-1-5-HP8000") USE LPT1: "\\TORFP01\5-HP8000" ENDIF
I'd be most appreciative of a solution. Thanks in advance.
Bob
|
|
Top
|
|
|
|
#30018 - 2002-10-01 07:02 PM
Re: LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
"MAP" is not in the picture. It is simply the term I used when describing what I was trying to do. "@userid" does work, but that can be tedious if you have a number of users. I may have to resort to it though, unless I can come up with a solution.
|
|
Top
|
|
|
|
#30020 - 2002-10-01 07:19 PM
Re: LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
Sorry - misunderstood MAP. Yes I've been using the USE function. Drive mappings seem to work ok, and LPT mappings work ok. Stick INGROUP in there, and they do not - but used to. I don't know if this was designed in 4.10 or maybe is just fallout (bug?) from some other change.
An update to this - I've updated to 4.11 to see if that makes any difference. It doesn't. I've tried the whole ordeal on a Win9x machine, and the script works perfectly. NT platform - no go. [ 01. October 2002, 19:51: Message edited by: Robert Leslie ]
|
|
Top
|
|
|
|
#30023 - 2002-10-01 08:49 PM
Re: LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
When you say "event log", I'm assuming you mean on the workstation. No there's nothing in there. I've searched, but not been able to find a kixtart.log file on the workstation or the DC servers. Please advise if I'm not looking in the right places.
|
|
Top
|
|
|
|
#30025 - 2002-10-01 09:36 PM
Re: LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
Ok, I've run that script, and it does fail when it comes to the InGroup. I don't understand why, unless it's something to do with the type of group it is in the AD (Global Security Group).
I've just run it with the /f (it took a minute to figure out to include the name of the script) and it worked properly. I tested by deleting the lpt mapping, then ran it again, and it worked again.
What's the /f do?
I've now tried without the /f and it still works. What's up with that? By the way, the script doesn't fail now either.
I don't know why - it must be something to do with the /f, but it seems to work right now.
Thanks a bunch. [ 01. October 2002, 21:54: Message edited by: Robert Leslie ]
|
|
Top
|
|
|
|
#30027 - 2002-10-01 09:56 PM
Re: LPT mapping using InGroup problems
|
Robert Leslie
Fresh Scripter
Registered: 2002-07-22
Posts: 8
Loc: Don Mills, ON
|
Please see the message above that I edited. It looks like it's working correctly now - I'll monitor it for a couple days to be sure.
But I'm really interested in what fixed it.
Thanks again.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 871 anonymous users online.
|
|
|