26 Topics

Member Avatar for
Member Avatar for happygeek

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 …

1
303
Member Avatar for titos97

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 …

0
320
Member Avatar for new_2_java

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"; …

Member Avatar for new_2_java
0
1K
Member Avatar for titos97

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 …

0
151
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
2K
Member Avatar for jstfsklh211

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 …

Member Avatar for diafol
0
475
Member Avatar for spuriousgeek

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 …

Member Avatar for Maligui
0
293
Member Avatar for MaddTechwf

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 …

Member Avatar for |-|x
0
181
Member Avatar for VasquezPL

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 …

Member Avatar for VasquezPL
0
246
Member Avatar for rudolph23

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 …

Member Avatar for metalized
0
214
Member Avatar for bettybarnes

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 …

Member Avatar for jstfsklh211
0
116
Member Avatar for MaddTechwf

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 …

Member Avatar for hollystyles
0
1K
Member Avatar for chudapati09

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 …

Member Avatar for pritaeas
0
804
Member Avatar for @theDatagame

[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 …

Member Avatar for |-|x
0
391
Member Avatar for mi.mac.rules

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.

Member Avatar for madihaghafoor
0
867
Member Avatar for Mapper99

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 …

0
106
Member Avatar for vponnoju

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 …

Member Avatar for vponnoju
0
275
Member Avatar for manolisvl46

[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 …

Member Avatar for manolisvl46
0
935
Member Avatar for disssko

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 …

0
100
Member Avatar for manolisvl46

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 …

Member Avatar for colweb
0
2K
Member Avatar for manolisvl46

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 …

0
93
Member Avatar for manolisvl46

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 …

Member Avatar for manolisvl46
0
142
Member Avatar for manolisvl46

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 …

Member Avatar for manolisvl46
0
176
Member Avatar for dbarkman

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 …

Member Avatar for kireol
0
146
Member Avatar for dbarkman

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, …

0
126
Member Avatar for khess

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 …

Member Avatar for jbennet
0
233

The End.