It might not be the best way, but I solved it by migrating Apache and PHP to version 7. In version 8, the page was blank for me.
I also have the same problem
In theory: You have to modify ".mo" files located in locale subfolders. First get application poedit for Windows and install it. Next convert ".mo" file to ".po" file with command like that: "\program files (x86)\poedit\GettextTools\bin\msgunfmt.exe" main.mo > main.po Now you can open file by poedit change translation and "Compile to MO..." Maybe it helps you.
Indeed! I was able to get it working on PHP8 by replacing if(is_resource($search_resource)) with if($search_resource !== false) throughout the code... :-)
Here the test code again, minus the php open/close tags $ldaphost = "ldaps://ourserver.local"; $ldapport = 636; $ds = ldap_connect($ldaphost, $ldapport) or die("Could not connect to $ldaphost"); ldap_set_option($ds, LDAP_OPT_DEBUG_LEVEL, 7); if ($ds) { $ldapbind = ldap_bind($ds); if ($ldapbind) {print "Congratulations! authenticated.";} else {print "Access Denied!";} // $ds is a valid LDAP\Connection instance for a directory server $basedn = "ou=NAME1,dc=NAME2,dc=NAME3,dc=NAME4"; $justthese = array("ou");...
(sorry for the large text, just trying to separate the code with a line full of dashes....) So... I was able to fix the problem with implode() (either by manually editing the line to change order of the arguments, or by pulling the latest version from git, which has the fix) Unfortunately I am still stuck with getting this to work on PHP 8. Neither v 0.41 which we run successfully on PHP 7.4, nor v0.42 nor the latest git version seem to find any LDAP matches, they all come up empty. I tried to directly...
Error when using PHP 8.3.2
Cannot login - LDAPSEARCH works
how can I add the ability to match for the office in the suggestions? thanks
Name of street attribute
It there a way to show only part of a field in the detailed result? Like only the first 6 letters of the description field?
User status
Hi, I have installed some ldap address book on different ubuntu always with success...Today trying on a 22.04 desktop version, I get a blank page. I can log in easily but I don't even see the button to enter data. Could it be PHP8.1 version or other problem? Best regards
Hi, Thanks a lot for your hard work, your solution is very good. For my contribute, I have make some fix in suggest code : https://github.com/Charlymd/ldap-addr-book/blob/main/suggest.php
Hi, is there any update info?! Thanks for address book, it was a great and very useful..Still, cannot find a way for pictures to work.. :(
Hello, Same problem using the "content" link method. Version 0.41 or 0.42 Search doesn't function, i suppose because an empty OU is needed for creating the ldap links. So Ldap Adress Book searches in an empty folder. How can I solve problem ? Thanks if James Turner has the tip. Emilio
Will there be any response on this matter or should I drop it, because it's been more than a year and nothing has happened?
It would be good to see Import from CSV.
Import Contacts as CSV
added sAMAccountType attribute and associated data type
added mS-SQL-Type attribute and associated data type
added msFRS-Topology-Pref attribute and associated data type
added msTSRemoteControl attribute and associated data type
added serverState attribute and associated data type
added serviceDNSNameType attribute and associated data type
set is_folder for msDS-DeviceRegistrationServiceContainer
added uASCompat attribute and associated data type
added transportAddressAttribute aatribute and associated data type
set is_folder for msDS-ShadowPrincipalContainer
defined msTAPI-RtConference RDN attribute
added various domainDNS attributes
added support for msSFU30CryptMethod attribute
How can I combine the output of an AD field and some fixed text to a working link? For example if I would like to show a link with each AD user which points to the 'direct chat' with this user on our chat server: 'some text' + sAMAccountName -> https://chat.example.com/direct/samplelogin
How can I combine the output of an AD field and some fixed text to a working link? For example if I would like to show a link with each AD user which points directly to our chat server: 'some text' + sAMAccountName -> https://example.com/chat/direct/samplelogin
(to be deleted)
How can I combine the output of an AD field and some fixed text to a working link? For example if I would like to show link with each AD user which point directly to our chat server: 'some text' + sAMAccountName -> https://example.com/chat/direct/samplelogin
How can I combine the output of an AD field and some text to a working link? For example if I would like to show link with each AD user which point directly to our chat server: 'some text' + sAMAccountName -> https://example.com/chat/direct/samplelogin
The search doesn't work if I only use link_ldap_dn
Modify translation
No user/admin access
added printSpooling attribute and associated data type
further RFC and product version references
added ZENworks workstation management scheduled policy schema
remove unnecessary comma after final enum value
added custom enum for sambaTrustDirection attribute
handle object not found error when linking DN as folder
moved legacy core attributes adjacent to current
added msDS-AzBizRuleLanguage attribute and associated data type
added remaining external standard AD attributes
We can go ahead and close on how to modify. I had a typo. Would still like to know about how to use $ldap_server->add_enum_data_type(). Thanks.
Looked for the files that I thought I would need to change, but evidently I'm not changing the correct ones. Can you let me know the php files names and I'll try again. Also trying to see about doing this in version .42. Thanks. Carl Lucas Director, Information Systems T 704-292-2520 M 704-292-2520 www.unioncountync.govhttp://www.unioncountync.gov/ From: Carl Lucas carllucas6282@users.sourceforge.net Sent: Thursday, September 5, 2019 10:07 AM To: [ldap-addr-book:tickets] 56@tickets.ldap-addr-book.p.re.sourceforge.net...
Drop Downs
updated jQuery UI from 1.11.4 to 1.12.1
added integer data type
added standard schema section header comments
updated jQuery UI Themes from 1.11.4 to 1.12.1
updated jQuery from 1.11.2 to 3.5.1
update schema definitions to use integer data type
clarify that extensionInfo contains OIDs surrounded by metadata
update capitalisation of internationalISDNNumber attribute to match RFC4519
remove unnecesssary commas after final list items
define olmLDAPDatabase auxiliary class
standardise chema section header wording
define ndsContainerLoginProperties and ndsLoginProperties abstract classes
added attribute definitions for SMS schema
fix indent style for machine_pwchange
added explanatory comment for unusual type 88 conatiner subclasses
added custom enum for sambaGroupType attribute
updated SMS product rebranding details
fix spelling error
fix capitalisation of rDNAttID attribute
define olcTranslucentDatabase auxiliary class
define ldapns auxiliary classes and display layouts
whitespace fixup
separate auxiliary class display layout
define errAbsObject and errAuxObject classes
change nLSOwner data type to dn
fix capitalisation of lDAPDisplayName attribute
fix attribute sort order
remove redundant comment on definition of 'top'
add support for adding/changing single-value DN attributes
remove redundant comma
whitespace fixup
define olmMDBDatabase abstract class
fix missing call to parent constructor
define olcPcacheDatabase auxiliary class
change authTimestamp data type to date_time
fix missing call to parent constructor
change alias name attribute icon to alias.png
change attrEncryptionRequiresSecure data type to yes_no_integer
move filteredReplicaUsage to Searches section of ldapServer display layout
unable to search for groups
Search entries in linked OUs
The following command (in config.php) will restrict the display so that you can only show "container", "organizationalUnit" and "person" objects while browsing through the directory: $browse_ldap_filter = "(|(objectCategory=container)(objectCategory=organizationalUnit)(objectCategory=person))";
Yes, that's a good idea.
Wouldn't it be possible to use "front_page_seach_filter" to show the user's own information right after the user logged in? I played around a bit to understand what I would need to set, but I didn't succeed. I though that a connection of userPrincipalName with a variable like USERNAME (USERNAME@mydomain.com) would do the trick maybe? Perhaps one of you guys have an idea what the solution could be? Kind regards, Michel
Good afternoon, James Turner, you have a wonderful project. If you select the option for the user ANONYMOUS "front_page_search_filter" => "(& (objectCategory = person) (objectClass = user))", only users are reflected, but if you go to the top of the folders, then all computers are visible again. A person will be able to see computers in folders. How is it possible to remove computers from visibility in general?
Good afternoon James Turner, you have a wonderful project. With the release of version 0.42, it is not possible to display only users. Tell me how to configure display only users in AD.
Hey everone, I kind of have a suggestion: I am running the LDAP-Addressbook with "allow_edit_self" permissions so that the user is able to search and view all contacts, but only change his own details. While I was playing around with the view- and search-permissions, I thought that the LDAP-Addressbook could be also a great "User-Self-Service-Portal". Example: Instead of enabling the search, perhaps the config could be adapted in a way that only the own User's own information pop up after right after...
Hey James, sorry for the delay. PHP 7.4, probably obtained from https://windows.php.net/download/ and installed as FastCGI? Exactly. Running from subdirectory "LDAPADB" under "Default Web Site"? Exactly. does it should show bindings for both "http" and "https"? Yes, it does. Does LDAP Address Book return the correct URL after you've removed the binding for "https"? Nope, I deleted the Binding for https/443, but most buttons still refer to an https-Link. This will force a "http:" URL to be used all...