1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
Commit Graph

28736 Commits

Author SHA1 Message Date
Jeremy Allison
ac65ed4aad Arggh. Got the path/user the wrong way around. IDL is correct :-).
Jeremy.
(This used to be commit 2281274480)
2008-05-22 14:36:09 -07:00
Jeremy Allison
537dc11bf4 Fix 2 bugs with displaying open file state. Firstly
the IDL is documented incorrectly in the MS-DOCS.
Username and path need to be reversed (yes I will
raise this with MS). Secondly, we need to check
access_mask for the permissions, not share_access
(share_access are the deny modes).
Jeremy.
(This used to be commit bdaad19f90)
2008-05-22 14:28:13 -07:00
Jeremy Allison
cfde5c8d47 Get rid of "shadowed local var" warnings with gcc.
Jeremy.
(This used to be commit 0bc18967aa)
2008-05-22 14:19:14 -07:00
Steven Danneman
96653e1ff7 Make WINBINDD_LIST_GROUPS handler asynchronous.
Previously WINBINDD_LIST_GROUPS requests (ex: wbinfo -g) were handled by the
winbindd parent process in a sequential fashion.  This patch, delegates the work
to the winbindd children so that the request is handled much faster in large
domain topologies, and doesn't block the parent from receiving new requests.

The core group enumeration and conversion that was handled in
winbindd_list_groups() has been moved into winbindd_dual_list_groups() to be
done by the child.

The parent winbindd_list_groups() simply calls each of the children
asynchronously.

listgroups_recv() aggregates the final group list that will be returned to the
client and tracks how many of the children have returned their lists.

The domain name of the child is passed back through the callbacks to be used in
debugging messages.

There are also several fixes to typos in various comments.
(This used to be commit 037b9689d9)
2008-05-22 13:55:57 -05:00
Stefan Metzmacher
f6a70e0249 library-versions: use the same version for talloc and tdb as for the standalone builds
metze
(This used to be commit 87fa2f4a28)
2008-05-22 16:16:47 +02:00
Stefan Metzmacher
b54f34bb33 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
metze
(cherry picked from commit 84b5652d3e)
(This used to be commit b28b63c911)
2008-05-22 15:04:32 +02:00
Stefan Metzmacher
033ec7fbf5 configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET
metze
(This used to be commit d53b589deb)
2008-05-22 13:02:59 +02:00
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
Michael Adam
b389233e79 packaging: disable cups in the RHEL-CTDB build.
Michael
(cherry picked from commit de76543b45a97e41939b50ba7efdc6e4e66ea737)
(This used to be commit c81d553742)
2008-05-21 23:35:24 +02:00
Michael Adam
754166a67b packaging: we are at release ctdb.27 in RHEL-CTDB.
Michael
(cherry picked from commit 6e66a0017f9429fb8b3d1757969074be260215e1)
(This used to be commit 1cbb46e2e2)
2008-05-21 23:35:23 +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
323be4a690 Use double colon targets.
(This used to be commit 825cf91fa8)
2008-05-21 17:57:30 +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
Jelmer Vernooij
0f3ba4b766 Add test target in Makefile.
(This used to be commit ac0d768676)
2008-05-21 17:56:34 +02:00
Jelmer Vernooij
70f52c06ba Make the make output a bit less chatty.
(This used to be commit 1fa4ef553c)
2008-05-21 17:56:31 +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
a84c7455ae man pages: Remove man page for 'mangled map'.
'mangled map' has been removed with dee8beba7a.

Karolin
(cherry picked from commit d9b4e50067)
(This used to be commit 48bf0b42a7)
2008-05-20 11:21:54 +02:00