Skip to main content
1-Visitor
May 24, 2011
Question

Help using LoadFromFile utility....

  • May 24, 2011
  • 17 replies
  • 7047 views
I have had no luck attempting a simple task of using the LoadFromFile
utility to create an access control rule in the
Organization/PDM/<product> domain. All I wanted to do is to manually
delete a policy (which I did) and then use the loader to add it back.
Can someone point out what I'm missing? My organization name is CSE and
the Product is INFOSEC. I'm pretty sure it has something to do with the
<csvdomain> but I'm lost.....









<nmloader>

<csvaccessrule handler="wt.load.LoadUser.createAccessRule">

<csvuser></csvuser>

<csvdomain>/Default/PDM/INFOSEC</csvdomain>

<csvtypeid>wt.change2.WTChangeProposal</csvtypeid>

<csvpermission>+</csvpermission>

<csvprincipal>Change Admin I</csvprincipal>

<csvpermissionlist>7/2/1/0</csvpermissionlist>

<csvstate>ALL</csvstate>

</csvaccessrule>

</nmloader>





The command I'm using to execute is:

>windchill wt.load.LoadFromFile -d
D:\ptc\Windchill_9.1\Windchill\loadFiles\infosec_rules.xml -CONT_PATH
"/wt.inf.conainer.OrgContainer=CSE/wt.pdmlink.PDMLinkProduct=INFOSEC\"







17 replies

1-Visitor
May 27, 2011
Hi,



Find attached a step-by-step procedure used to migrate Aphelion to WDS for
Windows. Hope it helps



Sincerely,

David BOURCIER

Windchill Administrator



De : rohan kalbhor [
1-Visitor
May 27, 2011
Bill,

Yes, I did the migration during our 9.1 M060 upgrade and it was relatively simply and went smoothly. Not sure what issues you might be having though. More details might help.

Thanks

Alexius C. Chukwuka
Infrastructure Analyst, Global SAP Basis - TCM
Deere & Company World Headquarters
400 19th St, Moline, IL 61265
Office: (309) 765-3133
Mobile: (803) 429-5336

From: Kunz,William,IRVINE,R&D [
1-Visitor
May 27, 2011
Just did four systems successfully in the last few months. We are using 9.1 M060.

Rey

From: Kunz,William,IRVINE,R&D [
1-Visitor
May 27, 2011
Forgot to attach the doc that we use. Hope this helps.

From: Kunz,William,IRVINE,R&D [
1-Visitor
June 3, 2011
Well we finally got it to work with some diligent investigation and help from PTC.

And like everybody said, "It is real simple", except:

There is one small requirement to import a converted ldif file into DS that is not documented.

You cannot have a non numeric value in the telephone number field, if the ldif import into DS sees a non numeric value in that field it rejects the user.

Our wcadmin account had N/A in that field and the user was rejected from the import.

No wcadmin, no Windchill, as soon as I fixed that one field and re-imported the ldif file, the system came right up.

Just like everybody says "It is real simple" 🙂

Bill
1-Visitor
June 6, 2013

Hi,



i have followed the samesteps to move from Aphelion to WindchillDS.


But after starting the Windchill, I am not able to login to server url with admin or other user login.



What is the issue here?



Extract from apache error.log



[Thu Jun 06 09:48:14 2013] [debug] mod_proxy_ajp.c(565): proxy: got response from 10.121.4.19:8010 (replwin-e.wipro-win.com)[Thu Jun 06 09:48:14 2013] [debug] proxy_util.c(2030): proxy: AJP: has released connection for (replwin-e.wipro-win.com)[Thu Jun 06 09:48:27 2013] [debug] mod_deflate.c(612): [client 10.121.12.104] Zlib: Compressed 1490 to 624 : URL /Windchill/webserver/apache/error/apachelogin.html.en[Thu Jun 06 09:48:27 2013] [debug] mod_headers.c(743): headers: ap_headers_output_filter()[Thu Jun 06 09:48:27 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com:389/ou=people,cn=EnterpriseLdap,cn=Windchill_9.1,o=ptc[Thu Jun 06 09:48:27 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user wcadmin authentication failed; URI /Windchill/servlet/Navigation [User not found][No Such Object][Thu Jun 06 09:48:27 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com/ou=people,cn=Windchill_8.0,cn=Application%20Services,o=wipro-win[Thu Jun 06 09:48:27 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user wcadmin authentication failed; URI /Windchill/servlet/Navigation [LDAP: ldap_simple_bind_s() failed][Invalid Credentials][Thu Jun 06 09:48:27 2013] [error] [client 10.121.12.104] user wcadmin: authentication failure for "/Windchill/servlet/Navigation": Password Mismatch[Thu Jun 06 09:48:27 2013] [debug] mod_deflate.c(612): [client 10.121.12.104] Zlib: Compressed 1490 to 624 : URL /Windchill/webserver/apache/error/apachelogin.html.en[Thu Jun 06 09:48:27 2013] [debug] mod_headers.c(743): headers: ap_headers_output_filter()[Thu Jun 06 09:48:32 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com:389/ou=people,cn=EnterpriseLdap,cn=Windchill_9.1,o=ptc[Thu Jun 06 09:48:32 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user alonkar authentication failed; URI /Windchill/servlet/Navigation [User not found][No Such Object][Thu Jun 06 09:48:32 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com/ou=people,cn=Windchill_8.0,cn=Application%20Services,o=wipro-win[Thu Jun 06 09:48:32 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user alonkar authentication failed; URI /Windchill/servlet/Navigation [LDAP: ldap_simple_bind_s() failed][Invalid Credentials][Thu Jun 06 09:48:32 2013] [error] [client 10.121.12.104] user alonkar: authentication failure for "/Windchill/servlet/Navigation": Password Mismatch[Thu Jun 06 09:48:32 2013] [debug] mod_deflate.c(612): [client 10.121.12.104] Zlib: Compressed 1490 to 624 : URL /Windchill/webserver/apache/error/apachelogin.html.en[Thu Jun 06 09:48:32 2013] [debug] mod_headers.c(743): headers: ap_headers_output_filter()[Thu Jun 06 09:48:34 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com:389/ou=people,cn=EnterpriseLdap,cn=Windchill_9.1,o=ptc[Thu Jun 06 09:48:34 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user alonkar authentication failed; URI /Windchill/servlet/Navigation [User not found][No Such Object][Thu Jun 06 09:48:34 2013] [debug] mod_authnz_ldap.c(379): [client 10.121.12.104] [980] auth_ldap authenticate: using URL ldap://replwin-e.wipro-win.com/ou=people,cn=Windchill_8.0,cn=Application%20Services,o=wipro-win[Thu Jun 06 09:48:34 2013] [info] [client 10.121.12.104] [980] auth_ldap authenticate: user alonkar authentication failed; URI /Windchill/servlet/Navigation [LDAP: ldap_simple_bind_s() failed][Invalid Credentials][Thu Jun 06 09:48:34 2013] [error] [client 10.121.12.104] user alonkar: authentication failure for "/Windchill/servlet/Navigation": Password Mismatch[Thu Jun 06 09:48:34 2013] [debug] mod_deflate.c(612): [client 10.121.12.104] Zlib: Compressed 1490 to 624 : URL /Windchill/webserver/apache/error/apachelogin.html.en[Thu Jun 06 09:48:34 2013] [debug] mod_headers.c(743): headers: ap_headers_output_filter()


1-Visitor
June 6, 2013
Is this the correct/active search base
ou=people,cn=Windchill_8.0,cn=Application%20Services,o=wipro-win ?

You can try to reset the password for the user "alonkar" present
under ou=people,cn=Windchill_8.0,cn=Application%20Services,o=wipro-win and
try


Warm Regards,
*BINESH*
Consultant - Windchill
Barry Wehmiller International Resources