jra/samba/.git
15 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into docbook
Jelmer Vernooij [Wed, 21 May 2008 16:04:47 +0000 (18:04 +0200)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into docbook

Conflicts:

source/Makefile.in
(This used to be commit 01987778a123f853fccdcb7fe9566143e2d7c490)

15 years agoUse double colon targets.
Jelmer Vernooij [Wed, 21 May 2008 15:55:20 +0000 (17:55 +0200)]
Use double colon targets.
(This used to be commit 825cf91fa8b30a67d04cbda8885ff62a4c26458f)

15 years agoAdd double-colon where it makes sense.
Jelmer Vernooij [Sun, 18 May 2008 16:39:48 +0000 (18:39 +0200)]
Add double-colon where it makes sense.
(This used to be commit 256200e951476ff31c95a7d5621a50ba297ea6e4)

15 years agoAdd test target in Makefile.
Jelmer Vernooij [Fri, 16 May 2008 13:46:36 +0000 (15:46 +0200)]
Add test target in Makefile.
(This used to be commit ac0d768676b1b8105a9141169b1afa248df6ce66)

15 years agoMake the make output a bit less chatty.
Jelmer Vernooij [Fri, 16 May 2008 13:31:54 +0000 (15:31 +0200)]
Make the make output a bit less chatty.
(This used to be commit 1fa4ef553c437bae07389c0f6a5410ba22ee4905)

15 years agoConvert in_transaction to a bool. Add the same fix Volker
Jeremy Allison [Tue, 20 May 2008 21:18:58 +0000 (14:18 -0700)]
Convert in_transaction to a bool. Add the same fix Volker
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit bda0f03fb3fa8a7b14d4f54bee7076d691cad44f)

15 years agoFix type error in debug message
Volker Lendecke [Tue, 20 May 2008 21:08:42 +0000 (23:08 +0200)]
Fix type error in debug message
(This used to be commit eb281532b1721ded39c39bb00c26202080dcd735)

15 years agoFix some signed/unsigned warnings
Volker Lendecke [Tue, 20 May 2008 21:06:38 +0000 (23:06 +0200)]
Fix some signed/unsigned warnings
(This used to be commit dbb4d8107a61051d8bcf6c4c69ee976efc50b961)

15 years agoCleanup size_t return values in callers of convert_string_allocate
Tim Prouty [Tue, 29 Apr 2008 21:36:24 +0000 (14:36 -0700)]
Cleanup size_t return values in callers of convert_string_allocate

This patch is the second iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)

15 years agoFix nesting tdb_traverse in a transaction
Volker Lendecke [Tue, 20 May 2008 19:54:36 +0000 (21:54 +0200)]
Fix nesting tdb_traverse in a transaction

Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().

This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.

Volker
(This used to be commit 80e700e3bd73f2ffa38046bdcba7f532e25198ef)

15 years agoFix bug #5477 - recvfile code was broken.
Jeremy Allison [Tue, 20 May 2008 19:09:48 +0000 (12:09 -0700)]
Fix bug #5477 - recvfile code was broken.
Jeremy.
(This used to be commit 830337f054a6c0646d85df33d9958e99283e727a)

15 years agoFix memcache_flush()
Volker Lendecke [Tue, 20 May 2008 16:35:23 +0000 (18:35 +0200)]
Fix memcache_flush()

I have no idea what I've been smoking when I checked this in :-(

Karolin, this fixes the join bug 3.0.28->3.2.0rc1

Thanks,

Volker
(This used to be commit f845dbbceeff032cd248117ddf63af3d3736b21c)

15 years agoFix typo.
Günther Deschner [Tue, 20 May 2008 15:48:39 +0000 (17:48 +0200)]
Fix typo.

Guenther
(cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926)
(This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)

15 years agoFix a valgrind error in _samr_LookupNames
Volker Lendecke [Tue, 20 May 2008 15:29:40 +0000 (17:29 +0200)]
Fix a valgrind error in _samr_LookupNames
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d)
(This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)

15 years agonet: The top level help function for net cmd is always net_cmd_usage
Kai Blin [Thu, 15 May 2008 08:14:41 +0000 (10:14 +0200)]
net: The top level help function for net cmd is always net_cmd_usage
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)

15 years agonet: Move help for "net status" to net_status.c
Kai Blin [Wed, 14 May 2008 13:09:29 +0000 (15:09 +0200)]
net: Move help for "net status" to net_status.c
(This used to be commit d26681b169a533f838f74d48af072b57afc9f8df)

15 years agonet: Move printer help to net_rpc where it's used.
Kai Blin [Wed, 14 May 2008 12:29:52 +0000 (14:29 +0200)]
net: Move printer help to net_rpc where it's used.
(This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)

15 years agonet: Split out "net share"
Kai Blin [Wed, 14 May 2008 12:24:21 +0000 (14:24 +0200)]
net: Split out "net share"
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)

15 years agonet: Split out "net afs"
Kai Blin [Wed, 14 May 2008 07:01:53 +0000 (09:01 +0200)]
net: Split out "net afs"
(This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)

15 years agonet: Move more utility functions into net_util.c
Kai Blin [Tue, 13 May 2008 19:18:09 +0000 (21:18 +0200)]
net: Move more utility functions into net_util.c
(This used to be commit 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)

15 years agonet: Split out "net file"
Kai Blin [Tue, 13 May 2008 11:52:58 +0000 (13:52 +0200)]
net: Split out "net file"
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)

15 years agonet: Split out "net group"
Kai Blin [Tue, 13 May 2008 11:44:28 +0000 (13:44 +0200)]
net: Split out "net group"
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)

15 years agonet: Split out "net user"
Kai Blin [Tue, 13 May 2008 10:51:09 +0000 (12:51 +0200)]
net: Split out "net user"
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)

15 years agonet: Move "net join" handling into a separate file.
Kai Blin [Tue, 13 May 2008 09:11:35 +0000 (11:11 +0200)]
net: Move "net join" handling into a separate file.
(This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)

15 years agonet: Split out common help functions.
Kai Blin [Mon, 12 May 2008 12:38:21 +0000 (14:38 +0200)]
net: Split out common help functions.
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)

15 years agonet: more whitespace cleanup
Kai Blin [Mon, 12 May 2008 09:56:18 +0000 (11:56 +0200)]
net: more whitespace cleanup
(This used to be commit 1813e545a99545575babe126386c8caca00aab8f)

15 years agonet: Use true/false instead of True/False.
Kai Blin [Mon, 12 May 2008 09:53:23 +0000 (11:53 +0200)]
net: Use true/false instead of True/False.
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)

15 years agoman pages: Remove man page for 'mangled map'.
Karolin Seeger [Fri, 16 May 2008 07:27:20 +0000 (09:27 +0200)]
man pages: Remove man page for 'mangled map'.

'mangled map' has been removed with dee8beba7a92b8a3f68bbcc59fd0a827f68c7736.

Karolin
(cherry picked from commit d9b4e500675a378daba50d12cd638a245aa78b72)
(This used to be commit 48bf0b42a7d3829d476a50b4f6f80022279b4e49)

15 years agosesssetup.c: Add debug message.
Karolin Seeger [Tue, 20 May 2008 09:09:06 +0000 (11:09 +0200)]
sesssetup.c: Add debug message.

Log when we kill other smbd sessions like when we hit the VC == 0 case.
This one fixes BUG #5476.
Initial patch from Björn Jacke <bj@sernet.de>.

Karolin
(This used to be commit 1429f3b7cf293994b334052428fcdadcee162dea)

15 years agoman pages: Add documentation for new cluster parameters.
Karolin Seeger [Tue, 20 May 2008 09:03:33 +0000 (11:03 +0200)]
man pages: Add documentation for new cluster parameters.

Karolin
(This used to be commit 029875d8c9b2f9448f5299faaa3a48e8bccbca53)

15 years agoRemove conn_find_byname now it's no longer used in
Jeremy Allison [Tue, 20 May 2008 00:19:18 +0000 (17:19 -0700)]
Remove conn_find_byname now it's no longer used in
the msdfs.c code.
Jeremy
(This used to be commit 54556df561d03d30b2fc21b9eaabe56b8c758301)

15 years agoRestructuring of code to fix #5460. Remove search
Jeremy Allison [Mon, 19 May 2008 20:11:00 +0000 (13:11 -0700)]
Restructuring of code to fix #5460. Remove search
by name code from conn, we were already doing the
same check in the dfs_redirect() function, so move
it into parse_dfs_path() instead.
Jeremy.
(This used to be commit 8a7c6df122c5e4a1d0f74ab0f1bc9376a0a8bcb1)

15 years agoConvert messages_local.c to use "struct tdb_wrap"
Volker Lendecke [Sun, 18 May 2008 12:30:33 +0000 (14:30 +0200)]
Convert messages_local.c to use "struct tdb_wrap"

This works around a problem with smbcontrol opening messaging.tdb twice. Very
likely this is not the right fix. Michael, please check.

Volker
(This used to be commit 9d52cf3f9394eb78465173bad53ea8dc86512213)

15 years agoDon't block smbcontrol online/offline if !"winbind offline logons"
Volker Lendecke [Mon, 19 May 2008 02:24:21 +0000 (04:24 +0200)]
Don't block smbcontrol online/offline if !"winbind offline logons"

There's no point to block these, winbind will ignore them anyway.

Jerry, Jeremy, we definitely need a chance to trigger a reconnection attempt
after a DC has been rebooted. Right now winbind's reaction to a single rebooted
DC is to declare it offline. It will not try before a "winbind cache timeout"
timeout. If the admin sets this to an hour or longer for performance reasons,
we're screwed. Reboot your DC, no logon for an hour.

Volker
(This used to be commit cb065a8995fa0a18f9124d0bdea70c692d6b5c58)

15 years agoIf no node number is given, default to the current node in smbcontrol
Volker Lendecke [Mon, 19 May 2008 02:20:56 +0000 (04:20 +0200)]
If no node number is given, default to the current node in smbcontrol
(This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded)

15 years agoFix some comments to match get_kdc_ip_string()'s behaviour
root [Mon, 19 May 2008 00:48:09 +0000 (02:48 +0200)]
Fix some comments to match get_kdc_ip_string()'s behaviour
(This used to be commit 30956c784f58870ad552a3869d80f99872c31375)

15 years agobuild: remove the proto_exists target - it is not needed anymore.
Michael Adam [Sun, 18 May 2008 23:22:14 +0000 (01:22 +0200)]
build: remove the proto_exists target - it is not needed anymore.

Michael
(This used to be commit 35f4df7ab86a1b0a920003398043f0b77c75b0a8)

15 years agobuild: remove the "delheaders" target.
Michael Adam [Sun, 18 May 2008 22:54:45 +0000 (00:54 +0200)]
build: remove the "delheaders" target.

Michael
(This used to be commit 0fe47c3c76eb15fee62115f7f21b77bd9e3236c7)

15 years agobuild: remove "headers" and "proto" make targets.
Michael Adam [Sun, 18 May 2008 22:51:45 +0000 (00:51 +0200)]
build: remove "headers" and "proto" make targets.

Replace "proto" target by a message.

Michael
(This used to be commit 16fb26d73a2bf3520e3b4e6c6bead7321bf41fd3)

15 years agobuild: remove mkproto.sh and mkproto.awk
Michael Adam [Sun, 18 May 2008 21:39:15 +0000 (23:39 +0200)]
build: remove mkproto.sh and mkproto.awk

Michael
(This used to be commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68)

15 years agobuild: remove reference to mkproto.sh from Makefile
Michael Adam [Sun, 18 May 2008 21:37:10 +0000 (23:37 +0200)]
build: remove reference to mkproto.sh from Makefile

No generated prototypes anymore...

Michael
(This used to be commit 4c7362f2b7ec5e6a60c96925e2c877c5a99a51bc)

15 years agolibnet: freeze libnet_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:35:42 +0000 (23:35 +0200)]
libnet: freeze libnet_proto.h from "make proto"

Michael
(This used to be commit b455cd1a619a1f1922e2e7bc07f1af246e3201e6)

15 years agobuild: freeze passwd_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:33:20 +0000 (23:33 +0200)]
build: freeze passwd_proto.h from "make proto"

Michael
(This used to be commit 00cff301071fe2670e8358195b937de49aa2aa14)

15 years agonet: freeze net_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:31:42 +0000 (23:31 +0200)]
net: freeze net_proto.h from "make proto"

Michael
(This used to be commit 673b24052a6864579683e9adb56522a12447abca)

15 years agontlm_auth: freeze ntlm_auth_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:29:01 +0000 (23:29 +0200)]
ntlm_auth: freeze ntlm_auth_proto.h from "make proto"

Michael
(This used to be commit 35a517315b83aa7ccea34ec725b15c04ceb5e70e)

15 years agosmbclient: freeze client_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:26:51 +0000 (23:26 +0200)]
smbclient: freeze client_proto.h from "make proto"

Michael
(This used to be commit f8c0710165ee1ede46d7ed34daa5564d20d3f069)

15 years agoswat: freeze swat_proto.h from "make proto"
Michael Adam [Sun, 18 May 2008 21:16:38 +0000 (23:16 +0200)]
swat: freeze swat_proto.h from "make proto"

Michael
(This used to be commit 372c58cc220efc01af4b90b82b75191296a62e81)

15 years agowinbindd: freeze winbindd_proto.h
Michael Adam [Sun, 18 May 2008 21:09:34 +0000 (23:09 +0200)]
winbindd: freeze winbindd_proto.h

Michael
(This used to be commit 467b8f0f4d58fc00d07264c651016087bd00b233)

15 years agobuild: freeze proto.h
Michael Adam [Sun, 18 May 2008 20:58:07 +0000 (22:58 +0200)]
build: freeze proto.h

Michael
(This used to be commit ff7f0cad2eb108daa61a910cd9171ab0811a5f60)

15 years agoconfigure: Fix comment to match the current iconv check.
Kai Blin [Sun, 18 May 2008 00:26:32 +0000 (02:26 +0200)]
configure: Fix comment to match the current iconv check.
(This used to be commit 5d9963479fa31783522d68cdbc8876613a3d1774)

15 years agoFactor out generation of an info3 struct from a serversupplied_info
Volker Lendecke [Sat, 17 May 2008 20:44:35 +0000 (22:44 +0200)]
Factor out generation of an info3 struct from a serversupplied_info
(This used to be commit e60faccc1bdd2b80e039ec8c93683be10752f937)

15 years agoconfigure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests
Stefan Metzmacher [Fri, 16 May 2008 10:50:16 +0000 (12:50 +0200)]
configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests

metze
(This used to be commit 6b782b58971cbbe56ead5d7e8db6eb8c3526e8ee)

15 years agoconfigure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_...
Stefan Metzmacher [Fri, 16 May 2008 10:48:57 +0000 (12:48 +0200)]
configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS

metze
(This used to be commit d81e58597e0ecdcf1ce6d8d71071fbf5d50670c2)

15 years agolib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
Stefan Metzmacher [Fri, 16 May 2008 10:46:10 +0000 (12:46 +0200)]
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS

metze
(cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)
(This used to be commit c97ff995e41d1cd31a7169e95ca415078da4a16c)

15 years agoconfigure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET...
Stefan Metzmacher [Fri, 16 May 2008 10:33:11 +0000 (12:33 +0200)]
configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace

metze
(This used to be commit ca163ff81a3f5d8303d45baa048850dfbc72a6a8)

15 years agolib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
Stefan Metzmacher [Fri, 16 May 2008 10:29:21 +0000 (12:29 +0200)]
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET

Moved from the samba specific locations

metze
(cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f)
(This used to be commit 951b8c757ada337229a4efe81e6532d15fa0b63a)

15 years agoconfigure: remove unused configure check for HAVE_WORKING_AF_LOCAL
Stefan Metzmacher [Fri, 16 May 2008 10:16:05 +0000 (12:16 +0200)]
configure: remove unused configure check for HAVE_WORKING_AF_LOCAL

metze
(This used to be commit dddc4f0cef8ea71783fa7f7b68ec9ad3f29f7add)

15 years agoSimplify fake_file logic
Volker Lendecke [Sat, 29 Mar 2008 17:19:31 +0000 (18:19 +0100)]
Simplify fake_file logic
(This used to be commit 93111ea0a1191e8547ad6cf112e2699d3bb3799b)

15 years agoFix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().
Günther Deschner [Fri, 16 May 2008 11:24:15 +0000 (13:24 +0200)]
Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().

Citrix PM cannot use a Samba DC when having more then 900 groups as citrix
insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first
900 groups via _samr_QueryDisplayInfo() to get the continuation index.

Guenther
(This used to be commit 1c4adc8dda68eae9839bdff843aadf8c98dd9e87)

15 years agolibnetjoin: for informational reasons, report forest_name.
Günther Deschner [Fri, 16 May 2008 10:16:04 +0000 (12:16 +0200)]
libnetjoin: for informational reasons, report forest_name.

Guenther
(This used to be commit 452a9ea4af19d3aebc35929edaf4e5adf8c1fd11)

15 years agonetdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.
Günther Deschner [Fri, 16 May 2008 10:11:43 +0000 (12:11 +0200)]
netdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.

Guenther
(This used to be commit ae60695a349bccd1128e6c439664b0607627ef23)

15 years agonet: use the netapi_ctx from the net_context struct.
Günther Deschner [Fri, 16 May 2008 09:52:48 +0000 (11:52 +0200)]
net: use the netapi_ctx from the net_context struct.

Guenther
(This used to be commit ff8a9655ccd40bc2ca3ef0403308193d956c4adf)

15 years agodsgetdcname: store client sitename for mailslot and cldap replies.
Günther Deschner [Thu, 15 May 2008 15:47:07 +0000 (17:47 +0200)]
dsgetdcname: store client sitename for mailslot and cldap replies.

Guenther
(This used to be commit a01ed719c31998620927dc9b1664ba8e36bd9b21)

15 years agolibreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6

metze
(cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)
(This used to be commit 151d62da1321322615daadabb41d049974f5fe6a)

15 years agolibreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS...
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used

metze
(cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab)
(This used to be commit cd37fdb2401bfd6c23160e34f03238faa1f5cbd3)

15 years agolibreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars

metze
(cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)
(This used to be commit dbbc05c87ba2b2d9b3247cfba58bc1a3f12ad4f5)

15 years agolibreplace: include inet_ntoa.o when the system one is broken
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken

metze
(cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334)
(This used to be commit 734ade407ed8d5b61a831509c3efc90fc521fe1b)

15 years agolibreplace: merge getifaddrs.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4

metze
(cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90)
(This used to be commit d7038405d68eb3c69ef10f63ce37db838eb44b7a)

15 years agolibreplace: merge getaddrinfo.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4

metze
(cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43)
(This used to be commit 2f43e282e0fa723dd62e3b28e529c6eb01ef5b8a)

15 years agolibreplace: merge socketpair.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4

metze
(cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)
(This used to be commit 9aa0f6626d6a69ceeb8bb4ea71ea3d4a6157d101)

15 years agolibreplace: merge inet_pton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4

metze
(cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d)
(This used to be commit b078ae2b56c9a932655ef619a7af5ce0aeb904dd)

15 years agolibreplace: merge inet_ntop.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4

metze
(cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)
(This used to be commit 438ddd9c81e74e3042154cf5f0416043ee6a8c35)

15 years agolibreplace: merge inet_aton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4

metze
(cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f)
(This used to be commit 7669daa9f536b73a0b933a3d3fcac68c1771dc15)

15 years agolibreplace: merge inet_ntoa.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4

metze
(cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0)
(This used to be commit 09632f9694599e626e889e54310383878c51413f)

15 years agolibreplace: merge socket.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4

metze
(cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)
(This used to be commit c48b2d8679dd139323936af68b48707c5a9f500c)

15 years agoFix typo.
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
Fix typo.
(cherry picked from commit bd089818a3182698dfe85039c1b2e22d8c2835bb)
(This used to be commit 6f5f736867a3c5b8c7e6f4e73b031e36783ed1bc)

15 years agoAdd undefined symbol flag for AIX.
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161)
(This used to be commit 104316884576a2d904d9d8b2d7c1e0dc80817b66)

15 years agolibreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build

metze
(cherry picked from commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)
(This used to be commit a3d675a7738cc04bb765064a060780198721d94a)

15 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:20:38 +0000 (17:20 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(This used to be commit 0c9b24e1e75c5c10d3f3baafb80c5c27bb7e4c78)

15 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(cherry picked from commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
(This used to be commit 0987c32645e4851badab4c1daffb4ee7982ea153)

15 years agolibreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro

Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step

metze
(cherry picked from commit 55a904b1d7aeca849d450e371b18afca5b0c6218)
(This used to be commit 2a3ddc23cc8d050dfe5b4e1c0e139a7c97cc3b59)

15 years agolibreplace: always provide utime() and utimes()
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()

I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.

If someone knows how to write a portable replacement
for futimes() please tell me...

metze
(cherry picked from commit a9604fe4a323dccb537cf02ea7594437b4995803)
(This used to be commit 8a241cf150fba787c82cbcb03730083ced442fbb)

15 years agopackaging: re-introduce Release numbering ".ctdb.<number>"
Michael Adam [Thu, 15 May 2008 23:39:12 +0000 (01:39 +0200)]
packaging: re-introduce Release numbering ".ctdb.<number>"

This got accidentially (?) replaced by .ctdb.test.<date>".

Michael
(cherry picked from commit be62d594bc2b680dfefb4a5050d033b77c08154b)
(This used to be commit f8883107499ca48db9b0e63718d1d8e384535833)

15 years agopackaging: enable calling RHEL-CTDB/makerpms.sh from other directories
Michael Adam [Thu, 15 May 2008 23:26:47 +0000 (01:26 +0200)]
packaging: enable calling RHEL-CTDB/makerpms.sh from other directories

Michael
(cherry picked from commit 05168aaa8dba85ecc1b74afacdd4d5ddc5825cfa)
(This used to be commit 7de8666c722be5dce8520f34a0823eb8767ab5d5)

15 years agopackaging: fix RHEL-CTDB build by removing duplicate winbind-32bit paragraphs
Michael Adam [Thu, 15 May 2008 23:02:56 +0000 (01:02 +0200)]
packaging: fix RHEL-CTDB build by removing duplicate winbind-32bit paragraphs

Michael
(cherry picked from commit 29d5a68d95f656d5ca61edc4a10ec8b028597bb5)
(This used to be commit 9e7466466d216f99582b03431d5c39875c574470)

15 years agopackaging: use git-archive in RHEL-CTDB/makerpms.sh
Michael Adam [Thu, 15 May 2008 22:52:46 +0000 (00:52 +0200)]
packaging: use git-archive in RHEL-CTDB/makerpms.sh

(instead of using tar and make distclean and ...)

Michael
(cherry picked from commit 3ad0f2212720eb5fb33794c033a60f5ea4428c2c)
(This used to be commit 161e7c32caf5d4fee23e1f9c5e8ea871ad2aa57e)

15 years agopackaging: use docs tarball instead of docs dir in makerpms / samba.spec
Michael Adam [Thu, 15 May 2008 22:37:12 +0000 (00:37 +0200)]
packaging: use docs tarball instead of docs dir in makerpms / samba.spec

Michael
(cherry picked from commit f28a24d5eac2dcf99e1d00c2daf913dd9912eb4a)
(This used to be commit 5148e99d0951245632650784d18306db74ed87bd)

15 years agopackaging: add a comment explaining EXTRA_OPTIONS to the makerpms script
Michael Adam [Thu, 15 May 2008 22:19:59 +0000 (00:19 +0200)]
packaging: add a comment explaining EXTRA_OPTIONS to the makerpms script

Michael
(cherry picked from commit 0defc2c60f2ca469d7538c60b7638150c67feb33)
(This used to be commit bccf4da9895afc560ac59ac7ee923b4c5d940d09)

15 years agopackaging: fix a comment typo in makerpms script.
Michael Adam [Thu, 15 May 2008 22:15:31 +0000 (00:15 +0200)]
packaging: fix a comment typo in makerpms script.

Michael
(cherry picked from commit 6044373d69ae8cb0353e7a03e923462a093da5f0)
(This used to be commit 95681f066dc070d6552455aabbb27e5487450c5c)

15 years agomerge build changes from Mathias
Andrew Tridgell [Fri, 9 May 2008 11:35:08 +0000 (21:35 +1000)]
merge build changes from Mathias
(cherry picked from commit 2c08939f3db19eaaf31cb117e3d541d17a36da5e)
(This used to be commit fec017125ce7b4a3ec87c0fc2ba77c570cf57074)

15 years agonet rpc registry: fix getvalueraw to really print raw...
Michael Adam [Thu, 15 May 2008 16:06:23 +0000 (18:06 +0200)]
net rpc registry: fix getvalueraw to really print raw...

Michael
(This used to be commit db933ae1a9877b3485506fc8f0ecae2f2bd8a41f)

15 years agonet rpc registry: add a getvalueraw subcommand.
Michael Adam [Thu, 15 May 2008 14:49:25 +0000 (16:49 +0200)]
net rpc registry: add a getvalueraw subcommand.

Michael
(This used to be commit 5b5b29302b53c31256dfa2fdefead458cb14c560)

15 years agonet rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()
Michael Adam [Thu, 15 May 2008 14:07:06 +0000 (16:07 +0200)]
net rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()

and wrap it into new rpc_registry_getvalue_full() for the getvalue subcommand.

Michael
(This used to be commit 9ee5ddb96360987675963d629f98051bf34e3031)

15 years agonet rpc registry: fix usage message of getvalue.
Michael Adam [Thu, 15 May 2008 12:38:01 +0000 (14:38 +0200)]
net rpc registry: fix usage message of getvalue.

Michael
(This used to be commit 5dedde7a5b01d47947a8ff49a57e729fe5bfc817)

15 years agonet registry: add a getvalueraw command to print the value in raw format.
Michael Adam [Thu, 15 May 2008 12:35:45 +0000 (14:35 +0200)]
net registry: add a getvalueraw command to print the value in raw format.

Michael
(This used to be commit b7e8a3f1caf54145d750209f2e14b5b54c61769b)

15 years agonet registry: refactor core of net_registry_getvalue() out
Michael Adam [Thu, 15 May 2008 12:34:21 +0000 (14:34 +0200)]
net registry: refactor core of net_registry_getvalue() out

into net_registry_getvalue_internal(), which takes a bool parameter "raw"
controlling the output format.

Michael
(This used to be commit 889e19303e141e226898f837a637a2d591c75ad9)

15 years agonet_registry: add raw output of value to print_registry_value().
Michael Adam [Thu, 15 May 2008 10:55:54 +0000 (12:55 +0200)]
net_registry: add raw output of value to print_registry_value().

Michael
(This used to be commit 340a706422cbca45cc63fa94d36c88f6751f4f31)

15 years agonet: Fix net lookup dsgetdcname, no need to pull site ourselves.
Günther Deschner [Thu, 15 May 2008 15:00:31 +0000 (17:00 +0200)]
net: Fix net lookup dsgetdcname, no need to pull site ourselves.

Guenther
(This used to be commit 954d0998c2c00140addb6ba3845e80ed91e4effc)

15 years agodsgetdcname: add site support.
Günther Deschner [Thu, 15 May 2008 14:59:46 +0000 (16:59 +0200)]
dsgetdcname: add site support.

Guenther
(This used to be commit e305368538eaa72e3008a5517db3708936924297)

15 years agodsgetdcname: check for invalid sitename/flag combinations.
Günther Deschner [Thu, 15 May 2008 14:41:18 +0000 (16:41 +0200)]
dsgetdcname: check for invalid sitename/flag combinations.

Guenther
(This used to be commit 255e509474cae92802e90613ccaddb6627ee77cd)