- 1 LDAP
- 1.1 FAQ
- 1.1.1 I don't care about babbage or spacefed and just want to use the workshops at the hackspace, can I ignore this LDAP thing?
- 1.1.2 Why do we have to have an NTLMv2 hash?
- 1.1.3 Why is the NTLMv2 hash so bad?
- 1.1.4 I use the same password everywhere, should I use it for the SSHA and NTLM hash's?
- 1.1.5 Can I choose any username I like?
- 1.1.6 Can I change the LDAP username after I've chosen it?
- 1.1.7 Any spacenet config hints?
- 1.1 FAQ
Although the hackspace has had babbage for ages we've not had any kind of connection between the membership db on turing and babbage, or anything else. Additionally there are loads of neat things we could be doing if we had a membership db we could get at in software, like spacefed.
This page documents our attempts to make LDAP work, and how to use it.
I don't care about babbage or spacefed and just want to use the workshops at the hackspace, can I ignore this LDAP thing?
Why do we have to have an NTLMv2 hash?
It's needed for EAP-MSCHAPv2 for spacenet, apparently only that and EAP-TLS work with windows.
We may also need it if we want per user samba shares.
Adding client certificate support would be good for a number of reasons, patches welcome.
Why is the NTLMv2 hash so bad?
The hash it uses is not very good: MD4, and just hashes the password (i.e., no salt), this means that if someone hacks the ldap server and gets a list of hashes then it's trivial to use an offline dictionary of hashed password (aka a rainbow table) to find peoples passwords.
I use the same password everywhere, should I use it for the SSHA and NTLM hash's?
Please look into getting a password manager (keepassx works for me), and use the password managers 'generate' function to generate a random password.
Can I choose any username I like?
Yes, but please be considerate of others - If you use one name on the mailing list, another in real life and yet another in IRC expect a lot of confused people who don't know who you are. Please try to keep things simple by having consistent names.
Additionally attempting to impersonate someone else will get you in to trouble very quickly...
Can I change the LDAP username after I've chosen it?
At the moment, no. Choose carefully!
Any spacenet config hints?
- Always configure the anonymous identity as firstname.lastname@example.org, this prevents others from seeing the real username and thus tracking.
- Always install the server certificate as CA on your client(s) or specify the server name and the CA that signed the certificate.
- Our server name is: spacefed.london.hackspace.org.uk
- The root cert is: C=IL, O=StartCom Ltd., OU=Secure Digital Certificate Signing, CN=StartCom Certification Authority
- with fingerprint: SHA1 Fingerprint=3E:2B:F7:F2:03:1B:96:F3:8C:E6:C4:D8:A8:5D:3E:2D:58:47:6A:0F