summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).Günther Deschner1-0/+15
Guenther (This used to be commit c54430a7b5e40d3bdf8afdc813eb722c0a3b861e)
2007-10-10r11852: Fill in samr_get_dom_pwinfo based on Samba4.Günther Deschner1-5/+9
Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
2007-10-10r11793: Fix the SAMR cache so it works across completely insaneJeremy Allison1-7/+7
client behaviour (ie.: open pipe/open SAMR handle/enumerate 0 - 1024 close SAMR handle, close pipe. open pipe/open SAMR handle/enumerate 1024 - 2048... close SAMR handle, close pipe. And on ad-nausium. Amazing.... probably object-oriented client side programming in action yet again. This change should *massively* improve performance when enumerating users from an LDAP database. Jeremy. (This used to be commit 8ce705d9cc1b6a79d710a10ff38f72a0f1006dda)
2007-10-10r11769: Looking at a performance problem enumerating accounts, wonderedJeremy Allison1-1/+27
if changing to support samr_connect5 might help so quickly coded it up. No it doesn't :-(. Don't merge this for 3.0.21 please. Jeremy. (This used to be commit bff1df678a8948d382f4555e83a1df23146a4b12)
2007-10-10r11761: * fix clearing of event logs by truncating the tdb.Gerald Carter1-0/+10
This feature got broken in some of the other updates. Now each open handle stores an pointer to an open tdb data structure (not the tdb pointer itself). Clearing can be done with a simple elog_close_tdb( elog, True ) to force a close and then calling elog_open_tdb( logname, True ) to force an tdb truncate. Permissions on existing tdbs are maintained which is important. * We don't currently handle backup. Haven't looked at the format of a backuped up eventlog to know what the deal is. (This used to be commit 2df34c9403446d12f1ceeac38cbda5d3ba805b02)
2007-10-10r11719: Remove silly #define of close -> close_fn as this borksJeremy Allison1-7/+0
any code that includes libsmbclient.h that also calls the system close() fn. Doh ! Thanks to John Terpstra for reporting this. Jeremy. (This used to be commit 6e1cb7047aae80523a53d5552a4f704cd6e62997)
2007-10-10r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke1-0/+34
you the IP address but also the fqdn of the remote dc and site info. Volker (This used to be commit 62d01ce7e6c14971084c208ab61f379cb172cb22)
2007-10-10r11573: Adding Andrew Bartlett's patch to make machine accountJeremy Allison3-10/+16
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes the auth module interface to 2 (from 1). The effect of this is that clients can access resources as a machine account if they set these flags. This is the same as Windows (think of a VPN where the vpn client authenticates itself to a VPN server using machine account credentials - the vpn server checks that the machine password was valid by performing a machine account check with the PDC in the same was as it would a user account check. I may add in a restriction (parameter) to allow this behaviour to be turned off (as it was previously). That may be on by default. Andrew Bartlett please review this change carefully. Jeremy. (This used to be commit d1caef866326346fb191f8129d13d98379f18cd8)
2007-10-10r11435: Allow the hash size of the tdb open (locking) databaseJeremy Allison1-0/+3
to be set in local.h. Change from the default (131) to another prime (1049). Should this be an smb.conf tunable parameter based on the number of open file descriptors available ? If so what scaling factor ? More tests to follow. Jeremy. (This used to be commit 6a902ec49ffea5d0ca0308d5ff51584cece41043)
2007-10-10r11332: eventlog API uses NTSTATUS, not WERROR for return codesGerald Carter1-6/+6
(This used to be commit f5f40633bc3f641a0fef4934375d0d829899b0d7)
2007-10-10r11275: patch from Chris to remove the empty struct in libmsrpc.h (fix build ↵Gerald Carter1-4/+0
with Sun compiler) (This used to be commit dd28582efbacd02c4134298be000cd2338c822ad)
2007-10-10r11242: use LDAP bitwise machting rule when searching for groups in ADS.Günther Deschner1-3/+25
This avoids that each time a full-group-dump is requested from ADS; the bitwise match allows to only query those groups we are interested in. The ADS LDAP server changed to RFC compliant behaviour when decoding the ldap filter with extensible match in the latest SPs (fixes). From the patch: /* Workaround ADS LDAP bug present in MS W2K3 SP0 and W2K SP4 w/o * rollup-fixes: * * According to Section 5.1(4) of RFC 2251 if a value of a type is it's * default value, it MUST be absent. In case of extensible matching the * "dnattr" boolean defaults to FALSE and so it must be only be present * when set to TRUE. * * When it is set to FALSE and the OpenLDAP lib (correctly) encodes a * filter using bitwise matching rule then a buggy AD fails to decode * the extensible match. As a workaround set it to TRUE and thereby add * the dnAttributes "dn" field to cope with those older AD versions. * It should not harm and won't put any additional load on the AD since * none of the dn components have a bitmask-attribute. * * Thanks to Ralf Haferkamp for input and testing */ Guenther (This used to be commit db38ed6be607d08515920d46fb8a12f8cb4ddd6e)
2007-10-10r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison2-4/+39
Jeremy. (This used to be commit af8545806770a7530eecc184bdd230ca14999884)
2007-10-10r11213: Fix the buildGünther Deschner1-0/+1
Guenther (This used to be commit 908ac0c9eccd1ba368a6305fee9673770fc74a53)
2007-10-10r11190: Fix enhancement request #3192.Jeremy Allison1-1/+9
This does 2 things. 1). Makes dfree command a per-share parameter (it should be anyway IMHO). 2). Adds a "dfree cache time" parameter in seconds that specifies how long a dfree command output should be cached for. Default is zero (no caching). Jeremy. (This used to be commit 49ef8b88a3e12883148eb28d8e86fb07dbc3d12d)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-31/+29
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r11124: Commit Chris' fixes for libmsrpc after the rpc_clientGerald Carter2-0/+7
rewrite. His comments: I've gotten the libmsrpc code to work with TRUNK. I've put the patch at: www.uoguelph.ca/~cnicholl/libmsrpc_trunk_v1.patch.gz It is from revision 11093. I also fixed a minor bug in the svcctl code, the timeout parameter for all the control functions was working in milliseconds instead of seconds. Also fixed bug in Makefile when building libmsrpc.a (This used to be commit d3a52900ec223316779e59a13cea87ecb500bccc)
2007-10-10r11063: merging missing error code for event logsGerald Carter1-0/+1
(This used to be commit 1aeb7950d36b8faee529cb6dcd36c05809cfe1d0)
2007-10-10r11060: merging new eventlog code from trunkGerald Carter1-5/+9
(This used to be commit 1bcf7e82ede63a851a244162a3b939373787b693)
2007-10-10r10979: After discussions on IRC about profile shares,Jeremy Allison1-0/+3
added new parameter : map readonly = [yes|no|permissions] If yes: map inverse of user "w" bit to mean readonly. If no: never set DOS readonly bit. If permissions: check file permissions for user and set readonly bit if the current user cannot write. If store dos attributes is set to yes then this parameter is ignored. Jeremy. (This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)
2007-10-10r10964: BUG 1051: store the directory path so we can send the full name in ↵Gerald Carter1-0/+1
the unlink call (del tmp\foo) (This used to be commit 49b8d7d7f5ed93a2b9b21404194452f35bcf7b26)
2007-10-10r10911: part of #2861: add rename support for usrmgr.exe when using tdbsamJim McDonough1-1/+5
This gets it working before replacing tdb with the samba4 version. (This used to be commit 8210b0503a050e12ee1b4335fa6e50d10ad06577)
2007-10-10r10909: Give better shutdown messagesJim McDonough1-0/+1
(This used to be commit 8075b99b44085d107fa42d431300c60133ec53eb)
2007-10-10r10822: updating copyright infoGerald Carter1-0/+4
(This used to be commit ef3845366bc883e735b2008243b7c05a403f42ca)
2007-10-10r10819: merging a couple of fixes from trunkGerald Carter3-161/+0
* only keep the registry,tdb file open when we have an open key handle * tpot's setup.py fix * removing files that no longer exist in trunk and copying some that were missing in 3.0 (This used to be commit 6c6bf6ca5fd430a7a20bf20ed08050328660e570)
2007-10-10r10792: Fix the "schannel not stored across client disconnects" problem.Jeremy Allison1-0/+2
Based on the Samba4 solution - stores data in $samba/private/schannel_store.tdb. This tdb is not left open but open and closed on demand. Jeremy. (This used to be commit a6d8a4b1ff31c5552075455dbd98cb58795958a9)
2007-10-10r10781: merging eventlog and svcctl code from trunkGerald Carter3-18/+9
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
2007-10-10r10722: Remove unused BOOL in struct dcinfo.Jeremy Allison1-1/+0
Ensure that the mach_acct and remote machine entries are set correctly in struct dcinfo - we'll need this as a key for a persistent schannel state later. Jeremy. (This used to be commit 47269b5c7161d740c2e86227de3acd9e08c53817)
2007-10-10r10671: Attempt to fix the build on machines without kerberos headers.Volker Lendecke1-0/+38
Volker (This used to be commit cb816e65a95802d5172c410d1acda2da070b871d)
2007-10-10r10657: remove missing header fileGerald Carter1-1/+0
(This used to be commit 85e61ff69c92143f54860dfce02f95a1e6070bc3)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter34-878/+1337
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.Jeremy Allison2-1/+5
Jeremy. (This used to be commit 155dc2d52a971bfb8d7565c06f3efc637e130b11)
2007-10-10r10151: Fix includes correctly. Patch from Steve WilliamsJeremy Allison1-1/+8
<steve@celineandsteve.com>. Jeremy. (This used to be commit 17598846e7ee2748f2dcb3821823108fa8410480)
2007-10-10r10042: Add in external LGPL library for accessing the share mode db. AllowJeremy Allison1-0/+103
others to examine & test. May not end up here eventually... Jeremy. (This used to be commit 7cc70ae63399eacd55bd0bf51ac2c7b004d761bf)
2007-10-10r10003: in the rush for 10k, I forgot to run add the rest of Chris' libmsrpc ↵Gerald Carter2-0/+3117
files (This used to be commit 32bebc452dffa8348b94c5b866350b1fe761986f)
2007-10-10r9998: starting content for maintainers fileGerald Carter1-5/+6
(This used to be commit 554c22faeefe6932a01aa7bd6e2861c5abd37510)
2007-10-10r9952: Adapt better to the Windows way of taking and assigning ownership:Günther Deschner1-0/+1
* Users with SeRestorePrivilege may chown files to anyone (be it as a backup software or directly using the ownership-tab in the security acl editor on xp), while * Users with SeTakeOwnershipPrivilege only can chown to themselves. Simo, Jeremy. I think this is correct now. Guenther (This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)
2007-10-10r9945: fix typos.Günther Deschner1-1/+1
Guenther (This used to be commit 12029e902277053a4066eae1b3ae311fae5e6422)
2007-10-10r9893: fix REG_CREATE_KEY_EX parsing error caused by WinXP clientsGerald Carter1-2/+5
looking for an not finding a 'Terminal Server' key. Claims to make problems with usrmgr.exe support as well according the Samba ml. Posted on samba@samba.org for review. Reviewed by Thomas Bork (comments integrated into the reg_db.c patch coming up next). (This used to be commit ee54d1abf929e1b5ad2c202469d1c1c744cc30d9)
2007-10-10r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter3-4/+3
the new talloc() features: Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d since the methods use the object pointer as the talloc context for internal private data. There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy() pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the object. Also had to convert the printer_info_2->NT_PRINTER_DATA field to be talloc()'d as well. This is just a stop on the road to cleaning up the printer memory management. (This used to be commit ef721333ab9639cb5346067497e99fbd0d4425dd)
2007-10-10r9627: Enable format string checking for the MIPSPro compilers.James Peach1-1/+13
(This used to be commit 5396944fc3799a9746d00167a6f0e8465df4dcea)
2007-10-10r9540: correct comments in struct smbc_dirent (fixes bug 3030)Derrell Lipman1-4/+4
(This used to be commit 1f8aff85a68569480efc543cfe1556752c35311e)
2007-10-10r9486: ensure that the registry hash records are sorted by original subkey ↵Gerald Carter1-0/+1
name and not the 4 character hash key (This used to be commit 8d347561919ded19b1e7096aceb119c66f461c61)
2007-10-10r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2-7/+20
UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
2007-10-10r9303: Clobber compiler warnings. Patch from Jason Mader ↵James Peach1-2/+24
<jason@ncac.gwu.edu> plus some extra function declarations. Bugzilla bug #2523. (This used to be commit 98d364459daa48aca3d239926cf40a0655e27e97)
2007-10-10r9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC)Jeremy Allison1-0/+1
Jeremy. (This used to be commit b195af0b392f1acf1813d88720bf989725927d93)
2007-10-10r9163: Rename UNKNOWN_TYPE_10 to PAC_LOGON_NAME (merge from samba4)Günther Deschner1-5/+5
Guenther (This used to be commit d14dcba9635d10d2d8bf9f60c601b8c9078ec340)
2007-10-10r9091: Fix #2954, aix 5.1 compile. Stupid aix aio.h header defines ↵Jim McDonough2-8/+8
aio_error and aio_return as macros... (This used to be commit 65adbd83fe6a29705e9831d118fb0e0f93f2ef1f)
2007-10-10r9073: Fixing up please-add-me typos in stupid, over-designed stackableJeremy Allison1-10/+10
vfs interface. Jeremy. (This used to be commit 00172474679048b6967c290cb9cca5e11ea2ed5c)
2007-10-10r8959: Make msdfs code talloc based. Fix leaks.Jeremy Allison1-10/+7
Jeremy. (This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)