projects
/
mirror
/
userdir-ldap-cgi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove code duplication
[mirror/userdir-ldap-cgi.git]
/
html
/
doc-direct.wml
diff --git
a/html/doc-direct.wml
b/html/doc-direct.wml
index
7f0dcbe
..
7f9a630
100644
(file)
--- a/
html/doc-direct.wml
+++ b/
html/doc-direct.wml
@@
-5,7
+5,7
@@
the information available to non-developers via the LDAP interface has been
limited a great deal. However, as always, the full database is accessible from
any .debian.org machine. If you wish relatively unfettered access to the LDAP
the information available to non-developers via the LDAP interface has been
limited a great deal. However, as always, the full database is accessible from
any .debian.org machine. If you wish relatively unfettered access to the LDAP
-database, connect to it from a .debian.org machine, such as
gluck
.debian.org
+database, connect to it from a .debian.org machine, such as
ravel
.debian.org
(which is recommended for general shell usage anyhow).
</p>
(which is recommended for general shell usage anyhow).
</p>
@@
-18,7
+18,7
@@
ldap://db.debian.org -b dc=debian,dc=org</strong>. Alternatively, the
<strong>-H</strong> and <strong>-b</strong> options can be put in
one's ~/.ldaprc, in the following form:
</p><pre>
<strong>-H</strong> and <strong>-b</strong> options can be put in
one's ~/.ldaprc, in the following form:
</p><pre>
-[ dbharris@
gluck
: ~/ ]$ cat ~/.ldaprc
+[ dbharris@
ravel
: ~/ ]$ cat ~/.ldaprc
HOST db.debian.org
BASE dc=debian,dc=org
</pre>
HOST db.debian.org
BASE dc=debian,dc=org
</pre>
@@
-29,7
+29,7
@@
authentication. There appears to be no ~/.ldaprc option which does the same as
<strong>-x</strong>. With these parameters specified, we're ready to begin
searching. Here's an example:
</p><pre>
<strong>-x</strong>. With these parameters specified, we're ready to begin
searching. Here's an example:
</p><pre>
-[ dbharris@
gluck
: ~/ ]$ ldapsearch -x uid=dbharris keyfingerprint
+[ dbharris@
ravel
: ~/ ]$ ldapsearch -x uid=dbharris keyfingerprint
<snip>
# dbharris, users, debian, org
dn: uid=dbharris,ou=users,dc=debian,dc=org
<snip>
# dbharris, users, debian, org
dn: uid=dbharris,ou=users,dc=debian,dc=org
@@
-44,7
+44,7
@@
return. If you only specify the query, but don't provide any attributes to
return, all readable attributes are returned. While the example was quite
simple, complex queries can be performed as well:
</p><pre>
return, all readable attributes are returned. While the example was quite
simple, complex queries can be performed as well:
</p><pre>
-[ dbharris@
gluck
: ~/ ]$ ldapsearch -x -H ldap://db.debian.org -b dc=debian,dc=org '(&(!(loginshell=/bin/bash))(uid=*))' loginshell
+[ dbharris@
ravel
: ~/ ]$ ldapsearch -x -H ldap://db.debian.org -b dc=debian,dc=org '(&(!(loginshell=/bin/bash))(uid=*))' loginshell
</pre>
<p>
</pre>
<p>