You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sz...@apache.org on 2005/12/19 18:34:13 UTC
svn commit: r357729 -
/directory/apacheds/trunk/xdocs/users/authentication.xml
Author: szoerner
Date: Mon Dec 19 09:34:06 2005
New Revision: 357729
URL: http://svn.apache.org/viewcvs?rev=357729&view=rev
Log:
Modified type of quotes in ldap command line tool examples, in order to prevent Windows users from trouble with failing bind ops.
As reported on the mailing list.
Modified:
directory/apacheds/trunk/xdocs/users/authentication.xml
Modified: directory/apacheds/trunk/xdocs/users/authentication.xml
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/xdocs/users/authentication.xml?rev=357729&r1=357728&r2=357729&view=diff
==============================================================================
--- directory/apacheds/trunk/xdocs/users/authentication.xml (original)
+++ directory/apacheds/trunk/xdocs/users/authentication.xml Mon Dec 19 09:34:06 2005
@@ -115,19 +115,19 @@
import the LDIF file presuming the server was started on port 1024 on the
localhost:
</p>
- <source>ldapadd -a -D 'uid=admin,ou=system' -f newuser.ldif -h localhost -p 1024 -x -w secret
+ <source>ldapadd -a -D "uid=admin,ou=system" -f newuser.ldif -h localhost -p 1024 -x -w secret
</source>
<p>
You can confirm the add/import by performing a search for the user. This time
using the OpenLDAP search client you use the following
command:</p>
- <source>ldapsearch -D 'uid=admin,ou=system' -h localhost -p 1024 -x -w secret -s one
- -b 'ou=users,ou=system' '(uid=jdoe)'
+ <source>ldapsearch -D "uid=admin,ou=system" -h localhost -p 1024 -x -w secret -s one
+ -b "ou=users,ou=system" "(uid=jdoe)"
</source>
<p>
You can start searching the directory using this new user like
so:</p>
- <source>ldapsearch -D 'uid=jdoe,ou=users,ou=system' -h localhost -p 1024 -x -w test -s one -b 'ou=system' '(objectClass=*)'
+ <source>ldapsearch -D "uid=jdoe,ou=users,ou=system" -h localhost -p 1024 -x -w test -s one -b "ou=system" "(objectClass=*)"
</source>
</subsection>
<subsection heading="h3" name="Protecting user passwords">