Diff for /admin/quickstart.sdf between versions 1.5 and 1.6

version 1.5, 2000/07/19 21:12:15 version 1.6, 2000/07/19 21:22:34
Line 1 Line 1
 # $OpenLDAP: pkg/openldap-guide/admin/quickstart.sdf,v 1.4 1999/09/30 14:57:45 kdz Exp $  # $OpenLDAP: pkg/openldap-guide/admin/quickstart.sdf,v 1.5 2000/07/19 21:12:15 kurt Exp $
 # Copyright 1999, The OpenLDAP Foundation, All Rights Reserved.  # Copyright 1999, The OpenLDAP Foundation, All Rights Reserved.
 # COPYING RESTRICTIONS APPLY, see COPYRIGHT.  # COPYING RESTRICTIONS APPLY, see COPYRIGHT.
   
Line 120  To do this just run slapd. Line 120  To do this just run slapd.
 .{{EX:/usr/local/libexec/slapd}}  .{{EX:/usr/local/libexec/slapd}}
   
 .At this point the LDAP server is up and running, but there isn't any data  .At this point the LDAP server is up and running, but there isn't any data
 in the directory.  We can use ldapadd to populate the directory.  in the directory.
   You can check to see if the server is running and your naming context
   (the {{EX:suffix}} you specified above) by searching it with
   {{I:ldapsearch}}(1).
   By default ldapsearch is installed as {{FILE:/usr/local/bin/ldapsearch}}.
   
   .{{EX:ldapsearch -x -b "" -s base '(objectclass=*)' namingContexts
   
   This should return:
   
   .{{EX:dn:}}
   .{{EX:namingContexts: dc=example, dc=net}}
   
   .We can use {{I:ldapadd}}(1) to populate the directory.
 Again remember to replace dc=example,dc=net with the correct values for your  Again remember to replace dc=example,dc=net with the correct values for your
 site.  By default ldapadd is installed as /usr/local/bin/ldapadd.  site.  By default ldapadd is installed as {{FILE:/usr/local/bin/ldapadd}}.
   
 .{{EX:ldapadd -x -D"cn=Manager,dc=example,dc=net" -w secret -f myldif}}  .{{EX:ldapadd -x -D"cn=Manager,dc=example,dc=net" -w secret -f myldif}}
   
 .Where myldif is the file you made in step 7A above. By default, the database  .Where myldif is the file you made in step 7A above. By default, the database
 files will be created in /usr/local/var/openldap-ldbm. You may specify an  files will be created in {{FILE:/usr/local/var/openldap-ldbm}}.
 alternate directory via the directory option in the slapd.conf file.  You may specify an alternate directory via the directory option in the
   {{FILE:slapd.conf}} file.
   
 + {{B:See if it works}}.  + {{B:See if it works}}.
 . Now we're ready to try everything out.    . Now we're ready to try everything out.  
Line 137  alternate directory via the directory op Line 151  alternate directory via the directory op
 example uses the ldapsearch tool.  Remember to replace dc=example,dc=net with  example uses the ldapsearch tool.  Remember to replace dc=example,dc=net with
 the correct values for your site.  the correct values for your site.
   
 .{{EX:ldapsearch -b 'dc=example,dc=net' '(objectclass=*)'}}  .{{EX:ldapsearch -x -b 'dc=example,dc=net' '(objectclass=*)'}}
   
 . This command will search for and retrieve every entry in the database.  . This command will search for and retrieve every entry in the database.
 Note the use of single quotes around the filter, which prevents the "*"  Note the use of single quotes around the filter, which prevents the "*"
Line 151  entries over LDAP, you will have to bind Line 165  entries over LDAP, you will have to bind
 config file (see Section 5.2.2), or change the default access control  config file (see Section 5.2.2), or change the default access control
 (see Section 5.3).  (see Section 5.3).
   
   
 The following sections provide more detailed information on making,  The following sections provide more detailed information on making,
 installing, and running slapd.  installing, and running slapd.
   

Removed from v.1.5  
changed lines
  Added in v.1.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org