summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2008-01-03Add commentsVolker Lendecke1-1/+54
Jeremy was able to use this correctly without comments, so the code can't be *that* bad :-) (This used to be commit 6f22f7c13fd08ee772ac3aa593d2f4b37eb2cbee)
2008-01-02Happy new year !Günther Deschner1-1/+1
Guenther (This used to be commit 9a58cd57953d6aead14789daa47a3badef19496d)
2007-12-28Convert get_root_nt_token to memcacheVolker Lendecke1-0/+1
(This used to be commit fada689893314bed2fc78588b3fd9b144f4c808a)
2007-12-28Convert csamuser to memcacheVolker Lendecke1-0/+1
(This used to be commit 476d3abf9c6142d99822212141fc3d843aca4798)
2007-12-27Add the capability to set "smb encrypt = required"Jeremy Allison1-0/+1
on a share (or global) and have the server reply with ACCESS_DENIED for all non-encrypted traffic (except that used to query encryption requirements and set encryption state). Jeremy. (This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
2007-12-28Fix the non-gcc branch of "likely"Volker Lendecke1-2/+2
(This used to be commit 1e07368b5f96e4ada622682e38d260eb0c6185f2)
2007-12-27Wrap the DEBUG checks in a "unlikely"Volker Lendecke1-6/+21
On my Laptop with some limited netbench runs this gains about 1.5% of performance. When looking at the assembler output I would suspect the biggest gain is by the fact that with this in place the calls to the debug functions is moved to the function end, out of the way of the normal code paths. valgrind tests pending I would suspect this to be much more cache friendly. Comments? Volker (This used to be commit 51448a9dca95de9d35dd8eea68fde2554cb69921)
2007-12-27Add CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP capability toJeremy Allison1-1/+2
our reported caps. Jeremy. (This used to be commit e86d027823c85173c64e7b85406e98f6f7345b10)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison4-12/+57
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-26Remove the sampwent interfaceVolker Lendecke1-7/+2
(This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
2007-12-22Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testJames Peach2-2/+12
(This used to be commit 30cb2d215f1a4a440d5ecaab3f898daa714eee2b)
2007-12-22Cache the underlying filesystem capabilities at connection time.James Peach1-0/+4
This change alters the Samba connection code to cache the filesystem capabilities when a new client connects. This can be used to enable filesystem specific optimisations is a general manner. (This used to be commit de3c5b808a941ac8e9ebe7169536d8290067eef5)
2007-12-21De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter1-0/+1
Implements a wrapper layer in winbind_util.c which are just stubs if compiled --without-winbind. When building with winbindd, it is now required to build the libwbclient DSO first (in the Makefile) and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the library PATH. (This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)
2007-12-21Add a singleton cacheVolker Lendecke1-1/+2
First user is yp_default_domain (This used to be commit c19363eb77fcc3e1bf3341e6373d38f1e91fc08f)
2007-12-21Add memcache_add_tallocVolker Lendecke1-1/+7
The first memcache API only had blobs, but we have quite a few objects that are more complex talloc'ed structues. The current one I'm looking at is the getpwnam cache, but there are others around. (This used to be commit ea0e5ad9a15c848904dee8cb2d3e392b6a894705)
2007-12-21Add a global cacheVolker Lendecke1-0/+2
It hurts, but I think this global variable is necessary for transition, and it has the potential to remove quite a few other global variables without messing with APIs too much. (This used to be commit c131d0dc52ec09c9227eff3d68877369c37aaed5)
2007-12-19Add filesystem capabilities bitmask to statfs info.James Peach1-0/+2
This patch adds Darwin support for the Samba statfs VFS call. It also adds a filesystem capabilities bitmask to the information returned by the call. (This used to be commit 555173eb3f6511e88798d6ef3d1fed0c219a9921)
2007-12-19Expose per-fsp extension talloc context.James Peach1-0/+9
This patch supplements the fsp extension API with an operation to retrieve the malloc zone pointer for that fsp. (This used to be commit d5d9e4084cfb3db3bebff0334b93f376022ef5d3)
2007-12-19Change the prototype of the vfs function get_nt_acl().Michael Adam2-4/+6
Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael (This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
2007-12-19Rename cache.[ch] to memcache.[ch]Volker Lendecke2-3/+3
cache.h conflicts with an XFS DMAPI include on "opi" :-( (This used to be commit b8db804e07cc19d406ba3892d6eecbe16132a89a)
2007-12-19Merge WERR_NO_SUCH_LOGON_SESSION from Samba4.Günther Deschner1-0/+1
Guenther (This used to be commit 7b528647879bb55c9c85243a3e2906c09490edc9)
2007-12-18Add forgotten cache.hVolker Lendecke1-0/+51
(This used to be commit 0dc4d6a8de84c191e339ee08c7f06ca63f83e6f3)
2007-12-18Add a in-memory cacheVolker Lendecke1-0/+1
This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-17Add combined flag LOOKUP_NAME_LOCAL.Michael Adam1-0/+4
Presence of LOOKUP_NAME_ISOLATED as the only flag is not the sign for doing local lookups only but the sign for allowing lookups of unqualified names. The correct sign is absence of the flag LOOKUP_NAME_REMOTE. Michael (This used to be commit cd8c0057446a1311a860f6cc3876a113568f6c30)
2007-12-16Make smb_np_struct talloc'edVolker Lendecke1-1/+1
Convert "name" from string to a talloc'ed char * (This used to be commit e82069f921b3a22295db91e092c22c459ccd7215)
2007-12-14add POPT_COMMON_CONFIGFILE which only provides --configfile (not -s)Stefan Metzmacher1-0/+2
metze (This used to be commit af3392cc20942158ac9e0a533799c5904ff23347)
2007-12-13Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testJames Peach1-1/+9
(This used to be commit 0de2b3eb515f2da21ffd1ce54979bb1f8063024b)
2007-12-13Register the smb service with mDNS if mSDN is supported.Rishi Srivatsavai1-0/+14
If mDNS is supported, attempt to register the first port we are listening on for the _smb._tcp service. This provides more reliable service discovery than NetBIOS browsing. (This used to be commit 1e7241517d1f55d60af22570e0c9feb280e3fdb5)
2007-12-13Add flags for correctly implementing lsa_lookup_name levels.Michael Adam1-1/+9
(Prepare fix for Bug #4801.) Michael (This used to be commit 537b12647e25adcb7da3581f18d2e9feca1caf0c)
2007-12-10Don't need an fstring here, we can talloc.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3f6cc826378729c9157ea68e7cf5c7b584bbb585)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-5/+46
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10Make the Linux rbtrees compile within SambaVolker Lendecke1-42/+13
(This used to be commit c871fd802f3c0c5ef1f63b2d01a636c885f22b23)
2007-12-10Add rbtree.[ch] from the Linux kernelVolker Lendecke1-0/+161
These are copies taken from 94545baded0bfbabdc30a3a4cb48b3db479dd6ef from Linus' kernel tree (This used to be commit 8a3289f913fc0432211b0e9937da1d71d4e18893)
2007-12-10Add dbwrap bystring service routinesVolker Lendecke1-0/+5
(This used to be commit 1e214b536b0628db299d701839e62a4ac52727c9)
2007-12-07Add define guards around FSTRING_LEN.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ea8633689d43cc2fe15aedb430b4cac38fa73d14)
2007-12-07A requiem for pstring.Jeremy Allison1-0/+18
-------------- / \ / REST \ / IN \ / PEACE \ / \ | The infamous pstring | | | | | | 7 December | | | | 2007 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ Jeremy (This used to be commit bca371bff8e1dd5099eda1774e5bb0fdbd6a1a77)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison5-58/+12
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-07Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-0/+1
v3-2-test (This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)
2007-12-07Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).Günther Deschner1-0/+1
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-12-06Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison1-2/+0
accessor functions. Jeremy. (This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison3-17/+51
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-05Remove some globalsVolker Lendecke1-0/+3
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-03Remove more pstrings, from the winbindd protocol def andJeremy Allison1-4/+0
inside winbindd. Remove unused pstring types. Jeremy. (This used to be commit 9ccac8abb0420393569dbca73e7daf2742aa1099)
2007-12-03Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2-54/+0
Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
2007-11-30Merge join error codes from Samba 4.Günther Deschner1-0/+5
Guenther (This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2-3/+7
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-27Remove unused prototype for smbldap_get_single_pstring().Jeremy Allison1-2/+0
Don't use pstr_sprintf() on an fstring - change to talloc. Jeremy. (This used to be commit 6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
2007-11-27Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison1-1/+1
Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison1-5/+5
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)