summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.c
Commit message (Collapse)AuthorAgeFilesLines
* r22434: sync from the 3.0.25 tree for rc2Gerald Carter2007-04-211-0/+7
|
* r21889: * Pull from SAMBA-3_0_25 svn r21888Gerald Carter2007-03-201-8/+9
| | | | * Set version to 3.0.25pre2
* r21624: Remove stray #endif from bad mergeGerald Carter2007-03-011-1/+0
|
* r21619: * Pickup latest changes from SAMBA_3_0_25 (this will be itGerald Carter2007-03-011-6/+3
| | | | | for 3.0.25pre1 unless something blows up) * Update release notes some more
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-281-49/+80
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r19018: staging for a 3.0.23d on Tuesday (I think we have sufficient changes ↵Gerald Carter2006-10-011-1/+2
| | | | to warrant one)
* r16175: sync up with SAMBA_3_0 to release (r16156)Gerald Carter2006-06-131-1/+1
|
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-2/+9
|
* r15153: more changes for the release notes and ab's latest fixes for ↵Gerald Carter2006-04-201-0/+3
| | | | winbindd & smbcontrol
* r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit ↵Gerald Carter2006-04-121-11/+11
| | | | winbindd server
* r14898: This change is an attempt to improve the quality of the information thatJames Peach2006-04-041-40/+1
| | | | | | | | | | | | | | | | | is produced when a process exits abnormally. First, we coalesce the core dumping code so that we greatly improve our odds of being able to produce a core file, even in the case of a memory fault. I've removed duplicates of dump_core() and split it in two to reduce the amount of work needed to actually do the dump. Second, we refactor the exit_server code path to always log an explanation and a stack trace. My goal is to always produce enough log information for us to be able to explain any server exit, though there is a risk that this could produce too much log information on a flaky network. Finally, smbcontrol has gained a smbd fault injection operation to test the changes above. This is only enabled for developer builds.
* r14868: I will not write code when changing to Daylight Savings Time.Gerald Carter2006-04-021-1/+1
| | | | | | | | | | | | | | | | I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. I will not write code when changing to Daylight Savings Time. ... Fix my brain dead inverted logic for turning winbindd on and off when run on a DC or when calling pdb functions from within winbindd.
* r14855: Various fixes:Gerald Carter2006-04-021-1/+4
| | | | | | | | * depreacte 'acl group control' after discussion with Jeremy and implement functionality as part of 'dos filemode' * fix winbindd on a non-member server to expand local groups * prevent code previously only used by smbd from blindly turning _NO_WINBINDD back on
* r14618: add --no-process-group to all server programmsStefan Metzmacher2006-03-211-2/+4
| | | | | | | | | | | to make the following possible: timelimit 20000 bin/nmbd -F -S --no-process-group timelimit 20000 bin/smbd -F -S --no-process-group this is needed to 'make test' working without losing child processes metze
* r14480: Kill one boolean flag passed down :-)Volker Lendecke2006-03-161-1/+1
|
* r14474: Also flush the nscd caches before entering the main winbindd loop.Günther Deschner2006-03-161-0/+2
| | | | Guenther
* r14468: Better fix to avoid winbind panic when we have an inproper configurationGünther Deschner2006-03-161-1/+4
| | | | | | and want to just shutdown and exit. Guenther
* r14467: Reverting 13660. This needs to be fixed differently.Günther Deschner2006-03-161-4/+1
| | | | Guenther
* r13660: Attempt to better handle the failure that we cannot find our sid uponGünther Deschner2006-02-231-2/+5
| | | | | | startup; don't panic, shutdown instead. Guenther
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-3/+3
| | | | macro which sets the freed pointer to NULL.
* r13316: Let the carnage begin....Gerald Carter2006-02-031-5/+9
| | | | Sync with trunk as off r13315
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2006-01-281-1/+1
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r12544: Fix segfaults in winbind, smbpasswd and netVolker Lendecke2005-12-281-0/+2
|
* r11652: Reinstate the netsamlogon_cache in order to workGerald Carter2005-11-101-0/+2
| | | | | | | | | | | | | around failed query_user calls. This fixes logons to a member of a Samba domain as a user from a trusted AD domain. As per comments on samba-technical, I still need to add (a) cache the PAC info as werll as NTLM net_user_info_3 (b) expire the cache when the SMB session goes away Both Jeremy and Guenther have signed off on the idea.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2005-11-051-0/+2
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r11368: Remove a memleak that just cost me half an hour: If we terminate ↵Volker Lendecke2005-10-281-1/+1
| | | | | | | | | inside a message handler, the list of messages from retrieve_all_messages is not properly freed. Not important, just confusing :-) Volker
* r11319: read_buf_len and write_buf_len are no longer used, remove them.Volker Lendecke2005-10-271-5/+3
| | | | Volker
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-12/+55
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9588: remove netsamlogon_cache interface...everything seems to work fine. ↵Gerald Carter2005-08-241-2/+0
| | | | Will deal with any fallout from special environments using a non-cache solution
* r9330: Remove the classic dual daemon since it was not being used.Gerald Carter2005-08-161-46/+0
| | | | | | It was already gone in trunk anyways. working on fixing BUG 3000 which does work now but we are flying without a cache.
* r9322: fixing debug log and ensuring that we set the right winbind_methodsGerald Carter2005-08-161-1/+1
| | | | | pointer in get_cache() by requiring that all domain structure be initialized with the set_dc_type_and_flags().
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2005-06-241-24/+24
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7785: This looks much larger than it is. It changes the top-level functions ↵Volker Lendecke2005-06-201-11/+27
| | | | | | | | | | | | | | | of the parent winbind not to return winbindd_result. This is to hopefully fix all the problems where a result has been scheduled for write twice. The problematic ones have been the functions that might have been delayed as well as under other circumstances immediately gets answered from the cache. Now a request needs to be explicitly replied to with a request_error() or request_ok(). Volker
* r7454: couple of winbindd fixesGerald Carter2005-06-101-1/+1
| | | | | | | * make sure to use our domain as the account name in the net_req_auth2() request when running on a Samba DC * make sure to lookup the correct domain (not default to ours) when getting an async getpwnam() call
* r7440: * merge registry server changes from trunk (so far) for more Gerald Carter2005-06-091-4/+4
| | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync
* r7415: * big change -- volker's new async winbindd from trunkGerald Carter2005-06-081-312/+421
|
* r7130: remove 'winbind enable local accounts' code from the 3.0 treeGerald Carter2005-05-311-9/+0
|
* r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke2005-04-091-2/+0
| | | | | | | | initializable statically. Volker
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-2/+1
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r2470: Fix bug 1797: winbind and nmbd ignored "-l" option.Volker Lendecke2004-09-211-2/+6
| | | | | | Thanks to Igor Zhbanov bsg@uniyar.ac.ru. Volker
* r2265: Volkers change to HEAD looks very good. Commit messageJeremy Allison2004-09-091-5/+12
| | | | | | | | | | | | | | | | | | | | | from HEAD follows : While torturing winbind a bit I found the following unfortunate behaviour: Sending multiple requests at a high rate for a slow operation exposed that no response comes back until the last request in the queue has been processed. This is an unfortunate result of serially going through all sockets> that have shown to be readable or writable. All client sockets become readable> at the same time, none of them is writable. We go through them, read the request, process the complete request. Before we enter the select system call the next time all requests have to have completed. This patch optimizes this by first looking at the sockets for writability. A write on a socket that came back from select does not block, so this additional loop might have a non-zero cost, but it can't prevent other operations from proceeding. After a possibly long-running winbindd_process() we directly start select() again. To avoid starvation the currently processed client is demoted to be the> last one in the list of clients. Jeremy.
* r1557: Add sigchld handling to winbindd. Next step is to have the child ↵Richard Sharpe2004-07-211-0/+13
| | | | | | restarted if need be. We should also make sure the main line know we no longer have a child.
* r1297: Yes, it does survive valgrind for my tests :-)Volker Lendecke2004-06-291-8/+5
| | | | | | | | | | Check in the 'winbind proxy only' mode -- no new parameter required :-) If you don't set idmap uid or idmap gid, winbind will not do idmap stuff, it will only proxy the netlogon request and thus speed up the authentication of domain users. Volker
* r294: checking in volker's winbindd patches; tested on domain members (Samba ↵Gerald Carter2004-04-201-0/+2
| | | | and AD) as well as on a Samba DC
* r116: volker's patch for local group and group nestingGerald Carter2004-04-071-0/+1
|
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-1/+0
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+947
metze