Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4:samldb LDB module - unify objectSid assignment error messages | Matthias Dieter Wallnöfer | 2010-11-01 | 1 | -3/+2 |
| | |||||
* | s4:samldb LDB module - deny "objectSid" modifications | Matthias Dieter Wallnöfer | 2010-11-01 | 1 | -0/+7 |
| | | | | The same as with Windows | ||||
* | s4:provision - adapt the "provision" so that SIDs are only set on entry creation | Matthias Dieter Wallnöfer | 2010-11-01 | 3 | -11/+5 |
| | | | | SID modifications are denied. | ||||
* | s4:torture - suppress printf "%llu" on uint64_t variables warnings | Matthias Dieter Wallnöfer | 2010-11-01 | 4 | -29/+34 |
| | | | | | | The signed/unsignedness does match (always unsigned). The bitlength (64 bit) on all regular platforms does also. Therefore simply add a cast to "unsigned long long". | ||||
* | ldb:tools/ldbtest.c - fix build warning | Matthias Dieter Wallnöfer | 2010-11-01 | 2 | -2/+3 |
| | | | | Cause was an incomplete declaration. | ||||
* | s4-ldb: fixed build of paged searches | Andrew Tridgell | 2010-11-01 | 1 | -1/+1 |
| | | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 09:41:27 UTC 2010 on sn-devel-104 | ||||
* | s4-ldb: fixed build of oLschema2ldif | Andrew Tridgell | 2010-11-01 | 1 | -1/+1 |
| | |||||
* | s4-ldb: convert existing ldb tools to use new command line hooks | Andrew Tridgell | 2010-11-01 | 8 | -76/+29 |
| | | | | | | | the usage() function needs to take a ldb context, as the popt_options is specific to the ldb context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added ldb command line hook support | Andrew Tridgell | 2010-11-01 | 5 | -65/+273 |
| | | | | | | | ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added samba_extensions ldb module | Andrew Tridgell | 2010-11-01 | 2 | -0/+137 |
| | | | | | | | | this module hooks into the ldb command line processing, to add extra command line options and initialisation of samba4 internal subsystems such as gensec Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: moved the ldb_ildap backend into lib/ldb-samba | Andrew Tridgell | 2010-11-01 | 1 | -1/+1 |
| | | | | this backend is samba4 specific | ||||
* | s4-ldb: added support for general ldb hooks in modules | Andrew Tridgell | 2010-11-01 | 2 | -12/+65 |
| | | | | | | | | this allows a ldb module to register a hook function called at various stages of processing. It will be initially used for ldb command line hooks, but should work generally. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added an override flag to ldb_register_backend() | Andrew Tridgell | 2010-11-01 | 4 | -30/+33 |
| | | | | | this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one | ||||
* | s4-ldb: it is not an error for the modules directory to not exist | Andrew Tridgell | 2010-11-01 | 1 | -0/+5 |
| | |||||
* | s4-modules: get rid of the remaining static prototypes for modules | Andrew Tridgell | 2010-11-01 | 11 | -88/+22 |
| | | | | the waf build now generates the prototype declarations for us | ||||
* | s4-dsdb: convert the rest of the ldb modules to the new module type | Andrew Tridgell | 2010-11-01 | 42 | -79/+306 |
| | |||||
* | s4-test: we don't need to set LDB_MODULES_PATH any more | Andrew Tridgell | 2010-11-01 | 3 | -5/+0 |
| | |||||
* | s4-ldb: removed the old ldb module loading style | Andrew Tridgell | 2010-11-01 | 2 | -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 style | Andrew Tridgell | 2010-11-01 | 9 | -22/+66 |
| | |||||
* | s4-process_model: use the static module prototyping | Andrew Tridgell | 2010-11-01 | 1 | -15/+14 |
| | | | | remove the manual prototyping of static init functions | ||||
* | s4-dsdb: convert the simple_ldap_map module to the new module style | Andrew Tridgell | 2010-11-01 | 2 | -9/+26 |
| | |||||
* | s4-dsdb: convert the extended_dn_out module to the new ldb module style | Andrew Tridgell | 2010-11-01 | 2 | -10/+31 |
| | |||||
* | s4-ldb: convert the openldap ldb backend to the new style of module | Andrew Tridgell | 2010-11-01 | 2 | -16/+18 |
| | |||||
* | s4-ldb: convert the ildap module to the new type of ldb module | Andrew Tridgell | 2010-11-01 | 2 | -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 loading | Andrew Tridgell | 2010-11-01 | 4 | -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. | ||||
* | s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic value | Kamen Mazdrashki | 2010-11-01 | 2 | -28/+28 |
| | | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104 | ||||
* | idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values | Kamen Mazdrashki | 2010-10-31 | 9 | -100/+100 |
| | | | | | 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 portable | Andrew Tridgell | 2010-10-31 | 1 | -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 | ||||
* | s4:sam.py - test the "sAMAccountName" attribute | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -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" modifications | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -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öfer | 2010-10-31 | 1 | -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 SPNs | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -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 object | Matthias Dieter Wallnöfer | 2010-10-31 | 3 | -25/+2 |
| | | | | This is now done by the "samba_spnupdate" script. | ||||
* | s4:setup/spn_update_list - reorder and update with other SPNs | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -13/+15 |
| | |||||
* | s4:scripting/bin/samba_spnupdate - also support adding all possible ↵ | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -2/+3 |
| | | | | "servicePrincipalName"s | ||||
* | s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update ↵ | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -2/+2 |
| | | | | | | scripts Sometimes it can take longer than 10 sec. | ||||
* | s4:netlogon RPC server - point out that the "LogonGetDomainInfo" ↵ | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -0/+4 |
| | | | | "servicePrincipalName" generation is still needed | ||||
* | s4:sam.py - add a test for the "dNSHostName" - "servicePrincipalName" update ↵ | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -1/+151 |
| | | | | mechanism | ||||
* | s4:samldb LDB module - implement the "dNSHostName" - "servicePrincipalName" ↵ | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -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 operation | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -0/+3 |
| | | | | Should always be done. | ||||
* | s4:drsuapi RPC server - fix counter variables | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -3/+6 |
| | |||||
* | s4-auth: added a dependency on com_err | Andrew Tridgell | 2010-10-31 | 1 | -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 | ||||
* | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2010-10-31 | 124 | -14196/+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öfer | 2010-10-30 | 1 | -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öfer | 2010-10-30 | 1 | -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öfer | 2010-10-30 | 1 | -2/+4 |
| | | | | save memory | ||||
* | s4:sam.py - add a short double swap "primaryGroupID" test | Matthias Dieter Wallnöfer | 2010-10-30 | 1 | -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öfer | 2010-10-30 | 1 | -10/+55 |
| | | | | support multiple "primaryGroupID" modification entries | ||||
* | s4:samr RPC server - the LDB error codes for adding or deleting a group ↵ | Matthias Dieter Wallnöfer | 2010-10-30 | 1 | -4/+2 |
| | | | | member have changed | ||||
* | s4:sam.py - enhance "member" tests | Matthias Dieter Wallnöfer | 2010-10-30 | 1 | -0/+35 |
| |