Günther Deschner [Wed, 27 Aug 2008 17:16:30 +0000 (19:16 +0200)]
netapi: display all available levels in NetUserGetInfo example.
Guenther
(This used to be commit
814c9a4f663ea354291456407accbc3fe7edccf6)
Günther Deschner [Wed, 27 Aug 2008 17:15:32 +0000 (19:15 +0200)]
netapi: fix public header for USER_INFO_4.
Guenther
(This used to be commit
f54b24c70afb28b6897ce258929ab2c97f255d86)
Günther Deschner [Wed, 27 Aug 2008 17:15:02 +0000 (19:15 +0200)]
re-run make idl.
Guenther
(This used to be commit
9d33627d723c582f723982d090858e01bf5bd8c8)
Günther Deschner [Wed, 27 Aug 2008 17:14:32 +0000 (19:14 +0200)]
netapi: fix IDL for USER_INFO_4.
Guenther
(This used to be commit
ca69c442f2007d46729a6fce920800d25195e946)
Günther Deschner [Wed, 27 Aug 2008 11:54:49 +0000 (13:54 +0200)]
net: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needs
to use netapi as well.
Guenther
(This used to be commit
2f730649b73dcd11734d12921bfdad982fe75717)
Günther Deschner [Wed, 27 Aug 2008 11:47:04 +0000 (13:47 +0200)]
net: use netapi for "net rpc user info" to enumerate user group membership.
Guenther
(This used to be commit
77ecfff216b24b0d4b1ce79bee13c18bffa7b533)
Günther Deschner [Wed, 27 Aug 2008 11:37:56 +0000 (13:37 +0200)]
netapi: implement NetUserGetGroups_r.
Guenther
(This used to be commit
1ed8fefdae85e9b9f2794e502c8c1c41d9ba0615)
Günther Deschner [Wed, 27 Aug 2008 11:14:24 +0000 (13:14 +0200)]
netapi: add NetUserGetGroups example code.
Guenther
(This used to be commit
33e9baeb26a469445b6750c4bd2f00b4140f0554)
Günther Deschner [Wed, 27 Aug 2008 11:13:57 +0000 (13:13 +0200)]
netapi: add NetUserGetGroups to public headers.
Guenther
(This used to be commit
2f95b7d9b5ad513e43d7d41ce9fb87300ec357a8)
Günther Deschner [Wed, 27 Aug 2008 09:55:57 +0000 (11:55 +0200)]
netapi: fix NetUserSetInfo return code for currently unsupported levels.
Guenther
(This used to be commit
10bd55d68a91b76e82c3ba1d113729f97830a46a)
Günther Deschner [Wed, 27 Aug 2008 09:49:55 +0000 (11:49 +0200)]
netapi: add skeleton for NetUserGetGroups.
Guenther
(This used to be commit
a21ec57b2887012777f9580959a37cd23a412029)
Günther Deschner [Wed, 27 Aug 2008 09:48:06 +0000 (11:48 +0200)]
re-run make idl.
Guenther
(This used to be commit
334a90072318407313057b1c2df5e367e957309b)
Günther Deschner [Wed, 27 Aug 2008 09:47:39 +0000 (11:47 +0200)]
netapi: add NetUserGetGroups to IDL.
Guenther
(This used to be commit
4d15d1ff20dee216b2fc064bc19712bd3a9cec70)
Günther Deschner [Wed, 27 Aug 2008 09:19:49 +0000 (11:19 +0200)]
net: use netapi function to set user password.
Guenther
(This used to be commit
f31fd1e112ec6477ae0e0eeeede0317c0cdfcbfd)
Günther Deschner [Wed, 27 Aug 2008 09:14:15 +0000 (11:14 +0200)]
net: use netapi function to list users.
Guenther
(This used to be commit
6bc8e229192f0bdd1154c6dd0901e4c739647c90)
Günther Deschner [Wed, 27 Aug 2008 00:18:30 +0000 (02:18 +0200)]
netapi: support level 1014 in NetUserSetInfo.
Guenther
(This used to be commit
38178965a2f641978b666452f86fdcd258e8709b)
Günther Deschner [Wed, 27 Aug 2008 00:11:54 +0000 (02:11 +0200)]
netapi: support level 1024 in NetUserSetInfo.
Guenther
(This used to be commit
84bc7bf1adcde270ad20bba67345c0beed0b1d66)
Günther Deschner [Wed, 27 Aug 2008 00:02:30 +0000 (02:02 +0200)]
netapi: support level 1051 in NetUserSetInfo.
Guenther
(This used to be commit
8da3b1cacb4ffa7ce8932dc0e9ceb78395d49b98)
Günther Deschner [Tue, 26 Aug 2008 23:53:10 +0000 (01:53 +0200)]
netapi: support level 1053 in NetUserSetInfo.
Guenther
(This used to be commit
039904f601755678fcbdef7d6bdc1c6da0082b83)
Günther Deschner [Tue, 26 Aug 2008 23:47:33 +0000 (01:47 +0200)]
netapi: support level 1052 in NetUserSetInfo.
Guenther
(This used to be commit
ff8dede3b369d39ec5638eec8a73bd6397e3d94b)
Günther Deschner [Tue, 26 Aug 2008 23:44:40 +0000 (01:44 +0200)]
re-run make idl.
Guenther
(This used to be commit
3235ac063bca3805b749ee7ce27028a6828af3e9)
Günther Deschner [Tue, 26 Aug 2008 23:43:52 +0000 (01:43 +0200)]
netapi: add usriX_profile/usriX_home_dir_drive/usriX_primary_group_id to USER_INFO_X in IDL.
Guenther
(This used to be commit
59e27519adebd45cbd5207cfa5df212d11ca648b)
Günther Deschner [Tue, 26 Aug 2008 23:40:46 +0000 (01:40 +0200)]
netapi: support level 1006 in NetUserSetInfo.
Guenther
(This used to be commit
9c5ea4e8e8deb0a2be5f894fb5de96f0dea48120)
Günther Deschner [Tue, 26 Aug 2008 23:36:49 +0000 (01:36 +0200)]
netapi: support level 1012 in NetUserSetInfo.
Guenther
(This used to be commit
db650e9b6ead70152b2640415477bb26d0b16097)
Günther Deschner [Tue, 26 Aug 2008 23:36:06 +0000 (01:36 +0200)]
netapi: fix acct_flags handling in convert_USER_INFO_X_to_samr_user_info21.
Guenther
(This used to be commit
d3625b321f666bd506603b7c58ee89cd6b902d86)
Günther Deschner [Tue, 26 Aug 2008 23:15:21 +0000 (01:15 +0200)]
netapi: support level 1009 in NetUserSetInfo.
Guenther
(This used to be commit
3a6c784284c8eb7e2b05afa6db16b27ee26ff352)
Günther Deschner [Tue, 26 Aug 2008 23:04:21 +0000 (01:04 +0200)]
netapi: support level 1011 in NetUserSetInfo.
Guenther
(This used to be commit
b3680c0482ae05b32e9cf9fbddea57f0dd6e2bd3)
Günther Deschner [Tue, 26 Aug 2008 22:57:07 +0000 (00:57 +0200)]
netapi: fix convert_USER_INFO_X_to_samr_user_info21.
Guenther
(This used to be commit
3f726952eb9a1fed0f4a990c82a2c47a5c0775be)
Günther Deschner [Tue, 26 Aug 2008 22:33:49 +0000 (00:33 +0200)]
netapi: support level 1003 in NetUserSetInfo.
Guenther
(This used to be commit
863827eb2d5210350011055dda4319070bd1c520)
Günther Deschner [Tue, 26 Aug 2008 22:33:16 +0000 (00:33 +0200)]
netapi: process level 1003 in construct_USER_INFO_X as well.
Guenther
(This used to be commit
cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2)
Günther Deschner [Tue, 26 Aug 2008 22:32:08 +0000 (00:32 +0200)]
netapi: make set_user_info_USER_INFO_X a separate function.
Guenther
(This used to be commit
529dd675bde3ac944ca69e4dbe2fc4beeeb9aab8)
Günther Deschner [Tue, 26 Aug 2008 22:31:20 +0000 (00:31 +0200)]
netapi: add more infolevels to NetUserSetInfo example.
Guenther
(This used to be commit
5ad217be7a12211a8340052f7f4481cf2f239f8d)
Günther Deschner [Tue, 26 Aug 2008 22:30:51 +0000 (00:30 +0200)]
netapi: add ENCRYPTED_PWLEN to public header.
Guenther
(This used to be commit
7010230c4af667b4197c9bd58685dc5a0b2b7c4f)
Günther Deschner [Tue, 26 Aug 2008 22:30:22 +0000 (00:30 +0200)]
re-run make idl.
Guenther
(This used to be commit
77058447f2a61e8830763866c46db71dadf1a82a)
Günther Deschner [Tue, 26 Aug 2008 22:30:04 +0000 (00:30 +0200)]
netapi: fix ENCRYPTED_PWLEN in IDL.
Guenther
(This used to be commit
2c6b3208d3bf3d44b58248e9068924657897c917)
Günther Deschner [Tue, 26 Aug 2008 19:12:23 +0000 (21:12 +0200)]
netapi: add all USER_INFO structs to public header.
Guenther
(This used to be commit
d19c06d7d055e4b1e8e47cc2df1a192a0a19eb14)
Günther Deschner [Tue, 26 Aug 2008 19:10:19 +0000 (21:10 +0200)]
net: use netapi for rpc_user_rename.
Guenther
(This used to be commit
fe28ea1afd4024673f847fc8880910b1f7f0385a)
Günther Deschner [Fri, 29 Aug 2008 09:38:02 +0000 (11:38 +0200)]
kerberos: fix HAVE_KRB5 related build issue.
Guenther
(This used to be commit
7d7ba8397743af52a74d00fd717bdeb5e3e12a28)
Günther Deschner [Fri, 22 Aug 2008 12:58:01 +0000 (14:58 +0200)]
kerberos: use KRB5_KT_KEY macro where appropriate.
Guenther
(This used to be commit
a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
Günther Deschner [Fri, 22 Aug 2008 12:52:10 +0000 (14:52 +0200)]
kerberos: add KRB5_KT_KEY abstraction macro.
Guenther
(This used to be commit
be846d5383ef31136cca6b11eb6181736fb2e29d)
Günther Deschner [Fri, 22 Aug 2008 14:08:00 +0000 (16:08 +0200)]
kerberos: move the KRB5_KEY* macros to header file.
Guenther
(This used to be commit
c28fa17ffffee3e6fd4897c9c6b4937388a19600)
Jeremy Allison [Thu, 28 Aug 2008 23:06:23 +0000 (16:06 -0700)]
Clarify usage of "force create mode".
Jeremy.
(This used to be commit
1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1)
Volker Lendecke [Thu, 28 Aug 2008 13:44:14 +0000 (15:44 +0200)]
Remove cli_request_get()
req->private_data==NULL at this point is definitely a bug.
(This used to be commit
ce3dc9f616cafc1289a94ac7cae0beca967d836e)
Volker Lendecke [Wed, 27 Aug 2008 17:30:57 +0000 (19:30 +0200)]
Add async smbecho client support
(This used to be commit
c1d645fbe39433541d8bfe6b818c855cee318dc5)
Volker Lendecke [Wed, 27 Aug 2008 17:26:40 +0000 (19:26 +0200)]
Add cli_request->recv_helper
Necessary for requests with multiple replies
(This used to be commit
cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
Volker Lendecke [Mon, 25 Aug 2008 13:59:36 +0000 (15:59 +0200)]
Activate code to enable chained requests
Add the CHAIN1 torture test
(This used to be commit
82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
Volker Lendecke [Mon, 25 Aug 2008 13:56:26 +0000 (15:56 +0200)]
This adds the code to allow chained requests in libsmb/
This is not compiled yet, but it makes the patches much easier to read if it is
add in bulk.
(This used to be commit
b4c539ba041bab8856c83816f08a35b5f5b21740)
Volker Lendecke [Mon, 25 Aug 2008 12:40:15 +0000 (14:40 +0200)]
Move "struct cli_request" from client.h to async_smb.h
Also add some comments
(This used to be commit
2ecc311f785317caf5b60051147dcd085c80d64f)
Volker Lendecke [Mon, 25 Aug 2008 11:33:41 +0000 (13:33 +0200)]
Add cli_pull_reply
Along the lines of cli_request_send this abstracts away the smb-level buffer
handling when parsing replies we got from the server.
(This used to be commit
253134d3aaa359fdfb665709dd5686f69af7f8fd)
Volker Lendecke [Sun, 24 Aug 2008 12:17:43 +0000 (14:17 +0200)]
Remove cli->event_ctx, pass it explicitly
Storing the event_context as permanent state in struct cli_state creates more
complex code than necessary IMO.
(This used to be commit
debb37f703075008e5ea7d34d214cfa4d0f8f916)
Volker Lendecke [Sat, 2 Aug 2008 16:44:39 +0000 (18:44 +0200)]
Add async open&x
(This used to be commit
faf353edd60967efac4d5c222db14fa730866273)
Volker Lendecke [Fri, 1 Aug 2008 21:18:15 +0000 (23:18 +0200)]
Add async cli_close
(This used to be commit
f84a2b5dbf8a072a9e356fa39523f65d042a2643)
Volker Lendecke [Fri, 1 Aug 2008 21:14:51 +0000 (23:14 +0200)]
Refactoring: Add the routine cli_request_send()
cli_request_send() is supposed to bundle all generic SMB-header handling. This
makes cli_request_new static to async_smb.c.
(This used to be commit
7e73dd4e7622db64d30d48ba106892e0895fc188)
Günther Deschner [Thu, 28 Aug 2008 10:29:24 +0000 (12:29 +0200)]
winbindd: fix invalid sid copy (hit when enumerating sibling domains).
Guenther
(This used to be commit
5eee7423351ffd05486e33ff8eb905babcbc9422)
Jeremy Allison [Thu, 28 Aug 2008 00:29:10 +0000 (17:29 -0700)]
Fix the wcache_invalidate_samlogon calls.
Jeremy.
(This used to be commit
7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
Ephi Dror [Thu, 28 Aug 2008 00:28:34 +0000 (17:28 -0700)]
Correct the netsamlogon_clear_cached_user function.
(This used to be commit
bb13312d9d53b1e048b3a0bfeeca088f9db84cd3)
Jeremy Allison [Wed, 27 Aug 2008 22:06:14 +0000 (15:06 -0700)]
Add st_birthtime and friends for accurate create times on systems that support it (*BSD and MacOSX).
Should have done this ages ago, sorry.
Jeremy.
(This used to be commit
4c3a9558906f213948c3bdc081be73f8fed148cb)
Steve French [Wed, 27 Aug 2008 22:00:00 +0000 (17:00 -0500)]
mount.cifs: unclear error message with "credentials"
Thanks to Christophe Curis for the suggestion
(This used to be commit
3b5ad9190d2ad6d2ca0a569194bdff9003bda13b)
Jeremy Allison [Wed, 27 Aug 2008 18:28:18 +0000 (11:28 -0700)]
Be explicit about setting perms for the ldb. Helps others who may use this api.
Jeremy.
(This used to be commit
f0ea0f3502037db878238942ee0729f6940e0b01)
Karolin Seeger [Wed, 27 Aug 2008 11:23:20 +0000 (13:23 +0200)]
ldb: Fix permissions of new ldg files.
This one fixes together with
2eaf4ed62 bug #5715 and CVE-2008-3789.
Thanks to Steve Langasek <vorlon@debian.org> for reporting!
Karolin
(cherry picked from commit
b666d0a4b597218f5f5020bf36d80d84dcbf7259)
(This used to be commit
73f54df7fedc8f0db022f902100fd5eb1b629fb2)
Andrew Tridgell [Wed, 27 Aug 2008 08:45:43 +0000 (10:45 +0200)]
ldb: Fix permissions of group_mapping.ldb.
This one fixes bug #5715 and CVE-2008-3789.
(cherry picked from commit
a94f44c49f668fcf12f4566777a668043326bf97)
(This used to be commit
2eaf4ed62220246bcc1a9702166b0b4f381fdae3)
Jeremy Allison [Wed, 27 Aug 2008 01:05:34 +0000 (18:05 -0700)]
Fix bug spotted by Simo - don't use legacy if expired entry.
Jeremy.
(This used to be commit
a7bbd33139c5835cf32efdbe0ef187117699e3e4)
Jeremy Allison [Tue, 26 Aug 2008 23:14:25 +0000 (16:14 -0700)]
Don't ask winbindd if we got a -ve cache entry.
Jeremy.
(This used to be commit
91f85d0dcaa917b7a90a77852f3a778a0ad99c4d)
Jeremy Allison [Tue, 26 Aug 2008 22:51:56 +0000 (15:51 -0700)]
Fix the build :-(. Ask winbindd if we find a negative cache entry (or should
we just call the legacy function ?).
Jeremy.
(This used to be commit
566d3b6e76afeca8e862cb36202a5283b86920e4)
Jeremy Allison [Tue, 26 Aug 2008 21:52:11 +0000 (14:52 -0700)]
Get smbd to look (read-only) into the winbindd cache for uid/gid <--> sid mappings.
Jeremy.
(This used to be commit
31ba955d6950420096b9141454aa95b2510a3d9a)
Volker Lendecke [Fri, 15 Aug 2008 16:24:09 +0000 (18:24 +0200)]
Increase the default positive idmap cache time to a week
(This used to be commit
60af63675063ad62c0169b9f2094ecfdaa7ca16d)
Volker Lendecke [Fri, 15 Aug 2008 17:08:27 +0000 (19:08 +0200)]
Move idmap_cache.c from winbindd/ to lib/
(This used to be commit
fe70dcc1b63b1969c13f7fb03ec374b6e5a376a1)
Michael Adam [Tue, 26 Aug 2008 14:09:50 +0000 (16:09 +0200)]
run make idl after idl change "Handle arbitrary new PAC types"
Michael
(This used to be commit
5de253ba1308f470a47f9e5f83c6eccd17e95c26)
Andrew Tridgell [Sun, 24 Aug 2008 04:00:58 +0000 (14:00 +1000)]
Handle arbitrary new PAC types
When MS introduces a new PAC type, we should just ignore it, not
generate a parse error. New PAC info structures are supposed to be
backwards compatible with old ones
(This used to be commit
2971b926c835412b02c93ad1e30f1471bc0a3612)
Andrew Tridgell [Tue, 26 Aug 2008 04:06:42 +0000 (14:06 +1000)]
EINVAL is also a valid error return, meaning "this filesystem
cannot do sendfile for this file"
(This used to be commit
737f664604b28f230be63bfc2f3d516fd9eb1c63)
Andrew Tridgell [Sun, 24 Aug 2008 03:58:05 +0000 (13:58 +1000)]
become root for AIO operations
We need to become root for AIO read and write to allow the AIO thread
to send a completion signal to the parent process when the IO
completes
(This used to be commit
c548e5c69f9d8bc85a654f4d29d64c735a5e780b)
Andrew Tridgell [Sun, 24 Aug 2008 03:56:59 +0000 (13:56 +1000)]
Avoid a race condition in glibc between AIO and setresuid().
See this test: http://samba.org/~tridge/junkcode/aio_uid.c
The problem is that setresuid() tries to be clever about threads, and
tries to change the euid of any threads that are running. If a AIO read
or write completes while this is going on then the signal from the thread
where the IO completed is lost, as it gets -1/EPERM from rt_sigqueueinfo()
The simplest fix is to try to use setreuid() instead of setresuid(),
as setreuid() doesn't try to be clever. Unfortunately this also means
we must use become_root()/unbecome_root() in the aio code.
(This used to be commit
56c5a6f024875bb79b0104beb36f6b0ec1e1e9f9)
Andrew Tridgell [Sun, 24 Aug 2008 03:53:19 +0000 (13:53 +1000)]
fixed an errno handling bug that could lead to an infinite loop
(This used to be commit
5ccdc58ce91ee40ca7171dd040191291aeb7fe02)
Andrew Tridgell [Sat, 23 Aug 2008 01:36:27 +0000 (11:36 +1000)]
fixed tsmsm_sendfile(). The logic was totally broken.
(This used to be commit
794e48b809036871287df8416a2c669b7e26f216)
Günther Deschner [Tue, 26 Aug 2008 11:47:43 +0000 (13:47 +0200)]
build: make sure to create CODEPAGEDIR and MODULESDIR.
Guenther
(This used to be commit
d31683cdc877b468e7443216ab9e6edff844c131)
David Leonard [Mon, 25 Aug 2008 22:17:53 +0000 (15:17 -0700)]
Fix bug 4516, no IPv6 on Solaris 2.6.
(This used to be commit
b5d0f751e4bf19c2ad306ebb3baeb5e9e83e49ee)
Günther Deschner [Mon, 25 Aug 2008 11:03:15 +0000 (13:03 +0200)]
winbindd: use set_auth_errors() in winbindd_dual_check_machine_acct as well.
Guenther
(This used to be commit
bb9c59e892cc9d3047bde89a15cc341e2bd21bc5)
Günther Deschner [Mon, 25 Aug 2008 11:15:41 +0000 (13:15 +0200)]
winbindd: move set_auth_errors to util functions.
Guenther
(This used to be commit
ae3fa60c4546c7420722d8f422c22bbfd623ff5b)
Günther Deschner [Mon, 25 Aug 2008 09:37:57 +0000 (11:37 +0200)]
winbindd: only create machine pwd change event when in primary domain child.
Guenther
(This used to be commit
543dfdc1cf6baf60bffc23c6aebc542fd58d2d2e)
Günther Deschner [Mon, 25 Aug 2008 09:36:56 +0000 (11:36 +0200)]
auth: Fix build warning.
Guenther
(This used to be commit
4661ef625a6522d6f859b83e3e3702f01d0b952f)
Volker Lendecke [Sun, 24 Aug 2008 10:46:26 +0000 (12:46 +0200)]
Fix some nonempty blank lines
(This used to be commit
010c7101e59477f0d5f3bf11c17f474ec6f79cc1)
Volker Lendecke [Sun, 24 Aug 2008 10:43:36 +0000 (12:43 +0200)]
Fix some C++ warnings
(This used to be commit
dd9e4e6db04acf20f6ef7705955358c7ca442bbd)
Volker Lendecke [Sat, 23 Aug 2008 13:40:43 +0000 (15:40 +0200)]
Revert "Protect against short read&x replies"
This reverts commit
4ed73cbbbeff4b554cc8d28252b756241396b3a1.
... how did this end up here??
Volker
(This used to be commit
7dd9fd0956bd1c46105d1072c4774972933ab9ec)
Volker Lendecke [Wed, 13 Aug 2008 17:57:19 +0000 (19:57 +0200)]
Protect against short read&x replies
(This used to be commit
4ed73cbbbeff4b554cc8d28252b756241396b3a1)
Volker Lendecke [Tue, 19 Aug 2008 08:14:59 +0000 (10:14 +0200)]
Fix some nonempty blank lines
(This used to be commit
541e088656773d2b3b56a5a8bdc8dea6c9edec86)
Volker Lendecke [Sat, 23 Aug 2008 11:12:36 +0000 (13:12 +0200)]
Use talloc_stackframe() in machine_password_change_handler
(This used to be commit
79103000b13c95325534db749a0da638a3eb1807)
Volker Lendecke [Sat, 23 Aug 2008 11:12:05 +0000 (13:12 +0200)]
Fix a memleak in calculate_next_machine_pwd_change
(This used to be commit
5314f06dcdf14ce5e038a03a3e4dfded227bd00c)
Günther Deschner [Wed, 20 Aug 2008 23:20:22 +0000 (01:20 +0200)]
winbindd: add event based machine password change.
Guenther
(This used to be commit
15b72d44cbde0b8a375d8ed3d045c40ae97ec05a)
Jeremy Allison [Fri, 22 Aug 2008 20:49:46 +0000 (13:49 -0700)]
Don't re-initialize a token when we already have one. This fixes the build farm failures when winbindd connects as guest.
This one took a *lot* of tracking down :-).
Jeremy.
(This used to be commit
dca827791276906436452c650062164eb819dfe0)
Gerald (Jerry) Carter [Fri, 22 Aug 2008 19:54:50 +0000 (14:54 -0500)]
idmap_gid_to_sid: Fix a cut-a-npaste error.
The call was looking up a uid and not gid in the cache.
(This used to be commit
25293ba1507f8f8fa7e33c302200184e980bb123)
Gerald (Jerry) Carter [Fri, 22 Aug 2008 15:17:04 +0000 (10:17 -0500)]
winbindd: Fix crash in cm_connect_sam()
Fix segv when talking to parent DC (joined to child domain).
The root cause was
(a) storing the parent domain in the cli_state struct caused
the NTLMSSP pipe bind to fail which made us fallover to
the schannel code path
(b) the dcinfo pointer in cm_get_schannel_dcinfo() was returning
NULL even though the function indicated success.
(This used to be commit
5ce4a2ae6697970ea37d0078a506615b4b7a9a9c)
Jeff Layton [Fri, 22 Aug 2008 17:29:16 +0000 (13:29 -0400)]
cifs.upcall: bump SPNEGO msg version number and don't reject old versions
When we added the ability for the kernel to send sec=mskrb5 to the
upcall, we subtly broke old cifs.upcall versions that don't understand
it. Bump the spnego message version to 2 to make this clear. Also,
change cifs.upcall to not reject requests with a version that's lower
than the current one, and to send the reply with the same version that
the request sent. The idea is to try and keep cifs.upcall backward
compatible with old kernels.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
b868463015dedc684eb13d12118a98ccca71250a)
Karolin Seeger [Fri, 22 Aug 2008 15:23:36 +0000 (17:23 +0200)]
manpages: Add documentation for new 'net rpc vampire' subcommands.
Karolin
(This used to be commit
8d0a16d8034cd07037b3c7711867280d5fa5b2c8)
Karolin Seeger [Fri, 22 Aug 2008 14:47:19 +0000 (16:47 +0200)]
net: Add missing colon to unify usage messages.
Karolin
(This used to be commit
c7aef4b38bd2b152b316d8d76b45be4b73ca315f)
Karolin Seeger [Fri, 22 Aug 2008 09:04:49 +0000 (11:04 +0200)]
manpages: Add manpage for "init logon delayed hosts".
Karolin
(This used to be commit
a415244365e32ba18919042ec72b3a281d8c1b0a)
Karolin Seeger [Fri, 22 Aug 2008 09:04:16 +0000 (11:04 +0200)]
manpages: Add manpage for "init logon delay".
Karolin
(This used to be commit
fc5010e6d988939779bcb44e8a460b7b05e7ba9a)
Karolin Seeger [Fri, 22 Aug 2008 08:05:42 +0000 (10:05 +0200)]
loadparm: idmap backend is not depracated any longer.
Karolin
(This used to be commit
fcfab4703628e19902c140a7ad9531d4be0de01d)
Jeff Layton [Fri, 22 Aug 2008 01:21:48 +0000 (21:21 -0400)]
cifs.upcall: fix build warning
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
aa3443492c58a7c109fe159e15d763dbafc66f2a)
Jeff Layton [Mon, 18 Aug 2008 17:49:59 +0000 (13:49 -0400)]
cifs.upcall: enable building by default on linux
When building on linux, default to building cifs.upcall. Throw a
warning if ADS support is disabled or keyutils isn't installed.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
d8018d15f013b8d7be8618b75dac5112711193b7)
Jeff Layton [Mon, 18 Aug 2008 17:49:59 +0000 (13:49 -0400)]
cifs.upcall: move default install location to EPREFIX/sbin
cifs.upcall links to libraries that live under /usr, so installing it
in /sbin doesn't seem appropriate. Move it to EPREFIX/sbin instead
(i.e. /usr/sbin).
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
5c9a1b2c98cc712fc519225e62fba4e5088631a3)