Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-11 | s4-dsdb: Remove support for per-partition sequence numbers | Andrew Bartlett | 1 | -23/+0 | |
These sequence numbers were only used for telling if the schema was changed, and are no longer directly related to the replication USN. The per-partition replication USN can be obtained from the @REPLCHANGED record on the per-partition database, and this is done with an ldb_search(). Andrew Bartlett | |||||
2012-08-11 | s4-dsdb: Use only the replication USN for schema reload. | Andrew Bartlett | 2 | -66/+0 | |
This way we do not track both the partition seq number and the replication USN for schema reload purposes. We only need one indication of actual data change, and the replication per-partition sequence number is no more expensive to obtain than the ldb per-partition sequence number. Andrew Bartlett | |||||
2012-08-11 | s3-nfs4acls: Remove lookup_sid and sidmap from NFSv4 ACL mapping and check ↵ | Andrew Bartlett | 1 | -115/+13 | |
gid first By checking just the IDMAP, and by removing the sidmap and lookup_sid calls, we support IDMAP_BOTH. This is because by checking for a mapping to a GID first, we can rely on the fact that IDMAP_BOTH will resolve to a GID. If the sidmap idea is valued - it allows multiple SIDs to map to a single unix ID, this should be done in the IDMAP layer. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Aug 11 01:17:36 CEST 2012 on sn-devel-104 | |||||
2012-08-10 | s3-smbd: Merge ACE entries based on mapped UID/GID not SID | Andrew Bartlett | 1 | -4/+4 | |
As the test for a valid posix ACL is based on the unix uid/gid only appearing once in the ACL the merge process also needs to be UID/GID based. This is a problem when we have multiple builtin groups mapped to the same POSIX group as happens in a Samba4 provision. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-08-10 | s3-smbd: Convert posix_acls.c to use struct unixid internally | Andrew Bartlett | 1 | -57/+72 | |
This is consistent with the rest of Samba which uses this structure to represent a unix uid or gid. World values remain represented by the owner_type being WORLD_ACE in the containing structure. A -1 value is filled in to the unixid.id in the same way the .world value was initialised in the union. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-08-10 | s3-smbd: Create a shortcut for building the token of a user by SID for ↵ | Andrew Bartlett | 3 | -57/+145 | |
posix_acls When a user owns a file, but does not have specific permissions on that file, we need to make up the user permissions. This change ensures that the first thing that we do is to look up the SID, and confirm it is a user. Then, we avoid the getpwnam() and directly create the token via the SID. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-08-10 | torture: Reproducer for 64c0367 | Volker Lendecke | 1 | -0/+20 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-08-10 | tdb/test: fix build on OSF/1 | Björn Jacke | 1 | -15/+15 | |
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 23:33:20 CEST 2012 on sn-devel-104 | |||||
2012-08-10 | Revert "s3:smbd: include smbXsrv.h before smbd/proto.h to have the smbXsrv_ ↵ | Stefan Metzmacher | 1 | -1/+0 | |
structs available" This reverts commit 98ccca8dca70b87d04a93c8ef5232a071ab7c2af. Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 10 17:35:38 CEST 2012 on sn-devel-104 | |||||
2012-08-10 | Revert "s3:smbd: Include smbXsrv.h before vfs.h (in smbd.h) so that the ↵ | Stefan Metzmacher | 1 | -1/+1 | |
smbXsrv structures are available" This reverts commit e332bfaff51e54638bd37cd1fe08e57608e16e86. | |||||
2012-08-10 | Revert "s3:smb: include "smbXsrv.h" before "vfs.h"" | Stefan Metzmacher | 1 | -6/+0 | |
This reverts commit db0c233624e633b3cc1a6e0e44dccc09aaa121f2. | |||||
2012-08-10 | s3:smbXsrv.idl: remove smbXsrv_*0 defines | Stefan Metzmacher | 1 | -42/+42 | |
This makes ctags more usable. metze | |||||
2012-08-10 | s3:param: fix compiler warnings with FN_GLOBAL_CONST_STRING() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-08-10 | build: rename security → samba-security | Björn Jacke | 12 | -24/+24 | |
there is a libsecurity on OSF1 which clasheѕ with our security lib. see bug #9023. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 14:22:21 CEST 2012 on sn-devel-104 | |||||
2012-08-10 | nsswitch: add ABI checking and symbol versions to libwbclient | Andrew Bartlett | 2 | -0/+78 | |
This will ensure that we do not unintentionally break the ABI. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 10 04:08:54 CEST 2012 on sn-devel-104 | |||||
2012-08-10 | s4-dsdb: Explain better what records are written during schema set | Andrew Bartlett | 4 | -17/+26 | |
This is controlled by setting write_indices_and_attributes. Andrew Bartlett | |||||
2012-08-10 | lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch() | Andrew Bartlett | 1 | -16/+38 | |
This avoid allocation at the tdb layer as we will allocate this with talloc right away anyway. Andrew Bartlett | |||||
2012-08-09 | Remove smb_panic() from unix_strlower(). Just rely on error code return. | Jeremy Allison | 1 | -2/+0 | |
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 9 23:52:53 CEST 2012 on sn-devel-104 | |||||
2012-08-09 | Correctly check for errors in strlower_m() returns. | Jeremy Allison | 42 | -72/+225 | |
2012-08-09 | Fix strlower_m() to return an error indication. | Jeremy Allison | 2 | -5/+9 | |
2012-08-09 | Check error returns on strnorm(). | Jeremy Allison | 4 | -7/+19 | |
2012-08-09 | Check error returns from strupper_m() (in all reasonable places). | Jeremy Allison | 49 | -89/+283 | |
2012-08-09 | Fix missing ads_destroy in error path. | Jeremy Allison | 1 | -0/+1 | |
2012-08-09 | Change strupper_m() to return a value. | Jeremy Allison | 2 | -5/+9 | |
2012-08-09 | Fix bad return in unix_strupper. | Jeremy Allison | 1 | -1/+1 | |
2012-08-09 | Prepare to remove smb_panic() from unix_strlower(). | Jeremy Allison | 1 | -0/+2 | |
2012-08-09 | Fix bad return values in unix_strlower/unix_strupper. | Jeremy Allison | 1 | -2/+2 | |
2012-08-09 | s4:torture:basic: check the return status of the last open in deltest16 | Michael Adam | 1 | -0/+2 | |
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Aug 9 18:01:50 CEST 2012 on sn-devel-104 | |||||
2012-08-09 | s4:torture:basic: fix a message typo in the delete17 test | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s4:torture:basic: fix abundance of spaces in deltest6 | Michael Adam | 1 | -3/+4 | |
2012-08-09 | s4:torture:basic:delete: fix 4 vs 8 spc tab formatting in ↵ | Michael Adam | 1 | -4/+4 | |
check_delete_on_close() | |||||
2012-08-09 | s3:torture:delete: add a 12th subtest to the delete-on-close tests | Michael Adam | 1 | -0/+98 | |
test whether second open is possible with initial delete on close and how setting and unsetting delete on close on the handle affects the initial delete on close (it does not...) | |||||
2012-08-09 | s3:torture:delete: fix 11th test to work against windows | Michael Adam | 1 | -9/+6 | |
2012-08-09 | s3:torture:delete: simplify return code handling, fixing a couple of return ↵ | Michael Adam | 1 | -48/+3 | |
codes in error cases | |||||
2012-08-09 | s3:torture:delete: reduce indentation | Michael Adam | 1 | -8/+6 | |
2012-08-09 | s3:torture:delete: add a comment | Michael Adam | 1 | -0/+2 | |
2012-08-09 | s3:torture:delete: add a comment | Michael Adam | 1 | -0/+2 | |
2012-08-09 | s3:torture:delete: add a comment | Michael Adam | 1 | -0/+2 | |
2012-08-09 | s3:torture:delete: move the success message for a subtest to the correct place | Michael Adam | 1 | -2/+3 | |
2012-08-09 | s3:torture:delete: remove an else, reducing indentation | Michael Adam | 1 | -2/+3 | |
2012-08-09 | s3:torture:delete: remove an else, reducing indentation | Michael Adam | 1 | -2/+3 | |
2012-08-09 | s3:torture:delete: remove an else, reducing indentation | Michael Adam | 1 | -2/+3 | |
2012-08-09 | s3:torture:delete: remove an else, reducing indentation | Michael Adam | 1 | -2/+3 | |
2012-08-09 | s3:torture:delete: really fail the test in a failure case | Michael Adam | 1 | -2/+2 | |
2012-08-09 | s3:torture:delete: fix a comment | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s3:torture:delete: fix a message | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s3:torture:delete: fix a message | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s3:torture:delete: fix a message | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s3:torture:delete: fix a message (counting the opens) | Michael Adam | 1 | -1/+1 | |
2012-08-09 | s3:torture:delete: untangle function call from result check | Michael Adam | 1 | -1/+2 | |