Server IP : 103.119.228.120 / Your IP : 18.222.20.30 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/share/doc/cyrus-sasl-lib-2.1.26/ |
Upload File : |
<HTML><HEAD> <title>Upgrading from Cyrus SASLv1 to Cyrus SASLv2</title> <!-- $Id: upgrading.html,v 1.12 2003/08/14 21:04:13 rjs3 Exp $ --> </HEAD> <BODY> <H1>Upgrading from Cyrus SASLv1 to Cyrus SASLv2</H1> This document covers issues with upgrading from SASLv1 to SASLv2. To upgrade: <ul> <li> Install Cyrus SASL v2 as normal according to <a href="install.html">the installation guide</a>. This will overwrite some manpages, but will not affect your current applications. Do NOT attempt to make it use the same directories, otherwise old Cyrus SASLv1 applications will no longer function.</li> <li> Install your new Cyrus SASL v2 applications. Applications that use Cyrus SASLv1 will <em>not</em> use the Cyrus SASL v2 infrastructure (and vice-versa). <li> If you used <tt>/etc/sasldb</tt> for authentication, you'll need to take the following steps to convert to using <tt>/etc/sasldb2</tt> with Cyrus SASL v2: <ol> <li> run <tt>utils/dbconverter-2</tt> after installation.</li> <li> change the <tt>pwcheck_method</tt> in any config files to <tt>auxprop</tt></li> <li> (optional) add <tt>auxprop_plugin</tt> to the config files, set to <tt>sasldb</tt></li> </ol> <li> If you used <tt>passwd</tt>, <tt>shadow</tt>, <tt>pam</tt>, <tt>kerberos_v4</tt> or <tt>sia</tt> as your <tt>pwcheck_method</tt> in libsasl v1, you'll need to convert to using <tt>saslauthd</tt>. Arrange to start <tt>saslauthd -a <i>method</i></tt> on boot. Change <tt>pwcheck_method</tt> in any configuration files to <tt>saslauthd</tt>.</li> <li> If you used <tt>pwcheck</tt> with libsasl v1, you can either continue to use <tt>pwcheck</tt> with libsasl v1 or you can switch to <tt>saslauthd</tt>, which offers more flexibility and a potentially much more efficient implementation.</li> <li> If you are continuing to use some libsasl v1 applications, read onwards to understand the ramifications.</li> <li> If you want to learn how to port applications from libsasl v1 to libsasl v2, you should read <A HREF=appconvert.html>this document</A>. </ul> <h2><A NAME="overview">Backwards Compatibility</A></h2> Cyrus SASLv2 is completely incompatible with applications that use Cyrus SASLv1. This means that applications are unable to simultaneously link both versions of the library, and developers are encouraged to instead develop or upgrade their applications to link against the new libsasl.<p> Likewise, the format for the sasldb database has been completely revamped. See <A HREF="#db">here</A> for a discussion of the relevant upgrade issues related to sasldb. All new passwords stored in the sasldb database will be in plaintext, meaning that a compromised sasldb will compromise all services with the same passwords. (This situation isn't significantly worse, cryptographicly speaking, than the old method and allows the database to be easy to transition to another format, when the need arises.) Mechanisms requiring a more secure password database backend (e.g. SRP) should implement their own or use alternate property names within sasldb.<P> <h2><A NAME="coexist">Coexistence with SASLv1</A></h2> The two library versions and the associated utilities should be able to coexist on the same system. The man pages will be unable to coexist (but luckily the new manpages are much better!). The libsasl v2-specific utilities have had a "2" appended to their name for this purpose (e.g. <tt>saslpasswd2</tt>, <tt>sasldblistusers2</tt>). The new-style sasldb now defaults to the name <tt>/etc/sasldb2</tt>, but this is configurable. <h2><A NAME="db">Database Upgrades</A></h2> While there does not seem to be any conflict with the keys stored in the database, it is not recommended for both versions of the library to use the same database file. Included in the utils directory is a program called <tt>dbconverter-2</tt> which will allow you to convert from the old-format database to the new format. Note that if you continue to run older applications that rely on Cyrus SASLv1, the databases for SASLv1 and SASLv2 will not automatically be kept in sync.<p> <hr> Back to the <A href=index.html>index</a> </body> </html>