1 |
|
|
2 |
select |
select |
3 |
concat('uid=',trim(userid)) as dn, |
concat('uid=',trim(userid),',ou=',categorycode,',dc=ffzg,dc=hr') as dn, |
4 |
'person |
'person |
5 |
organizationalPerson |
organizationalPerson |
6 |
inetOrgPerson |
inetOrgPerson |
12 |
concat(firstname,' ',surname) as cn, |
concat(firstname,' ',surname) as cn, |
13 |
|
|
14 |
-- SAFEQ specific mappings from UMgr-LDAP.conf |
-- SAFEQ specific mappings from UMgr-LDAP.conf |
15 |
borrowernumber as objectGUID, |
b.borrowernumber as objectGUID, |
16 |
surname as displayName, |
surname as displayName, |
17 |
rfid_sid as pager, |
a.attribute as pager, |
18 |
email as mail, |
email as mail, |
19 |
-- categorycode as memberOf, |
categorycode as memberOf, |
20 |
|
categorycode as ou, |
21 |
categorycode as department, |
categorycode as department, |
22 |
concat('/home/',borrowernumber) as homeDirectory |
concat('/home/',b.borrowernumber) as homeDirectory |
23 |
from borrowers |
from borrowers b |
24 |
|
left join borrower_attributes a on b.borrowernumber = a.borrowernumber and code='RFID_SID' |
25 |
|
|
26 |
|
|
27 |
|
|