1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

24344 Commits

Author SHA1 Message Date
Stefan Metzmacher
3b6b2f26fc configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze
(This used to be commit e94ff756be)
2008-05-22 13:02:59 +02:00
Stefan Metzmacher
5797e33b81 libreplace: add test for HAVE_IPV6
Samba can later just check libreplace_cv_HAVE_IPV6 = yes.

metze
(cherry picked from commit e835e7eebc)
(This used to be commit 1ca4508f3a)
2008-05-22 13:02:58 +02:00
Michael Adam
a8045b1339 rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.
Slim the interface...

Michael
(This used to be commit 9971118c23)
2008-05-22 11:30:04 +02:00
Michael Adam
5a2206f254 torture: add a test program rpc_open_tcp() to test the rpc_pipe_open_tcp() func.
This is still very raw and has yet to be integrated into the test suite.

Michael
(This used to be commit 3ec3ab4e53)
2008-05-22 11:30:03 +02:00
Michael Adam
b398a96b09 rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().
Michael
(This used to be commit f7db445c82)
2008-05-22 11:29:57 +02:00
Kai Blin
59a6b2df74 client: Fix the proto header to fix the build.
(This used to be commit 9e39ac1cc3)
2008-05-22 09:43:50 +02:00
Volker Lendecke
44fbd895e8 Compile endpoint mapper pidl output
(This used to be commit fe8f9e427a)
2008-05-21 23:35:26 +02:00
Volker Lendecke
36e94197d0 rpc_client: add a destructor to close the socket for pipes over tcp.
used in rpc_pipe_open_tcp() and rpc_pipe_open_ncalrpc().
(This used to be commit a0bdd56c75)
2008-05-21 23:35:26 +02:00
Volker Lendecke
e8d25443c1 Add client support for NCACN_UNIX_STREAM
(This used to be commit 24ac40518f)
2008-05-21 23:35:25 +02:00
Volker Lendecke
78022953e7 rpccli_schannel_bind_data only needs the schannel key
(This used to be commit be5d54a363)
2008-05-21 23:35:25 +02:00
Volker Lendecke
ec70996fc7 Rename rpc_pipe_client.tcp.sock to rpc_pipe_client.sock.fd
(This used to be commit 2ff908a902)
2008-05-21 23:35:24 +02:00
Volker Lendecke
9a6b1f4b5f Fix a comment
(This used to be commit 8ae39c1339)
2008-05-21 23:35:24 +02:00
Jeremy Allison
b04bcefc58 Fix bug #5479, print spool shares require max_xmit to
be adhered to.
Jeremy.
(This used to be commit 478a359ede)
2008-05-21 12:39:08 -07:00
Jelmer Vernooij
20796bcf57 Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into docbook
Conflicts:

	source/Makefile.in
(This used to be commit 01987778a1)
2008-05-21 18:04:47 +02:00
Jelmer Vernooij
f5364a786c Add double-colon where it makes sense.
(This used to be commit 256200e951)
2008-05-21 17:57:20 +02:00
Jeremy Allison
1a416ff13c 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 bda0f03fb3)
2008-05-20 14:18:58 -07:00
Volker Lendecke
c38a1e06b5 Fix type error in debug message
(This used to be commit eb281532b1)
2008-05-20 23:08:42 +02:00
Volker Lendecke
e2d8b0a792 Fix some signed/unsigned warnings
(This used to be commit dbb4d8107a)
2008-05-20 23:06:38 +02:00
Tim Prouty
fb37f15600 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 6b189dabc5)
2008-05-20 22:40:13 +02:00
Volker Lendecke
6ed27edbcd 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 80e700e3bd)
2008-05-20 21:59:44 +02:00
Jeremy Allison
8ca459e067 Fix bug #5477 - recvfile code was broken.
Jeremy.
(This used to be commit 830337f054)
2008-05-20 12:09:48 -07:00
Volker Lendecke
e84026a29b 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 f845dbbcee)
2008-05-20 18:38:31 +02:00
Günther Deschner
7aa839bba0 Fix typo.
Guenther
(cherry picked from commit d3dd7ea5a7)
(This used to be commit 68d6b0053f)
2008-05-20 17:51:48 +02:00
Volker Lendecke
6a286a7bf4 Fix a valgrind error in _samr_LookupNames
(cherry picked from commit fb0a25d59d)
(This used to be commit 89f87efa23)
2008-05-20 17:51:38 +02:00
Kai Blin
0210f7af91 net: The top level help function for net cmd is always net_cmd_usage
(This used to be commit f7d0903a58)
2008-05-20 14:28:12 +02:00
Kai Blin
89cd35d054 net: Move help for "net status" to net_status.c
(This used to be commit d26681b169)
2008-05-20 14:28:07 +02:00
Kai Blin
1634bd92ea net: Move printer help to net_rpc where it's used.
(This used to be commit 2ee3d1aefa)
2008-05-20 14:28:03 +02:00
Kai Blin
f9a6d1f264 net: Split out "net share"
(This used to be commit 25d4c6f692)
2008-05-20 14:28:01 +02:00
Kai Blin
00f6ad7b5a net: Split out "net afs"
(This used to be commit 3f10527f79)
2008-05-20 14:27:56 +02:00
Kai Blin
b596529041 net: Move more utility functions into net_util.c
(This used to be commit 0f5ebdf0bc)
2008-05-20 14:27:53 +02:00
Kai Blin
c9ca6092fe net: Split out "net file"
(This used to be commit 84a116be9c)
2008-05-20 14:27:47 +02:00
Kai Blin
007f0e19dc net: Split out "net group"
(This used to be commit 3ddd9c09e3)
2008-05-20 14:27:40 +02:00
Kai Blin
572de942c7 net: Split out "net user"
(This used to be commit 4ca08a5acc)
2008-05-20 14:27:27 +02:00
Kai Blin
666292129b net: Move "net join" handling into a separate file.
(This used to be commit d0237a7368)
2008-05-20 14:27:24 +02:00
Kai Blin
45653bd1b1 net: Split out common help functions.
(This used to be commit efc863e375)
2008-05-20 14:27:21 +02:00
Kai Blin
cd4f941e84 net: more whitespace cleanup
(This used to be commit 1813e545a9)
2008-05-20 14:27:12 +02:00
Kai Blin
16938883e6 net: Use true/false instead of True/False.
(This used to be commit a8b567aac3)
2008-05-20 14:27:08 +02:00
Karolin Seeger
bdcc7ddc1e 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 1429f3b7cf)
2008-05-20 11:09:06 +02:00
Jeremy Allison
ce4145319e Remove conn_find_byname now it's no longer used in
the msdfs.c code.
Jeremy
(This used to be commit 54556df561)
2008-05-19 17:19:18 -07:00
Jeremy Allison
c7f5d24d81 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 8a7c6df122)
2008-05-19 13:11:00 -07:00
Volker Lendecke
3a0437623e 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 9d52cf3f93)
2008-05-19 15:28:10 +02:00
Volker Lendecke
266cdce580 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 cb065a8995)
2008-05-19 14:56:15 +02:00
Volker Lendecke
dc2e8823d2 If no node number is given, default to the current node in smbcontrol
(This used to be commit b4b3b6b1c6)
2008-05-19 14:56:15 +02:00
root
fc3e6851d3 Fix some comments to match get_kdc_ip_string()'s behaviour
(This used to be commit 30956c784f)
2008-05-19 12:08:52 +02:00
Michael Adam
78b8417930 build: remove the proto_exists target - it is not needed anymore.
Michael
(This used to be commit 35f4df7ab8)
2008-05-19 01:23:17 +02:00
Michael Adam
aef2828831 build: remove the "delheaders" target.
Michael
(This used to be commit 0fe47c3c76)
2008-05-19 01:23:06 +02:00
Michael Adam
cf6f4cfefa build: remove "headers" and "proto" make targets.
Replace "proto" target by a message.

Michael
(This used to be commit 16fb26d73a)
2008-05-19 00:51:45 +02:00
Michael Adam
be175e274e build: remove mkproto.sh and mkproto.awk
Michael
(This used to be commit 5f2983209f)
2008-05-18 23:39:15 +02:00
Michael Adam
76977cbf6a build: remove reference to mkproto.sh from Makefile
No generated prototypes anymore...

Michael
(This used to be commit 4c7362f2b7)
2008-05-18 23:37:10 +02:00
Michael Adam
04da4453ab libnet: freeze libnet_proto.h from "make proto"
Michael
(This used to be commit b455cd1a61)
2008-05-18 23:35:42 +02:00