bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #16290, Serial-No in SOA-Record too long.

 
 

bug #16290: Serial-No in SOA-Record too long.

Submitted by:  None
Submitted on:  Thu 06 Apr 2006 10:05:51 PM UTC  
 
Category: pdns-pluginSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 09 Apr 2006 02:18:23 PM UTC, comment #3:

fixed in CVS phamm/HEAD

Alessandro De Zorzi <lotabi>
Project Administrator
Sun 09 Apr 2006 02:10:13 PM UTC, comment #2:

Well, RFC seems to allow SOA values 10 chars long. I update function to updated SERIAL in this way in 0.4.0 version (improved serial increment in pdns plugin) using setSerial() function.

Anyway the problem exists for new domains, thanks for report the bug :-)

Alessandro De Zorzi <lotabi>
Project Administrator
Thu 06 Apr 2006 10:07:54 PM UTC, comment #1:

Bug and Patch was uploaded by me.

Jan Dankert <dankert>
Thu 06 Apr 2006 10:05:51 PM UTC, original submission:

While adding domains, the SOA-Record has a too long serial number.

Patch to fix this bug:

--- /root/tmp/phamm-0.4.7/plugins/pdns/functions.php 2005-11-03 18:41:02.000000000 +0100
+++ /usr/share/phamm/plugins/pdns/functions.php 2006-04-06 23:06:22.017352256 +0200
@@ -447,8 +447,8 @@
global $connect;

-// Prepare serial in format AAAAMMGGHHMM
-$SERIAL = date(YmdHi);
+// Prepare serial in format AAAAMMGG00
+$SERIAL = date(Ymd).'00';
//$SERIAL = time();

// Prepare the data

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 09 Apr 2006 02:18:23 PM UTClotabiStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1