#23815 - 2002-06-25 09:47 PM
Re: Global Groups
|
Troy Edwards
Fresh Scripter
Registered: 2002-06-12
Posts: 23
Loc: Dallas, TX
|
2001. Where is the new updates?
_________________________
Troy Edwards
IS Manager
Brandt Engineering Co.
|
|
Top
|
|
|
|
#23816 - 2002-06-25 09:53 PM
Re: Global Groups
|
Troy Edwards
Fresh Scripter
Registered: 2002-06-12
Posts: 23
Loc: Dallas, TX
|
Which is 4.1 RC2.
_________________________
Troy Edwards
IS Manager
Brandt Engineering Co.
|
|
Top
|
|
|
|
#23817 - 2002-06-25 09:58 PM
Re: Global Groups
|
Troy Edwards
Fresh Scripter
Registered: 2002-06-12
Posts: 23
Loc: Dallas, TX
|
Pages 82 & 83 in the 4.10 manual. I downloaded it all from KIXTART.ORG. It talks about a mode value, to check for all groups.
_________________________
Troy Edwards
IS Manager
Brandt Engineering Co.
|
|
Top
|
|
|
|
#23818 - 2002-06-25 10:01 PM
Re: Global Groups
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Please re-read the section. My take on this is that if you supply a list of groups for one INGROUP command you then can use a "1" as an optional parameter. You are only checking for membership in one group at a time. Try without the extra "1".
|
|
Top
|
|
|
|
#23820 - 2002-06-25 10:08 PM
Re: Global Groups
|
Troy Edwards
Fresh Scripter
Registered: 2002-06-12
Posts: 23
Loc: Dallas, TX
|
Took it out, we will see. As for the VPN deal....We have three locations (Dallas, FT. Worth, and San Antonio). Dallas has the main accounts and groups. SA and FW have their own servers (which replicate to Dallas), but have their own shares. I guess, I can just make them up special groups and map them that way. (i.e. SASales, FWService, etc.). I just would like it to tie into the Dallas shares as well, but that should work as well.
_________________________
Troy Edwards
IS Manager
Brandt Engineering Co.
|
|
Top
|
|
|
|
#23821 - 2002-06-25 10:12 PM
Re: Global Groups
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
If you lookup "subnet" in the UDF Library, you will find several alternatives that will permit you to determine the subnet and make special mappings based on IP if you want. This may reduce you group maintenance overhead. [ 25 June 2002, 23:32: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#23822 - 2002-06-26 01:54 AM
Re: Global Groups
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
Another way to see what is going wrong is add some debugging code to your script with our tool kixstrip
code:
CLS COLOR C+/N AT (1,1) " " IF RedirectOutput("") ENDIF ? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script starting." ? "-" ? "-curdir: "+LCASE(@curdir) ? "-scriptdir: "+LCASE(@scriptdir) IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0) ? "-scriptname: "+LCASE(@scriptname) ENDIF ? "-startdir: "+LCASE(@startdir) ? "-" ? "-userid: "+LCASE(@userid)+"/"+LCASE(@wuserid) ? "-user priv: "+LCASE(@priv) IF (instr("-4.xx-","-"+substr(@kix,1,2)+"xx-") <> 0) ? "-version: inwin="+@inwin+"/dos="+@dos"/productsuite="+@productsuite+"/producttype="+@producttype"/csd="+LTRIM(RTRIM(@csd)) ELSE ? "-version: inwin="+@inwin+"/dos="+@dos ENDIF ? "-" ?"- start-"+@time+"- @error @serror "?
?"- 1-"+@time+"- @error @serror "? ?"- 2-"+@time+"- @error @serror "? ? "Logon Server: " @lserver ?"- 3-"+@time+"- @error @serror "? ? "KIXRPC Server: " @rserver ?"- 4-"+@time+"- @error @serror "? ? "Date: " @date ?"- 5-"+@time+"- @error @serror "? ? "Domain: " @domain ?"- 6-"+@time+"- @error @serror "? ?"- 7-"+@time+"- @error @serror "? ; --Set Workstation Time ?"- 8-"+@time+"- @error @serror "? SETTIME "*" ?"- 9-"+@time+"- @error @serror "? ? "Time syncronized with the server" ?"- 10-"+@time+"- @error @serror "? ?"- 11-"+@time+"- @error @serror "? USE * /delete /persistent ?"- 12-"+@time+"- @error @serror "? ?"- 13-"+@time+"- @error @serror "? $user= @userid + "$" ?"- 14-"+@time+"- @error @serror "? USE u: "\\brandtpdc\$user" ?"- 15-"+@time+"- @error @serror "? ?"- 16-"+@time+"- @error @serror "? IF INGROUP("Everyone", 1) = 1 ?"- 17-"+@time+"- @error @serror "? USE t: "\\cluster1\forms" ?"- 18-"+@time+"- @error @serror "? ENDIF ?"- 19-"+@time+"- @error @serror "? IF INGROUP("Safety", 1) = 1 ?"- 20-"+@time+"- @error @serror "? USE f: "\\cluster1\safety" ?"- 21-"+@time+"- @error @serror "? ENDIF ?"- 22-"+@time+"- @error @serror "? IF INGROUP("Controls", 1) = 1 ?"- 23-"+@time+"- @error @serror "? USE g: "\\cluster1\controls" ?"- 24-"+@time+"- @error @serror "? ENDIF ?"- 25-"+@time+"- @error @serror "? IF INGROUP("Estimating", 1) = 1 ?"- 26-"+@time+"- @error @serror "? USE h: "\\cluster1\estimating" ?"- 27-"+@time+"- @error @serror "? ENDIF ?"- 28-"+@time+"- @error @serror "? IF INGROUP("Sales", 1) = 1 ?"- 29-"+@time+"- @error @serror "? USE i: "\\cluster1\sales" ?"- 30-"+@time+"- @error @serror "? ENDIF ?"- 31-"+@time+"- @error @serror "? IF INGROUP("Engineering", 1) = 1 ?"- 32-"+@time+"- @error @serror "? USE j: "\\cluster1\engineering" ?"- 33-"+@time+"- @error @serror "? ENDIF ?"- 34-"+@time+"- @error @serror "? IF INGROUP("McCormick", 1) = 1 ?"- 35-"+@time+"- @error @serror "? USE k: "\\cluster1\mccormick" ?"- 36-"+@time+"- @error @serror "? ENDIF ?"- 37-"+@time+"- @error @serror "? IF INGROUP("Billing", 1) = 1 ?"- 38-"+@time+"- @error @serror "? USE l: "\\cluster1\billing" ?"- 39-"+@time+"- @error @serror "? ENDIF ?"- 40-"+@time+"- @error @serror "? IF INGROUP("Maxwell", 1) = 1 ?"- 41-"+@time+"- @error @serror "? USE m: "\\ntmaxwell\maxwell" ?"- 42-"+@time+"- @error @serror "? ENDIF ?"- 43-"+@time+"- @error @serror "? IF INGROUP("Drafting", 1) = 1 ?"- 44-"+@time+"- @error @serror "? USE n: "\\cluster1\drafting" ?"- 45-"+@time+"- @error @serror "? ENDIF ?"- 46-"+@time+"- @error @serror "? IF INGROUP("DP", 1) = 1 ?"- 47-"+@time+"- @error @serror "? USE o: "\\cluster1\dp" ?"- 48-"+@time+"- @error @serror "? ENDIF ?"- 49-"+@time+"- @error @serror "? IF INGROUP("Project Management", 1) = 1 ?"- 50-"+@time+"- @error @serror "? USE p: "\\cluster1\projmgmt" ?"- 51-"+@time+"- @error @serror "? ENDIF ?"- 52-"+@time+"- @error @serror "? IF INGROUP("Quickpen", 1) = 1 ?"- 53-"+@time+"- @error @serror "? USE q: "\\cluster1\quickpen" ?"- 54-"+@time+"- @error @serror "? ENDIF ?"- 55-"+@time+"- @error @serror "? IF INGROUP("Payroll", 1) = 1 ?"- 56-"+@time+"- @error @serror "? USE r: "\\cluster1\payroll" ?"- 57-"+@time+"- @error @serror "? ENDIF ?"- 58-"+@time+"- @error @serror "? IF INGROUP("Service", 1) = 1 ?"- 59-"+@time+"- @error @serror "? USE s: "\\cluster1\service" ?"- 60-"+@time+"- @error @serror "? ENDIF ?"- 61-"+@time+"- @error @serror "? IF INGROUP("Constructware", 1) = 1 ?"- 62-"+@time+"- @error @serror "? USE v: "\\cluster1\constructware" ?"- 63-"+@time+"- @error @serror "? ENDIF ?"- 64-"+@time+"- @error @serror "? IF INGROUP("Electrical", 1) = 1 ?"- 65-"+@time+"- @error @serror "? USE w: "\\cluster1\electrical" ?"- 66-"+@time+"- @error @serror "? ENDIF ?"- 67-"+@time+"- @error @serror "? IF INGROUP("Domain Admins", 1) = 1 ?"- 68-"+@time+"- @error @serror "? USE x: "\\cluster1\mis" ?"- 69-"+@time+"- @error @serror "? ENDIF ?"- 70-"+@time+"- @error @serror "? IF INGROUP("Purchasing", 1) = 1 ?"- 71-"+@time+"- @error @serror "? USE y: "\\cluster1\purchase" ?"- 72-"+@time+"- @error @serror "? ENDIF ?"- 73-"+@time+"- @error @serror "? IF INGROUP("Accounting", 1) = 1 ?"- 74-"+@time+"- @error @serror "? USE z: "\\cluster1\accounting" ?"- 75-"+@time+"- @error @serror "? ENDIF ?"- 76-"+@time+"- @error @serror "? ?"- 77-"+@time+"- @error @serror "? ?"- 78-"+@time+"- @error @serror "?
?"- end-"+@time+"- @error @serror "? ? "-" ? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script ending." ? "-" IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0) ? "-"+@cpu+" ("+@mhz+" Mhz, memory "+MemorySize()+" MB)" ENDIF ? "-"
Our call is: kixstrip input.kix output.kix /debug greetings.
btw: symbol on our homepage has been linked to related http://kixtart.org topic.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1179 anonymous users online.
|
|
|