Michael Adam
44631bfd4d
Remove talloc context parameter from libnet_smbconf_delparm().
...
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_delparm.
Michael
(This used to be commit 16f1373938
)
2007-12-25 03:34:04 +01:00
Michael Adam
726f32b672
Add a missing free.
...
Michael
(This used to be commit bf6031287f
)
2007-12-25 03:29:41 +01:00
Michael Adam
f3b0469b4a
Remove talloc context parameter from libnet_smbconf_setparm().
...
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_setparm.
Michael
(This used to be commit efaffefc43
)
2007-12-25 03:29:05 +01:00
Michael Adam
a66a5fd94b
Typofix in comment.
...
Michael
(This used to be commit 5039a70246
)
2007-12-25 03:16:25 +01:00
Michael Adam
dff8e6b62c
Add comment header to function libnet_smbconf_drop().
...
Michael
(This used to be commit e94edb6bdb
)
2007-12-25 03:08:00 +01:00
Michael Adam
efd218fb07
Remove a d_fprintf() from libnet_smbconf_drop().
...
Michael
(This used to be commit 078e5e98b3
)
2007-12-25 03:06:48 +01:00
Michael Adam
e5a87c2543
Remove talloc context parameter from libnet_smbconf_drop().
...
Make use of talloc_stackframe.
Michael
(This used to be commit aaceab1153
)
2007-12-25 03:05:06 +01:00
Michael Adam
2764f5a0a6
Rename drop_smbconf_internal() to libnet_smbconf_drop().
...
Michael
(This used to be commit 5873e6a1f8
)
2007-12-25 03:01:59 +01:00
Michael Adam
8e53343a74
Move drop_smbconf_internal() to libnet_conf.c
...
Michael
(This used to be commit 4c2a3396bb
)
2007-12-25 02:55:07 +01:00
Michael Adam
9626fffe14
Use the proper boolean constants in net_conf.c
...
Michael
(This used to be commit 1fe4ea63b1
)
2007-12-25 02:48:45 +01:00
Michael Adam
734ddacc91
Add error reporting to net_conf_delshare().
...
Michael
(This used to be commit 8d02a2de61
)
2007-12-25 02:42:33 +01:00
Michael Adam
86486fcc98
Simplify libnet_smbconf_delshare().
...
Remove talloc context parameter.
Remove d_printf error message.
Michael
(This used to be commit 870d35c048
)
2007-12-25 02:37:02 +01:00
Michael Adam
9c20b9a731
Rename reg_delkey_internal() to libnet_smbconf_delshare().
...
Michael
(This used to be commit 7d501f0d78
)
2007-12-25 02:24:39 +01:00
Michael Adam
c9f65929b7
Move reg_delkey_internal() to libnet/libnet_conf.c
...
Michael
(This used to be commit c1b863fd05
)
2007-12-25 02:21:30 +01:00
Volker Lendecke
54861606f9
Attempt to fix the ifreq detection
...
(This used to be commit 2d08959685
)
2007-12-25 00:13:24 +01:00
Michael Adam
3177cece65
Do not leak memory in libnet_smbconf_delparm().
...
Michael
(This used to be commit 49cfe2b9eb
)
2007-12-24 01:03:14 +01:00
Michael Adam
713221e1c5
Do not leak memory in libnet_smbconf_setparm().
...
Michael
(This used to be commit a657b1c9f1
)
2007-12-24 01:00:46 +01:00
Michael Adam
92b1ef15df
Use the appropriate boolean constants.
...
Michael
(This used to be commit 45e3e2451a
)
2007-12-24 00:57:04 +01:00
Michael Adam
434f0bcb02
Make libnet_smbconf_value_exists() use talloc_stackframe().
...
And not pass a talloc context.
Michael
(This used to be commit 2983aba9d0
)
2007-12-24 00:56:24 +01:00
Michael Adam
c74579f491
Make libnet_smbconf_key_exists() use talloc_stackframe().
...
And not pass a talloc context.
Michael
(This used to be commit 7e8451f2f0
)
2007-12-24 00:53:22 +01:00
Michael Adam
225dbe6c02
Don't leak memory in libnet_smbconf_getparm().
...
Michael
(This used to be commit 09e62c7654
)
2007-12-24 00:47:43 +01:00
Michael Adam
44860bce54
Fix rights error in libnet_smbconf_delparm().
...
Introduced by additional test for existence of given parameter.
Michael
(This used to be commit 0fe095e85c
)
2007-12-24 00:18:35 +01:00
Michael Adam
6306005f4c
Remove redundant check of return value.
...
Michael
(This used to be commit 29f46c2d45
)
2007-12-24 00:18:35 +01:00
Michael Adam
8f163d5c5a
Move logic of net_conf_getparm() to libnet_conf.c.
...
Michael
(This used to be commit d3a20c4d5a
)
2007-12-24 00:18:35 +01:00
Stefan Metzmacher
4e53afccb1
selftest: also export LD_LIBRARY_PATH for samba4's smbtorture
...
metze
(This used to be commit f5570dcf50
)
2007-12-23 20:09:16 +01:00
Volker Lendecke
4c364e3078
Attempt to make the build farm run s4torture again
...
(This used to be commit 04710626e1
)
2007-12-23 16:38:28 +01:00
Volker Lendecke
958861e13b
Attempt to fix the Solaris build
...
Lets see what the others in the build farm think about this
(This used to be commit c2a988d842
)
2007-12-23 15:53:09 +01:00
Volker Lendecke
a55a08a217
Convert the [gu]id_sid cache to memcache
...
(This used to be commit 4baf36784f
)
2007-12-23 12:43:29 +01:00
Michael Adam
d1c2280cd4
Rename libnet_reg_createkey_internal() to libnet_smbconf_reg_createkey_internal().
...
Michael
(This used to be commit 0e7f215f54
)
2007-12-23 04:10:32 +01:00
Michael Adam
a48f3c8a96
Make libnet_smbconf_set_global_param() call libnet_smbconf_setparm().
...
This not only removes duplicate logic, but also the use of
libnet_smbconf_reg_setvalue_internal() instead of do_modify_val_config()
which is removed, does add important tests and canonicalizations.
Michael
(This used to be commit fa84486649
)
2007-12-23 04:10:32 +01:00
Michael Adam
b6527f3d29
Reorder libnet_conf.c some, adding "section" comments.
...
Michael
(This used to be commit b9f22adfd3
)
2007-12-23 04:10:32 +01:00
Michael Adam
62f08d3dd9
Move net_conf_setparm() to libnet_conf.c
...
renaming it to libnet_smbconf_setparm()
Michael
(This used to be commit 60f49b22b5
)
2007-12-23 04:10:32 +01:00
Michael Adam
31d436e54c
Move reg_setvalue_internal() to libnet_conf.c
...
renaming it to libnet_smbconf_setvalue_internal()
Michael
(This used to be commit 7cb51a1d6d
)
2007-12-23 04:10:31 +01:00
Michael Adam
88a424a4d3
Remove occurrences of registry_key from libnet_join.c
...
Replace duplicated logic by calls of libnet_smbconf_set_global_param()
from libnet_conf.c, pushing logic from do_JoinConfig() and do_UnjoinConfig()
to do_join_modify_vals_config() and do_unjoin_modify_vals_config()
respectively.
Only the net_conf api functions should be exported by libnet_conf.c, not
the lower level registry access functions.
Michael
(This used to be commit 81b9f1301d
)
2007-12-23 04:10:31 +01:00
Michael Adam
bd2b8f0f7b
Replace direct deletion of registry value by use of libnet_smbconf_delparm().
...
Michael
(This used to be commit 415fc0a526
)
2007-12-23 04:10:31 +01:00
Michael Adam
b04708866f
Move logic of net_smbconf_delparm() to libnet/libnet_conf.c
...
Logic in new function libnet_smbconf_delparm().
Michael
(This used to be commit 0cff79e355
)
2007-12-23 04:10:31 +01:00
Michael Adam
ec3e8587ec
Move smbconf_value_exists() to libnet/net_conf.c
...
renaming it to libnet_smbconf_value_exists().
Michael
(This used to be commit ba71c68445
)
2007-12-23 04:10:31 +01:00
Michael Adam
aeea4bfadd
Make libnet_smbconf_open_path_q() static.
...
Michael
(This used to be commit 8cf8ed9de8
)
2007-12-23 04:10:31 +01:00
Jeremy Allison
f980d3ea14
If we detect a case insensitive filesystem make
...
sure we don't search directories on name misses
for non-mangled names.
Jeremy
(This used to be commit 120048d2f4
)
2007-12-22 17:38:18 -08:00
Michael Adam
d75d3bc021
Fix typo in output.
...
Michael
(This used to be commit 2fe111c19b
)
2007-12-23 01:34:20 +01:00
Volker Lendecke
24e694796d
Fix wbcAllocate[GU]id
...
wbcRequestResponse() returns a wbcErr, not NSS_STATUS
(This used to be commit 1bbdbdef99
)
2007-12-23 00:49:32 +01:00
Volker Lendecke
85065a4f36
Fix wbcPing()
...
Without request and response, wbcRequestResponse() will always return
WBC_ERR_INVALID_PARAM, so the ping will never reach winbind.
(This used to be commit 9a24753d35
)
2007-12-23 00:49:32 +01:00
Volker Lendecke
9cd009b031
tiny simplification
...
(This used to be commit 8bd2484562
)
2007-12-23 00:49:32 +01:00
James Peach
596018455a
Use filesystem capabilities to support case-insensitive filesystems.
...
If we know the underlying filesystem is case-insensitive, then we
know that it won't help to search for case variations of the requested
name.
Jeremy, please review (and revert if you disagree).
(This used to be commit 9e8b8f8c16
)
2007-12-22 14:55:37 -08:00
James Peach
4dc0c1b88b
Fix "may be used uninitialized" compiler warnings.
...
(This used to be commit 22ac34a329
)
2007-12-22 14:10:06 -08:00
James Peach
bf2269a04e
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
...
(This used to be commit 30cb2d215f
)
2007-12-22 14:01:44 -08:00
James Peach
1176e04c76
Cache the underlying filesystem capabilities at connection time.
...
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 de3c5b808a
)
2007-12-22 14:01:25 -08:00
Michael Adam
a000fa4ee5
Remove redundant connection_struct from check_magic() parameter list.
...
Michael
(This used to be commit cebaa483e6
)
2007-12-22 02:13:02 +01:00
Michael Adam
e47520f222
Remove redundant connection_struct from fd_close() parameter list.
...
Michael
(This used to be commit 3611cc8561
)
2007-12-22 02:01:32 +01:00
Michael Adam
4773973300
Remove redundant connection_struct from fd_close_posix() parameter list.
...
Michael
(This used to be commit f3365b74ac
)
2007-12-22 02:01:32 +01:00