summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-20NT_STATUS_OBJECT_NAME_NOT_FOUND also means "no streams around :-)"Volker Lendecke1-1/+2
(This used to be commit 96b9a7b3eb92c9f133a3f43ffc4d57d0212e4ebd)
2008-01-20Don't test split_ntfs_stream_nameVolker Lendecke1-3/+0
This is a hot code path, and if it has a :, the name will be split later on anyway. (This used to be commit 9f7f6b812d89decea1456ccdc37978e645d11a63)
2008-01-20Do not use an unfinished fsp in streams_xattr_openVolker Lendecke1-1/+1
(This used to be commit 023b313d0d4ed3beb8d77177bc8141cadeb86658)
2008-01-20In streams_xattr_pwrite, base_fsp does not have an fdVolker Lendecke1-1/+2
These bugs haven't shown up when I did my tests with real xattrs, not with the xattr_tdb backend. It worked because the stream fsp does has the base file as fd. (This used to be commit b7022f8f7bf83c9c5e73e98d1477b7da766e8c5f)
2008-01-20Add some DEBUGVolker Lendecke2-0/+18
(This used to be commit 8db25aba63b1dffb0dfbc74012c7ebd0ce4d5682)
2008-01-20For pread/pwrite we need to do the setxattr on base_fspVolker Lendecke1-4/+4
(This used to be commit d481dddc81699aba79e48bca79bfb10e586b5cbb)
2008-01-20Really remove the _NEXT_ from vfs_xattr_tdb.cVolker Lendecke1-15/+20
This must have been lost somewhere in my patch-mangling (This used to be commit c1794375d1fa27d72ec32946bb4bd7b9f96e59fc)
2008-01-20Support XATTR_CREATE and XATTR_REPLACE in vfs_xattr_tdbVolker Lendecke1-0/+11
(This used to be commit 3509ee597f0977aadd4c70cfe8830a6aa95cd71f)
2008-01-20Complete the ea->xattr rename in vfs_xattr_tdbVolker Lendecke1-4/+5
(This used to be commit dac468216e7e103b6897f33ec3608412f77265cf)
2008-01-20Fix a segfaultVolker Lendecke1-3/+10
Pointed out by Steven Danneman on irc, thanks! Jerry, Günther, please check! (This used to be commit 9e71c89ac648040739ef2161a2e6c4299be1e35b)
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)