Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-15 | s3-smbd: Change allocation of smb_acl_t to talloc() | Andrew Bartlett | 9 | -64/+49 | |
The acl element is changed to be a talloc child, and is no longer one element longer than requested by virtue of the acl[1] base pointer. This also avoids one of the few remaining cases of over-allocation of a structure. Andrew Bartlett | |||||
2012-08-15 | s3-winbind: Return the DC name from DC_PING | Christof Schmitt | 3 | -1/+14 | |
The DC that was attempted to ping is useful for troubleshooting. Return the DC name in the response to the wbclient. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-08-15 | s3-winbind: Pass ping-dc result to client | Christof Schmitt | 1 | -1/+9 | |
The client checks for an error code in response.data.auth.nt_status, make sure the result is stored there. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-08-14 | s3-passdb: Silence scary DEBUG(0) message on first use of secrets.tdb databases | Andrew Bartlett | 1 | -5/+10 | |
When pdb_samba4 first opens this databse, this message is printed. Andrew Bartlett | |||||
2012-08-14 | s3-vfs: Put vfs_aixacl_util.c helper functions into a header file | Andrew Bartlett | 3 | -3/+24 | |
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 14 02:16:11 CEST 2012 on sn-devel-104 | |||||
2012-08-14 | s3-selftest: Add smbclient tarmode test | Salvador I. Gonzalez | 2 | -1/+185 | |
(With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-08-14 | s3-selftest: Fix copy/paste error in test usage string | Salvador I. Gonzalez | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-08-13 | Fix smbclient/tarmode panic on connecting to Windows 2000 clients. | Salvador I. Gonzalez | 1 | -8/+19 | |
'Freed frame ../source3/libsmb/clilist.c:934, expected ../source3/client/clitar.c:821' Cause: (strequal(finfo->name,"..") || strequal(finfo->name,".")) evaluates to true, do_tar returns without freeing ctx Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Aug 13 23:12:50 CEST 2012 on sn-devel-104 | |||||
2012-08-13 | Ensure we update last_access on the winbindd child struct on each request. | Jeremy Allison | 1 | -0/+1 | |
2012-08-12 | s3: skip loading vfs modules for printer connections | Björn Jacke | 1 | -0/+6 | |
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Aug 12 23:40:23 CEST 2012 on sn-devel-104 | |||||
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 | 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 | 1 | -2/+2 | |
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-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 | 48 | -88/+280 | |
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 | 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 | |
2012-08-09 | s3:torture:delete: untangle function call from result check | Michael Adam | 1 | -1/+2 | |