-
Notifications
You must be signed in to change notification settings - Fork 1
/
ldaplist.1
57 lines (57 loc) · 1.51 KB
/
ldaplist.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2.
.TH LDAPLIST "1" "December 2010" "ldaplist" "User Commands"
.SH NAME
ldaplist \- manual page for ldaplist
.SH SYNOPSIS
ldaplist [options] <database> [<key1> <key2> ...]
.SH DESCRIPTION
.TP
<database> is the database to be searched in.
Standard system databases are:
.IP
passwd, group, hosts, ethers, networks, netmasks,
rpc, bootparams, protocols, services, netgroup.
.IP
Non\-standard system databases can be specified as follows:
by specific container: ou=<dbname>.
.TP
<key> is the key to search in the database.
For the standard
.IP
databases, the search type for the key is predefined
(currently only cn=<key> is used). You can
override this by specifying <type>=<key>.
.SH OPTIONS
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-l\fR
list all the attributes found in entry. By default, it lists
only the DNs.
.TP
\fB\-d\fR
list attributes for the database instead of its entries
.TP
\fB\-v\fR
print out the LDAP search filter
.TP
\fB\-n\fR
print out the internal database to container mappings
.SH "FILES"
.IP /etc/ldap.conf
.IP /etc/nss_ldap.conf
.IP /etc/pam_ldap.conf
.SH "EXAMPLES"
.TP
ldaplist passwd
Output all the passwd DNs in the configured directory. e.g.
dn: cn=usera,ou=people,dc=example,dc=com
.TP
ldaplist -l group
Output all the group DNs in the configured directory as well as all the attributes of that group.
.SH "AUTHOR"
Written by Greg Cockburn <[email protected]>