summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-01-19vfs_streams_xattr moduleVolker Lendecke3-1/+679
Store streams in posix xattrs. A kludge, as xattrs are limited in many ways, but it might be a help for some situations. (This used to be commit 83a805220e52742119546c76a054d50582e33a24)
2008-01-19Add streams supportVolker Lendecke5-24/+459
This is the core of the streams support. The main change is that in files_struct there is now a base_fsp pointer that holds the main file open while a stream is open. This is necessary to get the rather strange delete semantics right: You can't delete the main file while a stream is open without FILE_SHARE_DELETE, and while a stream is open a successful unlink of the main file leads to DELETE_PENDING for all further access on the main file or any stream. (This used to be commit 6022873cc155bdbbd3fb620689715f07a24d6ed1)
2008-01-19Add "split_ntfs_stream_name()" together with a torture testVolker Lendecke3-0/+162
(This used to be commit d813bd9e02d9baf916eb96c478be89f0c435e07c)
2008-01-19Add an error mapping for ENOATTRVolker Lendecke1-0/+3
(This used to be commit 9f0d778490415b05224f36287df999672ee16928)
2008-01-19Add the STREAMINFO vfs callVolker Lendecke4-13/+171
Based on jpeach's work, modified the streaminfo prototype Make use of it in trans2.c together with marshall_stream_info() (This used to be commit c34d729c7c0600a8f11bf7e489a634a4e37fe88e)
2008-01-19Use SAFE_FREE instead of freeVolker Lendecke1-1/+2
(This used to be commit 999647329028147d7c29a3348202641b3e03430e)
2008-01-19Tiny memory leak in lib/version.cCorinna Vinschen1-0/+1
Hi, while implementing the extra_info version stuff, it occured to me that samba_version_string() potentially allocates memory which is unused but never free'd. If SAMBA_VERSION_VENDOR_PATCH is defined, a second call to asprintf takes place. The result is stored in tmp_version. Afterwards, samba_version is set to tmp_version without free'ing samba_version first. Looks like a simple free(samba_version) is missing. Patch against 3.2-test below. Ok, this only happens once over the lifetime of the application, so it's no big deal, but I though it doesn't hurt to mention it. Corinna * lib/version.c (samba_version_string): Free samba_version before setting to tmp_version. (This used to be commit 373a23d48f2dd24e65dbf814ea58b4add2322128)
2008-01-19Fix error return in xattr_tdb_load_attrsVolker Lendecke1-1/+1
(This used to be commit 64e54ea8f76fe57193955aabc1459fe635233aca)
2008-01-19The remote storage op is goneVolker Lendecke1-1/+1
Alexander, I think this ok... (This used to be commit 197b08ad789c4968155f1c711ef43a5383a89289)
2008-01-19Add get_ea_names_from_file to sanely list posix xattrsVolker Lendecke1-49/+142
Refactor get_ea_list_from_file to use that. (This used to be commit aec357a456798050abe565d2a744ed5f17ad5901)
2008-01-19Make get_ea_value publicVolker Lendecke1-8/+15
(This used to be commit 0aa406bbba8699063ea3758b19dca24cf42ff15a)
2008-01-19Fix the buildVolker Lendecke1-0/+1
... forgot to "git add" it (This used to be commit 6d0a727f26dd0945634486f18a55aa8dd5813983)
2008-01-19afs: Use talloc_stackframe() instead of talloc_init()Kai Blin1-1/+1
Thanks to vl for pointing this out. (This used to be commit 76cf5a979bf3014b1de660520e538546b3676b23)
2008-01-19ntlm_auth: Get rid of statics in manage_squid_ntlmssp_requestKai Blin1-37/+50
(This used to be commit 97768628f5ec533818b7f5165e92c156d668b79b)
2008-01-19ntlm_auth: Rewrite manage_client_ntlmssp_request without statics.Kai Blin1-55/+66
(This used to be commit af438426222f4990f3e4103babbbb5de03ade93d)
2008-01-19nltm_auth: Use struct ntlm_auth_state in helper functions.Kai Blin1-34/+40
Now rewriting the helpers one after the other can start. (This used to be commit 2479a0c3adf46b2d0a9b109ce689c93296f16a62)
2008-01-19ntlm_auth: Prepare for a deeper rewrite of the helper functionsKai Blin1-4/+43
(This used to be commit f8243d1913cd19401ce6a13f53c6b84a36fc9dd6)
2008-01-19ntlm_auth: Dynamically allocate the read buffer.Kai Blin1-28/+43
This ports over my changes from Samba4 (This used to be commit 4a475baf26ba9f99bc05f13dd2745494174a00c1)
2008-01-19Link ndr_xattr.o with LIBNDR_GEN_OBJVolker Lendecke1-1/+2
It will be used elsewhere (net xattr for example) (This used to be commit 924c4ede2acbd4e1d327ccdefc92bbbb3d67d7d8)
2008-01-18Actually test vl's new code and make it work to fix the build farm :-).Jeremy Allison1-8/+12
Jeremy. (This used to be commit 63defd3e9d4ba3f02f36ec5ad7b73463f31962a1)
2008-01-18Always return nlink=1 for directoriesVolker Lendecke1-7/+2
I did not test it, but it should not affect cifsfs, there are special posix calls that also return the stat information unfiltered. (This used to be commit e96cf1309e45628f4c27d03f77a4eef5e00602df)
2008-01-19util_str: Don't return memory from talloc_tos(), use mem_ctx instead.Kai Blin5-32/+40
(This used to be commit ab0ee6e9a6a9eee317228f0c2bde254ad9a59b85)
2008-01-18Fix error message for new allinfo command.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3a1bcbfa7ca2b55265eb486e2b7c740e04775698)
2008-01-18Fix typo that disabled setting group id. Thanks, Henrik.Derrell Lipman1-1/+1
(This used to be commit 843e1694cfe4a999ed14a9c215b8e77723d0fe79)
2008-01-18Revert "Host SerNet-AIX has __ss_family instead of ss_family in ↵Stefan Metzmacher2-13/+0
sockaddr_storage" This reverts commit e33286f4a68352e55df081d06307f64f190773b3. 393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix for the same problem. metze (This used to be commit b8a57a24c390355c4950ca499c1d96aff80abad7)
2008-01-18libreplace: Escape asterisk.Jelmer Vernooij1-1/+1
(cherry picked from commit df36c78549b40ee5e47d5cc79de2eb79f58c567a) (This used to be commit 174a45ec18fff064d89f6a12b044973ab3c10c54)
2008-01-18Try to fix the build on Tru64; avoid single quotes because they get expanded ↵Jelmer Vernooij1-1/+1
by perl in the build system. (cherry picked from commit bba8914af56cb161c275fbbdea2479d6f8bd703c) (This used to be commit a0e663ff2c6548e48c9710e3fb314f3bbabb59d0)
2008-01-18r26550: libreplace: fallback to __ss_family of struct sockaddr_storageStefan Metzmacher2-0/+29
metze (cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91) (This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
2008-01-18r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher2-51/+0
metze (cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93) (This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
2008-01-18r25976: libreplace: not all platforms like _XOPEN_SOURCE=600Stefan Metzmacher1-2/+5
- Only use _XOPEN_SOURCE=600 on Tru64 - _OSF_SOURCE is also Tru64 specific metze (cherry picked from commit d19ab62081ce4ee4273ff752ad0443782a994826) (This used to be commit dbff70b2ebe7cc09f7fbe5a0319f978dfcfa1da9)
2008-01-18r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600Stefan Metzmacher1-0/+1
On Tru64 this brings in socklen_t and some other socket stuff metze (cherry picked from commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016) (This used to be commit af3772e22f5e6e0158783086e9791ffc95ee5368)
2008-01-18r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINEStefan Metzmacher2-15/+2
metze (cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c) (This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
2008-01-18r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.hStefan Metzmacher1-5/+12
metze (cherry picked from commit a07c983fde52607806745914bb41039afb5618cc) (This used to be commit 3db37038b3e5a59a9baa85f6bcd32ac6e5ec2da1)
2008-01-18Use C99 structure initializers for netlogon_params_reg_ops.Michael Adam1-9/+1
Michael (This used to be commit f3901f179b770ffadb3e5a82ac5a2da00d83f40a)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke3-0/+229
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-18Add a registry backend netlogon_params that replaces the former dynamic overlay.Michael Adam5-0/+66
This is the first step in replacing the dynamic overlays by proper backends implementing REGISTRY_OPS. Michael (This used to be commit e8a0524961d81fa83e0316905dc9d215e4aa7656)
2008-01-18Fix typo in debug message.Michael Adam1-1/+1
Michael (This used to be commit d7a8d7ffbd724a59aa3fc4bdeca6be5d5a0e7258)
2008-01-18Fix the build w/o ADS.Günther Deschner1-0/+4
Guenther (This used to be commit 645f2376d40fabdc787902ac7506ad7234616619)
2008-01-18Add header for NetGetJoinableOUs to libnetapi.Günther Deschner1-0/+11
Guenther (This used to be commit f297ea259d58f7a12924b7111ab79818188cff46)
2008-01-18merged changes from v4-0-testAndrew Tridgell2-43/+43
(This used to be commit 8c89d60924b0380231da834cd3c097b4f8cdc369)
2008-01-18Add NetGetJoinableOUs() to libnetapi (incl. example).Günther Deschner3-3/+309
Guenther (This used to be commit 8858e403e1940c362d307b4d4125f977abb0b96a)
2008-01-18Cosmetics and error string reporting for libnetapi.Günther Deschner3-16/+114
Guenther (This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
2008-01-18Add some more debugging into netdomjoin-gui.Günther Deschner1-4/+9
Guenther (This used to be commit d4c5b323229c6f43c824e3559084c98e370730a5)
2008-01-18Fix local hostname detection in netdomjoin-gui.Günther Deschner1-10/+27
Guenther (This used to be commit 30458116b389889cad845eb96b54c3edc833e722)
2008-01-18Improve libnetapi_set_error_string().Günther Deschner2-7/+39
Guenther (This used to be commit 96f645553ae5c75aabfe588e1a67f3d4bfacb5cb)
2008-01-18Add and correct some WERROR codes.Michael Adam2-2/+13
Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
2008-01-17Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testDerrell Lipman62-1277/+27280
(This used to be commit 7135d2aea5a68a79e2a77d4a02219436f5e154cc)
2008-01-17Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mappingDerrell Lipman2-46/+38
If we're going to cache connections to IPC$, we'd better also cache the policy handle and not use a stack-based handle that's invalid on subsequent calls. Derrell (This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
2008-01-17Fix two uninitialized variables in vfs_hpuxacl.cVolker Lendecke1-2/+2
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208. Volker (This used to be commit a3b36c3cb0fe5f3e78c200290afa59829934f496)
2008-01-17Use new pidl-generated netlogon client calls in NetApi GetDcName().Günther Deschner2-38/+8
Guenther (This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)