summaryrefslogtreecommitdiff
path: root/source3/winbindd
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-07-02Fix a debug msg, this was probably a leftover from gencacheVolker Lendecke1-2/+4
(This used to be commit daa171552dc00d9602a05ba199c9a3ff24c802f5)
2008-07-02Fix typoVolker Lendecke1-2/+2
(This used to be commit fe58926283b51910d8587e32bb11aa681b9a27d3)
2008-07-02Make idmap_init() staticVolker Lendecke1-1/+1
This is called only from idmap_alloc_init, which feels kindof weird. Digging deeper in the code... (This used to be commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492)
2008-07-02Fix two memory leaks in an error path in idmap.cVolker Lendecke1-0/+2
(This used to be commit 7cec389e19323e99b6b6258e539be9d1fd65810f)
2008-07-01MSG_DEBUG now forwarded to all the winbindd children by parent.Darshan Purandare3-0/+44
smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children. (This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-07-01Revert "winbind cache: Don't create SN cache entries during name-to-sid ↵Karolin Seeger1-6/+6
queries." This reverts commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c. Details can be found on the samba-technical mailing list. Karolin (This used to be commit 534a445df450c681be7da2c9dd65f7294f942b08)
2008-06-30Fix from Atte Peltomäki - atte.peltomaki@f-secure.com to correctly checkJeremy Allison1-1/+1
error code in winbindd group expansion. Jeremy. (This used to be commit e321377174f579ba57a70f260f4d4bc234a07439)
2008-06-27libads: Add API call to connect to a global catalog server.Gerald W. Carter1-2/+4
Extends ads_connect() to a new call ads_connect_gc() which connects on port 3268 rather than port 389. Also makes ads_try_connect() static and only used internally to ldap.c (This used to be commit f4c37dbe2c986fb7bfe510cdff3b4a9fbc06d079)
2008-06-26From Steve Danneman @ Isilon.Jeremy Allison7-217/+220
Attached is the companion patch to (037b9689d9042a398cb91e4628a82fcdfa913c21), which made handling of WINBINDD_LIST_GROUPS asynchronous. Because most all of the list_groups code was reusable, I abstracted it, and implemented both list_groups and list_users on top of it. On my large test domain a "wbinfo -u" call went from 70 seconds to 30 seconds with this patch. Plus, the parent process is no longer blocked from receiving new requests during that time. Steven Danneman | Software Development Engineer Isilon Systems P +1-206-315-7500 F +1-206-315-7501 www.isilon.com (This used to be commit 5188f2861137ff06d5399561d55d7d00c3a08644)
2008-06-26winbind: remove duplicate debug message for failing messaging_init().Michael Adam1-1/+0
Leave the message inside winbind_messaging_context() for now. There might be callers, where this debug message could prove useful... Michael (This used to be commit e9177ec56a8fe596d6fcfc4a95df87e39f757818)
2008-06-26winbind: untangle logic in winbind_messaging_context() slightly.Michael Adam1-2/+5
Michael (This used to be commit e710a9b73ea2fd176de7093125bc5f3f3f3a9404)
2008-06-26winbindd: don't panic if messaging_init() fails - return NULL instead.Michael Adam1-1/+1
Leave appropriate handling to the callers. Michael (This used to be commit 3e0c24323af5f10fa68ae8aad552b7346536c908)
2008-06-25Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-9/+9
v3-3-test (This used to be commit 9075c5f2ada8f96ae8d6cbcfc36663969e9bf34f)
2008-06-25Part of fix for #5551. Split out the group enumeration functions to a ↵Jeremy Allison1-15/+27
BUILTIN and a Domain specific version. Stops the domain groups appearing twice. Jeremy. (This used to be commit 77b99530e0ce0ab0f335d8b22774548d30690550)
2008-06-25rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.Günther Deschner1-7/+7
Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
2008-06-25rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner1-3/+3
Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-06-25Final (hopefully :-) part of fix for bug #5551. Allow passdb backend to ↵Jeremy Allison1-23/+45
enumerate domain groups. Jeremy (This used to be commit 2181770e4589d475b95b4103a8f95a58787f1f86)
2008-06-20Fix bug #5533. Winbindd fails to cope correctly with a workgroup name ↵Jeremy Allison1-9/+3
containing a '.'. Jeremy. (This used to be commit 96325ff44dc404a68d4ebd423cf78210ec3ff902)
2008-06-17Revert "Fix a memleak caused by a crappy get_sorted_dc_list() API"Volker Lendecke1-14/+1
This reverts commit 2ea03a1e95a30e321e390bef9408a1215711de07. (This used to be commit 80c2e8295a00c3d88372b55b81d03b455feb69b2)
2008-06-17idmap: Fix typos in comments.Karolin Seeger1-3/+3
Karolin (This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)
2008-06-17Fix typo.Karolin Seeger1-1/+1
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-06-16winbind cache: Don't create SN cache entries during name-to-sid queries.Karolin Seeger1-6/+6
Clients can request name-to-sid queries for different combinations of upper and lower case names. We don't want to create the reverse caching entries for each combination used. This avoids inconsistent answers on sid-to-name queries. Please review! Karolin (This used to be commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c)
2008-06-08Bugfix noticed by Herb. On using the again: tag as aJeremy Allison1-0/+15
goto target we were not reinitializing the array counts. From Herb: This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236 We have a label again: where we keep trying to find the name of the DC from the list of IPs returned by get_dcs. If we fail to figure out the name we do a goto again at the end of the function. The problem is we don't reset the num_dcs, num_addrs, etc and free the memory in the various arrays. This seems wrong to me. I have a winbindd core where I have 9 IPs returned for the DCs but at the time of the crash num_dcs is 87 and if I look through the array dcs it keeps repeating entries from the same group of 9 Jerry, Volker and Guenther please check. Jeremy. (This used to be commit 15f464321a7c71a86b747918343746050d286655)
2008-06-05Fix a memleak caused by a crappy get_sorted_dc_list() APIVolker Lendecke1-1/+14
(This used to be commit 2ea03a1e95a30e321e390bef9408a1215711de07)
2008-06-03winbindd_cm: Replace the use of lp_realm() with our_domain->alt_name.Gerald W. Carter1-1/+7
Reduce the use of config parameters with run time information after discussion with Guenther. (This used to be commit 57d596395db287301eefd34e62c9aaf857c34c69)
2008-06-02Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain childJeremy Allison1-2/+18
not keeping primary domain online status up to date. Jeremy. (This used to be commit 0621c7c8161b7b94cc9249ab3e71855d3030b6fb)
2008-05-30Split the winbindd_passdb backend into a 'builtin' and a 'sam'Jeremy Allison4-115/+349
backend. This allows winbindd when running on a Samba PDC to correctly answer wbinfo -u lists and other queries. Jeremy. (This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)
2008-05-30Fix valgrind bug in debug statement. Don't reference uninitialized memory.Jeremy Allison1-3/+2
Jeremy. (This used to be commit 25e76a19f22cdf726928d6c4b165745de9e455d6)
2008-05-30Fix bug #5504. winbindd children and parent were handing SIGTERM in the same ↵Jeremy Allison3-12/+17
way - deleting the socket! Jeremy. (This used to be commit 3ab5a3883e33eba159152aa02544d71f047c7e45)