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

28717 Commits

Author SHA1 Message Date
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
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
Karolin Seeger
2e779c3562 man pages: Add documentation for new cluster parameters.
Karolin
(This used to be commit 029875d8c9)
2008-05-20 11:07:08 +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
Michael Adam
20e9c5bea1 build: freeze passwd_proto.h from "make proto"
Michael
(This used to be commit 00cff30107)
2008-05-18 23:33:20 +02:00
Michael Adam
b189fe9154 net: freeze net_proto.h from "make proto"
Michael
(This used to be commit 673b24052a)
2008-05-18 23:31:42 +02:00
Michael Adam
beca01f402 ntlm_auth: freeze ntlm_auth_proto.h from "make proto"
Michael
(This used to be commit 35a517315b)
2008-05-18 23:29:01 +02:00
Michael Adam
7a1b7a14e4 smbclient: freeze client_proto.h from "make proto"
Michael
(This used to be commit f8c0710165)
2008-05-18 23:26:51 +02:00
Michael Adam
611c96d078 swat: freeze swat_proto.h from "make proto"
Michael
(This used to be commit 372c58cc22)
2008-05-18 23:16:38 +02:00