put categorycode also in department attribute
[virtual-ldap] / sql / hreduperson.sql
index cbf0811..568e5f5 100644 (file)
@@ -18,6 +18,7 @@ select
        email                                           as mail,
        categorycode                                    as memberOf,
        categorycode                                    as ou,
+       categorycode                                    as department,
        concat('/home/',borrowernumber)                 as homeDirectory
 from borrowers