summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-27s4-smbtorture: fix some build warnings.Günther Deschner1-3/+3
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 Vernooij13-140/+122
forward enum declarations when compiled with C++.
2008-11-26Don't filter out any variables for config.pm, only for config.mk.Jelmer Vernooij2-3/+2
2008-11-26Fix circular dependency error with autoconf 2.6.3.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-26Use a simple shell loop instead of _AC_SUBST_VARS.Jelmer Vernooij1-3/+12
Autoconf has removed _AC_SUBST_VARS in newer versions.
2008-11-25Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison1-8/+8
Jeremy.
2008-11-25Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-1/+10
2008-11-25Make sure dom_sid.h is installed.Sam Liddicott2-1/+3
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-23libcli/nbt: fix some extrasemi compile warnings.Michael Adam1-3/+3
Michael
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