Phamm (PHP LDAP Virtual Hosting Manager) - Patches: patch #7407, Patch for using Subentries under...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7407: Patch for using Subentries under the vd entry for storing accounts
Submitter: | Sebastian Urbanneck <surbanneck> | ||
Submitted: | Tue 07 Dec 2010 11:53:13 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-12-07 | surbanneck | Attached File | - | Added phamm_diffs.tar.gz, #22156 |
Powered by Savane 3.13-4b48.
Corresponding source code
Patch for Version: 0.5.18
In our company we've stored the VirtualMailAccounts not directly unter the VirtualDomain entry but under a subentry, ou=personen to name it. With this version we were not able to address this because the access was harcoded to the vd.
With this patch a constant is introduced which was implemented into every access on entries which are related to the access of user accounts (searching, creating, deleting, modifying). It is declared in the config.inc.php and is called SUB_ENTRY. Is it empty, theres no change. Does it contain an subentry, the access is going on there. This also conerns the account "postmaster" so far which has to be in this subentry.
Furthermore I added the ability to create subentries during the creation of a domain. These are declared in the file subentries.inc.php, which is located in the phamm root. Postmaster and abuse are then created in the SUB_ENTRY subentry, too.
Hopefully I've done not too bad :) I'm not so long in PHP coding
diffs are attached as a gzipped tar.
bye
Sebastian