Home | History | Annotate | Line # | Download | only in man
      1  1.5      tron .lf 1 stdin
      2  1.7  christos .TH SLAPDN 8C "2025/05/22" "OpenLDAP 2.6.10"
      3  1.7  christos .\" Copyright 2004-2024 The OpenLDAP Foundation All Rights Reserved.
      4  1.1     lukem .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
      5  1.5      tron .\" $OpenLDAP$
      6  1.1     lukem .SH NAME
      7  1.1     lukem slapdn \- Check a list of string-represented LDAP DNs based on schema syntax
      8  1.1     lukem .SH SYNOPSIS
      9  1.1     lukem .B /usr/sbin/slapdn
     10  1.3     lukem [\c
     11  1.3     lukem .BI \-d \ debug-level\fR]
     12  1.3     lukem [\c
     13  1.3     lukem .BI \-f \ slapd.conf\fR]
     14  1.3     lukem [\c
     15  1.3     lukem .BI \-F \ confdir\fR]
     16  1.3     lukem [\c
     17  1.3     lukem .BR \-N | \-P ]
     18  1.3     lukem [\c
     19  1.3     lukem .BI \-o \ option\fR[ = value\fR]]
     20  1.3     lukem [\c
     21  1.3     lukem .BR \-v ]
     22  1.3     lukem .IR DN \ [...]
     23  1.1     lukem .LP
     24  1.1     lukem .SH DESCRIPTION
     25  1.1     lukem .LP
     26  1.1     lukem .B Slapdn
     27  1.1     lukem is used to check the conformance of a DN based on the schema
     28  1.1     lukem defined in
     29  1.1     lukem .BR slapd (8)
     30  1.1     lukem and that loaded via 
     31  1.1     lukem .BR slapd.conf (5).
     32  1.1     lukem It opens the
     33  1.1     lukem .BR slapd.conf (5)
     34  1.3     lukem configuration file or the slapd\-config (5) backend, reads in the schema definitions, and then
     35  1.1     lukem parses the 
     36  1.3     lukem .I DN
     37  1.1     lukem list given on the command-line.
     38  1.1     lukem .LP
     39  1.1     lukem .SH OPTIONS
     40  1.1     lukem .TP
     41  1.3     lukem .BI \-d \ debug-level
     42  1.1     lukem enable debugging messages as defined by the specified
     43  1.3     lukem .IR debug-level ;
     44  1.1     lukem see
     45  1.1     lukem .BR slapd (8)
     46  1.1     lukem for details.
     47  1.1     lukem .TP
     48  1.3     lukem .BI \-f \ slapd.conf
     49  1.1     lukem specify an alternative
     50  1.1     lukem .BR slapd.conf (5)
     51  1.1     lukem file.
     52  1.1     lukem .TP
     53  1.3     lukem .BI \-F \ confdir
     54  1.1     lukem specify a config directory.
     55  1.1     lukem If both
     56  1.3     lukem .B \-f
     57  1.1     lukem and
     58  1.3     lukem .B \-F
     59  1.1     lukem are specified, the config file will be read and converted to
     60  1.1     lukem config directory format and written to the specified directory.
     61  1.1     lukem If neither option is specified, an attempt to read the
     62  1.1     lukem default config directory will be made before trying to use the default
     63  1.1     lukem config file. If a valid config directory exists then the
     64  1.1     lukem default config file is ignored.
     65  1.1     lukem .TP
     66  1.1     lukem .BI \-N
     67  1.3     lukem only output a normalized form of the \fIDN\fP, suitable to be used
     68  1.1     lukem in a normalization tool; incompatible with
     69  1.1     lukem .BR \-P .
     70  1.1     lukem .TP
     71  1.3     lukem .BI \-o \ option\fR[ = value\fR]
     72  1.1     lukem Specify an
     73  1.3     lukem .I option
     74  1.1     lukem with a(n optional)
     75  1.3     lukem .IR value .
     76  1.1     lukem Possible generic options/values are:
     77  1.1     lukem .LP
     78  1.1     lukem .nf
     79  1.1     lukem               syslog=<subsystems>  (see `\-s' in slapd(8))
     80  1.3     lukem               syslog\-level=<level> (see `\-S' in slapd(8))
     81  1.3     lukem               syslog\-user=<user>   (see `\-l' in slapd(8))
     82  1.1     lukem 
     83  1.1     lukem .fi
     84  1.1     lukem .TP
     85  1.1     lukem .BI \-P
     86  1.3     lukem only output a prettified form of the \fIDN\fP, suitable to be used
     87  1.1     lukem in a check and beautification tool; incompatible with
     88  1.1     lukem .BR \-N .
     89  1.1     lukem .TP
     90  1.1     lukem .B \-v
     91  1.1     lukem enable verbose mode.
     92  1.1     lukem .SH EXAMPLES
     93  1.1     lukem To check a
     94  1.1     lukem .B DN
     95  1.1     lukem give the command:
     96  1.1     lukem .LP
     97  1.1     lukem .nf
     98  1.1     lukem .ft tt
     99  1.3     lukem 	/usr/sbin/slapdn \-f //etc/openldap/slapd.conf \-v DN
    100  1.1     lukem .ft
    101  1.1     lukem .fi
    102  1.1     lukem .SH "SEE ALSO"
    103  1.1     lukem .BR ldap (3),
    104  1.3     lukem .BR slapd (8),
    105  1.1     lukem .BR slaptest (8)
    106  1.1     lukem .LP
    107  1.1     lukem "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
    108  1.1     lukem .SH ACKNOWLEDGEMENTS
    109  1.5      tron .lf 1 ./../Project
    110  1.1     lukem .\" Shared Project Acknowledgement Text
    111  1.1     lukem .B "OpenLDAP Software"
    112  1.1     lukem is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
    113  1.1     lukem .B "OpenLDAP Software"
    114  1.6  christos is derived from the University of Michigan LDAP 3.3 Release.  
    115  1.5      tron .lf 109 stdin
    116