summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-19Couple of minor fixes for POSIX pathname processing in theJeremy Allison2-9/+11
new stream code. (1) In smbd/filename, don't split the name at ':' if we know it's a posix path (this should be parameterized....). (2). When calling posix_mkdir, we get the flag FILE_FLAG_POSIX_SEMANTICS passed to open_directory(). I know for a posix client lp_posix_pathnames should be true (which is checked for in is_ntfs_stream_name() but we have an explicit flag here, so let's use it. Jeremy. (This used to be commit 7bb7a0def6518784befa75e5303289d2b4d36dd4)
2008-01-20Do an explicit init_globals() when restarting for "config backend = registry".Michael Adam1-0/+1
Michael (This used to be commit 487c43f9284598a3c60b06fc60e5c50844e11b87)
2008-01-20Add a debug message to fetch_reg_values().Michael Adam1-0/+3
Michael (This used to be commit 239aa59cc1b78f7fb82aa66418cdf92517ebc123)
2008-01-20Add some debugging output to reg_cachehook.cMichael Adam1-1/+10
Michael (This used to be commit 2a278928805f4497e8afa28bdca433cbedc4a8d7)
2008-01-20Remove the dynamic registry overlay.Michael Adam3-105/+1
It is unnecessary now the dynamic functions have been made registry backends of their own. Michael (This used to be commit e327953bd6b11aeb6f2ae48b49550a942eae8e88)
2008-01-20Add a registry backend perflib that replaces the former dynamic overlay.Michael Adam6-47/+113
Michael (This used to be commit c3fba415951329ee90c7250b4e8d539f91b227f6)
2008-01-20Some reformatting of current_version_fetch_values().Michael Adam1-11/+12
Michael (This used to be commit d2e3814db8a4a5f0fc097e9f56753888470ef213)
2008-01-20Add a registry backend current_version that replaces the former dynamic overlay.Michael Adam5-24/+84
Make sure to only respond to the exact current version key since subkeys are registered by other backends (printing and - soon - perflib). Michael (This used to be commit 2c650bf63ccd9dc5dddbf4700831489544ded055)
2008-01-20Reorder the registry key name constants in a more systematic way.Michael Adam1-5/+5
Michael (This used to be commit faf406a4a1baf2946ea754a0760204748be99541)
2008-01-20Use some consts instead of literal strings for registry keys.Michael Adam1-4/+4
Michael (This used to be commit 80024f4e1c6594c3038e86a765f763d24fd96b59)
2008-01-20Some reformatting in hkpt_params_fetch_values().Michael Adam1-7/+10
Michael (This used to be commit f245c4e094ad56080847e286c76976f29c95a221)
2008-01-20Add a registry backend hkpt_params that replaces the former dynamic overlay.Michael Adam4-29/+70
Michael (This used to be commit 8e8bb6ba120adf9942f612b7fd89bdbced6c1285)
2008-01-20Some reformatting in tcpip_params_fetch_values().Michael Adam1-8/+10
Michael (This used to be commit 5b3813b233dc2a60e6d5a9942b4044219d800415)
2008-01-20Add a registry backend tcpip_params that replaces the former dynamic overlay.Michael Adam6-27/+70
Michael (This used to be commit a8a743b693a162954948ca2438ce4b842c5cba30)
2008-01-20Some reformatting in prod_options_fetch_values().Michael Adam1-10/+10
Michael (This used to be commit 347b9886547516bc2a43190ae7faaf349d2c9d04)
2008-01-20Add a registry backend prod_options that replaces the former dynamic overlay.Michael Adam6-32/+75
Michael (This used to be commit d9b89e9d30702f64805b3a3a3612066b19c051d1)
2008-01-20Some reformatting in netlogon_params_fetch_values().Michael Adam1-6/+7
Michael (This used to be commit 24f13fb72e4cbaba48235fa840b2a93bf1c5d9c3)
2008-01-20Rename netlogon_params_fetch_reg_values() to netlogon_params_fetch_values().Michael Adam1-3/+2
Michael (This used to be commit 54e7c8098565495a833500d4b2a8d5240ed55c82)
2008-01-20In reg_backend_netlogon_params, delegate fetch_subkeys() to regdb.Michael Adam1-0/+7
In order to be able to open the netlogon_params key (the new backend replacing the former dynamic overlay), certain methods need to be provided. Delegate these to the regdb backend (like e.g. the smbconf backend does). Michael (This used to be commit 9261b2c4bf48e133eecda9ec0095bd8edf20326c)
2008-01-20Fix registering Registry backends in reghook_cache_add().Michael Adam1-1/+1
This was broken in 331c0d6216e1a1607a49ed7eb4078e10138ec16a (pstring removal). Michael (This used to be commit 7d1e986f3a5ab316a8501ddaca1ba1f0867b4531)
2008-01-20Use constant KEY_NETLOGON_PARAMS instead of literal key.Michael Adam1-1/+1
Michael (This used to be commit daf37c954572bbf652506daae9ff0c9c365b2a9e)
2008-01-20Volker is right: why keep commented out migrated dynamic reg overlays around?...Michael Adam1-21/+0
Michael (This used to be commit a73b8d16aa0f7a3bb7417e9839e04380e6a68629)
2008-01-20Use c99 struct initializers for REGISTRY_OPS in reg_shares.cMichael Adam1-5/+4
Michael (This used to be commit 2c4dfd7aaa3c3b384b547451f914a86f59157928)
2008-01-20Use c99 struct initializers for REGISTRY_OPS in reg_printing.cMichael Adam1-5/+4
Michael (This used to be commit a89bee4139666ba163385c9e7d15fbc5d623ed6f)
2008-01-20Use c99 struct initializers for REGISTRY_OPS in reg_smbconf.c.Michael Adam1-9/+7
Michael (This used to be commit 96d116b003c1187869cbdbc21274a0b5cb1bf7d6)
2008-01-20Some systems do not have XATTR_ definedVolker Lendecke2-5/+8
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
2008-01-19vfs_streams_depotVolker Lendecke3-0/+654
Store streams in a file each. Not 100% finished, and not built by default. (This used to be commit 5f5fc72b01c8e8fc096375c7cb4a97186c387259)
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)