Page 2 of 2 <12
Topic Options
#187828 - 2008-05-23 03:00 AM Re: Assigning printers in Presentation Server 4.5 [Re: RB_Trout]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
try "kix32 /?"

\:\)
_________________________
Actually I am a Rocket Scientist! \:D

Top
#187836 - 2008-05-23 06:29 PM Re: Assigning printers in Presentation Server 4.5 [Re: Glenn Barnas]
RB_Trout Offline
Fresh Scripter

Registered: 2008-05-20
Posts: 13
Loc: USA
Now, the one group that did work doesn't. Kixtart does not like the
if ingroup("") command. That's where it hangs up every time.


Edited by RB_Trout (2008-05-23 07:08 PM)

Top
#187842 - 2008-05-24 02:00 AM Re: Assigning printers in Presentation Server 4.5 [Re: RB_Trout]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Well why would you ask it to check a blank group?
Top
#187844 - 2008-05-24 04:05 AM Re: Assigning printers in Presentation Server 4.5 [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Hangs up or skips past?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#187851 - 2008-05-25 10:56 AM Re: Assigning printers in Presentation Server 4.5 [Re: Les]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Not sure what you mean. I have not tried but I'm just saying that maybe calling a blank group confuses the call from KiX. Also don't see a need for it as the result could never be valid so why make the call, just doesn't make sense. Can you explain in more detail why you call or use that blank call.
Top
#187852 - 2008-05-25 01:43 PM Re: Assigning printers in Presentation Server 4.5 [Re: NTDOC]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
My take on this is that the OP isn't using a InGroup() without parms and that InGroup() is unable to get group info from AD. Not a KiX problem.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#187900 - 2008-05-28 12:26 AM Re: Assigning printers in Presentation Server 4.5 [Re: Les]
RB_Trout Offline
Fresh Scripter

Registered: 2008-05-20
Posts: 13
Loc: USA
I actually got it to work again. I don't think Kix is seeing the AD, either. Not sure why, but that's what I'm leaning towards, as well.
Thanks for all the help so far. Once I get it figured out, I'll post what I found.

Top
#187984 - 2008-05-30 05:03 PM Re: Assigning printers in Presentation Server 4.5 [Re: RB_Trout]
RB_Trout Offline
Fresh Scripter

Registered: 2008-05-20
Posts: 13
Loc: USA
Evidently, there was something wrong with the scripting (?). My whole kixtart.kix script had about 15 different if ingroup() statements in it. I broke out 7 of them and now have those 7 saved as separate .kix files, called from the original. It's now working quite well.
My whole thing was to assign printers from an old print server to a new one without logging in as each user. I used the DELPRINTERCONNECTION command to remove all the old printers and then the ADDPRINTERCONNECTION command to add the new ones. Finally got the bugs worked out and it's working like a charm.
Thanks everyone for the input. I came back here and re-read all the input several times to make sure my scripting was correct. Again, thanks, so much.

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 380 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.065 seconds in which 0.029 seconds were spent on a total of 14 queries. Zlib compression enabled.

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