summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
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)
2008-05-20Fix bug #5477 - recvfile code was broken.Jeremy Allison2-8/+14
Jeremy. (This used to be commit 830337f054a6c0646d85df33d9958e99283e727a)
2008-05-20Fix memcache_flush()Volker Lendecke1-5/+34
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)
2008-05-20Fix typo.Günther Deschner1-1/+1
Guenther (cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926) (This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)
2008-05-20Fix a valgrind error in _samr_LookupNamesVolker Lendecke1-5/+8
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d) (This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin7-55/+37
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Move help for "net status" to net_status.cKai Blin3-13/+14
(This used to be commit d26681b169a533f838f74d48af072b57afc9f8df)
2008-05-20net: Move printer help to net_rpc where it's used.Kai Blin3-34/+27
(This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
2008-05-20net: Split out "net share"Kai Blin7-51/+86
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20net: Split out "net afs"Kai Blin7-86/+139
(This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)
2008-05-20net: Move more utility functions into net_util.cKai Blin3-502/+503
(This used to be commit 0f5ebdf0bc5610bf93a4db67c9f9513683306c66)
2008-05-20net: Split out "net file"Kai Blin7-29/+66
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20net: Split out "net group"Kai Blin8-39/+75
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin8-40/+77
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20net: Move "net join" handling into a separate file.Kai Blin5-25/+61
(This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)
2008-05-20net: Split out common help functions.Kai Blin6-35/+105
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
2008-05-20net: more whitespace cleanupKai Blin1-5/+5
(This used to be commit 1813e545a99545575babe126386c8caca00aab8f)
2008-05-20net: Use true/false instead of True/False.Kai Blin15-203/+203
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-20man pages: Remove man page for 'mangled map'.Karolin Seeger1-33/+0
'mangled map' has been removed with dee8beba7a92b8a3f68bbcc59fd0a827f68c7736. Karolin (cherry picked from commit d9b4e500675a378daba50d12cd638a245aa78b72) (This used to be commit 48bf0b42a7d3829d476a50b4f6f80022279b4e49)
2008-05-20sesssetup.c: Add debug message.Karolin Seeger1-0/+3
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)
2008-05-20man pages: Add documentation for new cluster parameters.Karolin Seeger3-0/+50
Karolin (This used to be commit 029875d8c9b2f9448f5299faaa3a48e8bccbca53)
2008-05-19Remove conn_find_byname now it's no longer used inJeremy Allison1-1/+0
the msdfs.c code. Jeremy (This used to be commit 54556df561d03d30b2fc21b9eaabe56b8c758301)
2008-05-19Restructuring of code to fix #5460. Remove searchJeremy Allison2-38/+12
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)
2008-05-19Convert messages_local.c to use "struct tdb_wrap"Volker Lendecke1-15/+17
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)
2008-05-19Don't block smbcontrol online/offline if !"winbind offline logons"Volker Lendecke1-14/+0
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)
2008-05-19If no node number is given, default to the current node in smbcontrolVolker Lendecke1-1/+1
(This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded)
2008-05-19Fix some comments to match get_kdc_ip_string()'s behaviourroot1-1/+7
(This used to be commit 30956c784f58870ad552a3869d80f99872c31375)
2008-05-19build: remove the proto_exists target - it is not needed anymore.Michael Adam1-11/+3
Michael (This used to be commit 35f4df7ab86a1b0a920003398043f0b77c75b0a8)
2008-05-19build: remove the "delheaders" target.Michael Adam1-6/+3
Michael (This used to be commit 0fe47c3c76eb15fee62115f7f21b77bd9e3236c7)
2008-05-19build: remove "headers" and "proto" make targets.Michael Adam1-10/+6
Replace "proto" target by a message. Michael (This used to be commit 16fb26d73a2bf3520e3b4e6c6bead7321bf41fd3)
2008-05-18build: remove mkproto.sh and mkproto.awkMichael Adam2-217/+0
Michael (This used to be commit 5f2983209fb2c8e2ceafde6136c40a59b38f3a68)
2008-05-18build: remove reference to mkproto.sh from MakefileMichael Adam1-2/+0
No generated prototypes anymore... Michael (This used to be commit 4c7362f2b7ec5e6a60c96925e2c877c5a99a51bc)
2008-05-18libnet: freeze libnet_proto.h from "make proto"Michael Adam3-10/+47
Michael (This used to be commit b455cd1a619a1f1922e2e7bc07f1af246e3201e6)
2008-05-18build: freeze passwd_proto.h from "make proto"Michael Adam3-8/+33
Michael (This used to be commit 00cff301071fe2670e8358195b937de49aa2aa14)
2008-05-18net: freeze net_proto.h from "make proto"Michael Adam3-9/+475
Michael (This used to be commit 673b24052a6864579683e9adb56522a12447abca)
2008-05-18ntlm_auth: freeze ntlm_auth_proto.h from "make proto"Michael Adam3-9/+50
Michael (This used to be commit 35a517315b83aa7ccea34ec725b15c04ceb5e70e)
2008-05-18smbclient: freeze client_proto.h from "make proto"Michael Adam3-9/+459
Michael (This used to be commit f8c0710165ee1ede46d7ed34daa5564d20d3f069)
2008-05-18swat: freeze swat_proto.h from "make proto"Michael Adam3-9/+70
Michael (This used to be commit 372c58cc220efc01af4b90b82b75191296a62e81)
2008-05-18winbindd: freeze winbindd_proto.hMichael Adam3-9/+585
Michael (This used to be commit 467b8f0f4d58fc00d07264c651016087bd00b233)
2008-05-18build: freeze proto.hMichael Adam3-10/+10477
Michael (This used to be commit ff7f0cad2eb108daa61a910cd9171ab0811a5f60)
2008-05-18configure: Fix comment to match the current iconv check.Kai Blin1-1/+5
(This used to be commit 5d9963479fa31783522d68cdbc8876613a3d1774)
2008-05-17Factor out generation of an info3 struct from a serversupplied_infoVolker Lendecke2-183/+185
(This used to be commit e60faccc1bdd2b80e039ec8c93683be10752f937)
2008-05-17configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the testsStefan Metzmacher1-37/+3
metze (This used to be commit 6b782b58971cbbe56ead5d7e8db6eb8c3526e8ee)
2008-05-17configure: remove some header checks which are already done by ↵Stefan Metzmacher1-4/+3
AC_LIBREPLACE_NETWORK_CHECKS metze (This used to be commit d81e58597e0ecdcf1ce6d8d71071fbf5d50670c2)
2008-05-17lib/replace: move sys/sockio.h and sys/un.h checks into ↵Stefan Metzmacher2-1/+1
AC_LIBREPLACE_NETWORK_CHECKS metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) (This used to be commit c97ff995e41d1cd31a7169e95ca415078da4a16c)
2008-05-17configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and ↵Stefan Metzmacher1-28/+0
HAVE_UNIXSOCKET and rely on libreplace metze (This used to be commit ca163ff81a3f5d8303d45baa048850dfbc72a6a8)
2008-05-17lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKETStefan Metzmacher1-0/+40
Moved from the samba specific locations metze (cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f) (This used to be commit 951b8c757ada337229a4efe81e6532d15fa0b63a)
2008-05-17configure: remove unused configure check for HAVE_WORKING_AF_LOCALStefan Metzmacher2-103/+0
metze (This used to be commit dddc4f0cef8ea71783fa7f7b68ec9ad3f29f7add)
2008-05-16Simplify fake_file logicVolker Lendecke6-73/+46
(This used to be commit 93111ea0a1191e8547ad6cf112e2699d3bb3799b)
2008-05-16Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().Günther Deschner1-20/+139
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)