... | ... | @@ -238,7 +238,7 @@ users with an SSH key: |
|
|
|
|
|
ldapsearch -ZZ -LxW -h db.torproject.org -D "uid=$USER,ou=users,dc=torproject,dc=org" -b "ou=users,dc=torproject,dc=org" '(sshRSAAuthKey=*)'
|
|
|
|
|
|
Note how we added a search filter (`(sshRSAAuthKey=*)`) here. We could
|
|
|
Note how we added a [search filter](https://ldap.com/ldap-filters/) (`(sshRSAAuthKey=*)`) here. We could
|
|
|
also have parsed the output in a script or bash, but this can actually
|
|
|
be much simpler. Also note that the previous searches dump the entire
|
|
|
objects. Sometimes it might be useful to only *list* the object
|
... | ... | @@ -1359,6 +1359,8 @@ Bacula. |
|
|
change since 2017, the [announcement for the rewrite](https://wiki.debian.org/Teams/DSA/UserdirLdapRewrite)
|
|
|
* [userdir-ldap-pylons](https://salsa.debian.org/dsa-team/mirror/userdir-ldap-pylons) - a partial ud-ldap rewrite in Pylons from
|
|
|
2011, abandoned
|
|
|
* [LDAP.com](https://ldap.com/) has [extensive documentation](https://ldap.com/learn-about-ldap/), for example on
|
|
|
[LDAP filters](https://ldap.com/ldap-filters/)
|
|
|
|
|
|
# Discussion
|
|
|
|
... | ... | |