summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* s4/dn: handle case 'base' dn has no componentsKamen Mazdrashki2010-05-101-1/+1
| | | | This could if the 'base' dn is special for example.
* s4:passwords.py - add a python unittest for additional testing of my ↵Matthias Dieter Wallnöfer2010-05-101-0/+579
| | | | | | | | passwords work This performs checks on direct password changes over LDB/LDAP. Indirect password changes over the RPCs are already tested by some torture suite (SAMR passwords). So no need to do this again here.
* s4-ldb: check for ldap_initializeAndrew Tridgell2010-05-051-1/+1
| | | | HPUX 11.0 has a ldap library that doesn't have ldap_initialize
* s4-ldb: add msg saying which build system is being usedAndrew Tridgell2010-05-051-0/+2
| | | | | (this is a gratuituous commit to trigger the build farm to rebuild ldb on all systems)
* s4/waf: ABI update for lib/ldbAnatoliy Atanasov2010-05-042-1/+225
|
* s4/rodc: Support read-only databaseAnatoliy Atanasov2010-05-042-0/+49
| | | | | | Check on modify if we are RODC and return referral. On the ldap backend side now we pass context and ldb_modify_default_callback to propagate the referral error to the client.
* s4/rodc: Fix the callbacks up the stack to handle referrals on modify requestsAnatoliy Atanasov2010-05-041-0/+15
|
* s4/test: Implement tests for msDS-isRODC constructed attributeAnatoliy Atanasov2010-05-031-0/+39
| | | | | This attribute will be returned for objects with objectClass=nTDSDSA,server and computer
* s4-ldb: use a parent context in the ldb utilsAndrew Tridgell2010-05-026-12/+20
| | | | This avoids a talloc free with references error on exit
* s4/test: schemaInfo may not to be set yetKamen Mazdrashki2010-04-291-7/+15
| | | | | On newly provisioned Forest schemaInfo is not initially set. It should be created after firs Schema modification
* s4:lib/registry: fix the waf buildStefan Metzmacher2010-04-271-1/+1
| | | | | | The pass to a source file is relative to the wscript* file. metze
* s4: use shared registry functions.Günther Deschner2010-04-274-49/+13
| | | | Guenther
* pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell2010-04-202-8/+8
| | | | | | | | | | | | | | | | | | | | | | the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2010-04-201-0/+33
|
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-182-6/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* build: more adjustments for the ABI type name mapsAndrew Tridgell2010-04-183-63/+3
| | | | | | | | | | - use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
* s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2010-04-182-32/+32
| | | | | This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
* ldb-waf: enable ABI checking in ldbAndrew Tridgell2010-04-183-0/+506
| | | | | we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols
* ldb: mark the tdb backend in ldb as _PRIVATE_Andrew Tridgell2010-04-181-1/+1
|
* s4:Added a test for correct CO expansion in SD creation.Nadezhda Ivanova2010-04-171-0/+13
|
* s4:Added a test to make sure we ignore ACEs with ID flag set.Nadezhda Ivanova2010-04-151-0/+13
|
* s4-waf: don't try to use the system lib for the library buildAndrew Tridgell2010-04-131-4/+6
| | | | | | when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: enable waf build of ldb without ldap backendAndrew Tridgell2010-04-121-2/+3
| | | | | this is useful for cross-compilation testing, where getting all the ldap deps installed can be hard
* s4-ldb: fixed a crash bug for non-UTF8 stringsAndrew Tridgell2010-04-121-1/+3
| | | | | when one of the strings was not valid UTF8, we would try to dereference NULL
* s4-waf: inline LIBREPLACE_NETWORK into 'replace'Stefan Metzmacher2010-04-121-3/+3
| | | | metze
* build: use a common autogen-waf.sh for all buildsAndrew Tridgell2010-04-121-22/+1
| | | | | the symlink will get updated with the right target when waf dist is used in each directory
* subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij2010-04-111-1/+1
|
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-1/+1
| | | | | | Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
* s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specificationMatthias Dieter Wallnöfer2010-04-101-6/+6
| | | | This makes the code more clear to read.
* s4:registry - "patchfile_preg.c" - fix indentationMatthias Dieter Wallnöfer2010-04-101-5/+9
|
* s4:registry - "patchfile_preg.c" - fix a datatypeMatthias Dieter Wallnöfer2010-04-101-1/+1
| | | | This should be an "uint16_t" (only two bytes are written).
* s4:ldif_handlers tokenGroups are SIDsAndrew Bartlett2010-04-101-0/+1
|
* s4/schema: Torture test for schemaInfo implementationKamen Mazdrashki2010-04-091-0/+209
| | | | | | | This test checks if schemaInfo revision changes when an object is added or modified in Schema. Ref. [MS-ADTS], 3.1.1.2.1
* s4/ldif: Handle Schema:schemaInfo blobsKamen Mazdrashki2010-04-092-0/+21
|
* s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter ↵Matthias Dieter Wallnöfer2010-04-081-2/+1
| | | | | | | variable The "i" variable sums up "size" values which are of type "size_t". Therefore also "i" itself should be from this type.
* s4:registry - "patchfile_preg.c" - make a SIVAL statement nicerMatthias Dieter Wallnöfer2010-04-081-1/+1
|
* s4-net: Use new Net() object in net export keytab.Jelmer Vernooij2010-04-081-3/+3
|
* pynet: Create a net class.Jelmer Vernooij2010-04-081-2/+2
|
* s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij2010-04-081-28/+28
|
* s4-python: More cleanups.Jelmer Vernooij2010-04-082-6/+5
|
* s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij2010-04-081-26/+26
|
* s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij2010-04-081-5/+4
|
* s4:registry - "REGF backend" - don't ignore wrong-sized ↵Matthias Dieter Wallnöfer2010-04-081-2/+5
| | | | REG_DWORD/REG_DWORD_BIG_ENDIAN values
* s4:registry - "patchfile_preg.c" - fix the read operation of the data length ↵Matthias Dieter Wallnöfer2010-04-081-0/+4
| | | | on big-endian platforms
* s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size ↵Matthias Dieter Wallnöfer2010-04-081-2/+2
| | | | | | specifications Looks nicer.
* LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statementMatthias Dieter Wallnöfer2010-04-071-0/+2
| | | | Obviously this is really needed by the "samba4.ldb" test.
* LDB:python bindings - also empty LDB message elements should have a python ↵Matthias Dieter Wallnöfer2010-04-071-3/+6
| | | | | | representation Bug found by ekacnet (see technical mailing list).
* s4:registry - "regf backend" - fix it up regarding ↵Matthias Dieter Wallnöfer2010-04-071-4/+6
| | | | | | | | | REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES This is needed to make it platform independently work (also on big endian platforms as little endian). Also add a size check before storing a DWORD.
* urgent_replication: Use standard comments rather than docstrings.Jelmer Vernooij2010-04-071-29/+28
|
* s4:pyregistry.c - fix indentationMatthias Dieter Wallnöfer2010-04-071-17/+18
|