bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #16817, Problems Create mail account

 
 

bug #16817: Problems Create mail account

Submitted by:  oskar <oscar>
Submitted on:  Sun 11 Jun 2006 02:29:27 PM UTC  
 
Category: mail-pluginSeverity: 3 - Normal
Item Group: version 0.4.XStatus: Wont Fix
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.

 

Tue 26 Sep 2006 07:23:58 AM UTC, comment #1:

sorry for delay ;-P

Generic error "Invalid syntax" occurred when some attributes required by objectClass (Must attributes) are empty or not set, or when you do not have required .schema loaded in sladp.conf.

Anyway you can print the real attributed passed to ldap_add function with print_r($info) in PHP code.

But please report bug occurred using phamm only. Anyway plugin integration (useful to use different services) will be better in phamm05. See demo on-line http://demo.phamm.org/

Alessandro De Zorzi <lotabi>
Project Administrator
Sun 11 Jun 2006 02:29:27 PM UTC, original submission:

Hi everyone, and hello from Spain
I have a very curios problem with phamm 0.4.8+, i have a corrent an operative openldap+kerberos+postfix+samba enviroment production all work better with the default domain.
The problem ocur when i like to put virtual domins, with phamm i can created the zone in ldap and create the domain associent but when i like to create one mail fail with this error:

mail=dede@cdcdaa.org,vd=cdcdaa.org,ou=hosting,dc=ia2,dc=enrutador,dc=net
Warning: ldap_add() [function.ldap-add]: Add: Invalid syntax in /var/www/phamm/plugins/mail/functions/add_mail.php on line 117

the line 117 is the query to update ldap:

$r=ldap_add($connect,"mail=$mail,vd=$domain,$LDAP_BASE",$info);

all is correct, is posible that one part of array $info[atribute] have a problem???????????????????????

with phamm 5.x dont ocur some people know because this problem
Thanks
Oscar Soriano

oskar <oscar>

 

(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

 

Carbon-Copy List
  • -unavailable- added by lotabi (Updated the item)
  •  

    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
    Wed 07 Feb 2007 03:17:46 PM UTClotabiOpen/ClosedOpen=>Closed
    Wed 07 Feb 2007 03:17:32 PM UTClotabiStatusNone=>Wont Fix

    Back to the top


    Powered by Savane 3.1-cleanup1