Closed ivonpint closed 2 months ago
That is interesting need to look at how they do that and include it in my instructions. Thanks .
Great plugin BTW! I got it installed but I cant seem to get it working. I'm missing something, somewhere.
You still have an issue?
It's still necessary to make the phar file? Because I tried it but in the apache error log I see this: [php:error] [pid 25992:tid 1892] [client 10.26.64.53:59628] PHP Fatal error: Uncaught Error: Failed opening required 'C:/xampp/htdocs/sito2/include/plugins/multi-ldap.phar/auth.php' (include_path='./;C:/xampp/htdocs/sito2/include/;C:/xampp/htdocs/sito2/include/pear/;phar://C:/xampp/htdocs/sito2/include/plugins/auth-ldap - Copia.phar/include') in C:\xampp\htdocs\sito2\scp\sync_mldap.php:13\nStack trace:\n#0 {main}\n thrown in C:\xampp\htdocs\sito2\scp\sync_mldap.php on line 13, referer: http://server_host/sito2/scp/plugins.php?id=9&xid=13
Never used the PHAR file. it may cause issues with sync_mldap.php since it needs to be copied to the SCP folder and I suspect that is why sync is failing. I copy the files directly to the required folder.
Ok so I use only to copy multi-ldap on the plugin folder. It seems that I was able to see the user from the active directory but if I try to login I receive the error 49 for bad credentials
Ok so I use only to copy multi-ldap on the plugin folder. It seems that I was able to see the user from the active directory but if I try to login I receive the error 49 for bad credentials
When you first installed the plugin it creates logs in the Osticket log section can you tell me what it says MLA-Copy or MLA-Updated.
If you recently updated to the new version it should say MLA-????
Yes I find in the log the MLA-Updated
OK did it fail or successful? It would say MLA-Updated (failed) or MLA-Updated (success) Include where it was trying to copy too.
it says MLA-Updated (success) Here the message: Replacing file 'C:\xampp\htdocs\sito2\include\plugins\multi-ldap/sync_mldap.php' to SCP folder successful
GREAT seems like it could be a problem, between lunix and windows paths
This is the problem in line 13 require_once (INCLUDE_DIR . 'plugins/'.$_REQUEST['plugin'].'/auth.php'); Linux uses "/" but linux uses "\" I need to make compatible with both OS systems.
Or its an incompatibility with PHAR file. I suggest that you dont use PHAR and see if the error goes away ... I am leaning more to that ync_mldap.php is looking for auth.php but its in a compressed PHAR file it cant read.
So delete the PHAR and copy the RAW files instead to the same folder should fix the issue I never designed it to work as a PHAR.
I've already deleted the phar file and use only the folder from the project: The plugin file are in this folder: c:\xampp\htdocs\sito2\include\plugins
the problem is still present, now I have a doubt, is the plugin compatible with the Active directory based on Windows 2012? EDIT: In this image you can see the result of a search on the ldap if you need (I had to cenuse some part for privacy)
the problem is still present, now I have a doubt, is the plugin compatible with the Active directory based on Windows 2012? EDIT: In this image you can see the result of a search on the ldap if you need (I had to cenuse some part for privacy)
I use it with Windows 2012 so yes it works. The plugin is not compatible with phar format
Finally FIXED
Well i guess i figured it out.