summaryrefslogtreecommitdiff
path: root/source3/winbindd
AgeCommit message (Collapse)AuthorFilesLines
2008-08-06fixed a fd leak when trying to regain contact to a domain controllerAndrew Tridgell1-0/+1
in winbind When a w2k3 DC is rebooted the 139/445 ports come up before the udp/389 cldap port. During this brief period, winbind manages to connect to 139/445 but not to udp 389. It then enters a tight loop where it leaks one fd each time. In a couple of seconds it runs out of file descriptors, and leaves winbind crippled after the DC does finally come up (This used to be commit 57187cafbcc053e75bb54750494df9feabe3a738)
2008-07-30winbindd: handle trusted domains without sid.Günther Deschner2-4/+17
Guenther (This used to be commit 0c1efc6c89b1a51a94d10971bf0fc515416709b3)
2008-07-25Fix an incompatible pointer warningVolker Lendecke1-2/+2
(cherry picked from commit 3282f7289b7b33beeaa1ca649651cca6537a69af) (This used to be commit fc8641443951dc852dc9cf1e73626df452b815f7)
2008-07-25Fix a race condition in winbind leading to a crashVolker Lendecke1-4/+3
When SIGCHLD handling is delayed for some reason, sending a request to a child can fail early because the child has died already. In this case async_main_request_sent() directly called the continuation function without properly removing the malfunctioning child process and the requests in the queue. The next request would then crash in the DLIST_ADD_END() in async_request() because the request pending for the child had been talloc_free()'ed and yet still was referenced in the list. This one is *old*... Volker (cherry picked from commit 8691709626b0d461de91b8fc9d10c730d1f183dd) (This used to be commit c70e2b6476d2d99c79624e15a4a3cfcdc850fc7c)
2008-07-24Remove unused request_finished_cont()Volker Lendecke2-13/+0
(This used to be commit 865ea6fcbc089a03e453709fa54ff2a39c0c168e)
2008-07-24Make use of TALLOC_FREE when freeing the per-winbindrequest memory contextVolker Lendecke1-12/+3
(This used to be commit 9e49d390f79c6afc8b0efd9664e60602aebaa4f2)
2008-07-22Fix various build warningsZach Loafman1-22/+14
This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke1-16/+14
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-11/+14
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-15/+18
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-17From Jim McDonoughJeremy Allison3-8/+15
In reloading the smb.conf, if a "log file" is specified in smb.conf, winbind children will overwrite the logfile name to be the same as the parent. Jeremy. (This used to be commit 62d319cc1a2ef891866b2ddbd22f3ed0944356af)
2008-07-12Fix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4Simo Sorce1-15/+15
We must not return an error here just because we are offline. We must instead fix the mappings to the best of our knowledge (ie mark as mapped, expired ones, and as unmapped, unknown ones) (This used to be commit 4436272dd4d6cdd223b1dc3d217a97cbe3bc887b)
2008-07-12Remove one nested level by reversing if conditionSimo Sorce1-58/+54
(This used to be commit 657a2f20dd4d422d45d7e054f463641cdff16816)
2008-07-12Add back mem leak fixesSimo Sorce1-0/+2
(This used to be commit 2adea093c5709e128bdde1e37c6a897db7cbc3b1)
2008-07-12Make again idmap_init staticSimo Sorce1-1/+1
(This used to be commit e113b7c13f2457676fdec9e52f09046286e25b60)
2008-07-11Revert "Fix two memory leaks in an error path in idmap.c"Volker Lendecke1-2/+0
This reverts commit 7cec389e19323e99b6b6258e539be9d1fd65810f. (This used to be commit d0b34cbb4eba2b6543402af2c9f95407546cefad)
2008-07-11Revert "Make idmap_init() static"Volker Lendecke1-1/+1
This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492. (This used to be commit 5cded3da00c0af40a98d86011507553f97fe6a22)
2008-07-11Revert "Fix typo"Volker Lendecke1-2/+2
This reverts commit fe58926283b51910d8587e32bb11aa681b9a27d3. (This used to be commit fe216bff1d7d805403cbfb3eaf381c2a57a254d7)
2008-07-11Revert "Fix a debug msg, this was probably a leftover from gencache"Volker Lendecke1-4/+2
This reverts commit daa171552dc00d9602a05ba199c9a3ff24c802f5. (This used to be commit b826420c3adfd24a01080d25f8a61d33d05722c8)
2008-07-11Revert "Fix indentation"Volker Lendecke1-14/+14
This reverts commit 954556b527aa652f9a46f0d48834e92befb3c5f9. (This used to be commit 1b1124bcb9043deb495897467e4cd3ae8a07784b)
2008-07-11Revert "Fix nonempty whitespace only lines"Volker Lendecke1-13/+15
This reverts commit 0da9d0d0f9662d8bd2f370f764d5a875e11b3068. (This used to be commit b2f7bd6a05afcbba076f78d0caeaf154854db7de)
2008-07-11Revert "fix typos"Volker Lendecke1-4/+2
This reverts commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9. (This used to be commit 0d2fc3c394d300d906cdcd14f1abf8e6f84beff7)
2008-07-11Revert "Fix nonempty whitespace only lines"Volker Lendecke8-69/+70
This reverts commit cc77db2acbc35cea58576f1e28c7a760a5e31609. (This used to be commit ed5b516c2027d78011cdaa7cbbc01bb01e766381)
2008-07-11Revert "Tiny logic simplification: Remove an unnecessary else branch"Volker Lendecke1-8/+8
This reverts commit 6009ae329375b1c40e3d00df977ddccc8b5cc176. (This used to be commit b71ce00796efdd27b593bbbc36f5cbba23fe9240)
2008-07-11Revert "Fix typo"Volker Lendecke1-2/+1
This reverts commit fe79c8a5b726754703626ca0bff57074274c98c7. (This used to be commit 62835f8d7e824a5d469ec5f79e4db739e6602f4f)
2008-07-11Revert "Fix indentation"Volker Lendecke1-1/+1
This reverts commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306. (This used to be commit fa9b128e93cca45b9516917f73f586197e7637f3)
2008-07-11Revert "Simplify idmap_cache_build_[s]idkey a bit"Volker Lendecke1-33/+36
This reverts commit 80932c0266ef73b8d0462c078a053444fff47f32. (This used to be commit 847609a148b653b9e3a24b2bc9e1636c6ef0db84)
2008-07-11Revert "Simplify idmap_cache_set() a bit"Volker Lendecke1-3/+8
This reverts commit 55b976ba93462c6885e8d89edd13c32fb5529944. (This used to be commit 23edc4ec0ab1de60a864de01c0ff90ea1378231d)
2008-07-11Revert "IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove it"Volker Lendecke1-0/+1
This reverts commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c. (This used to be commit 447d77949f99fdc5fc2bea6ddc27176d3a0871a9)
2008-07-11Revert "Convert idmap_cache to gencache"Volker Lendecke3-125/+393
This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2. (This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)
2008-07-11Revert "Make use of ADD_TO_ARRAY"Volker Lendecke3-36/+96
This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45. (This used to be commit d4d106776af3f475d46a4dd78794b7b48a3572af)
2008-07-11Revert "Tiny logic simplification -- remove an else branch"Volker Lendecke1-20/+22
This reverts commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d. (This used to be commit b0fe0c7ac18d4f47ad4a218114de7bab7a3f19de)
2008-07-07Allow authentication and memory credential refresh after password change ↵Jeremy Allison1-2/+23
from gdm/xdm. Patch from boyang <boyang@novell.com>. Jeremy. (This used to be commit 8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)
2008-07-06Clean up winbindd_group.c tooSimo Sorce1-210/+255
(This used to be commit 50a347f5503ebed0fcc7b9de60f8368677585bb1)
2008-07-06Clean up the rest of the file tooSimo Sorce1-84/+76
(This used to be commit f6c92c4759096f839e3854a1e9eea56e6eecad4d)
2008-07-06More clean up, indentation and trailing space removalSimo Sorce1-40/+39
(This used to be commit d17d401603c1c26a5fd5eca5ece245790445e6d4)
2008-07-06Make code more readable, fix indentation and traling spaces.Simo Sorce1-17/+23
(This used to be commit e19e12d5cbba28ccf682eaf0ff26909bd7e8e6c6)
2008-07-05Tiny logic simplification -- remove an else branchVolker Lendecke1-22/+20
(This used to be commit 01c8c7bbf6163d5c7733db0d8ecbccfe7e4fec7d)
2008-07-05Make use of ADD_TO_ARRAYVolker Lendecke3-96/+36
(This used to be commit 81f334bd6da601a040f754c46705cfa2fd4f8c45)
2008-07-05Convert idmap_cache to gencacheVolker Lendecke3-393/+125
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
2008-07-03IDMAP_READ_CACHE_DATA_FMT_TEMPLATE is unused, remove itVolker Lendecke1-1/+0
(This used to be commit 2396d5d5d2f453f097f8ce77b640ad7e1d7e7c4c)
2008-07-03Simplify idmap_cache_set() a bitVolker Lendecke1-8/+3
sid_check_is_in_unix_* will only give true if it is of the corresponding type, so the check if the struct idmap actually represents a user or group is unnecessary. (This used to be commit 55b976ba93462c6885e8d89edd13c32fb5529944)
2008-07-03Simplify idmap_cache_build_[s]idkey a bitVolker Lendecke1-36/+33
(This used to be commit 80932c0266ef73b8d0462c078a053444fff47f32)
2008-07-03Fix indentationVolker Lendecke1-1/+1
(This used to be commit c4e6de9e34e1ff76552ce6d4e72b343fb5f33306)
2008-07-02Fix typoVolker Lendecke1-1/+2
(This used to be commit fe79c8a5b726754703626ca0bff57074274c98c7)
2008-07-02Tiny logic simplification: Remove an unnecessary else branchVolker Lendecke1-8/+8
(This used to be commit 6009ae329375b1c40e3d00df977ddccc8b5cc176)
2008-07-02Fix nonempty whitespace only linesVolker Lendecke8-70/+69
(This used to be commit cc77db2acbc35cea58576f1e28c7a760a5e31609)
2008-07-02fix typosVolker Lendecke1-2/+4
(This used to be commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9)
2008-07-02Fix nonempty whitespace only linesVolker Lendecke1-15/+13
(This used to be commit 0da9d0d0f9662d8bd2f370f764d5a875e11b3068)
2008-07-02Fix indentationVolker Lendecke1-14/+14
(This used to be commit 954556b527aa652f9a46f0d48834e92befb3c5f9)