summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-14Fix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we ↵Jeremy Allison1-3/+3
call : CatchChild(); *before* we fork the domain child. This call establishes a signal handler that eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon SIGCLD handler should do. This causes the parent to ignore dead children and time out, instead of calling winbind_child_died() on receipt of the signal. The correct fix is to move the CatchChild call into the child code after the fork. Jeremy. (This used to be commit 8d701a142be2b75dc30ad215bc178af902eb4af9)
2008-05-14Ensure we don't keep searching for sharename if it'sJeremy Allison1-3/+3
not the start of the list. Jeremy. (This used to be commit 15857534b76bc66ad122510100aa224f17250465)
2008-05-14configure: Kill linker warnings about 32bit libs on 64bit Linux.Kai Blin1-1/+1
(This used to be commit 9a40cbd66f71c49af4c72ed826d66c5f037a3171)
2008-05-14dsgetdcname: In case we didn't get a mailslot reply, don't cache the nodestatus.Günther Deschner1-1/+3
Guenther (This used to be commit 12e47be02f93e2f41af5772f6a83568b3574d032)
2008-05-14mailslot: Also pick domain name and pdc name from type 15 cldap reply.Günther Deschner1-1/+22
Guenther (This used to be commit 836877c4005ba081c0a4cc97726830d6dbd62d34)
2008-05-14AFS: The dummy afs_createtoken_str should return NULL, not False.Kai Blin1-1/+1
(This used to be commit c84d49429191423a81d558042fe949c26f5de5fe)
2008-05-13Merge branch 'v3-3-test' of git://git.samba.org/samba into 3.3-testJim McDonough2-8/+63
(This used to be commit 6dd44ebf22762e852b43e7dbcd095a58cc45abad)
2008-05-13Fix debug message.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 08d168f0e5b8fb07e95a5118a839e0da53e9d363)
2008-05-13Second part of patch for bug #5460. Cope with pathnamesJeremy Allison1-15/+39
that don't look like \xxx\yyy, cope with arbitrary length. Jeremy. (This used to be commit 635035d999fcd8e06b70c8cb1137127c289dc9e6)
2008-05-13Fix bug #5460. The problem is RHEL5.0 shipped a CIFS clientJeremy Allison2-2/+33
that sets the DFS bit on pathnames but doesn't send DFS paths. This causes lookups to fail as the smbd/msdfs.c code now just eats the first two parts of the pathname and uses the rest as the local path. The previous hostname check used to protect us from that as we knew that when the hostname was invalid it was a local path (and a broken client). I didn't want to put that check back in, but came up with another idea - even though the hostname can be a different one, the sharename must be valid on this machine. So we can check for a valid sharename instead. Jeremy. (This used to be commit e1cda82f6f7de3306a653af920756c1640057f2d)
2008-05-13Enable winbind child processes to do something with signals,Jim McDonough2-12/+27
in particular closing and reopening logs on SIGHUP. Conflicts: source/winbindd/winbindd.c (This used to be commit 0f7b11accec7df1c0e9a9dc0828a5e0c5ddec4cb)
2008-05-13libwbclient: Abstract the DS_XXX flags for DsGetDcName().coffeedude2-1/+46
The wbcLookupDomainController() call supports a set of flags defined in wbclient.h. Add a mapping function between these flags and the original DS_XXX flags in order to prevent having to include the generated RPC headers in wbclient.h. (This used to be commit 31614cd5e08dd6389c66e6ddf9f2d5429c6ab033)
2008-05-13libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().coffeedude4-3/+159
Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME ops. (This used to be commit cb5e8f60ac3313aec726c01687a040e6e0e42c10)
2008-05-13Fix signing problem in the client with transs requestsVolker Lendecke1-0/+3
This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other branches with different hashes. Jeremy, I think your fix led to bug 5436, so I reverted your fix. This fixes the original problem I found with the transs requests for large rpc queries in a different way. Please check! Thanks, Volker (This used to be commit c572d537e088a3fffb057181cad9a3692e40b815)
2008-05-13Revert "Fix signing bug found by Volker. That one was *subtle*."Volker Lendecke2-5/+88
This reverts commit 816aea6c1a426eb2450061b847729e22bdac33a0. (This used to be commit e402e6508ca0806deef4c4044cfa6461b682850a)
2008-05-13tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.Karolin Seeger1-1/+4
Improve error message if no SMB4TORTURE is available. Karolin (This used to be commit 443691eb2614919043406f94e9c71b49230612d5)
2008-05-13man pages: Correct version string.Karolin Seeger33-33/+33
As Samba 3.2 will be out soon, man pages should be correct for both versions, Samba 3.0 and 3.2. Karolin (This used to be commit 9c59c1895d8d3621f38b67ecf88109c81130c886)
2008-05-12net ads: Upper case he realm name when calling kinit() using machine creds.coffeedude1-0/+1
Needed fix for the DNS Update option as part of "net ads join" (This used to be commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)
2008-05-11Make sure we have serversupplied_info->sanitized_username everywhereVolker Lendecke1-10/+53
(This used to be commit 88423a17b966652eba4085e88f7ddb5c86b463dd)
2008-05-11With force user, we have the same base token for all vuidsVolker Lendecke1-1/+9
(This used to be commit 0f19bc3f65bfc132aea1de1e76fcb4ee625a050f)
2008-05-11Fix a memleak in new auth_serversupplied codeVolker Lendecke1-1/+2
(This used to be commit f23e970848b6e6655453fa65f6f160f624acfcff)
2008-05-10Fix a memleakVolker Lendecke1-5/+0
(This used to be commit 9891c7c30858a3bea9adbea1c5bfa5c6b1b85221)
2008-05-10Remove "user" from connection_structVolker Lendecke14-33/+42
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
2008-05-10Add a comment explaining server_info in connection_structVolker Lendecke1-0/+4
(This used to be commit 35438a940734340d5d6389ae0551fe3c25902f93)
2008-05-10Remove the unix token info from connection_structVolker Lendecke9-33/+30
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
2008-05-10Replace nt_user_token with server_info in connection_structVolker Lendecke4-55/+34
(This used to be commit a3738aef59e97d4533010b048534d937d36c0950)
2008-05-10Empty some nonempty blank linesVolker Lendecke1-18/+18
(This used to be commit 1a406def02bf171b223467d6b76317586d6205fc)
2008-05-10Use TALLOC_ZERO_P instead of separate ZERO_STRUCTP in dup_nt_tokenVolker Lendecke1-3/+1
(This used to be commit 124a2c71852f39fcfe62ea19a5a8d25638d47400)
2008-05-10Make use of talloc_tos() in change_to_user()Volker Lendecke1-1/+1
(This used to be commit c4bed3a48b86d44ad641250add2fc189af7e72f5)
2008-05-10Next try at making the vuid cache circularVolker Lendecke3-11/+14
Jeremy, please check! (This used to be commit a34f73521712e3820d417f0d9ed811723b7681d6)
2008-05-10find_forced_group can directly change the token in server_infoVolker Lendecke1-72/+16
Now that we have a token that is correctly set up with gids already, this saves manual translation of the SIDs to GIDs. (This used to be commit 6136a6d9d7301c65f37e2bf485681138cddd8bd2)
2008-05-10Add an error return in find_forced_group()Volker Lendecke1-0/+5
(This used to be commit 93ce0705c14f222bda3e6204f4b54ba1893f33e1)
2008-05-10Do not unnecessarily mess with the results in find_forced_group()Volker Lendecke1-3/+0
(This used to be commit 6d9860d09b54c61625f011c2d56d710aa59d7686)
2008-05-10Replace find_forced_user by a direct call to make_serverinfo_from_usernameVolker Lendecke1-37/+26
(This used to be commit 7991e6764b4187ba86802569dfdc5816e6137f78)
2008-05-10Simplify make_connection_snum: Copy connection_struct info from server_infoVolker Lendecke1-13/+11
(This used to be commit 5aa3cdf355c179d89c2703f528919194ab084337)
2008-05-10Add "server_info" to connection_structVolker Lendecke2-97/+25
This will replace all the user identity stuff in connection_struct, for now it is just a source where the other fields in connection_struct are filled from. (This used to be commit 0f53f9e7db9f99f239c4d0950452d0e2cde2ae8b)
2008-05-10Remove unused "force_group" from connection_structVolker Lendecke2-2/+0
(This used to be commit 03944f8d8934cff74e19fc036f7611c1491e0d57)
2008-05-10"status" -> "pstatus" in make_connection_snumVolker Lendecke1-42/+38
(This used to be commit 3ce395e61e931a77c5d2f52f39c7e3f71a9605a9)
2008-05-10Add create_connection_server_info() -- not used yetVolker Lendecke1-0/+76
(This used to be commit 50bf075f7556fd09e0081175c31a5020a8eaf4d6)
2008-05-10Add function make_serverinfo_from_username()Volker Lendecke1-0/+38
This will be used for 'security=share' and 'force user' (This used to be commit 88e43097cafcd2849d9f1200a377357fde4cce99)
2008-05-10Add a mem_ctx argument to make_server_info_guest()Volker Lendecke3-8/+9
(This used to be commit e4a9492967f3d2b64f27943f99414608e0c03d21)
2008-05-10Make copy_serverinfo non-static, add mem_ctxVolker Lendecke1-3/+4
(This used to be commit a3651ced9e0859578df8cc44da64e7a8066bde76)
2008-05-10Fix the build with DNS_UPDATESVolker Lendecke1-1/+1
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)
2008-05-10net: more whitespace cleanupKai Blin16-795/+795
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin30-1478/+1772
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10net: Some whitespace clean-up.Kai Blin2-40/+40
(This used to be commit 4dcce8b653671c8ce907f8353df1db8a5c8f8e19)
2008-05-10net: Fix usage string.Kai Blin1-1/+1
(This used to be commit e3470e9a1b19c239d6fa576f8c8c1a5a5c3b5d3c)
2008-05-10packaging: remove references to smbmount and friends from samba-ctdb spec fileMichael Adam1-13/+0
Michael (This used to be commit 66c4d58f38557df618f026ddb661190dc02af719)
2008-05-10packaging: fix GPL version in samba-ctdb specfile.Michael Adam1-1/+1
Michael (This used to be commit 35543d8815b004d3b29771f07998ee7ee820b567)
2008-05-10packaging: rename RHEL4-CTDB --> RHEL-CTDBMichael Adam15-0/+0
Michael (This used to be commit 711af98d2ce708421a413fe46a386ea9e19d2517)