User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

eggs [2015/01/28 13:28] (current)
xen created
Line 1: Line 1:
 +====== Eastereggs ======
 +===== Additional LDAP fields =====
 +It is possible to add some fields to your ldap entry or change the ones you already have. You don't have the rights to change every field but you will get errors if you try something nasty, so just try what is possible. ;)
 +  * //exchange bernd with your crew name//
 +  - ssh into [[server:​bnd|BND]] with your c-base credentials (works only from c-base crew network or vpn)
 +  - edit your ldap entry with the following command. It will ask for your password and start a vi editor with your ldap entry. Save your changes and commit them with "​y"​.<​code>​$ ldapvi --bind simple -D uid=bernd,​ou=crew,​dc=c-base,​dc=org -b ou=crew,​dc=c-base,​dc=org uid=bernd</​code>​
 +  - connect to and check if everything works with:<​code>​$ get_member_info bernd</​code>​
 +  - the output should look like this:<​code> ​            dn: uid=bernd,​ou=crew,​dc=c-base,​dc=org
 +             cn: le Bernd
 +            uid: bernd
 +      uidNumber: 2342
 +  homeDirectory:​ /home/bernd
 +           mail:
 +   ​wlanPresence:​ TRUE
 +     ​macAddress:​ 00:​11:​22:​33:​44:​55
 +          nrf24: 0
 +      homePhone: +4912345678900
 +         ​mobile:​ +4912345678900
 +        species: unknown
 +createTimestamp:​ 19700101000000Z
 +------------------------------------------------------------------------------- ​
 +       ​memberOf:​ crew</​code>​
eggs.txt ยท Last modified: 2015/01/28 13:28 by xen