diff --git a/www/auth/login-feide.php b/www/auth/login-feide.php
index a388e47dfa42b9d7cd7e56d9be17fdd85879a34f..aefd1514884ace2a8d4b2e0db99909d51ebae210 100644
--- a/www/auth/login-feide.php
+++ b/www/auth/login-feide.php
@@ -170,7 +170,7 @@ if (isset($_REQUEST['username'])) {
 			
 			$orgattr = array_keys($orgattributes);
 			foreach($orgattr as $value){
-				$orgattributename = ('edupersonorg:' . $value);
+				$orgattributename = ('eduPersonOrgDN:' . $value);
 				//SimpleSAML_Logger::debug('AUTH - ldap-feide: Orgattributename: '. $orgattributename);
 				$attributes[$orgattributename] = $orgattributes[$value];
 				//SimpleSAML_Logger::debug('AUTH - ldap-feide: Attribute added: '. $attributes[$orgattributename]);