Member Avatar
Spring has been getting rather unseasonably hot for Apache users as far as security flaws go. First there was news of how the FREAK (Factoring Attack on RSA-EXPORT Keys) vulnerability could impact Apache. For more on FREAK see this [excellent analysis](http://blog.cryptographyengineering.com/2015/03/attack-of-week-freak-or-factoring-nsa.html) by Matthew Green, a cryptographer and research professor at …
by happygeek 1,669 in Web Development ()
Member Avatar
I am trying to make authenticate and authorization through windows 2008 active directory . i am able to authenticate and retrive users under direct member but unable to list or link users through member of member. suppose user joe is direct member of Dl-Engineering NS group and user sam is …
by titos97 in Web Development ()
Member Avatar
Hello everyone, I am writing a Java program to reset LDAP account password. I know the password should be quoted passwrod and then encoded in UTF-16. I have a question, if someone can confirm please. I am getting encoded password as follow: String oldPassword = "Password1234"; String newPassword = "Password9999"; …
by new_2_java -3 in Software Development ()
Member Avatar
On the Ad there is 2 security groups 1. SG-warehouse1 users : test1 2. SG-warehouse2 users : test2 These 2 Security groups belogs to one distubution list : DL-warehouse what i am trying to do instead of searching 2 secuirty gorups i like to check if the user links to …
by titos97 in Web Development ()
Member Avatar
Hi all, I have a J2EE web application that I am integrating with LDAP to implment Password Reset functionality to allow AD users to change their own password. My code works at times, and sometimes it stops working throwing [code]LDAP error code 52, initializing SSL/TLS error.[/code] I don't know why …
by new_2_java -3 in Software Development ()
Member Avatar
I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the …
by jstfsklh211 79 in Web Development ()
Member Avatar
I have been plagued by an issue for the past couple of days and I am yet to find a solution. I have an service installed at several customer sites. This service grabs data from a database, packages it up and then submits it to a web service hosted on …
by spuriousgeek 14 in Software Development ()
Member Avatar
I've been working on an ASP.NET project. I've successfully implemented LDAP authentication for login and have tested it with multiple users with no issues. LDAP is only controlling my login credential. Everything else is stored in a SQL db. In that database I have a users table that has a …
by MaddTechwf in Web Development ()
Member Avatar
Hi all,\ I have small issue. I wrote the code which check logon times of user on every domain controller, after that, it return the latest one. The problem is that if any of domain controller is off/faulty - I get an error "server is not operational" and the function …
by VasquezPL in Software Development ()
Member Avatar
Hey there everyone! So, I am trying to implement a home network and would like it to run on either a Debian or Ubuntu server possibly virtualized with both on a XenServer. Anyways, my question is, would there be a way to create a domain like AD without having to …
by rudolph23 in Linux and Unix ()
Member Avatar
I'm brand new to php with ldap. I have this problem weeks ago. The company I'm working in assigned me to test their resource management system, they want me to use the dummy users on the database, but whenever I try to use them, I can't access the system, but …
by bettybarnes 7 in Web Development ()
Member Avatar
I've been working on getting a basic VB ASP.NET application put together that uses LDAP to login and I have it working. The login page has a form on it for login but the actual code for the login is inside my web.config file. When the user clicks login it …
by MaddTechwf in Web Development ()
Member Avatar
I doubt this is the right place to post this question, but I didn't know where else I can put this. It does kinda involve PHP, but I've asked this question on Stack Overflow and didn't get much help. If this is the wrong place to put this, please do …
by chudapati09 2 in Web Development ()
Member Avatar
[B]Hello DaniWeb[/B], [I]C#/ASP.Net[/I] I have a user and a server. The server has an intranet page/site I need the user(off-site) to be able to see if they are a part of a user group(domain\CN) on the server. Using ASP.Net, and Active Directory search classes(Directory Services, etc) is there a way …
by @theDatagame in Web Development ()
Member Avatar
I'm trying to startup my Ubuntu Apache install and there's a problem loading LDAP modules that I can't seem to resolve: [QUOTE]httpd: Syntax error on line 65 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2.2/modules/mod_authnz_ldap.so into server: /usr/local/apache2.2/modules/mod_authnz_ldap.so: undefined symbol: apr_ldap_url_parse [/QUOTE] Any help would be appreciated, thanks.
by mi.mac.rules in Linux and Unix ()
Member Avatar
Hi there, I am trying to get ldap_modify to change an attribute in my Active Directory. [CODE] $activeUser="Test Guy"; $floorname = "First Floor"; $entry[physicaldeliveryofficename] = $floorname $results = ldap_modify($ds,"CN=$activeUser,OU=Test,DC=LDAPSERVER,DC=COM", $entry); if (TRUE === $result) { echo "The entry was successfully modified."; } else { echo "The entry could not be …
by Mapper99 in Web Development ()
Member Avatar
Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some …
by vponnoju in Software Development ()
Member Avatar
[CODE]$uploaddir = $_SERVER['DOCUMENT_ROOT'].'/bla/bla/uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); $data = file_get_contents($uploaddir . $_FILES["uploadfile"]["name"]); $data=split("[;\r]",$data); include_once("processes.php"); $ldapconn=connectToDB(); $info["cn"] = $data[$c]; echo "|onoma-->"; echo $info["cn"] ; $c++; $info["sn"] = $data[$c]; echo "|epwnimo-->"; echo $info["sn"] ; $info["objectclass"][0] = "top"; $info["objectclass"][1] = "organizationalPerson"; $r = ldap_add($ldapconn, "cn=".$info['cn'].",cn=............,ou=.......,ou=......,ou=.....,dc=...,dc=gr", $info); [/CODE] so i get the attributes …
by manolisvl46 in Web Development ()
Member Avatar
Hi, I'm trying to make a script in Linux which should send release note to a certain distribution list. Both the release note and distribution list are kept in a separate file. I already have initial distribution list, but it is taken from Outlook so I'm pretty sure the Linux …
by disssko in Software Development ()
Member Avatar
hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it …
by manolisvl46 in Web Development ()
Member Avatar
hallo there again i would like to modify some entries on my ldap server via php actually i want to move some students from one dn to another i use ldap rename but nothing happens ... [CODE] $newparent='cn='.$save[$i].',cn=****,ou=******,ou=****.,ou=******,dc=****,dc=*** $dn= $save[$i+1]; $dn2=split("[,]",$dn);//that is the name of the student(which is on the …
by manolisvl46 in Web Development ()
Member Avatar
On the php manual i realised there was a bug that got fixed ..but still cant make it work... my attributes are used like shown below.. [CODE] $r=ldap_sasl_bind ( $ds, bind dn..., 'MYCODE', 'GSSAPI', NULL<--?(realm of the heimdal), 'jimmy'<--?, 'dn:MY STUFF...?');[/CODE] there was another opinion that i schould recompile Apache …
by manolisvl46 in Web Development ()
Member Avatar
Hallo there i wan to make my ldap connect with the client pc's over ssl (like this one) [URL="http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0"]http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0[/URL] or this one [URL="http://www.madboa.com/geek/openssl/#cert-self"]http://www.madboa.com/geek/openssl/#cert-self[/URL] i have already made a self signed key and all the steps i found through the internet... but when i try to do one of the last …
by manolisvl46 in Linux and Unix ()
Member Avatar
Hey there, I'm writing a PHP application that will use an LDAP server to authenticate. The LDAP server requires me to use a privileged DN/bindDN before I can authenticate my user. I can do the first bind, using the privileged user settings provided, but then how do I authenticate my …
by dbarkman in Web Development ()
Member Avatar
Hey there, I'm setting up a test LDAP server using openLDAP 2.4.19 on Archlinux. Once up, I'll be building some PHP apps that will authenticate against the LDAP server. I've configured applications to use LDAP many times, but never configured an LDAP server. When setting up apps in the past, …
by dbarkman in Linux and Unix ()
Member Avatar
Do you need to connect your Linux Desktops or Servers to Microsoft's Active Directory (AD)? If you do, now you can learn how to do it straight from the source at Microsoft's TechNet site in the article: [URL="http://technet.microsoft.com/en-us/magazine/dd228986.aspx"]Authenticate Linux Clients with Active Directory[/URL]. Do you wonder why you'd want to …
by khess 81 in Linux and Unix ()