Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Cactus

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 117 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

slapd



SYNOPSIS

       /usr/lib/openldap/slapd   [-[4|6]]  [-d  debug-level]  [-f
       slapd-config-file] [-h URLs] [-n  service-name]  [-s  sys­
       log-level] [-l syslog-local-user] [-r directory] [-u user]
       [-g group] [-t]


DESCRIPTION

       Slapd is the stand-alone LDAP daemon. It listens for  LDAP
       connections on any number of ports (default 389), respond­
       ing to the LDAP operations it receives over these  connec­
       tions.   slapd  is typically invoked at boot time, usually
       out of /etc/rc.local.  Upon startup, slapd normally  forks
       and  disassociates  itself from the invoking tty.  If con­
       figured in  /etc/openldap/slapd.conf,  the  slapd  process
       will  print  its  process  ID  ( see getpid(2) ) to a .pid
       file, as well as the command line options  during  invoca­
       tion  to  an  .args file ( see slapd.conf(5) ).  If the -d
       flag is given, even with a zero argument, slapd  will  not
       fork and disassociate from the invoking tty.

       Slapd  can be configured to provide replicated service for
       a database with the help of slurpd,  the  standalone  LDAP
       update replication daemon.  See slurpd(8) for details.

       See  the "OpenLDAP Administrator's Guide" for more details
       on slapd.


OPTIONS

       -4     Listen on IPv4 addresses only.

       -6     Listen on IPv6 addresses only.

       -d debug-level
              Turn on debugging as defined  by  debug-level.   If
              this  option  is  specified, even with a zero argu­
              ment, slapd will not fork or disassociate from  the
              invoking terminal.  Some general operation and sta­
              tus  messages  are  printed  for   any   value   of
              debug-level.  debug-level is taken as a bit string,
              with each bit corresponding to a different kind  of
              debugging  information.   See <ldap.h> for details.
              Remember that if you turn on packet logging,  pack­
              ets containing bind passwords will be output, so if
              you redirect the log to a logfile, that file should
              be read-protected.

       -s syslog-level
              This  option  tells  slapd  at what level debugging
              statements should be logged to the syslog(8) facil­
              ity.

       -n service-name

       -h URLlist
              slapd will by default serve ldap:/// (LDAP over TCP
              on  all interfaces on default LDAP port).  That is,
              it will bind using INADDR_ANY and port 389.  The -h
              option  may  be  used  to  specify  LDAP (and other
              scheme) URLs to serve.  For example,  if  slapd  is
              given    -h    "ldap://127.0.0.1:9009/    ldaps:///
              ldapi:///" , It will bind 127.0.0.1:9009 for  LDAP,
              0.0.0.0:636  for  LDAP  over TLS, and LDAP over IPC
              (Unix domain  sockets).   Host  0.0.0.0  represents
              INADDR_ANY.   A  space  separated  list  of URLs is
              expected.  The URLs should be of LDAP (ldap://)  or
              LDAP   over   TLS   (ldaps://)  or  LDAP  over  IPC
              (ldapi://) scheme without a DN  or  other  optional
              parameters,  except  an  experimental  extension to
              indicate the permissions of the underlying  socket,
              on  those  OSes  that  honor them.  Support for the
              latter two schemes depends on  selected  configura­
              tion  options.   Hosts  may be specified by name or
              IPv4 and IPv6 address formats.  Ports, if specfied,
              must  be  numeric.  The default ldap:// port is 389
              and the default ldaps:// port is 636.   The  socket
              permissions  for LDAP over IPC are indicated by "x-
              mod=-rwxrwxrwx", "x-mod=0777" or "x-mod=777", where
              any of the "rwx" can be "-" to suppress the related
              permission (note, however, that sockets only  honor
              the  "w"  permission),  while any of the "7" can be
              any legal octal digit, according to chmod(1).

       -r directory
              Specifies a chroot "jail"  directory.   slapd  will
              chdir(2)  then  chroot(2)  to  this directory after
              opening listeners but before reading any configura­
              tion file or initializing any backend.

       -u user
              slapd  will  run slapd with the specified user name
              or id, and that user's supplementary  group  access
              list  as  set  with initgroups(3).  The group ID is
              also changed to this  user's  gid,  unless  the  -g
              option is used to override.

       -g group
              slapd will run with the specified group name or id.

       Note that on some systems,  running  as  a  non-privileged
       user  will  prevent  passwd  back-ends  from accessing the
       encrypted passwords.  Note also that any  shell  back-ends
       will run as the specified non-privileged user.

       -t     slapd will read the configuration file (the default
            /usr/lib/openldap/slapd -f /var/tmp/slapd.conf -d 255

       To  test whether the configuration file is correct or not,
       type:

            /usr/lib/openldap/slapd -t


SEE ALSO

       ldap(3), slapd.conf(5), slapd.access(5), slurpd(8)

       "OpenLDAP   Administrator's   Guide"    (http://www.OpenL­
       DAP.org/doc/admin/)


BUGS

       See http://www.openldap.org/its/


ACKNOWLEDGEMENTS

       OpenLDAP  is developed and maintained by The OpenLDAP Pro­
       ject (http://www.openldap.org/).  OpenLDAP is derived from
       University of Michigan LDAP 3.3 Release.

OpenLDAP 2.1.22             06-26-2003                  SLAPD(8C)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds