summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-11-28Remove "conn" parameter from np_open, smb_request contains itVolker Lendecke4-6/+7
2008-11-28Remove inbuf references from the trans2ioctl codeVolker Lendecke1-4/+4
2008-11-28Consolidate the buffer checks for the reply_trans style functionsVolker Lendecke3-169/+54
This is the one where I found the problem that led to 3.2.5. So if there is one checkin in the last year that I would like others to review and *understand*, it is this one :-) Volker
2008-11-28Move cli_trans_oob to lib/util.cVolker Lendecke3-17/+24
Rename it to trans_oob, it will be used in the server routines.
2008-11-28Remove the variable "size" from reply_nttransVolker Lendecke1-10/+13
This converts the range checks for the setup[] array to rely on req->wct being set correctly in init_smb_request. As that already verifies the vwv array to be in the range of the smb_request inbuf, we don't have to do overflow checks here anymore. Jeremy, please check thoroughly! :-) Thanks, Volker
2008-11-28Remove the variable "size" from reply_transVolker Lendecke1-12/+16
This converts the range checks for the setup[] array to rely on req->wct being set correctly in init_smb_request. As that already verifies the vwv array to be in the range of the smb_request inbuf, we don't have to do overflow checks here anymore. Jeremy, please check thoroughly! :-) Thanks, Volker
2008-11-28Remove an unused variableVolker Lendecke1-2/+0
2008-11-28Remove two direct inbuf references from reply_sesssetup_and_X_spnego()Volker Lendecke1-2/+2
2008-11-27s3-samr: never allow to alter pwdlastset directly.Günther Deschner1-0/+16
Guenther
2008-11-27s3-samr: fix return code for invalid password sets in SetUserInfo.Günther Deschner1-4/+4
Guenther
2008-11-27s3-samr: fix return code for invalid name in _samr_LookupDomain.Günther Deschner1-0/+3
Guenther
2008-11-27s3-samr: avoid enumeration and user creation on builtin domain handle.Günther Deschner1-0/+10
Guenther
2008-11-27s3-samr: support samr_CreateUser as well.Günther Deschner1-10/+20
Guenther
2008-11-27s3-samr: support samr_QueryUserInfo2 as well.Günther Deschner1-10/+15
Guenther
2008-11-27s3-samr: add support for _samr_QueryUserInfo level 5.Günther Deschner1-0/+108
Guenther
2008-11-27s3-samr: add init_samr_user_info5.Günther Deschner2-0/+66
Guenther
2008-11-27Fix the offset checks in the trans routinesVolker Lendecke3-9/+9
This fixes a potential crash bug, a client can make us read memory we should not read. Luckily I got the disp checks right... Volker (cherry picked from commit 64a1d80851da5b05e70ec6c96f6e9bd473748369) (cherry picked from commit f04c5650a3aeca23591ddc781c4b297caaf9bb3f)
2008-11-26Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems withJelmer Vernooij9-121/+103
forward enum declarations when compiled with C++.
2008-11-26Don't filter out any variables for config.pm, only for config.mk.Jelmer Vernooij1-0/+1
2008-11-25Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison1-8/+8
Jeremy.
2008-11-25s3-samr: fix _samr_LookupNames return code.Günther Deschner1-1/+10
Guenther
2008-11-25Revert "UNFINISHED - s3:idmap_ad: multi-domain"Michael Adam1-83/+69
This reverts commit 6a4957d35d50e6508917aca62b282ae4904187c8. Sorry - this got accidentially pushed. Michael
2008-11-25UNFINISHED - s3:idmap_ad: multi-domainMichael Adam1-69/+83
Michael
2008-11-25[s3]zfsacl: "return" is not a function.Michael Adam1-3/+3
Michael
2008-11-25[s3]zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.Nils Goroll1-0/+83
This is a proposed fix for Bugs #5135 and #5446. Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-25libwbclient: Implement wbcGetgrent and wbcGetgrlistKai Blin1-2/+121
2008-11-25libwbclient: Implement wbcGetpwentKai Blin1-2/+77
2008-11-25libwbclient: Add placeholder function for WINBINDD_CCACHE_NTLMAUTHKai Blin2-0/+43
2008-11-25libwbclient: Fix typo in wbcGetgrent docstring.Kai Blin1-1/+1
2008-11-25libwbclient: Add placeholder function for WINBINDD_GETGRLSTKai Blin2-0/+16
2008-11-25libwbclient: Add placeholder functions for wbcQuery[GSU]idTo[GSU]idKai Blin2-4/+76
2008-11-24Allow SYSLOG_FACILITY to be modified with a new configure option called ↵Dan Sledz1-0/+16
--with-syslog-facility
2008-11-24Fix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but ↵Jeremy Allison1-0/+8
that will have to be fixed another way. Jeremy.
2008-11-24Search for gpfs functions in both libgpfs_gpl.so an libgpfs.soMathias Dietz1-47/+45
As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS installations, still look there.
2008-11-24s3:libads/ldap.c: return an error instead of crashing when no realm is givenStefan Metzmacher1-4/+4
The bug was triggered by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't ex and "disable netbios = yes". metze Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-24Fix nonempty blank linesVolker Lendecke1-17/+17
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke15-191/+132
2008-11-24Remove unused make_connection_with_chdir()Volker Lendecke2-36/+0
2008-11-24Convert delete_driver_files to use create_conn_structVolker Lendecke3-36/+41
Jerry, please check!
2008-11-24Convert get_correct_cversion to use create_conn_structVolker Lendecke3-48/+54
Jerry, please check!
2008-11-24Convert move_driver_to_download_area to use create_conn_structVolker Lendecke3-36/+28
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
2008-11-23Fix to allow setting of NULL DACL/SACLSteven Danneman1-11/+2
This is a modification of Jeremy's 7522ef15aca2429ef57c75d8297dd8121e79c9da commit. If no DACL/SACL is present in the packet, the SEC_INFO field should still be passed down as is to the VFS layer to signal the creation of a NULL DACL/SACL. As seen in metze RAW-ACL test_nttrans_create_null_dacl(), a NULL DACL is set regardless of the SEC_DESC_DACL_PRESENT bit being set.
2008-11-23s3-rpcclient; Really fix compile warning.Kai Blin1-1/+1
Screwed up in 526c609d, now the real fix.
2008-11-23Add auth_serversupplied_info to create_conn_structVolker Lendecke3-11/+21
srvsvc needs it, as will printing
2008-11-23s3-rpcclient: Fix a compile warning.Kai Blin1-1/+1
2008-11-23ctags: Ignore source3/includes/proto.h for tags.Kai Blin1-1/+1
2008-11-23Fix an uninitialized variable warningVolker Lendecke1-1/+1
Andreas Schneider, please check!
2008-11-23s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in ↵Michael Adam1-1/+1
CFLAGS This should fix a build error on our Tru64 build farm box where a zlib.h is found in an include path handed in via external CFLAGS, but that zlib.h belongs to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong header for the internal zlib. Michael
2008-11-23s3-build: do not auto-genereate ndr tables but use checked-in tables.Michael Adam1-3/+6
This removes the build-dependency on perl that was introduced in commit e0905c30908b4d621030689d33de28a13c04a690. The tables can now be re-built with "make ndr-tables". This is also called by make samba3-idl to ensure that the tables are updated after idl changes. This hopefully fixes the build on some build farm hosts (e.g. gwen). Michael
2008-11-22s3 build: don't specify ZLIB_LIBS (i.e. "-lz") in object collections.Michael Adam1-3/+3
This causes make to fail on at least HP-UX and MacOS X with message "no rule to make target -lz" or similar, when these object collections are specified in dependencies. Michael