`
li.feixiang
  • 浏览: 120528 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

Reconnecting Disconnected Principals in Windchill via SQL Script

阅读更多

If you have your Windchill server instance setup to authenticate users against your Active Directory (AD) you will need to keep an eye on your disconnected principals (Site – Utilities – Principal Administrator – Maintenance). Disconnected principals are AD accounts that have been deleted or disabled, and Windchill is letting you know that it is unable to associate records in the WTUser table to an active AD account.

If this que is left untouched it can cause your system to behave abnormally. So it’s a good thing to check this que at least once a week. If you are seeing accounts showing up here that means that their AD accounts have been either deleted or disabled.  In the past I have seen Windchill mark an active account as being a disconnected principal. The following steps will help you resolve this issue.

  1. First, you will need to get the idA2A2 number of the account in questions. The idA2A2 is the unique identifier for each record in the WTUser table. The following script will get you the idA2A2 for the records in question:
    select idA2A2,name, repairNeeded from wtuser.WTUser
    where repairNeeded = 1
     


    The results from the script should match what is showing from the principal pal administrator screen.
     
  2. Now to update the record so that it’s not longer a disconnected principal.This script will update record in the WTUser table to no longer be a disconnected principal:
    update wtuser.WTUser
    set
    repairNeeded = 0
    where idA2A2 = idA2A2_from_previous_script
     
     

After the script is executed refresh the disconnected principals page in Windchill. The account in question should disappear. repeat the update script for each disconnected principal that you wish to correct.

分享到:
评论

相关推荐

    reconnecting-websocket.js

    只要把var ws = new WebSocket('ws://....');替换成var ws = new ReconnectingWebSocket('ws://....');

    reconnecting-websocket

    `reconnecting-websocket`是一个JavaScript库,专为处理WebSocket连接的断开和重新连接问题而设计,确保在网络不稳定或服务器故障时仍能保持通信的可靠性。 WebSocket API本身并不包含自动重连功能。当WebSocket...

    WebSocket重练机制

    说明缺少包资源,需引入reconnecting-websocket.js和reconnecting-websocket.minjs 创建WebSocket对象使用ReconnectingWebSocket 如下: var ws = new ReconnectingWebSocket(' ws:// .... ');

    reconnecting-websocket:重新连接WebSocket。 对于Web,React Native,cli(Node.js)

    将在打开时发送累积的消息可用的多个版本(请参阅dist文件夹) 调试模式安装npm install --save reconnecting-websocket用法与WebSocket浏览器API兼容因此,此文档应该有效: 。 如果发现任何问题,请ping我。 或者...

    iscsi错误discovery session to ip failed to recv a PDU response, reconnecting

    iscsi错误discovery session to ip failed to recv a PDU response, reconnecting

    react-native-reconnecting-websocket:React Native自动重新连接WebSocket扩展了WebSocketModule

    React-Native-Reconnecting-WebSocket React Native自动重新连接websocket扩展了WebSocketModule。 API设计参考了 。 :China: 它与API兼容,因此在具有以下条件时: var ws = new WebSocket ( 'ws://....' ) ; ...

    ReconnectingWebSocket脚本库

    websocket断线重连机制 在使用websocket的过程中,有时候会遇到网络断开的情况,但是在网络断开的时候服务器端并没有触发onclose的事件,这时候就需要由前端自行处理了,ReconnectionWebSocket恒昊的帮我们解决了这个...

    Modbus® RTU Serial Communications User Manual

    ### Modbus® RTU Serial Communications User Manual - 关键知识点概览 #### 一、Modbus RTU协议概述 - **定义与应用**:Modbus RTU(Remote Terminal Unit)是一种广泛应用于工业自动化领域的串行通信协议,用于...

    platform-tools_r28.0.2-linux adb fastboot

    Fixes authentication via ADB_VENDOR_KEYS when reconnecting devices. Fixes authentication—when the private key used for authentication does not match the public key—by calculating the public key from...

    platform-tools-r28.0.2-windows-adb-fastboot

    Fixes authentication via ADB_VENDOR_KEYS when reconnecting devices. Fixes authentication—when the private key used for authentication does not match the public key—by calculating the public key from...

    JLink_Windows_V648.zip

    Analog Devices ADUCM355: Reset could not be overwritten using a J-Link script file. Fixed. CCS plugin: Added a new option which allows configuring a J-Link script file (project dependent). ...

    windows版 ngrok

    ngrok-stable-windows-386.zipngrok-stable-windows-386.zip

    pierced.zip

    内网穿透工具,可以实现代理本地端口生成域名,可以通过此域名访问本地服务,在公众号等需要提供外网回调地址的场景下,本地开发人员可以使用此工具生成域名配置简单使用,支持linux、mac、win64

    ngrok官方客户端

    Ngrok windows10版本64位操作系统,解压安装后即可进行内网穿透,可以快速开发对接微信、微盟等Oauth2平台。

    Android代码-RevolutionIRC

    Store chat messages to be displayed after reconnecting to the server later Nick/channel/command autocomplete Ignore list mIRC color formatting support SSL certificate exception list Com

    深入理解MySQL主从复制线程状态转变

    6. **Reconnecting after a failed binlog dump request**:重连主库。 7. **Waiting for master to send event**:等待主库发送事件。 8. **Queueing master event to the relay log**:将事件复制到中继日志。 9. ...

    PandoraRadio客户端Pithos.zip

    Pithos 是一个原生的 Pandora Radio 在 Linux ... Reconnecting when pandora session times out Editing QuickMix Creating stations Media Key support Proxy support Last.fm scrobbling 标签:Pithos

    测试自动重连代码

    - 设计一个连接状态变量,用于记录当前的连接状态(如 Connected、Disconnected、Connecting、Reconnecting)。 - 当应用程序关闭或重启时,可以根据这个状态决定是否需要立即尝试重新连接。 5. **用户界面反馈**...

    mqtt前端调用

    <script src="path/to/mqtt.min.js"></script> ``` 然后,在JavaScript中创建一个客户端实例,并连接到MQTT服务器: ```javascript var client = mqtt.connect('ws://your-mqtt-broker-url'); ``` 这里的`your-...

Global site tag (gtag.js) - Google Analytics