summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* waf: removed the module aliases codeAndrew Tridgell2010-11-011-32/+0
| | | | This is not needed with the new ldb modules approacg
* s4-dsdb: convert the rest of the ldb modules to the new module typeAndrew Tridgell2010-11-0142-79/+306
|
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-014-6/+0
|
* s4-ldb: removed the old ldb module loading styleAndrew Tridgell2010-11-012-158/+34
| | | | this gets rid of some particularly obscure cpp macros for module lists
* s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell2010-11-019-22/+66
|
* s4-process_model: use the static module prototypingAndrew Tridgell2010-11-011-15/+14
| | | | remove the manual prototyping of static init functions
* waf: added automatic prototyping of static module init functionsAndrew Tridgell2010-11-011-0/+8
| | | | | | | this avoids the need to manually list all our static init functions in the code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: convert the simple_ldap_map module to the new module styleAndrew Tridgell2010-11-012-9/+26
|
* s4-dsdb: convert the extended_dn_out module to the new ldb module styleAndrew Tridgell2010-11-012-10/+31
|
* s4-ldb: convert the openldap ldb backend to the new style of moduleAndrew Tridgell2010-11-012-16/+18
|
* s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell2010-11-012-17/+17
| | | | | this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
* s4-ldb: support a new type of ldb module loadingAndrew Tridgell2010-11-014-1/+199
| | | | | | | | | | | | | | | | | | this supports module loading in ldb which uses the approach of "load all modules in a directory". This is much more flexible than the current module loading, as it will allow us to load modules for command line parsing and authentication. Modules are loaded from a colon separated path, in the environment variable LDB_MODULES_PATH. If unset, it defaults to LDB_MODULESDIR. Within each directory modules are loaded recursively (traversing down the directory tree). The device/inode number of each module is remembered to prevent us loading a module twice. Each module is checked for a ldb_init_module() function with dlsym(). If found, it is called with the ldb module version as an argument.
* waf: added module_init_name parameter to SAMBA_MODULE()Andrew Tridgell2010-11-011-2/+3
| | | | this will be used for ldb module loading
* tdb: Use waf by default.Jelmer Vernooij2010-11-012-14/+15
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 06:04:14 UTC 2010 on sn-devel-104
* s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic valueKamen Mazdrashki2010-11-012-28/+28
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104
* s4-druspia.idl: rename DRSUAPI_ATTID_NONE to DRSUAPI_ATTID_INVALIDKamen Mazdrashki2010-10-311-1/+2
| | | | | 0xFFFFFFFF is actually an invalid value for an ATTID and *_INVALID will make it more easy to notice in logs
* idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki2010-10-3113-240/+240
| | | | | Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
* s4-server: avoid using environ as it is not portableAndrew Tridgell2010-10-311-2/+1
| | | | | | | | we can just use execv() instead, which passes through the environment, which is all we need Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Oct 31 23:53:49 UTC 2010 on sn-devel-104
* unit tests: remove trailling white spacesMatthieu Patou2010-10-311-27/+27
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 31 23:10:55 UTC 2010 on sn-devel-104
* unit tests: allow make test to correctly and quickly exit in case of problem ↵Matthieu Patou2010-10-311-63/+73
| | | | while provisionning a test environment
* replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij2010-10-312-12/+0
| | | | | | | as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
* s4:sam.py - test the "sAMAccountName" attributeMatthias Dieter Wallnöfer2010-10-311-0/+59
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 31 21:02:48 UTC 2010 on sn-devel-104
* s4:samldb LDB module - validate "sAMAccountName" modificationsMatthias Dieter Wallnöfer2010-10-311-0/+74
| | | | | Also the "sAMAccountName" attribute is protected against corruption (e.g. two accounts with the same name).
* s4:netlogon RPC server - "LogonGetDomainInfo" - always check the LDB return ↵Matthias Dieter Wallnöfer2010-10-311-31/+57
| | | | | | | | | codes Plus some cosmetic indentation fixes Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 31 19:26:45 UTC 2010 on sn-devel-104
* s4:libnet_join.c - only write the really essential SPNsMatthias Dieter Wallnöfer2010-10-311-8/+7
| | | | | | If we are a DC then the others are added by the "samba_spnupdate" script. This fixes bug #7614.
* s4:provision - remove the "servicePrincipalName" creation on the DC objectMatthias Dieter Wallnöfer2010-10-313-25/+2
| | | | This is now done by the "samba_spnupdate" script.
* s4:setup/spn_update_list - reorder and update with other SPNsMatthias Dieter Wallnöfer2010-10-311-13/+15
|
* s4:scripting/bin/samba_spnupdate - also support adding all possible ↵Matthias Dieter Wallnöfer2010-10-311-2/+3
| | | | "servicePrincipalName"s
* s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update ↵Matthias Dieter Wallnöfer2010-10-311-2/+2
| | | | | | scripts Sometimes it can take longer than 10 sec.
* s4:netlogon RPC server - point out that the "LogonGetDomainInfo" ↵Matthias Dieter Wallnöfer2010-10-311-0/+4
| | | | "servicePrincipalName" generation is still needed
* s4:sam.py - add a test for the "dNSHostName" - "servicePrincipalName" update ↵Matthias Dieter Wallnöfer2010-10-311-1/+151
| | | | mechanism
* s4:samldb LDB module - implement the "dNSHostName" - "servicePrincipalName" ↵Matthias Dieter Wallnöfer2010-10-311-0/+155
| | | | | | | change trigger When the "dNSHostName" changes then also the "servicePrincipalName"s are changed as well.
* s4:samldb LDB module - check for the number of results after a search operationMatthias Dieter Wallnöfer2010-10-311-0/+3
| | | | Should always be done.
* s4:drsuapi RPC server - fix counter variablesMatthias Dieter Wallnöfer2010-10-311-3/+6
|
* talloc: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
* replace: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
|
* build: In some case the flags for the sun studio linker are wrongMatthieu Patou2010-10-312-0/+24
| | | | | | | In this case we test if the -Wl,-h,%s works and if so use this form Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
* build: check that if we provide -liconv we can build shared libsMatthieu Patou2010-10-312-2/+19
| | | | | | | | | On Solaris with sun studio compiling an executable with -liconv even if there is no libiconv.so or libiconv.a will work but not for a shared lib. This problem leads to build problem as the linker won't be able to find libiconv when building shared lib as liconv is wrongly specified
* s4-auth: added a dependency on com_errAndrew Tridgell2010-10-311-1/+1
| | | | | | | | | | | this helps with the gentoo build. The problem is that without the depenency, we don't add the cflags from the pkgconfig for com_err to the build of auth/gensec. That really reflects a more general problem with propogation of include dependencies, but this simple fix should be enough for now. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Oct 31 13:13:33 UTC 2010 on sn-devel-104
* replace: Build using waf by default.Jelmer Vernooij2010-10-316-15/+111
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
* talloc: Switch over to using waf as the default build system for the ↵Jelmer Vernooij2010-10-316-17/+107
| | | | standalone build.
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-31162-15208/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4:samldb LDB module - make the "userAccountControl" and "groupType" modify ↵Matthias Dieter Wallnöfer2010-10-301-122/+173
| | | | | | | | | handlers separate functions It's easier to maintain afterwards Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 30 19:07:20 UTC 2010 on sn-devel-104
* s4:samldb LDB module - add a new function which handles special cases for ↵Matthias Dieter Wallnöfer2010-10-301-28/+51
| | | | | | single-valued attribute on SAM modifications This saves quiet some work.
* s4:samldb LDB module - primary group change - free temporary messages to ↵Matthias Dieter Wallnöfer2010-10-301-2/+4
| | | | save memory
* s4:sam.py - add a short double swap "primaryGroupID" testMatthias Dieter Wallnöfer2010-10-301-0/+9
| | | | | | | It's not really meaningful but can happen. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 30 18:15:31 UTC 2010 on sn-devel-104
* s4:samldb LDB module - adapt the "samldb_prim_group_change" trigger to ↵Matthias Dieter Wallnöfer2010-10-301-10/+55
| | | | support multiple "primaryGroupID" modification entries
* s4:samr RPC server - the LDB error codes for adding or deleting a group ↵Matthias Dieter Wallnöfer2010-10-301-4/+2
| | | | member have changed
* s4:sam.py - enhance "member" testsMatthias Dieter Wallnöfer2010-10-301-0/+35
|
* s4:samldb LDB module - "member" triggerMatthias Dieter Wallnöfer2010-10-301-38/+69
| | | | | | | | - adapt the "samldb_member_check" trigger to support multiple "member" modification entries. There can exist special modification messages which delete and add members in one operation - support the right error codes when modifications do fail (ERR_ENTRY_ALREADY_EXISTS, ERR_UNWILLING_TO_PERFORM)