Add organization entry
diff --git a/ldap.php b/ldap.php
index e24fe8c..d73349f 100755
--- a/ldap.php
+++ b/ldap.php
@@ -20,13 +20,14 @@
 
 class User
 {
-        function __construct(string $user_name, string $first_name, string $last_name, string $email, string $password)
+        function __construct(string $user_name, string $first_name, string $last_name, string $email, string $password, string $organization)
         {
                 $this->user_name = $user_name;
                 $this->name = $first_name;
                 $this->first_name = $first_name;
                 $this->last_name = $last_name;
                 $this->email = $email;
+                $this->organization = $organization;
                 if ($ENCRYPT_PASSWORDS) {
                         $this->user_hash = "{crypt}" . crypt($password, '$6$' . generateSalt(10) . '$');
                         # $this->user_hash = "{SHA}" .  base64_encode(sha1($password, true));
@@ -78,6 +79,7 @@
         $info["uid"] = $user->user_name;
         #$info["homeDirectory"]="/home/";
         $info["mail"] = $user->email;
+        $info["o"] = $user->organization;
         $info["displayName"] = $user->first_name . " " . $user->last_name;
         #$info["departmentNumber"]=$user->id;
         $info["cn"] = $user->user_name;