Commit 8f98cf31 authored by betz's avatar betz

network ldap project

parent c7e06ac0
Pipeline #36123966 passed with stages
in 20 seconds
......@@ -6,7 +6,117 @@ state: archived
maintainer: "askarel"
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse tempus nulla et nisi consectetur, sit amet sodales quam pellentesque. Ut iaculis erat eget auctor gravida. Quisque neque est, tempor vitae ligula ut, ullamcorper sagittis quam. Ut mollis lacus et nibh iaculis, sit amet finibus sapien euismod. Mauris bibendum fringilla malesuada. Etiam augue ipsum, dignissim at erat sed, sollicitudin tempus ligula. In hac habitasse platea dictumst. Pellentesque dictum elit sed lacus lobortis hendrerit sit amet tristique nisl. Maecenas molestie sit amet massa ac ornare. Fusce sit amet scelerisque augue, sed tristique tortor. Nullam eu sapien convallis, mollis metus at, bibendum velit. Nullam eu risus nisi. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Fusce venenatis augue vel leo feugiat venenatis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse potenti.
Vivamus vitae pellentesque justo, in placerat quam. Maecenas risus lorem, laoreet at enim a, ultrices fermentum turpis. Fusce dictum tincidunt fermentum. Proin fermentum convallis ipsum in molestie. Pellentesque non arcu nulla. Donec tempus libero at est ullamcorper, quis blandit diam lobortis. Nam diam neque, hendrerit et tellus non, venenatis commodo tortor. Proin nulla magna, mollis nec tortor ac, euismod scelerisque mi.
We have the following PEN from IANA:
This is based on previous work by
[User:TQ\_Hirsh](User:TQ_Hirsh "wikilink")
## (LDAP)
### (LDAP Attribute type)
1. x-hsbxl-pgpKey - PGP public key used for encrypted communications
2. x-hsbxl-sponsorID - Sponsoring member
3. x-hsbxl-membershipReason - Why you're becoming a member
4. x-hsbxl-sshPubKey - SSH public key
The following entries might be included in the definitive user schema
1. x-hsbxl-membershipStructuredComm - Structured communication for
membership payments
2. x-hsbxl-membershipAccountId - Internal identifier for membership
3. x-hsbxl-drinksStructuredcomm - Structured communication for drink
4. x-hsbxl-drinksAccountId - Internal identifier for fridge account
5. x-hsbxl-RFID-id - Access control token ID
### (LDAP Object class)
## (SNMP)
## (Member-defined objects)
This arc is reserved for HSBXL member-defined attributes. To use it, get
your uidNumber from our LDAP database, and append it to this OID.
Anything defined below the resulting OID is up to you.
Your LDAP uidNumber is 4242. Your personal arc will then be
Your arc can then be subdivided as you like: (arc foo) (arc bar) (arc baz)
# Getting started
root@xm1:~# apt-get install slapd ldap-utils migrationtools ldapscripts
# Replication
# Adding hosts
When you want to give shell access to a Linux desktop/server you install
to HSBXL userbase, there are a few needed steps:
- Request a machine account in the ou=machines,dc=hsbxl,dc=be
organizational unit
- apt-get install libpam-ldapd
- Give the IP address of the LDAP server (currently
- Give the base DN (dc=hsbxl,dc=be)
- Say yes to all options
- Edit /etc/pam.d/common-account and add the following line at the
`session required skel=/etc/skel/ umask=0022`
- Edit the /etc/nslcd.conf file:
- Verify that the server URI is correct:
`uri `<ldap://>
- - Add the machine account details
`binddn uid=`<machinename>`,ou=machines,dc=hsbxl,dc=be`
`bindpw `<your machine account password>
`ignorecase yes`
- Stop the nscd cache daemon (this is the cache daemon, and can get in
the way during the testing phase)
`/etc/init.d/nscd stop`
- Restart the nslcd daemon
`/etc/init.d/nslcd restart`
- Use this command to see if you get more users than what's defined in
`getent passwd`
- If you get the user list from the LDAP server, your setup is working
and you can restart the nscd daemon:
`/etc/init.d/nscd start`
Yes, sudo rights can be managed straight from the LDAP \!
- install sudo-ldap
`apt-get install sudo-ldap`
- Edit the file /etc/sudo-ldap.conf:
`URI `<ldap://>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment