1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

21278 Commits

Author SHA1 Message Date
Volker Lendecke
533c7c81fe Add tdbsam_search_users
(This used to be commit 02f0b0bd393bd942fc934f251bd6afed8e5424b0)
2007-12-26 18:57:14 +01:00
Volker Lendecke
250c57ccfb We need to return the correct atime
On systems with nanosecond atime we need to re-stat after messing with the fd,
at least Solaris 10 updates atime after we stat(2)ed the file.
(This used to be commit 6e6ec0a563f8b7e3d4618ce60e776bcce53f40c4)
2007-12-26 14:55:57 +01:00
Michael Adam
f99af84e6a Move libnet_smbconf_reg_open_basepath() in source file
to group helper functions more logically.

Michael
(This used to be commit 3fa3891f8721e9f02594cd1be2dc6b9b88692416)
2007-12-26 01:03:28 +01:00
Michael Adam
afca308742 Rename libnet_smbconf_open_basepath() to libnet_smbconf_reg_open_basepath().
Michael
(This used to be commit 4c0e7270c42788e7f77c402032ae74cf0f8a7106)
2007-12-26 01:01:14 +01:00
Michael Adam
18ea20e19b Rename libnet_smbconf_open_path() to libnet_smbconf_reg_open_path().
Michael
(This used to be commit 4b0e636965bd37e7c0deecb7b5eff0cc4487408b)
2007-12-26 00:58:11 +01:00
Michael Adam
e8cfbb0f4c Rename libnet_smbconf_open_path_q() to libnet_smbconf_open_path()
removing previouse libnet_smbconf_open_path() and adding
DEBUG output (instead of d_fprintf error output) to new
libnet_smbconf_open_path().

Michael
(This used to be commit e63cc54fab8a0b03573f76305eab366a3ee4eda1)
2007-12-26 00:53:19 +01:00
Volker Lendecke
8b88fa53b5 Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
2007-12-25 18:37:42 +01:00
Volker Lendecke
fae533d359 AIX iface test needs rep_vasprintf
(This used to be commit 3e5788cc9665acb450be793fb88db8e2a871aaa5)
2007-12-25 18:36:49 +01:00
Volker Lendecke
199ecd9a85 ifreq needs more from lib/replace
(This used to be commit e85290550ad33433f584009ffce34c81bea5b164)
2007-12-25 14:19:50 +01:00
Volker Lendecke
afec8b523a Next try to fix get_interfaces detection
(This used to be commit 2dc0282f245c62b83b80f8da0394201e1c00f284)
2007-12-25 13:49:17 +01:00
Volker Lendecke
ec54edd9eb make clean should remove everything in bin/
Jerry, you might want to review/change removing libwbclient.so.0
(This used to be commit 768e0439507caeff430358eb24dc9288a21c8a03)
2007-12-25 13:38:08 +01:00
Volker Lendecke
1c26f38c16 Interface detection should not go through the socket wrapper
Next try to get the build farm more in line again than it is now
(This used to be commit 38e178df12d30672f74bf272338954c7917b59e3)
2007-12-25 12:35:44 +01:00
Volker Lendecke
b410f254f0 Revert "Attempt to fix the ifreq detection"
This reverts commit 2d08959685b495caf1884babbece27775d8bcb4f.
(This used to be commit acb560900be29c407e7da955d16c2de7898e49b8)
2007-12-25 11:59:34 +01:00
Volker Lendecke
921d8782cc Fix the build
(This used to be commit 72dc71710813ea9f1d8864c4401fef25a25577bd)
2007-12-25 11:38:26 +01:00
Michael Adam
a107e8421d Remove now unneeded talloc ctx parameter from do_JoinConfig().
Michael
(This used to be commit be985d8d0ce80d12aa7f0b447b16b14aa0362826)
2007-12-25 03:41:34 +01:00
Michael Adam
8445e820f2 Remove now unneeded talloc ctx parameter from do_join_modify_vals_config().
Michael
(This used to be commit f8823ae1232022ed3f7f9be6b8959d413e8aed19)
2007-12-25 03:40:35 +01:00
Michael Adam
d25661a615 Remove now unneeded talloc ctx parameter from do_UnjoinConfig().
Michael
(This used to be commit 92b8e5ea4ba26d663ea4e6fb65e4225d8259ea60)
2007-12-25 03:39:31 +01:00
Michael Adam
fc8be9d710 Remove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().
Michael
(This used to be commit 4f7375a110a69530d6ef9781573f45a5bf8391a5)
2007-12-25 03:38:06 +01:00
Michael Adam
c2ab4bd705 Add two missing free-s.
Michael
(This used to be commit 4efac39c363d565c2c7211da73d5e1cf2ac3d0b2)
2007-12-25 03:35:00 +01:00
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 16f137393881edc78c9322f038ba38e53e3ee07d)
2007-12-25 03:34:04 +01:00
Michael Adam
726f32b672 Add a missing free.
Michael
(This used to be commit bf6031287f75a0e17092f60f9885e7e55cd0f93c)
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 efaffefc438f8375a083b194ac7a09e563000d3c)
2007-12-25 03:29:05 +01:00
Michael Adam
a66a5fd94b Typofix in comment.
Michael
(This used to be commit 5039a70246a475176fa8212ad78b430f2211951f)
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 e94edb6bdbc9379b48679d7c72618acfe862fe52)
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 078e5e98b3589cec78893d44146a653dad9a7460)
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 aaceab1153f6c2a2adde83681913c771a16ca81f)
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 5873e6a1f8242e07b1699366a536350a7199c28c)
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 4c2a3396bb687703f6b74655fda2014d1f75200b)
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 1fe4ea63b197cb7ebc054909d888d74b5ad6523c)
2007-12-25 02:48:45 +01:00
Michael Adam
734ddacc91 Add error reporting to net_conf_delshare().
Michael
(This used to be commit 8d02a2de61eb6b62fef1fbe57194c9d286423ba0)
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 870d35c04889603843bae989fb9c01396b4c6ed1)
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 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