summaryrefslogtreecommitdiffstats
path: root/source/include/smb_macros.h
Commit message (Collapse)AuthorAgeFilesLines
* r6613: Merge back fix for PARANOID_MALLOC checker.Jeremy Allison2005-05-041-1/+3
| | | | Jeremy.
* r6595: This is Volkers new-talloc patch. Just got the go-ahead fromJeremy Allison2005-05-031-21/+18
| | | | | Volker to commit. Woo Hoo ! Jeremy.
* r6548: Fix bug #2622 - remove DPTR_MASK as it makes no sense.Jeremy Allison2005-05-011-7/+1
| | | | Jeremy.
* r6358: merging SMB_ASSERT() changes from the release branchGerald Carter2005-04-161-1/+8
|
* r6351: This is quite a large and intrusive patch, but there are not many ↵Volker Lendecke2005-04-151-0/+3
| | | | | | | | | | | | | | | | pieces that can be taken out of it, so I decided to commit this in one lump. It changes the passdb enumerating functions to use ldap paged results where possible. In particular the samr calls querydispinfo, enumdomusers and friends have undergone significant internal changes. I have tested this extensively with rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will follow later. The code is based on a first implementation by Günther Deschner, but has evolved quite a bit since then. Volker
* r6346: Add a counter for the number of SMB operations per connection/file.Jeremy Allison2005-04-141-0/+1
| | | | | | | You will need to do a make clean after SVN updating this. Next will come a smbcontrol message to dump this info. This should be interesting to profile client activity. Jeremy.
* r6277: This implements a new caching API for enumerating the pdb elements. It isVolker Lendecke2005-04-101-0/+10
| | | | | | | | | | | | | | | | | | | | | modeled after query_displayinfo and should hide the differences between users, groups and aliases while allowing a cache analog load_sampw_entries: struct pdb_search *pdb_search_users(uint16 acct_flags); struct pdb_search *pdb_search_groups(void); struct pdb_search *pdb_search_aliases(const DOM_SID *sid); uint32 pdb_search_entries(struct pdb_search *search, uint32 start_idx, uint32 max_entries, struct samr_displayentry **result); void pdb_search_destroy(struct pdb_search *search); Why this API? Eventually we will need to apply the work gd has started on enumerating users with paged ldap searches to groups and aliases. Before doing that I want to clean up the search routines we have. The sample application (more to follow) is 'net maxrid'. Volker
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2005-04-061-2/+6
|
* r6172: Tidy up error processing significantly. Remove unix_ERR_XXX global ↵Jeremy Allison2005-04-011-14/+9
| | | | | | nastyness. Jeremy.
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2005-03-311-1/+1
| | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
* r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman2005-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | "qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated.
* r6014: rather large change set....Gerald Carter2005-03-231-0/+3
| | | | | | | | | | | | | | pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon).
* r5636: Re-add the allocation size - parameterized by share asJeremy Allison2005-03-031-0/+2
| | | | | | | "allocation roundup size", by default set as 1Mb. From advice by BlueArc about Windows client behaviour. VC++ people can set this to zero to turn it off. Jeremy.
* r5548: Stop lying about allocation sizes to Windows clients. It was a niceJeremy Allison2005-02-251-2/+0
| | | | | | idea, and aparently improved performance in some circumstances, but it breaks the VC++ compiler :-(. Not cool. Fix bug #2146. Jeremy.
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-0/+88
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r2076: Removed old dir caching code - not being used now we have theJeremy Allison2004-08-251-1/+0
| | | | | | statcache anyway. New dir caching will be done on nanosecond timestamps. Jeremy.
* r570: Remove lots of globals to handle case issues - move themJeremy Allison2004-05-071-3/+3
| | | | | | | | to connection struct entries (as they should have been from the start). Jerry, once you've cut over to 3.0.4 release branch I'll add this to 3.0 also. - Jerry cut over :-). Jeremy.
* r478: Added Volkers fix to be able to force DOS errors when needed.Jeremy Allison2004-05-041-3/+4
| | | | Jeremy.
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+264
metze