<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trinitydesktop.org/index.php?action=history&amp;feed=atom&amp;title=DevelopmentSpecificationsLibTDELDAP</id>
	<title>DevelopmentSpecificationsLibTDELDAP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trinitydesktop.org/index.php?action=history&amp;feed=atom&amp;title=DevelopmentSpecificationsLibTDELDAP"/>
	<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=DevelopmentSpecificationsLibTDELDAP&amp;action=history"/>
	<updated>2026-04-25T23:25:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=DevelopmentSpecificationsLibTDELDAP&amp;diff=263&amp;oldid=prev</id>
		<title>imported&gt;TimothyPearson at 15:57, 15 October 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=DevelopmentSpecificationsLibTDELDAP&amp;diff=263&amp;oldid=prev"/>
		<updated>2014-10-15T15:57:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:57, 15 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Developers&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Specifications&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;What functionality does this library power?&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;What functionality does this library power?&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;*[[DevelopmentSpecificationsKCMLDAP|LDAP/Kerberos realm bonding]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;*[[DevelopmentSpecificationsKCMLDAP|LDAP/Kerberos realm bonding]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;TimothyPearson</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=DevelopmentSpecificationsLibTDELDAP&amp;diff=262&amp;oldid=prev</id>
		<title>imported&gt;Eliddell: Created page with &quot;Category:Developers What functionality does this library power? *LDAP/Kerberos realm bonding *DevelopmentSpecificationsKCMLDAPContro...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=DevelopmentSpecificationsLibTDELDAP&amp;diff=262&amp;oldid=prev"/>
		<updated>2014-05-14T21:25:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/Category:Developers&quot; title=&quot;Category:Developers&quot;&gt;Category:Developers&lt;/a&gt; What functionality does this library power? *&lt;a href=&quot;/DevelopmentSpecificationsKCMLDAP&quot; title=&quot;DevelopmentSpecificationsKCMLDAP&quot;&gt;LDAP/Kerberos realm bonding&lt;/a&gt; *DevelopmentSpecificationsKCMLDAPContro...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Developers]]&lt;br /&gt;
What functionality does this library power?&lt;br /&gt;
*[[DevelopmentSpecificationsKCMLDAP|LDAP/Kerberos realm bonding]]&lt;br /&gt;
*[[DevelopmentSpecificationsKCMLDAPController|LDAP/Kerberos controller setup/control]]&lt;br /&gt;
*[[DevelopmentSpecificationsKCMLDAPManager|LDAP/Kerberos realm management]]&lt;br /&gt;
*[[DevelopmentSpecificationsKerberosTray|Kerberos ticket management]]&lt;br /&gt;
*and more!&lt;br /&gt;
&lt;br /&gt;
==Metrics==&lt;br /&gt;
&lt;br /&gt;
 cloc --exclude-dir=.git .&lt;br /&gt;
     109 text files.&lt;br /&gt;
     100 unique files.&lt;br /&gt;
     474 files ignored.&lt;br /&gt;
 &lt;br /&gt;
 http://cloc.sourceforge.net v 1.53  T=4.0 s (13.0 files/s, 22344.0 lines/s)&lt;br /&gt;
 --------------------------------------------------------------------------------&lt;br /&gt;
 Language                      files          blank        comment           code&lt;br /&gt;
 --------------------------------------------------------------------------------&lt;br /&gt;
 Bourne Shell                     14           6047           5490          36868&lt;br /&gt;
 m4                                2           1750            259          14334&lt;br /&gt;
 Bourne Again Shell                4           1467           2155           9111&lt;br /&gt;
 make                             13            424            323           3320&lt;br /&gt;
 Perl                              7            516            378           2808&lt;br /&gt;
 C++                               5            341            266           2278&lt;br /&gt;
 C/C++ Header                      7            215            200            826&lt;br /&gt;
 --------------------------------------------------------------------------------&lt;br /&gt;
 SUM:                             52          10760           9071          69545&lt;br /&gt;
 --------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
==Example objects and methods==&lt;br /&gt;
&lt;br /&gt;
Partial list:&lt;br /&gt;
&lt;br /&gt;
 enum LDAPKRB5Flags&lt;br /&gt;
 enum KRB5TicketFlags&lt;br /&gt;
 class LDAPCredentials&lt;br /&gt;
 class LDAPRealmConfig&lt;br /&gt;
 class LDAPCertConfig&lt;br /&gt;
 class LDAPUserInfo&lt;br /&gt;
 class LDAPGroupInfo&lt;br /&gt;
 class LDAPMachineInfo&lt;br /&gt;
 class LDAPServiceInfo&lt;br /&gt;
 class LDAPTDEBuiltinsInfo&lt;br /&gt;
 class KerberosTicketInfo&lt;br /&gt;
 class LDAPManager&lt;br /&gt;
 		TQString realm(); &lt;br /&gt;
 		TQString basedn();&lt;br /&gt;
 		int bind(TQString* errstr=0);&lt;br /&gt;
 		int unbind(bool force, TQString* errstr=0);&lt;br /&gt;
 		LDAPUserInfoList users(int* retcode=0);&lt;br /&gt;
 		LDAPGroupInfoList groups(int* retcode=0);&lt;br /&gt;
 		LDAPMachineInfoList machines(int* retcode=0);&lt;br /&gt;
 		LDAPServiceInfoList machineServices(TQString machine_dn, int* retcode=0);&lt;br /&gt;
 		LDAPServiceInfoList services(int* retcode=0);&lt;br /&gt;
 		LDAPUserInfo getUserByDistinguishedName(TQString dn);&lt;br /&gt;
 		LDAPGroupInfo getGroupByDistinguishedName(TQString dn, TQString *errstr=0);&lt;br /&gt;
 		int updateUserInfo(LDAPUserInfo user);&lt;br /&gt;
 		int updateGroupInfo(LDAPGroupInfo group);&lt;br /&gt;
 		int addUserInfo(LDAPUserInfo user);&lt;br /&gt;
 		int addGroupInfo(LDAPGroupInfo group);&lt;br /&gt;
 		int addServiceInfo(LDAPServiceInfo service, TQString *errstr=0);&lt;br /&gt;
 		int deleteUserInfo(LDAPUserInfo user);&lt;br /&gt;
 		int deleteGroupInfo(LDAPGroupInfo group);&lt;br /&gt;
 		int deleteMachineInfo(LDAPMachineInfo machine);&lt;br /&gt;
 		int deleteServiceInfo(LDAPServiceInfo service);&lt;br /&gt;
 &lt;br /&gt;
 		LDAPCredentials currentLDAPCredentials();&lt;br /&gt;
 &lt;br /&gt;
 		int moveKerberosEntries(TQString newSuffix, TQString* errstr=0);&lt;br /&gt;
 		int writeCertificateFileIntoDirectory(TQByteArray cert, TQString attr, TQString* errstr=0);&lt;br /&gt;
 &lt;br /&gt;
 		LDAPTDEBuiltinsInfo getTDEBuiltinMappings(TQString *errstr=0);&lt;br /&gt;
 		int writeSudoersConfFile(TQString *errstr=0);&lt;br /&gt;
 		int getTDECertificate(TQString certificateName, TQString fileName, TQString *errstr=0);&lt;br /&gt;
 		int setPasswordForUser(LDAPUserInfo user, TQString *errstr);&lt;br /&gt;
 &lt;br /&gt;
 		static void writeCronFiles();&lt;br /&gt;
 		static void writePrimaryRealmCertificateUpdateCronFile();&lt;br /&gt;
 		static TQString getMachineFQDN();&lt;br /&gt;
 		static void writeLDAPConfFile(LDAPRealmConfig realmcfg);&lt;br /&gt;
 		static void writeTDERealmList(LDAPRealmConfigList realms, KSimpleConfig* config);&lt;br /&gt;
 		static LDAPRealmConfigList readTDERealmList(KSimpleConfig* config, bool disableAllBonds=false);&lt;br /&gt;
 		static TQDateTime getCertificateExpiration(TQString certfile);&lt;br /&gt;
 &lt;br /&gt;
 		static int generatePublicKerberosCACertificate(LDAPCertConfig certinfo);&lt;br /&gt;
 		static int generatePublicKerberosCertificate(LDAPCertConfig certinfo, LDAPRealmConfig realmcfg);&lt;br /&gt;
 		static int generatePublicLDAPCertificate(LDAPCertConfig certinfo, LDAPRealmConfig realmcfg, uid_t ldap_uid, gid_t l dap_gid);&lt;br /&gt;
 &lt;br /&gt;
 		static TQString ldapdnForRealm(TQString realm);&lt;br /&gt;
 		static TQString cnFromDn(TQString dn);&lt;br /&gt;
 &lt;br /&gt;
 		static KerberosTicketInfoList getKerberosTicketList(TQString cache=TQString::null, TQString *cacheFileName=0);&lt;br /&gt;
 		static int getKerberosPassword(LDAPCredentials &amp;amp;creds, TQString prompt, bool requestServicePrincipal=false, TQWidget* parent=0);&lt;br /&gt;
 		static int obtainKerberosTicket(LDAPCredentials creds, TQString principal, TQString *errstr=0);&lt;br /&gt;
 		static int obtainKerberosServiceTicket(TQString principal, TQString *errstr=0);&lt;br /&gt;
 		static int destroyKerberosTicket(TQString principal, TQString *errstr=0);&lt;/div&gt;</summary>
		<author><name>imported&gt;Eliddell</name></author>
	</entry>
</feed>