Michael Adam
c3fba41595
Add a registry backend perflib that replaces the former dynamic overlay.
...
Michael
2008-01-20 03:47:37 +01:00
Michael Adam
d2e3814db8
Some reformatting of current_version_fetch_values().
...
Michael
2008-01-20 03:47:37 +01:00
Michael Adam
2c650bf63c
Add a registry backend current_version that replaces the former dynamic overlay.
...
Make sure to only respond to the exact current version key since subkeys
are registered by other backends (printing and - soon - perflib).
Michael
2008-01-20 03:47:36 +01:00
Michael Adam
faf406a4a1
Reorder the registry key name constants in a more systematic way.
...
Michael
2008-01-20 02:26:22 +01:00
Michael Adam
80024f4e1c
Use some consts instead of literal strings for registry keys.
...
Michael
2008-01-20 02:03:41 +01:00
Michael Adam
f245c4e094
Some reformatting in hkpt_params_fetch_values().
...
Michael
2008-01-20 02:03:40 +01:00
Michael Adam
8e8bb6ba12
Add a registry backend hkpt_params that replaces the former dynamic overlay.
...
Michael
2008-01-20 02:03:40 +01:00
Michael Adam
5b3813b233
Some reformatting in tcpip_params_fetch_values().
...
Michael
2008-01-20 02:03:40 +01:00
Michael Adam
a8a743b693
Add a registry backend tcpip_params that replaces the former dynamic overlay.
...
Michael
2008-01-20 02:03:40 +01:00
Michael Adam
347b988654
Some reformatting in prod_options_fetch_values().
...
Michael
2008-01-20 02:03:39 +01:00
Michael Adam
d9b89e9d30
Add a registry backend prod_options that replaces the former dynamic overlay.
...
Michael
2008-01-20 02:03:39 +01:00
Michael Adam
24f13fb72e
Some reformatting in netlogon_params_fetch_values().
...
Michael
2008-01-20 02:03:39 +01:00
Michael Adam
54e7c80985
Rename netlogon_params_fetch_reg_values() to netlogon_params_fetch_values().
...
Michael
2008-01-20 02:03:39 +01:00
Michael Adam
9261b2c4bf
In reg_backend_netlogon_params, delegate fetch_subkeys() to regdb.
...
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
2008-01-20 02:03:38 +01:00
Michael Adam
7d1e986f3a
Fix registering Registry backends in reghook_cache_add().
...
This was broken in 331c0d6216
(pstring removal).
Michael
2008-01-20 02:03:38 +01:00
Michael Adam
daf37c9545
Use constant KEY_NETLOGON_PARAMS instead of literal key.
...
Michael
2008-01-20 02:03:38 +01:00
Michael Adam
a73b8d16aa
Volker is right: why keep commented out migrated dynamic reg overlays around?...
...
Michael
2008-01-20 02:03:38 +01:00
Michael Adam
2c4dfd7aaa
Use c99 struct initializers for REGISTRY_OPS in reg_shares.c
...
Michael
2008-01-20 02:03:38 +01:00
Michael Adam
a89bee4139
Use c99 struct initializers for REGISTRY_OPS in reg_printing.c
...
Michael
2008-01-20 02:03:37 +01:00
Michael Adam
96d116b003
Use c99 struct initializers for REGISTRY_OPS in reg_smbconf.c.
...
Michael
2008-01-20 02:03:37 +01:00
Volker Lendecke
2cac1d3919
Some systems do not have XATTR_ defined
2008-01-20 00:44:14 +01:00
Volker Lendecke
5f5fc72b01
vfs_streams_depot
...
Store streams in a file each. Not 100% finished, and not built by default.
2008-01-19 23:36:34 +01:00
Volker Lendecke
83a805220e
vfs_streams_xattr module
...
Store streams in posix xattrs. A kludge, as xattrs are limited in many ways,
but it might be a help for some situations.
2008-01-19 23:34:22 +01:00
Volker Lendecke
6022873cc1
Add streams support
...
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.
2008-01-19 23:25:36 +01:00
Volker Lendecke
d813bd9e02
Add "split_ntfs_stream_name()" together with a torture test
2008-01-19 23:10:09 +01:00
Volker Lendecke
9f0d778490
Add an error mapping for ENOATTR
2008-01-19 22:58:17 +01:00
Volker Lendecke
c34d729c7c
Add the STREAMINFO vfs call
...
Based on jpeach's work, modified the streaminfo prototype
Make use of it in trans2.c together with marshall_stream_info()
2008-01-19 22:58:17 +01:00
Volker Lendecke
9996473290
Use SAFE_FREE instead of free
2008-01-19 19:31:02 +01:00
Corinna Vinschen
373a23d48f
Tiny memory leak in lib/version.c
...
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.
2008-01-19 19:30:16 +01:00
Volker Lendecke
64e54ea8f7
Fix error return in xattr_tdb_load_attrs
2008-01-19 18:51:20 +01:00
Volker Lendecke
197b08ad78
The remote storage op is gone
...
Alexander, I think this ok...
2008-01-19 16:19:28 +01:00
Volker Lendecke
aec357a456
Add get_ea_names_from_file to sanely list posix xattrs
...
Refactor get_ea_list_from_file to use that.
2008-01-19 16:07:56 +01:00
Volker Lendecke
0aa406bbba
Make get_ea_value public
2008-01-19 15:50:05 +01:00
Volker Lendecke
6d0a727f26
Fix the build
...
... forgot to "git add" it
2008-01-19 13:39:24 +01:00
Kai Blin
76cf5a979b
afs: Use talloc_stackframe() instead of talloc_init()
...
Thanks to vl for pointing this out.
2008-01-19 13:17:09 +01:00
Kai Blin
97768628f5
ntlm_auth: Get rid of statics in manage_squid_ntlmssp_request
2008-01-19 13:16:24 +01:00
Kai Blin
af43842622
ntlm_auth: Rewrite manage_client_ntlmssp_request without statics.
2008-01-19 13:16:24 +01:00
Kai Blin
2479a0c3ad
nltm_auth: Use struct ntlm_auth_state in helper functions.
...
Now rewriting the helpers one after the other can start.
2008-01-19 13:16:24 +01:00
Kai Blin
f8243d1913
ntlm_auth: Prepare for a deeper rewrite of the helper functions
2008-01-19 13:16:24 +01:00
Kai Blin
4a475baf26
ntlm_auth: Dynamically allocate the read buffer.
...
This ports over my changes from Samba4
2008-01-19 13:16:23 +01:00
Volker Lendecke
924c4ede2a
Link ndr_xattr.o with LIBNDR_GEN_OBJ
...
It will be used elsewhere (net xattr for example)
2008-01-19 12:54:46 +01:00
Jeremy Allison
63defd3e9d
Actually test vl's new code and make it work to fix the build farm :-).
...
Jeremy.
2008-01-18 18:39:27 -08:00
Volker Lendecke
e96cf1309e
Always return nlink=1 for directories
...
I did not test it, but it should not affect cifsfs, there are special posix
calls that also return the stat information unfiltered.
2008-01-18 17:37:04 -08:00
Kai Blin
ab0ee6e9a6
util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
2008-01-19 02:20:16 +01:00
Jeremy Allison
3a1bcbfa7c
Fix error message for new allinfo command.
...
Jeremy.
2008-01-18 13:47:10 -08:00
Derrell Lipman
843e1694cf
Fix typo that disabled setting group id. Thanks, Henrik.
2008-01-18 14:22:49 -05:00
Stefan Metzmacher
b8a57a24c3
Revert "Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage"
...
This reverts commit e33286f4a6 .
393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix
for the same problem.
metze
2008-01-18 17:02:13 +01:00
Jelmer Vernooij
174a45ec18
libreplace: Escape asterisk.
...
(cherry picked from commit df36c78549 )
2008-01-18 17:02:13 +01:00
Jelmer Vernooij
a0e663ff2c
Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
...
(cherry picked from commit bba8914af5 )
2008-01-18 17:02:12 +01:00
Stefan Metzmacher
c11122afda
r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
...
metze
(cherry picked from commit 11bdc9bed8 )
2008-01-18 17:02:12 +01:00