Michael Adam
9c20b9a731
Rename reg_delkey_internal() to libnet_smbconf_delshare().
...
Michael
(This used to be commit 7d501f0d78ec57509d0bc5ef0dc16fcd24ee27e7)
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 c1b863fd0520ce64a1bad5e2fa3f69afcc2c78d5)
2007-12-25 02:21:30 +01:00
Volker Lendecke
54861606f9
Attempt to fix the ifreq detection
...
(This used to be commit 2d08959685b495caf1884babbece27775d8bcb4f)
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 49cfe2b9ebe03d5985187890445b775047f8a2f4)
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 a657b1c9f17d3cebc86b596f1f2d244750d70a6d)
2007-12-24 01:00:46 +01:00
Michael Adam
92b1ef15df
Use the appropriate boolean constants.
...
Michael
(This used to be commit 45e3e2451adc1490b62d39d486c169ad53e1d3f3)
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 2983aba9d092e6ede43f6eb521c17fe3f304d041)
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 7e8451f2f03b246801783aaf4b3d54465292f8f7)
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 09e62c765401102480d39a483bfffaf5a054babc)
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 0fe095e85ca981e5660a67f3fb7d7965ae62c667)
2007-12-24 00:18:35 +01:00
Michael Adam
6306005f4c
Remove redundant check of return value.
...
Michael
(This used to be commit 29f46c2d45e7ad7f8a9a525f9ac82c050a510967)
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 d3a20c4d5a8109334cd3ed665ba60cfcc4425059)
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 f5570dcf503a4b28ebf624d06fd090f3b6b0a560)
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 04710626e174d7237521f33a351b4425add063b8)
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 c2a988d8427b7598291ae6999b5258e2b6a2e7cb)
2007-12-23 15:53:09 +01:00
Volker Lendecke
a55a08a217
Convert the [gu]id_sid cache to memcache
...
(This used to be commit 4baf36784f6496121a6863af0283821785eb0cf1)
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 0e7f215f54c68b2d40f65f90ed11c41e1a7ef5ed)
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 fa844866493ee270f31faa3eca77cdff16b26301)
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 b9f22adfd3e67046b7d786b5b338e078b4cdc6df)
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 60f49b22b5aa125ff6cb358a258a1be99c378d7a)
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 7cb51a1d6d95704225d9ab22e88cc76fa910d38c)
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 81b9f1301d61f05f9153be61d62c13e82cecf7e2)
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 415fc0a5261f4d941027e5d5305fcea882724aef)
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 0cff79e3552e91ba0b6bc054802d28afcf4e8da4)
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 ba71c6844588f0342589163f514385911e7331e7)
2007-12-23 04:10:31 +01:00
Michael Adam
aeea4bfadd
Make libnet_smbconf_open_path_q() static.
...
Michael
(This used to be commit 8cf8ed9de8c3f41588fa93bd102f61f5b8b493c4)
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 120048d2f40cf1a0ace2ecde205cbc694d263d69)
2007-12-22 17:38:18 -08:00
Michael Adam
d75d3bc021
Fix typo in output.
...
Michael
(This used to be commit 2fe111c19bc827ec132365e718a2136bda57e568)
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 1bbdbdef991408af07afaba7bc0b4da55f06aed8)
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 9a24753d35a4b1a283a65c60088d82e4b80f14c8)
2007-12-23 00:49:32 +01:00
Volker Lendecke
9cd009b031
tiny simplification
...
(This used to be commit 8bd248456205a82d57af21559a77a1030f4679b7)
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 9e8b8f8c16612d8a08b55802f4fd9afca5498a7c)
2007-12-22 14:55:37 -08:00
James Peach
4dc0c1b88b
Fix "may be used uninitialized" compiler warnings.
...
(This used to be commit 22ac34a329c9be9cf7d1e6749ebcfb50215378e4)
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 30cb2d215f1a4a440d5ecaab3f898daa714eee2b)
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 de3c5b808a941ac8e9ebe7169536d8290067eef5)
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 cebaa483e62910ac3f87cd135b2aff18dc880416)
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 3611cc8561cf837adea83fc7c16ca7535f188466)
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 f3365b74ac016eaee1e82eef769dd618af5df201)
2007-12-22 02:01:32 +01:00
Jeremy Allison
98bc591c4f
Add NT error to debug to try and track this down.
...
Jermey.
(This used to be commit a1482b09150f4d292965c77bc73d47fb14f5eb85)
2007-12-21 16:43:02 -08:00
Günther Deschner
f4db66eba1
Fix the build of cifs.spnego.
...
Guenther
(This used to be commit b4a4a2b2933d693876b67231f747e1e232936054)
2007-12-22 01:14:24 +01:00
Günther Deschner
9fc2c21fa6
Fix net_dom_join & net_dom_unjoin.
...
Guenther
(This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)
2007-12-22 00:37:02 +01:00
Günther Deschner
30a788bd20
Fix uninitialized error code in do_unjoin_modify_vals_config().
...
Guenther
(This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)
2007-12-22 00:13:24 +01:00
Günther Deschner
86dfb55ffb
Correct netapi header filename. Thanks Jeremy.
...
Guenther
(This used to be commit f192737ec8140aa6570bfb49a165b31890d63b16)
2007-12-22 00:03:15 +01:00
Jeremy Allison
2fc5eb7916
Fix install - it was trying to install libnetapi.h whereas
...
the actual file is netapi.h. Guenther please check which
name this should be !
Jeremy.
(This used to be commit 035fadaa596e893b7eeac09bc587ad3b73f77d0b)
2007-12-21 14:38:52 -08:00
Günther Deschner
3f5d5bc300
Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
...
not joining as a DC.
Guenther
(This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)
2007-12-21 23:05:10 +01:00
Jeremy Allison
9df2075170
Fix make test by adding winbind libs to vlp.
...
Jeremy.
(This used to be commit abba6717b5da709ae9cf3097042228ddbe630cca)
2007-12-21 13:42:47 -08:00
Jeremy Allison
9a2b54dfb6
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
Conflicts:
source/library-versions.in
(This used to be commit 11acca7d3884731491709dd09b7de2edc8bb5811)
2007-12-21 13:14:59 -08:00
Günther Deschner
f2ebf076a4
Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.
...
Guenther
(This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc)
2007-12-21 22:07:12 +01:00
Jeremy Allison
b775fe0a17
Actually fix the merge.
...
Jeremy.
(This used to be commit c855de0c05e2e271e2610de67a6d7e3aba52390f)
2007-12-21 12:50:39 -08:00
Jeremy Allison
03d3009986
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
Conflicts:
source/Makefile.in
(This used to be commit 351df194a927371600824f4c03d8a24b95fbef64)
2007-12-21 12:44:31 -08:00