summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:wb_lookupsids: add some paranoia checks to wb_lookupsids_recv()Stefan Metzmacher2011-06-161-0/+18
| | | | | | | | | This hopefully catches future bugs. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 19:50:16 CEST 2011 on sn-devel-104
* s3:wb_lookupsids: don't ignore 'result' and check if we got useable valuesStefan Metzmacher2011-06-161-4/+48
| | | | | | | The wrong fix for bug #8215 discovered this bug, as it caused sam_rids_to_names() to always return NT_STATUS_NONE_MAPPED. metze
* Revert "s3-winbind: Fix paranoia checks in winbindd_samr.c."Stefan Metzmacher2011-06-161-2/+2
| | | | | | | | This reverts commit 207a84d725b905c2b119d2ef0f4f4d4eb391140d. This is the wrong fix for the problem, see bug #8215. metze
* s3:rpc_server/svcctl: fix valgrind bug in _svcctl_QueryServiceObjectSecurity()Stefan Metzmacher2011-06-161-1/+1
| | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it, even if it's smaller than the offered buffer size. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 14:15:47 CEST 2011 on sn-devel-104
* s3:rpc_server/svcctl: fix valgrind bugs in _svcctl_QueryServiceConfig2W()Stefan Metzmacher2011-06-161-9/+5
| | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it. If we always marshall the return buffer, we already have the needed buffer size and don't need to call ndr_size_* functions. metze
* s3:rpc_server/svcctl: don't allocate return values on a temporary stackframeStefan Metzmacher2011-06-161-5/+3
| | | | | | | | | | | And always initialize the whole return structure. This caused samba3.posix_s3.rpc.svcctl to be flakey. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 11:34:34 CEST 2011 on sn-devel-104
* s3: Add debug level 0 warnings to make_new_server_info_guestVolker Lendecke2011-06-151-2/+6
| | | | | | | | I've got a backtrace where this must have failed, but it is not clear why. If this fails, we should really complain because we can't start up. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jun 15 15:20:49 CEST 2011 on sn-devel-104
* s3: Fix the return of make_new_server_info_guestVolker Lendecke2011-06-151-1/+1
|
* s3-winbind: Fix paranoia checks in winbindd_samr.c.Andreas Schneider2011-06-151-2/+2
| | | | | | | | | | | This fixes looking up the correct unix user instead of allocation a new uid and creating it. Fix bug #8215 (winbind unix username lookup doesn't work correctly). (cherry picked from commit 531edfdd1924bfb2ef486820f7f5787098bd953a) Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 15 09:56:01 CEST 2011 on sn-devel-104
* s3:utils/net_*registry: use c99 initializers which are supported by old gcc ↵Stefan Metzmacher2011-06-152-4/+8
| | | | | | | | | 2.95 compilers (bug #8226) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 15 03:48:41 CEST 2011 on sn-devel-104
* s3: Fix connecting to ctdb as non-rootVolker Lendecke2011-06-141-0/+7
| | | | | | | This is at least one instance which I could identify Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 14 19:06:39 CEST 2011 on sn-devel-104
* s3: Fix count_current_connectionsVolker Lendecke2011-06-141-2/+4
| | | | "False" is not really a valid return value for "int"..
* s3-utils: fix crash in net cache getChristian Ambach2011-06-141-1/+1
| | | | | | | free the blob correctly Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104
* s3:smbd/quotas: add #include "system/filesys.h" (bug #8224)Stefan Metzmacher2011-06-141-0/+1
| | | | | | | | | This should fix the build on FreeBSD metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 14 09:38:49 CEST 2011 on sn-devel-104
* s3:proto.h: remove prototypes of error functions moved to common code.Michael Adam2011-06-131-3/+0
| | | | | | | ntstatus_to_dos, werror_to_ntstatus, ntstatus_to_werror Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Jun 13 03:31:58 CEST 2011 on sn-devel-104
* s3: Use resolve_wins_send/recv in resolve_winsVolker Lendecke2011-06-121-110/+15
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 12 18:19:41 CEST 2011 on sn-devel-104
* s3: Add resolve_wins_send/recvVolker Lendecke2011-06-122-0/+184
|
* s3: Add wins_server_tag_ips()Volker Lendecke2011-06-122-0/+44
| | | | For a given tag, return the list of all wins servers
* s3: Add query_wins_list_send/recvVolker Lendecke2011-06-121-0/+144
|
* s3: Fix IO_TIMEOUT handling for wins queriesVolker Lendecke2011-06-121-3/+12
|
* s3: Remove "struct ip_service" from resolve_winsVolker Lendecke2011-06-123-25/+18
|
* s3-passdb: Implement new pdb trust calls for the default backendSumit Bose2011-06-123-8/+194
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Jun 12 06:45:25 CEST 2011 on sn-devel-104
* Revert "s3:idmap_autorid: add a talloc_stackframe() to ↵Michael Adam2011-06-111-6/+5
| | | | | | | | | | | idmap_autorid_initialize()" This reverts commit 65490ea4e67bf82cf8fb0b8e4e74047c3f63c509. This sequence of patches needs to be done differently. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Jun 11 12:55:11 CEST 2011 on sn-devel-104
* Revert "s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of ↵Michael Adam2011-06-111-9/+1
| | | | | | | | "autorid:rangesize"" This reverts commit b0b0b625b588057c8c97371934bf21eb1fd985d8. This sequence of patches needs to be done differently.
* Revert "s3:idmap_autorid: fail initialization if the domain is not "*""Michael Adam2011-06-111-9/+1
| | | | | | This reverts commit cd8dc47bf17d2cdb1558dc6ab49320ba12af8f34. This sequence of patches needs to be done differently.
* s3:registry/reg_parse_internal.c: add copyright informationMichael Adam2011-06-111-1/+6
|
* s3:registry/reg_parse_internal.h: add copyright informationMichael Adam2011-06-111-1/+6
|
* s3-param Remove 'time offset' from smb.confAndrew Bartlett2011-06-111-9/+0
| | | | | | | | | | This strange parameter is apparently very rarely used, and it seems to me that on modern networks, if clients don't have correct clocks and DST offsets, that many other things (Kerberos) start to fail pretty quickly, and time and DST tables tend to be internet delivered anyway. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 11 03:54:45 CEST 2011 on sn-devel-104
* s3: Update .clang_completeAndreas Schneider2011-06-111-3/+20
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Sat Jun 11 00:40:01 CEST 2011 on sn-devel-104
* s3:libsmb: remove unused cli_state_seqnum infrastructureStefan Metzmacher2011-06-103-44/+0
| | | | | | | metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104
* s3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on ↵Stefan Metzmacher2011-06-101-8/+12
| | | | | | | | | max_xmit This is important in order to support DCERPC over ncacn_np against NT4 servers, where max_xmit is just 4356. metze
* s3:libsmb/clireadwrite: calculate cli_read_max_bufsize() correct based on ↵Stefan Metzmacher2011-06-101-1/+12
| | | | | | | | | max_xmit This is important in order to support DCERPC over ncacn_np against NT4 servers, where max_xmit is just 4356. metze
* s3:libsmb/clitrans: correctly transfer the seqnum between secondary and ↵Stefan Metzmacher2011-06-101-3/+8
| | | | | | | | primary requests This is needed to implement SMB signing correct. metze
* s3:libsmb/clitrans: fix handling of multi pdu [nt]trans[s][2] callsStefan Metzmacher2011-06-101-8/+80
| | | | | | | | We now keep the primary request open for the whole logical request. The primary request is the one that gets all incoming replies. While secondary requests are handled as separate one-way requests. metze
* s3:libsmb/clitrans: use subreq2 as variable for the secondary requestsStefan Metzmacher2011-06-101-7/+9
| | | | metze
* s3:libsmb/clitrans: move MID handling to the end of cli_trans_send() and add ↵Stefan Metzmacher2011-06-101-2/+11
| | | | | | a comment metze
* s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requestsStefan Metzmacher2011-06-101-12/+41
| | | | | | | | We need to align params and data to 4 byte offsets. This also correctly recalculates the useable space after each step. metze
* s3:libsmb/clitrans: marshall SMBnttrans[2] as the othersStefan Metzmacher2011-06-101-23/+23
| | | | | | | This is just to make the code more readable and easier to notice how many words we're using in vwv. metze
* s3:libsmb/clitrans: use uint32_t for param and data variablesStefan Metzmacher2011-06-101-3/+3
| | | | | | SMBnttrans uses 32-bit values there. metze
* s3:libsmb/clitrans: remove unused secondary_request_ctxStefan Metzmacher2011-06-101-2/+0
| | | | metze
* s3:libsmb/async_smb: add helpers to get and set the seqnum for signingStefan Metzmacher2011-06-102-0/+16
| | | | | | This will be used for correct signing in [nt]trans[2][s] requests. metze
* s3:libsmb/async_smb: don't remove pending requests if the mid is setStefan Metzmacher2011-06-101-0/+15
| | | | | | | If the mid was set explicitly, it means the request expects more than one reply, so leave it in the pending array. metze
* s3:libsmb/async_smb: call cli_smb_req_unset_pending() instead of destructor ↵Stefan Metzmacher2011-06-101-2/+2
| | | | | | directly metze
* s3:libsmb/async_smb: let cli_smb_recv() initialize output values for one way ↵Stefan Metzmacher2011-06-101-0/+18
| | | | | | requests metze
* Bump the smbd vfs interface version to 29. Samba 3.6.0 will shipJeremy Allison2011-06-101-1/+2
| | | | with interface 28.
* s3:net conf addshare: do not stat-check the share path.Michael Adam2011-06-101-17/+0
| | | | | | | Allow paths with % macros and paths that do not (yet...) exist. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jun 10 17:38:07 CEST 2011 on sn-devel-104
* source3/rpc_client/util_netlogon.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 16:27:24 CEST 2011 on sn-devel-104
* source3/rpc_client/init_spoolss.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* source3/rpc_client/init_samr.h: fix licence/copyrightGünther Deschner2011-06-101-0/+23
| | | | Guenther
* source3/rpc_client/init_netlogon.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | Guenther