Wilco Baan Hofman
2b761c3def
Optimize the backslash logic in the path traversal.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
f24f472d44
Fix error in logic, making recursion work past the first level.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
3b11a53304
Add fetch function for GPO which fetches all relevant files from the sysvol share.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
698144851a
Add getinheritance and setinheritance to net gpo util and library.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
a4cb72790c
Implemented delete group policy link function and corresponding feature in net gpo.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
f0353fddde
Changed add_gplink to set_gplink, so we can change gPLink options as well.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Wilco Baan Hofman
40d7181507
Add add gPLink function and corresponding net gpo linkadd call.
...
Also added some definitions for future functions in policy.h
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Wilco Baan Hofman
a1fceac844
Rename files to reflect the libpolicy naming convention. Also fix the GNU make build.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Wilco Baan Hofman
b025715419
Rename libgpo to lib/policy to avoid confusion with samba3 and add waf build
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:10 +02:00
Jelmer Vernooij
a2540fb3cb
ldb: Add ABI file for use when including ildap in the build.
2010-06-20 13:54:51 +02:00
Jelmer Vernooij
9bcd0daba2
ldb: Change LDBSAMBA back to subsystem, update comments, use different
...
ABI file based on whether ldb_ildap is included.
2010-06-20 11:49:08 +02:00
Stefan Metzmacher
44c01a5eb4
s4:ldb-samba: fix the build without a system ldb
...
metze
2010-06-20 11:33:43 +02:00
Jelmer Vernooij
a5e8ef884b
Move a few more samdb-specific methods to SamDB, away from Ldb.
2010-06-20 01:37:06 +02:00
Matthieu Patou
3ebe560622
ldb: add a new control bypassioperationnal
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 00:43:08 +02:00
Jelmer Vernooij
c92db7b6dc
python: Use samba.tests.TestCase, make sure base class tearDown and
...
setUp methods are called, fix formatting.
2010-06-19 22:46:45 +02:00
Jelmer Vernooij
105ebb3440
acl: Clean up formatting, use samba.tests.TestCase.
2010-06-19 22:46:44 +02:00
Jelmer Vernooij
96f120e234
python/passwords: Clean up imports.
2010-06-19 22:46:44 +02:00
Jelmer Vernooij
2b7b69544c
dsdb_schema_info: Clean up imports, avoid using rpc test case for
...
non-RPC tests.
2010-06-19 22:46:44 +02:00
Matthias Dieter Wallnöfer
131be8da0f
s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS 3.1.1.5.2.2
2010-06-19 19:37:47 +02:00
Matthias Dieter Wallnöfer
e315aceda3
ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DN
...
It's meaningless and could end in DNs as "cn=child,".
2010-06-19 17:53:23 +02:00
Matthias Dieter Wallnöfer
c0538a006d
ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntax
2010-06-19 17:53:21 +02:00
Matthias Dieter Wallnöfer
ca34ffaaac
ldb:python bindings - some small cleanup & improvements in "py_ldb_add"
...
Also to make it similar to "py_ldb_delete".
2010-06-19 17:53:21 +02:00
Matthias Dieter Wallnöfer
2aeea4bb4d
ldb:python bindings - let also "py_ldb_delete" support controls
2010-06-19 17:53:20 +02:00
Jelmer Vernooij
bd1786f7f1
wafsamba: Fix typo: noextenion -> noextension.
2010-06-19 12:10:29 +02:00
Jelmer Vernooij
380ee5f081
ldb: Remove dependency on self.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
da0fb0affb
ldbsamba: Build as subsystem to prevent infinite recursion issues.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
8e8496208b
ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
f74dceda8c
ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, so as to not delute /usr/lib.
2010-06-18 23:51:40 +02:00
Matthias Dieter Wallnöfer
ad7859dfff
s4:ldif_handlers.c - fix warning
2010-06-16 21:45:15 +02:00
Matthias Dieter Wallnöfer
12fdfc9430
s4:ldap.py - add another test about linked attributes
...
In addition this test makes sure that the bug regarding the search with deleted
linked attributes in the filter has been fixed.
2010-06-16 15:34:42 +02:00
Andrew Bartlett
53afe4e018
s4:ldif-handlers Add a custom handler for DNs that knows about deleted values
...
In Samba we my store a deleted DN for a linked attribute. We must
ensure that we can't match on it, or else searches for member= will
still reveal it.
Andrew Bartlett
2010-06-16 15:34:42 +02:00
Stefan Metzmacher
6dbcffb51d
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
...
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16 14:07:28 +02:00
Jelmer Vernooij
a4a127ea5a
s4-waf: Fix build of libldb_ildap against system ldb.
2010-06-15 20:52:01 +02:00
Jelmer Vernooij
773e47f4a9
wafsamba: Fix include path inheritance from module subsystems.
2010-06-15 20:35:22 +02:00
Jelmer Vernooij
026fcc6a4f
ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 versions.s
2010-06-15 13:15:51 +02:00
Jelmer Vernooij
fb7a98aa32
ldb: Fix included ldb build.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
e27ef3dd6d
ldb: Only build standard ldb modules when building bundled ldb.
2010-06-15 13:15:50 +02:00
Jelmer Vernooij
9ac0a876a7
ldb-samba: Add missing dependency on credentials code.
2010-06-15 13:15:50 +02:00
Nadezhda Ivanova
5ad12f70c5
s4:Descriptor tests clean-up.
...
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
2010-06-14 15:12:00 +03:00
Jelmer Vernooij
08c972504a
Support system talloc/tevent headers.
2010-06-13 19:39:20 +02:00
Jelmer Vernooij
51058213cb
s4-test: Use smb.conf path set in environment rather than using
...
command-line options.
This is the first step towards supporting custom test runners.
2010-06-13 18:19:03 +02:00
Matthias Dieter Wallnöfer
bbb0b31911
s4:ldif_read_prefixMap - don't cause memory leaks on error conditions
2010-06-12 16:45:45 +02:00
Andrew Bartlett
6336f24475
s4:dsdb Allow a binary prefix map to be specified in the LDIF
...
This allows it to be specified in either binary or as a string.
Andrew Bartlett
2010-06-12 11:17:59 +10:00
Nadezhda Ivanova
e3c95940cd
Adjusted ACL tests to use encripted connection.
...
This way we get rid of the conditional if.Samba checks, because users are
successfully created and enabled.
2010-06-11 17:22:21 +03:00
Matthias Dieter Wallnöfer
93fe926842
s4:passwords.py - set the "dSHeuristics"
...
As per Nadia's request and abartlet's suggestion the test now also sets the
"dSHeuristics" attribute properly to be able to perform the tests also against
Windows without further configuration.
The code has the neat feature that it undoes the change and resets the
behaviour as it was before.
2010-06-11 10:04:50 +02:00
Matthias Dieter Wallnöfer
61976e4fcf
s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used
2010-06-11 10:04:19 +02:00
Matthias Dieter Wallnöfer
315602f845
s4:ldap.py - check how the directory server behaves when the 'distinguishedName' attribute wasn't set correctly
...
(On add operations the server does completely ignore it and uses the "header"
DN)
2010-06-11 09:19:02 +02:00
Matthias Dieter Wallnöfer
ace9bd6560
s4:ldap.py - check if the "name" of an entry was really ignored
2010-06-11 09:17:08 +02:00
Matthias Dieter Wallnöfer
4d3362776f
ldb:ldb_sqlite3 backend - remove a warning which has already been resolved
2010-06-11 08:52:12 +02:00
Matthias Dieter Wallnöfer
155a672567
ldb:ldb_sqlite3 backend - remove checks which are now done elsewhere
...
(In SAMBA LDB modules)
2010-06-11 08:50:36 +02:00