From: Bjørn O. G. <bg...@us...> - 2004-12-04 10:39:00
|
Update of /cvsroot/luma/luma/lib/luma/base/utils/backend In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16720 Modified Files: mkpasswd.py Log Message: Cleaned up the documentation so all statements are true. Index: mkpasswd.py =================================================================== RCS file: /cvsroot/luma/luma/lib/luma/base/utils/backend/mkpasswd.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mkpasswd.py 4 Dec 2004 10:34:36 -0000 1.10 --- mkpasswd.py 4 Dec 2004 10:38:51 -0000 1.11 *************** *** 1,14 **** #$Id$ ''' ! This module depends on python >= 2.2 ! Module written by Bjorn Ove Grotan <bg...@sa...> ! Mkpasswd is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ! Mkpasswd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- 1,14 ---- #$Id$ ''' ! This module depends on python >= 2.3 ! Module written by Bjorn Ove Grotan <bg...@gr...> ! mkpasswd is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ! mkpasswd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *************** *** 28,47 **** For LDAP-use, the SHA1 and SSHA-digest has to be base64-encoded. - SHA and SSHA are described at: - http://developer.netscape.com/docs/technote/ldap/pass-sha.html - This page have examples for Perl and Java if one would prefer that. - Example-LDIF: {SSHA}oaEG3PJ10sHxGcSxsDRRooTifL55/2NOdN3nU1VEV+NFzc9Q This package should now support passwords compatible with [1] Samba using the [2] ! smbpasswd module for [3] Python. You should find a recent copy of this software ! at the project [4] webpage. The samba compability is added for use with Samba as ! PDC with storing user and host-information in LDAP. [1] http://www.samba.org [2] http://barryp.org/software/py-smbpasswd/ [3] http://www.python.org - [4] http://www.grotan.com/project/python ''' import string,base64 --- 28,41 ---- For LDAP-use, the SHA1 and SSHA-digest has to be base64-encoded. Example-LDIF: {SSHA}oaEG3PJ10sHxGcSxsDRRooTifL55/2NOdN3nU1VEV+NFzc9Q This package should now support passwords compatible with [1] Samba using the [2] ! smbpasswd module for [3] Python. The samba compability is added for use with Samba ! as PDC with storing user and host-information in LDAP. [1] http://www.samba.org [2] http://barryp.org/software/py-smbpasswd/ [3] http://www.python.org ''' import string,base64 |