Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-12 | s4:provision - Moved provision_xxx_backend() into backend-specific ↵ | Endi S. Dewata | 2 | -318/+287 | |
provision() method. | |||||
2009-11-12 | s4:provision - Added start() method in LDAPBackend. | Endi S. Dewata | 2 | -13/+20 | |
2009-11-12 | s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend. | Endi S. Dewata | 2 | -37/+68 | |
2009-11-12 | s3: Fix debug messages in check_reduced_name | Volker Lendecke | 1 | -13/+24 | |
2009-11-12 | cifs.upcall: Fix Bug #6868: support building with Heimdal we well as with MIT. | Günther Deschner | 1 | -18/+16 | |
Guenther | |||||
2009-11-12 | s3-kerberos: add smb_krb5_principal_get_realm(). | Günther Deschner | 2 | -0/+27 | |
Guenther | |||||
2009-11-12 | s4:repl_meta_data Parse linked attributes with schema syntaxes | Andrew Bartlett | 1 | -39/+44 | |
The bug here was that by assuming all linked attributes were 'normal DNs', we would miss the binary portion of DN+Binary. This patch then has us reparse the string to determine it's GUID, for the GUID lookup, but maintains the binary porition into the on-disk format. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Add more unit tests for DN+Binary syntaxes | Andrew Bartlett | 1 | -4/+9 | |
2009-11-12 | s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test | Andrew Bartlett | 1 | -5/+4 | |
2009-11-12 | s4:dsdb Improve debug message in extended_dn_out | Andrew Bartlett | 1 | -1/+3 | |
2009-11-12 | s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC | Andrew Bartlett | 2 | -87/+0 | |
I'm satisfied that the task this test does is already done by the time we map the incoming schema, and process the objects. If we have the OID mapping wrong or incomplete, we will get any errors this test found errors there. (And this dramaticly reduces the test time, so we can now add RPC-DSSYNC to 'make test'). Andrew Bartlett | |||||
2009-11-12 | s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC | Andrew Bartlett | 1 | -23/+260 | |
This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett | |||||
2009-11-12 | s4:torture Add const | Andrew Bartlett | 1 | -1/+1 | |
2009-11-12 | s4:ldb Allow ldb_msg_canonicalize to handle empty elements | Andrew Bartlett | 1 | -1/+1 | |
(These are deliberately there in DRS replication). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Allow a schema set when bound against a remote LDAP server | Andrew Bartlett | 1 | -3/+3 | |
2009-11-12 | s4:ldb Don't segfault if we somehow get an unknown extended dn element | Andrew Bartlett | 1 | -0/+8 | |
2009-11-12 | s4:ldb Change ldb_request_add_control to the normal 'for loop' pattern | Andrew Bartlett | 1 | -2/+1 | |
2009-11-12 | s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP | Andrew Bartlett | 1 | -49/+28 | |
(This should make it easier to do more 'compare DRS with LDAP' operations, as LDB is an easier interface to program.) Andrew Bartlett | |||||
2009-11-12 | NET-API-BECOME-DC: resolve the host name to an address before calling | Stefan Metzmacher | 1 | -2/+16 | |
libnet_BecomeDC and libnet_UnbecomeDC() We're supposed to pass in source_dsa_address... metze | |||||
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 4 | -8/+159 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:Fix regression in dsdb_dn code - all parses of the DN would be rejected | Andrew Bartlett | 1 | -2/+6 | |
This is most likely the cause of the DRS replication failures I observed with my changes. Andrew Bartlett | |||||
2009-11-12 | s4:provision Add C binding to get at the generate schema | Andrew Bartlett | 3 | -0/+86 | |
This will allow us to do local tests against that schema | |||||
2009-11-12 | s4:provision Remove unused 'sambadn' parameter | Andrew Bartlett | 2 | -10/+4 | |
2009-11-12 | s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import | Andrew Bartlett | 4 | -95/+125 | |
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Simplify schema loading from ldb messages | Andrew Bartlett | 3 | -115/+83 | |
It turns out that we always add the class/attribute to the schema. | |||||
2009-11-12 | s4:vampire Print error message when we fail on the CLDAP ping | Andrew Bartlett | 1 | -2/+7 | |
Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changes | Andrew Bartlett | 3 | -30/+38 | |
These changes include reworking the code to call ldb_module_get_ctx() less often (avoid the function calls, particularly during the step into a complex function). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Ensure we allow 'odd' lengths for DN+String | Andrew Bartlett | 1 | -5/+5 | |
(Found in a code review by metze) Andrew Bartlett | |||||
2009-11-12 | s4:ldb Add Well Known GUID (WKGUID) tests to ldap.py | Andrew Bartlett | 1 | -0/+17 | |
2009-11-12 | s4:dsdb Add extensive tests for the behaviour of dsdb_dn | Andrew Bartlett | 3 | -2/+363 | |
2009-11-12 | s4:ldb Remove DN+Binary code from the core ldb_dn | Andrew Bartlett | 1 | -256/+6 | |
This is now in dsdb_dn. Removing this to a specific wrapper avoids a number of bugs where Binary DNs were being handled incorrectly. This reverts much of tridge's commit fd22e0304782e20b9bbb29464b6c745d409ff4c6 Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Use new dsdb_dn code in LDB modules and Samba4 schema | Andrew Bartlett | 4 | -64/+99 | |
This converts the code from using the binary DN code in ldb_dn to using a special Samba-specfic wrapper around ldb_dn. We also use the dsdb_dn code for DN+Binary and DN+String comparisons (changed from treating them as Binary blobs) Andrew Bartlett | |||||
2009-11-12 | s4:ldb-samba Use new ldb_any_comparison helper function in ldb-samba | Andrew Bartlett | 1 | -41/+5 | |
2009-11-12 | s4:dsdb Add new dsdb_dn to handle DN+Binary and DN+String | Andrew Bartlett | 4 | -1/+343 | |
This aims to replace (and is based on) the code in ldb_dn.c. It is however much stricter in the DNs it will accept. Andrew Bartlett | |||||
2009-11-12 | s4:ldb Add a helper function for 'canonicalise' both strings base compares | Andrew Bartlett | 2 | -0/+33 | |
This will help simplify boilerplate comparison functions where we don't have a shortcut way to compare. Andrew Bartlett | |||||
2009-11-12 | lib/util Split data_blob_hex_string() into upper and lower | Andrew Bartlett | 11 | -16/+39 | |
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett | |||||
2009-11-11 | Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵ | Jeremy Allison | 5 | -16/+17 | |
inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy. | |||||
2009-11-11 | Fix bug 6878 - Cannot change ACL's inherit flag. | Jeremy Allison | 1 | -44/+108 | |
Based on a patch submitted by Tsukasa Hamano <hamano@osstech.co.jp>, this is a change in the POSIX ACL mapping to deal with the lossy mapping for directory ACE entries: We have a lossy mapping: directory ACE entries CREATOR_OWNER ------\ (map to) +---> SMB_ACL_USER_OBJ owning sid ------/ CREATOR_GROUP ------\ (map to) +---> SMB_ACL_GROUP_OBJ primary group sid --/ on set. And on read of a directory ACL SMB_ACL_USER_OBJ ----> CREATOR_OWNER SMB_ACL_GROUP_OBJ ---> CREATOR_GROUP. Deal with this on set by duplicating owning sid and primary group sid ACE entries into the directory ACL. Jeremy. | |||||
2009-11-11 | mount.cifs: get rid of CONST_DISCARD | Jeff Layton | 1 | -4/+3 | |
Apparently, we need to strip the "const" attribute off of the mnt_fstype before passing it to addmntent to prevent a (somewhat bogus) compiler warning. Rather than just stripping off the "const" attribute, clarify the code by declaring a new non-const char pointer that points to the same string. We can also use that same pointer in the mount(2) call too. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Matthias Dieter Wallnöfer <mdw@samba.org> | |||||
2009-11-11 | s3/docs: Document "enable spoolss". | Karolin Seeger | 1 | -0/+10 | |
Karolin | |||||
2009-11-11 | s3:vfs_fs_capabilities: fix a debug message | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-11 | * install setup/display-specifiers files which are needed by provision script | TAKEDA Yasuma | 1 | -0/+2 | |
Signed-off-by: TAKEDA Yasuma <yasuma@osstech.co.jp> | |||||
2009-11-10 | s3: Convert libsmb/cli_message to the async API | Volker Lendecke | 3 | -142/+372 | |
2009-11-10 | s4:dcesrv_samr - Add more checks for invalid levels | Matthias Dieter Wallnöfer | 1 | -3/+27 | |
Add more checks on valid levels, mark unimplemented ones as "UNSUPPORTED" and otherwise as "INVALID_INFO_CLASS" to be safe. | |||||
2009-11-10 | Fixes for some tests not eorking against Windows or Samba. | Nadezhda Ivanova | 1 | -12/+8 | |
2009-11-10 | s3-rpc_client: make sure cli_rpc_pipe_open_schannel() does not always return ↵ | Günther Deschner | 1 | -1/+3 | |
NT_STATUS_OK. Guenther | |||||
2009-11-10 | s3-samr: implement _samr_ValidatePassword(). | Günther Deschner | 1 | -10/+118 | |
Guenther | |||||
2009-11-10 | s3-chgpasswd: split out a check_password_complexity() function. | Günther Deschner | 2 | -22/+45 | |
Guenther | |||||
2009-11-10 | s4-smbtorture: strip trailing whitespace in RPC-SAMR. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-11-10 | README.Coding: Fix typos. | Matt Kraai | 1 | -7/+7 | |