alexhudson
238fa58cdc
New exciting 'list user' functionality!
2008-01-28 17:45:00 +00:00
alexhudson
81d9301e0d
Initial changes to auth to stop duplicate user accounts being registered. auth api needs a bit of a clean-up; too many changes :)
2008-01-28 11:35:27 +00:00
alexhudson
d337c3d486
Merge remove-mdb branch onto trunk, branch is now closed!
2008-01-23 08:20:27 +00:00
pfelt
39d68be761
-- apply r513 and r514 to the trunk. i apologize if this messes anything up when we go to merge branch!
2007-10-23 16:05:33 +00:00
alexhudson
204abc232d
Fix up some DNS packet boundary checking
2007-09-06 16:28:06 +00:00
alexhudson
5b388b76f4
Make Bongo compile again for dist users
2007-08-20 08:34:04 +00:00
alexhudson
e13eeb8e3a
Another attempt at stopping SIGPIPEs killing our agents.
2007-08-17 20:34:08 +00:00
alexhudson
cc9178ccd6
Missed a file for r355 :)
2007-08-17 20:20:36 +00:00
alexhudson
698cda51d7
Initial stab at DNS code, including:
...
* new check tool for querying MX records,
* dns test harness
2007-08-17 20:11:44 +00:00
alexhudson
aa8cdd6ab0
Ignore SIGPIPE on broken connection. This should fix/mitigate bug #9726 .
2007-08-14 10:20:51 +00:00
alexhudson
6ce6bd184f
* Fix up the check system so that we can run unit tests again
...
* Start new dns bits to Xpl with tests
2007-08-08 19:49:13 +00:00
trisk
da1c898909
* Add rule for missing src/libs/python/bongo/Makefile.
...
* Don't remove bongo-python-wrapper in clean, it's generated by config.status.
2007-07-26 13:35:00 +00:00
alexhudson
79673b9d1b
Slightly naughty config fix to make dist work again, and update a python rule
2007-07-15 22:31:31 +00:00
trisk
5f533850e0
* Align hashtable entries correctly so that Python modules don't crash!
2007-07-15 01:42:22 +00:00
trisk
6a1aa7b881
* Doh, malloc is not calloc! ><
2007-07-14 18:18:58 +00:00
trisk
1d3b79c1e2
* Prevent potential free of static string.
2007-07-14 18:17:10 +00:00
alexhudson
c8d8cdaf9a
Fix a lookup table in the mdb-xldap MDB driver, fixes managed-ldap
2007-07-14 11:31:58 +00:00
jonnylamb
968577911d
* Move to a more unified python www system. Instead of components being used in both DF and HE calling bongo.dragonfly methods, these "commonweb" things have been moved into bongo.commonweb.
...
* Removed bongo.admin.BongoSession as bongo.commonweb.BongoSession is more developed.
* The Auth and *{Handler,Path} modules should probably be merged across DF and HE next, but have been lleft separate foor this commit, for now.
2007-07-13 22:58:05 +00:00
alexhudson
d3ddf20189
Friendly-looking Python patch which should clear up lib vs. lib64 issues on RH-type distros
2007-07-13 22:06:45 +00:00
alexhudson
fb042f0ac5
Scary looking python patch; separate the C-module stuff from pure python for the benefit of OSes which keep them separately.
2007-07-13 21:17:21 +00:00
trisk
ba713d88e0
* Go over mdbldap and fix at least a dozen memory leaks.
2007-07-13 15:57:13 +00:00
trisk
4b0476a596
* Unbreak BongoJsonParserNextNode - leak was actually caused by missing frees.
...
* Apparent double free in ReadBongoConfiguration (should only BongoJsonNodeFree() parent node, not BongoJsonJPath() node).
2007-07-12 21:45:15 +00:00
trisk
8d1f10ad98
* Memory leak in BongoJsonParserNextNode() - duplicated string at return.
...
* Memory leak in LdapToRelativeMdb() - forgot to free string.
2007-07-12 20:53:52 +00:00
alexhudson
25f1a34250
* Update default config for antivirus and antispam
...
* Hopefully corrected a config bug where we crash on malformed json data
2007-07-11 21:40:55 +00:00
trisk
f9f0282aa0
(Hopefully) fix more issues in new config code.
2007-07-11 19:52:32 +00:00
trisk
2e706f5349
Don't crash if parts of schema are missing.
2007-07-11 18:28:31 +00:00
alexhudson
2963a454c7
* New configuration system
...
* Default config now comes from a backup file, not hard-coded
2007-07-11 12:11:55 +00:00
trisk
60fdae4c69
* Actually print to the buffer in LoggerOpen().
2007-07-10 15:23:14 +00:00
alexhudson
e355a6fb18
Turn on logging! Thanks to Lance Haig for figuring most of this out. Includes:
...
* Lance's configuration file
* Small changes to log4c and slapd to make them shut up a bit
2007-07-10 13:21:19 +00:00
trisk
b6001cdb0b
* Use slapdadd (same binary as slapd and has a configurable path) instead of ldapdd in bongo-setup.
...
* Use Privs module functions for Bongo user.
2007-07-09 15:10:59 +00:00
trisk
26471cf430
Doh.
2007-07-08 00:25:57 +00:00
trisk
b9e9608067
* Move ALIGN_SIZE() macro to memmgr.h and apply it to memstack allocations. This fixes the last known crash on sparc.
2007-07-07 20:53:24 +00:00
trisk
c7f16bc911
* Pass NULL for empty credential.
...
* Check argument to ConnFree() to prevent crash when bongosmtp is shutting down.
2007-07-07 10:54:50 +00:00
trisk
b7e55c9e95
* Make memmgr align its allocations to the offset preferred by the architecture.
...
* Support architectures with double word alignment restrictions.
* Fix the linked list of private memory pools.
2007-07-07 10:52:01 +00:00
trisk
2f5f0343d9
* hack: Make NMAPReadConfigFile() retry in case store is not yet ready.
2007-07-07 07:14:54 +00:00
trisk
2c8bbcb714
Fix use of uninitialised variables in msgapi, also some housekeeping.
2007-07-07 03:36:32 +00:00
trisk
77d4d73212
Correct missing return value.
2007-07-07 03:33:33 +00:00
trisk
d9bd70814b
On Solaris, modify userPassword attribute directly instead of using newer password operations (they don't seem to work correctly with Sun LDAP).
2007-07-05 04:07:00 +00:00
trisk
93044942d2
Make _BONGO_SYSTEM_MALLOC use system calloc for MemCalloc functions.
2007-07-05 04:04:18 +00:00
trisk
0a3cd0f322
Clean up CPPFLAGS in various places, including a number of missing flags.
2007-07-05 04:02:13 +00:00
jonnylamb
6d49226681
* Add gettext initalisation to XplInit.
...
* Add i18n for bongo-config.
* Add prototype for GetInteractiveData to stop whining on compilation.
* Stop bongo-config running when the usage is displayed.
2007-07-04 13:35:26 +00:00
alexhudson
103227e92b
Support for kstat on Solaris, thanks to Albert Lee
2007-07-04 09:32:14 +00:00
alexhudson
58b724ef88
Make BongoJsonJPathGetString() allocate memory for the caller
2007-07-04 08:45:46 +00:00
pfelt
94c7c429e8
fixes from Albert Lee
...
- Support the Sun LDAP library as an alternative to OpenLDAP (Novell/Mozilla use the same API and will be supported later).
- Support the Solaris variants of the re-entrant pwd.h functions.
- Add example SMF manifest and method files for Bongo.
2007-07-04 02:42:17 +00:00
alexhudson
c33882cc1c
* Another buffer overflow in config.c found by Albert Lee
...
* Python 2.5 warning fixed
2007-07-02 20:34:29 +00:00
alexhudson
003986cefc
Buffer overrun fix from Albert Lee; potentially this solves some bizarre store crashes \o/
2007-07-02 19:32:12 +00:00
alexhudson
c9871608d6
Various build system fixes for Solaris, again from Albert Lee
2007-06-30 13:37:06 +00:00
alexhudson
314754cc5b
Some connio fixes from Albert Lee to make it go on Solaris
2007-06-30 12:43:01 +00:00
alexhudson
a9a354b5e9
Some patches due to Albert Lee:
...
* portability fixes for autogen
* bugfix in bongo-config
* missing define for syslog
Also fixed some errors in the french .po file
2007-06-30 11:39:30 +00:00
alexhudson
c5c0ec06dc
connio: destroy buffers on broken connections to avoid SIGPIPEs when we close connections.
2007-06-30 11:08:10 +00:00