<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us">
  <title type="text">tiki.org forumLDAP / Active directory</title>
  <subtitle type="text">Latest posts to this formThis is the forum for questions and support requests concerning LDAP &amp;amp;amp; Active Directory in Tiki.</subtitle>
  <logo>https://tiki.org/img/tiki/Tiki_WCG_Community.png</logo>
  <updated>2026-11-10T03:19:01+00:00</updated>
  <generator uri="https://getlaminas.org" version="2">Laminas_Feed_Writer</generator>
  <link rel="alternate" type="text/html" href="https://tiki.org/"/>
  <link rel="self" type="application/atom+xml" href="https://tiki.org/tiki-forum_rss.php?forumId=17"/>
  <id>https://tiki.org/</id>
  <entry>
    <title type="html"><![CDATA[Tiki connection to a AD server in a external private network.]]></title>
    <summary type="html"><![CDATA[Hello everyone.

So I guess my question is more to do with networking side, but since its between a tiki instance and a Active Directory server, I guess this forum is a suitable place to ask it.

Currently, the organization i work at uses Active Directory for authentication and other purposes. we have roughly 500 users. And we are on the verge of utilizing tiki for a lot of our application needs. As such another external organization that is providing tiki consulting to us is hosting a tiki instance on our behalf and leading the initial development effort.

We want our users to be able to login to the tiki instance and verify the work as well as provide feedback, but creating a new account for each user is a hassle to maintain. We want to make the user able to login to those instances using LDAP.

What would be a appropriate way to make the tiki instance have access to our AD server that sits in the company internal network. We have access to the firewall and can create rules and policies for it. We can also create VPN for the tiki instance, but we want to know what security implications there might be or what is a good way to proceed forward with this requirement ?]]></summary>
    <published>2024-05-07T08:46:00+00:00</published>
    <updated>2024-05-07T08:46:00+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=79521"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=79521</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[PAM authentication -- first login  attempt fails, but second works]]></title>
    <summary type="html"><![CDATA[This not specifically an LDAP question, but I want to use Tiki Wiki with PAM authentication.  I have configured this and ensured that the users in question have login access to the server where Tiki is running.

When a new user logs into Tiki for the first time, the login attempt will fail, presumably because the user has no Tiki account at that time.  After this, the Tiki account is created and subsequent logins to Tiki will succeed.

Is this the normal and expected behavior?  Tiki is getting the login and password information through PAM without difficulty, so that seems to be configured properly.

This is not a deal-breaker, but is still pretty annoying behavior.  Thoughts?

Thanks.]]></summary>
    <published>2022-04-14T13:11:19+00:00</published>
    <updated>2022-04-14T13:11:19+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=78259"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=78259</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[Import AD-Users in tracker "user picker" field]]></title>
    <summary type="html"><![CDATA[Hello,

i want to import a old list from sharepoint into a newly created Tiki Tracker. This sharepoint list contains a "user"-field that links to a AD-user.
I export this sharepoint list via Excel to a  csv-list. The user field containes just the AD-users login name (SamAccountName).
The Tiki system is also connected to the ActiveDirectory and the users log in to the Tiki with there AD-users.

I want to import that csv-list and thereby populate the  tracker item type "user picker" with the AD-users from the exported csv-list.

But it is just not working.

How can i do that?]]></summary>
    <published>2021-08-11T14:33:02+00:00</published>
    <updated>2021-08-11T14:33:02+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=77392"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=77392</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[AD-login OK, but no admin and editing possible any more]]></title>
    <summary type="html"><![CDATA[Hello,

i just have installed the latest Tiki version in our net. I created a bunch of topics and trackers as user "user". Then i enabled AD-logon form an Active Directory. Which is also working fine now, i can log in with AD-credentials.

The problem is now that
- i cannot see any trackers or data in trackers any more
- i cannot edit any topics
- i cannotz config anything 

because all AD-Users have to limited permissions and, worst of all, my "user" login is not working any more.
I have even reset pwd of user "user" via SQL, but that does not solve  my problem.

I think that maybe accidently i have set the authentication process to AD-only instead of AD&Tiki, which would probably explain the problem. And now i#m stuck.

__Is there a way to enable Tiki-authentication via cmd-line or SQL?__

Thank you for your help]]></summary>
    <published>2021-03-17T14:19:56+00:00</published>
    <updated>2021-03-17T14:19:56+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=76530"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=76530</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[Tiki-Wiki SSO]]></title>
    <summary type="html"><![CDATA[Hi
We have Azure Marketplace Bitnami TikiWiki installation and my questions is it possible create Azure SSO login to TikiWiki ?
Any recommended steps for integrating TikiWiki to Azure SSO.]]></summary>
    <published>2020-12-09T09:06:55+00:00</published>
    <updated>2020-12-09T09:06:55+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=75602"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=75602</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[geht es auch ohne LDAP - Alfahosting]]></title>
    <summary type="html"><![CDATA[Guten Tag,

ich würde gerne dieses Wiki auf meinem Server testen/einsetzen.
Ich bin bei www.alfahosting.de

Ich habe alles hochgeladen und die manuelle Installation versucht.
Auch habe ich den Server-check versucht (tiki-check.php)
Nur bekomme ich immer entweder eine leere Seite (Firefox)
oder die Meldung im (edge) 
"Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: ldap
Composer hat Probleme auf Ihrer Plattform festgestellt: Für Ihre Composer-Abhängigkeiten müssen die folgenden PHP-Erweiterungen installiert sein: ldap"

Nach anfrage bei Alfahosting bekam ich die Rückmeldung: "die php ldap extension steht bei uns auch leider nicht zu Verfügung. Dahingehend bitten wir um Verständnis.
Mit freundlichen Grüßen"

Bekomme ich es dann absolut nicht zum laufen oder gibt es da eine Hintertür?

Da es sehr wichtig für mich ist würde ich mich über eine Rückmeldung sehr freuen.

Danke schon mal vorab.

Ach ja einmal ließ sich die tiki-check.php im edge starten????? allerdings waren die anderen Dateien da noch nicht hochgeladen. Nach dem upload kam wieder die meldung mit ldap..... :-(]]></summary>
    <published>2020-11-17T13:26:24+00:00</published>
    <updated>2020-11-17T13:26:24+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=75432"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=75432</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[ApacheDS2.0 / Tikiwiki 21 - LDAP Sync Group ]]></title>
    <summary type="html"><![CDATA[OS : Debian 10 

Hello, 

I am currently using a VM to test ApacheDS LDAP connection through Tikiwiki. 


I can bind the LDAP server and connect with the user I created in ApacheDS. 

The only thing that is missing is the group synchronization between ApacheDS and Tikiwiki, I mean when I connect with the user named "seb" who is member of the group named "membres", I would like the group "membres" to be created on Tikiwiki as well (but this doesn't work) 

I have tried to set up the group as a "groupOfNames" and then created a new group as a "groupOfUniqueNames" to compare but nothing changed.

Please find below some screenshots of ApacheDS configuration and Tikiwiki LDAP settings + PHPinfo  

{img fileId="2102" thumb="box"}
{img fileId="2103" thumb="box"}{img fileId="2104" thumb="box"}{img fileId="2105" thumb="box"}{img fileId="2106" thumb="box"}{img fileId="2107" thumb="box"}]]></summary>
    <published>2020-04-23T22:04:58+00:00</published>
    <updated>2020-04-23T22:04:58+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=73604"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=73604</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[Use tiki to authorise other sources]]></title>
    <summary type="html"><![CDATA[Hi all,

We are building a community centre and need our members to be able to register on Geek.Zone and be given access to the door entry system. Is that possible? If so, how?

Thanks,

James]]></summary>
    <published>2019-03-25T20:48:53+00:00</published>
    <updated>2019-03-25T20:48:53+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=71588"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=71588</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[Authentication against Samba 4 active directory (Univention)]]></title>
    <summary type="html"><![CDATA[Hi everyone!
I am currently trying to authenticate tiki users against my Samba 4 active directory. 

I am using Univention Corporate Server Core 4.3 as AD domain controller. (But I guess this issues solution applies to users of Netserver, Zentyal, etc. as well)  I was already successful at joining Windows 10, Debian 9.6, Proxmox 5.2 and a Samba file share to my AD domain. Almost none of those of these worked right out of the box, so I wasn't too frustrated that this did not either. I followed the guide at ((https://doc.tiki.org/LDAP-authentication|https://doc.tiki.org/LDAP-authentication)) and I recieved an error, but one, which I was not too unhappy about. The authentication method was not strong enough. I read that Samba 4 does not accept insecure connections per default any longer, which I consider a good thing. I further derived from that (please tell me if that is a misconception), that the tiki-server did actually communicate with the domain controller (and I can also ping ad-controller.intranet.mydomain.tld, so DNS is fine). 

In order to meet the security requirements  of Samba 4 I assumed (please tell me if that's possibly wrong) that SSL encryption is required and changed following settings to:
* Port 636
* Use SSL enabled

The next login test resulted in following syslog message:

Error: Bind failed: Cant connect LDAP server: Unknown Net_LDAP2 Error (-1) at line 239 in /.../ldap.php

I'm not sure if I should expect this problem being caused by the auto-created SSL certificate of the Univention-server. None of my previous experiments with joining the Samba 4 ad resulted in trouble with the SSL certificate. On the other hand I never had PHP involved in the process before. 

Can anybody share his knowledge (or some links) on how the communication between tiki and a Samba 4 AD-DC works with me?

Aah, and please let me know what additional data (configs) you need in order to get a proper picture of the situation. 

Tanks a lot in advance!
Kind regards]]></summary>
    <published>2018-11-12T17:30:46+00:00</published>
    <updated>2018-11-12T17:30:46+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=70680"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=70680</id>
  </entry>
  <entry>
    <title type="html"><![CDATA[External groups by LDAP distinguishedName in Tiki 19?]]></title>
    <summary type="html"><![CDATA[Developer Xorti has recently made some changes to the LDAP code in the trunk in commit [https://sourceforge.net/p/tikiwiki/code/66965/|R66965]. He has replaced the Pear library with the Zend library. It's great that someone is working on this very old code! I trust this new LDAP implementation is a nice improvement!


I have recently asked a developer intern to write a bit of code to do:
* If the group attribute (Admin settings > Log in > LDAP external groups) is set to 'distinguishedName' 
* Extract all the OU (Organizational Units) of the distinguishedName 
* Make the user member (or create if doesn't exist) of these user groups with the names of the OU's.
So if a user logs in with a distinguishedName:
''CN=User Name,OU=Group,OU=Department,OU=Location,DC=Company,DC=local''
He will be made part of the groups: ''Group, Department and Location''

Xorti (or another developer), I can imagine this is useful for more organisations and could be made part of this updated code for Tiki 19?


Tiki 18.1 lib\auth\LDAP.php added on row 376 (code can use a bit of cleanup):
{CODE()}			if ($this->options['usergroupattr'] === 'distinguishedName') {
				// get membership from user DN
				$this->add_log('ldap', 'LDAP CUSTOMIZED: usergroupattr is indeed distinguishedName');
				
				// split DN into RDN strings
				$dn_string = $this->user_attributes[$this->options['usergroupattr']];
				$rdn_strings = explode(',', $dn_string);

				// add value of RDNs with OU type
				$ugi = [];
				foreach ($rdn_strings as $rdn_string) {
					// split RDN string in type and value
					$rdn_parts = explode('=', $rdn_string, 2);
					$rdn_type = $rdn_parts[0];
					$rdn_value = $rdn_parts[1];
					
					// add RDN value if type is OU
					if ($rdn_type === 'OU') {
						$ugi[] = $rdn_value;
						$this->add_log('ldap', 'LDAP CUSTOMIZED: added ' . $rdn_value . ' to ugi');
					}
				}
			} else {
				$ugi = &$this->user_attributes[$this->options['usergroupattr']];
			}{CODE}]]></summary>
    <published>2018-07-20T13:48:04+00:00</published>
    <updated>2018-07-20T13:48:04+00:00</updated>
    <link rel="alternate" type="text/html" href="https://tiki.org/tiki-view_forum_thread.php?comments_parentId=69666"/>
    <id>https://tiki.org/tiki-view_forum_thread.php?comments_parentId=69666</id>
  </entry>
</feed>
