{"id":395,"date":"2016-01-17T16:47:11","date_gmt":"2016-01-17T21:47:11","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=395"},"modified":"2016-01-17T16:47:11","modified_gmt":"2016-01-17T21:47:11","slug":"phabricator-ldap-account-integration-table","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2016\/01\/17\/phabricator-ldap-account-integration-table\/","title":{"rendered":"Phabricator LDAP (and other) account integration table"},"content":{"rendered":"<pre class=\"brush: plain; title: ; notranslate\" title=\"\">phabricator_user.user_externalaccount<\/pre>\n<p>See also <a href=\"https:\/\/secure.phabricator.com\/T4279\">https:\/\/secure.phabricator.com\/T4279<\/a><\/p>\n<p>For LDAP, the following structure is used:<\/p>\n<ul>\n<li><strong>id<\/strong> &#8211; auto-increment<\/li>\n<li><strong>phid<\/strong> &#8211; random unique id<\/li>\n<li><strong>userPHID<\/strong> &#8211; associated user or NULL<\/li>\n<li><strong>accountType &#8211; &#8220;ldap&#8221;<\/strong><\/li>\n<li><strong>accountDomain<\/strong> &#8211; &#8220;self&#8221;<\/li>\n<li><strong>accountSecret<\/strong>` &#8211; random characters<\/li>\n<li><strong>accountID<\/strong> &#8211; LDAP username<\/li>\n<li>displayName &#8211; NULL<\/li>\n<li><strong>dateCreated<\/strong> &#8211; Unix timestamp<\/li>\n<li><strong>dateModified<\/strong> &#8211; Unix timestamp<\/li>\n<li><strong>username<\/strong> &#8211; registration pre-fill for username<\/li>\n<li><strong>realName<\/strong> &#8211; registration pre-fill for real name<\/li>\n<li>email &#8211; NULL<\/li>\n<li><strong>emailVerified<\/strong> &#8211; 0<\/li>\n<li>accountURI &#8211; NULL<\/li>\n<li>profileImagePHID &#8211; NULL<\/li>\n<li><strong>properties &#8211; &#8220;[]&#8221;<\/strong><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>See also https:\/\/secure.phabricator.com\/T4279 For LDAP, the following structure is used: id &#8211; auto-increment phid &#8211; random unique id userPHID &#8211; associated user or NULL accountType &#8211; &#8220;ldap&#8221; accountDomain &#8211; &#8220;self&#8221; accountSecret` &#8211; random characters accountID &#8211; LDAP username displayName &#8211; NULL dateCreated &#8211; Unix timestamp dateModified &#8211; Unix timestamp username &#8211; registration pre-fill for username [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/395"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}