6.0.0-beta1
9/24/25

[#3287] Driver for XAMS integration
Summary Driver for XAMS integration
Queue Passwd
Queue Version 3.0
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester j2 (at) mupp (dot) net
Created 01/17/2006 (7190 days ago)
Due
Updated 04/18/2006 (7099 days ago)
Assigned
Resolved 04/18/2006 (7099 days ago)
Milestone
Patch No

History
04/18/2006 10:08:28 AM Jan Schneider Comment #14
State ⇒ Rejected
Reply to this comment
No feedback.
03/28/2006 06:24:26 PM Chuck Hagenbuch Comment #13 Reply to this comment
It's pretty easy. If you have a CVS checkout, just change the files 
and run "cvs diff -u filename > diff.txt". You can create a diff that 
spans multiple files, but if just doing it once for each file is 
easiest for you, that's fine for getting started. If you don't have 
CVS, just get the latest file from somewhere and do "diff -u 
originalfile yourfile > diff.txt"



See http://www.horde.org/source/contribute.php for a recap and if you 
explore the /source section, or Google, you'll find plenty of other 
CVS/diff/patch documentation.
03/28/2006 05:37:38 PM j2 (at) mupp (dot) net Comment #12 Reply to this comment
SOrry, i do not understand enough about CVS and unified diffs to be of 
help here.



If a unified diff is the only permissable form in which to submit 
patches, i cannot provide any data.
03/28/2006 02:31:32 PM Jan Schneider Comment #11 Reply to this comment
Are you going to provide a diff?
02/12/2006 09:53:05 PM Michael Rubinsky Comment #10 Reply to this comment
I guess i know to little about CVS.
http://ximbiot.com/cvs/cvshome/docs/
Am i supposed to take a "clean" CVS tree and make the changes, and
then issue that command?
Submitted patches should always be against most recent CVS code, so yes.
What if i have not used the conf.dist file, but rather i have a
conf-file which only contains this driver. How do i create a unified
diff the proper way?
Merge your changes into the *.dist files. Then create a diff against those.


02/12/2006 04:45:12 PM j2 (at) mupp (dot) net Comment #9 Reply to this comment
I guess i know to little about CVS.



Am i supposed to take a "clean" CVS tree and make the changes, and 
then issue that command?



What if i have not used the conf.dist file, but rather i have a 
conf-file which only contains this driver. How do i create a unified 
diff the proper way?
02/12/2006 04:32:55 PM Michael Rubinsky Comment #8 Reply to this comment
So what _is_ a unified diff then?
cvs diff -u
02/12/2006 04:08:59 PM j2 (at) mupp (dot) net Comment #7 Reply to this comment
So what _is_ a unified diff then?
02/12/2006 10:05:08 AM Jan Schneider Comment #6 Reply to this comment
This is not a unified diff, not uploaded as an attachment to the 
ticket, and still doesn't contain changes to docs/INSTALL.
02/12/2006 07:27:50 AM j2 (at) mupp (dot) net Comment #5 Reply to this comment
Diff:



408a409,432

[Show Quoted Text - 24 lines]
02/07/2006 11:16:57 PM j2 (at) mupp (dot) net Comment #4 Reply to this comment
Wierd... I thought i did post that as a comment. I'll redo that tomorrow.
02/07/2006 11:11:02 PM Jan Schneider Comment #3 Reply to this comment
Are you going to provide the patches?
01/17/2006 11:33:46 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please provide the configuration file changes as a unified diff, as 
well as additions necessary to docs/INSTALL.
01/17/2006 10:28:58 PM j2 (at) mupp (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Driver for XAMS integration
Queue ⇒ Passwd
New Attachment: xams.php Download
State ⇒ New
Reply to this comment
Here is a driver for using passwd with XAMS 0.0.15 and a small readme.



All credit should go to Oliver Siegmar (Lead developer for the now 
hibernating XAMS)



Here is a backends.php snippet



//Note, the driver is only tested on XAMS 0.0.15

//The driver handles both normal accounts and unique user names

//Please verify that you are using _Full_ user name in the config for passwd

//Change hostspec, username, password and database to match your XAMS

//You can find this info in your xams.conf

//Driver and config snippet by oliver.siegmar@xams.org

//Silly little commet for driver (and nagging Oliver to write the 
driver) by j2@mupp.net

//

$backends['xams'] = array (

     'name' => 'XAMS Server',

     'preferred' => '',

     'password policy' => array(

         'minLength' => 5,

         'maxLength' => 31,

         'maxSpace' => 0,

         'minUpper' => 1,

         'minLower' => 1,

         'minNumeric' => 1,

         'minSymbols' => 0

     ),

     'driver' => 'xams',

     'params' => array(

         'phptype'    => 'mysql',

         'hostspec'   => 'localhost',

         'username'   => 'xamsusername',

         'password'   => 'xamsusernamedbpassword',

         'encryption' => 'md5-hex',

         'database'   => 'xamsdatabasename',

         'show_encryption' => false

     )

);


Saved Queries