diff options
Diffstat (limited to 'docs/htmldocs/passdb.html')
-rw-r--r-- | docs/htmldocs/passdb.html | 136 |
1 files changed, 44 insertions, 92 deletions
diff --git a/docs/htmldocs/passdb.html b/docs/htmldocs/passdb.html index 8a7c26b640..127a748189 100644 --- a/docs/htmldocs/passdb.html +++ b/docs/htmldocs/passdb.html @@ -80,7 +80,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN244" +NAME="AEN321" >3.1. Introduction</A ></H1 ><P @@ -121,7 +121,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN251" +NAME="AEN328" >3.2. Important Notes About Security</A ></H1 ><P @@ -284,7 +284,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN277" +NAME="AEN354" >3.2.1. Advantages of SMB Encryption</A ></H2 ><P @@ -310,7 +310,7 @@ BORDER="0" ></TR ><TR ><TD ->Encrypted password support allows auto-matic share +>Encrypted password support allows automatic share (resource) reconnects.</TD ></TR ></TBODY @@ -323,7 +323,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN283" +NAME="AEN360" >3.2.2. Advantages of non-encrypted passwords</A ></H2 ><P @@ -358,7 +358,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN289" +NAME="AEN366" >3.3. The smbpasswd Command</A ></H1 ><P @@ -461,7 +461,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN320" +NAME="AEN397" >3.4. Plain text</A ></H1 ><P @@ -481,7 +481,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN325" +NAME="AEN402" >3.5. TDB</A ></H1 ><P @@ -494,7 +494,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN328" +NAME="AEN405" >3.6. LDAP</A ></H1 ><DIV @@ -502,7 +502,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN330" +NAME="AEN407" >3.6.1. Introduction</A ></H2 ><P @@ -570,7 +570,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN350" +NAME="AEN427" >3.6.2. Introduction</A ></H2 ><P @@ -679,7 +679,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN379" +NAME="AEN456" >3.6.3. Supported LDAP Servers</A ></H2 ><P @@ -690,12 +690,12 @@ and client SDK. However, due to lack of testing so far, there are bound to be compile errors and bugs. These should not be hard to fix. If you are so inclined, please be sure to forward all patches to <A -HREF="samba-patches@samba.org" +HREF="mailto:samba-patches@samba.org" TARGET="_top" >samba-patches@samba.org</A > and <A -HREF="jerry@samba.org" +HREF="mailto:jerry@samba.org" TARGET="_top" >jerry@samba.org</A >.</P @@ -705,7 +705,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN384" +NAME="AEN461" >3.6.4. Schema and Relationship to the RFC 2307 posixAccount</A ></H2 ><P @@ -730,7 +730,7 @@ CLASS="PROGRAMLISTING" owned by the Samba Team and as such is legal to be openly published. If you translate the schema to be used with Netscape DS, please submit the modified schema file as a patch to <A -HREF="jerry@samba.org" +HREF="mailto:jerry@samba.org" TARGET="_top" >jerry@samba.org</A ></P @@ -762,7 +762,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN396" +NAME="AEN473" >3.6.5. Configuring Samba with LDAP</A ></H2 ><DIV @@ -770,7 +770,7 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN398" +NAME="AEN475" >3.6.5.1. OpenLDAP configuration</A ></H3 ><P @@ -780,9 +780,9 @@ server, first copy the samba.schema file to slapd's configuration directory.</P ><SAMP CLASS="PROMPT" >root# </SAMP -><B -CLASS="COMMAND" ->cp samba.schema /etc/openldap/schema/</B +><KBD +CLASS="USERINPUT" +>cp samba.schema /etc/openldap/schema/</KBD ></P ><P >Next, include the <TT @@ -852,7 +852,7 @@ CLASS="SECT3" ><H3 CLASS="SECT3" ><A -NAME="AEN415" +NAME="AEN492" >3.6.5.2. Configuring Samba</A ></H3 ><P @@ -968,7 +968,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN443" +NAME="AEN520" >3.6.6. Accounts and Groups management</A ></H2 ><P @@ -993,7 +993,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN448" +NAME="AEN525" >3.6.7. Security and sambaAccount</A ></H2 ><P @@ -1072,7 +1072,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN468" +NAME="AEN545" >3.6.8. LDAP specials attributes for sambaAccounts</A ></H2 ><P @@ -1279,7 +1279,7 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN538" +NAME="AEN615" >3.6.9. Example LDIF Entries for a sambaAccount</A ></H2 ><P @@ -1338,7 +1338,7 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN546" +NAME="AEN623" >3.7. MySQL</A ></H1 ><DIV @@ -1346,29 +1346,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN548" ->3.7.1. Building</A -></H2 -><P ->To build the plugin, run <B -CLASS="COMMAND" ->make bin/pdb_mysql.so</B -> -in the <TT -CLASS="FILENAME" ->source/</TT -> directory of samba distribution. </P -><P ->Next, copy pdb_mysql.so to any location you want. I -strongly recommend installing it in $PREFIX/lib or /usr/lib/samba/</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN554" ->3.7.2. Creating the database</A +NAME="AEN625" +>3.7.1. Creating the database</A ></H2 ><P >You either can set up your own table and specify the field names to pdb_mysql (see below @@ -1403,8 +1382,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN564" ->3.7.3. Configuring</A +NAME="AEN635" +>3.7.2. Configuring</A ></H2 ><P >This plugin lacks some good documentation, but here is some short info:</P @@ -1418,7 +1397,7 @@ CLASS="FILENAME" >: <PRE CLASS="PROGRAMLISTING" ->passdb backend = [other-plugins] plugin:/location/to/pdb_mysql.so:identifier [other-plugins]</PRE +>passdb backend = [other-plugins] mysql:identifier [other-plugins]</PRE ></P ><P >The identifier can be any string you like, as long as it doesn't collide with @@ -1514,8 +1493,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN581" ->3.7.4. Using plaintext passwords or encrypted password</A +NAME="AEN652" +>3.7.3. Using plaintext passwords or encrypted password</A ></H2 ><P >I strongly discourage the use of plaintext passwords, however, you can use them:</P @@ -1529,8 +1508,8 @@ CLASS="SECT2" ><H2 CLASS="SECT2" ><A -NAME="AEN586" ->3.7.5. Getting non-column data from the table</A +NAME="AEN657" +>3.7.4. Getting non-column data from the table</A ></H2 ><P >It is possible to have not all data in the database and making some 'constant'.</P @@ -1555,57 +1534,30 @@ CLASS="SECT1" ><H1 CLASS="SECT1" ><A -NAME="AEN594" ->3.8. Passdb XML plugin</A +NAME="AEN665" +>3.8. XML</A ></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN596" ->3.8.1. Building</A -></H2 ><P >This module requires libxml2 to be installed.</P ><P ->To build pdb_xml, run: <B -CLASS="COMMAND" ->make bin/pdb_xml.so</B -> in -the directory <TT -CLASS="FILENAME" ->source/</TT ->. </P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN602" ->3.8.2. Usage</A -></H2 -><P >The usage of pdb_xml is pretty straightforward. To export data, use: -<B -CLASS="COMMAND" ->pdbedit -e plugin:/usr/lib/samba/pdb_xml.so:filename</B +<KBD +CLASS="USERINPUT" +>pdbedit -e xml:filename</KBD > (where filename is the name of the file to put the data in)</P ><P >To import data, use: -<B -CLASS="COMMAND" ->pdbedit -i plugin:/usr/lib/samba/pdb_xml.so:filename -e current-pdb</B +<KBD +CLASS="USERINPUT" +>pdbedit -i xml:filename -e current-pdb</KBD > Where filename is the name to read the data from and current-pdb to put it in.</P ></DIV ></DIV -></DIV ><DIV CLASS="NAVFOOTER" ><HR |