summaryrefslogtreecommitdiffstats
path: root/src/nis.c
Commit message (Collapse)AuthorAgeFilesLines
* Check if we fail to read-lockNalin Dahyabhai2013-08-071-8/+75
| | | | | If we fail to get a read lock on the data, fail to answer the client's NIS request.
* Don't leak decoded XDR memoryNalin Dahyabhai2013-05-231-0/+8
| | | | | After we're done with decoded arguments from a client, use xdr_free() to free anything that was dynamically-allocated.
* Fix some uninitialized-jump warningsNalin Dahyabhai2013-05-231-1/+3
| | | | | | Clear buffers that we encode data into before encoding them, to avoid valgrind warnings that their contents are used before they're written to.
* - remove unused variablesNalin Dahyabhai2012-01-241-5/+1
|
* - finish the port to the new yp.xNalin Dahyabhai2011-05-131-32/+34
|
* - the field is called "maps", not "list" nowNalin Dahyabhai2011-05-131-3/+3
|
* - new yp.x uses "stat" where we used to use "status"... fun.Nalin Dahyabhai2011-05-131-25/+25
|
* - don't assume that libc will provide yp headers -- build them ourselvesNalin Dahyabhai2011-05-131-2/+2
|
* - check for errors building a no-such-map or no-such-domain responseNalin Dahyabhai2011-01-031-6/+16
| | | | packet before sending it in response to yp_all (defect #10090)
* - clear the whole reply structure before use instead of just the initial ↵Nalin Dahyabhai2011-01-031-1/+1
| | | | part (defect #10088)
* - initialize map_supported so that when we debug log we output it rightNalin Dahyabhai2010-11-191-0/+1
|
* - fix type mismatch warningsNalin Dahyabhai2009-04-271-5/+5
|
* - remove unnecessary includeNalin Dahyabhai2009-02-111-1/+0
|
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - remove unused variablesNalin Dahyabhai2008-07-311-1/+1
|
* - make yp_maplist omit maps with "nis-secure: yes" if the client isn't "secure"Nalin Dahyabhai2008-07-101-27/+37
|
* - return no-domain or no-map when the master for a bogus map or domain is askedNalin Dahyabhai2008-07-081-10/+35
|
* - whoops, add missing variableNalin Dahyabhai2008-07-031-1/+1
|
* - check over some commentsNalin Dahyabhai2008-07-031-8/+37
| | | | - differentiate between no-original-key and no-map when handling yp_next()
* - make the map match logic use 'const' where it's appropriateNalin Dahyabhai2008-07-031-4/+4
|
* - compensate for new parameters in the map matching functionsNalin Dahyabhai2008-07-031-3/+3
|
* - start adding an sch backendNalin Dahyabhai2008-06-301-1/+1
| | | | - start factoring out the backend logic where the sch and nis backends overlap
* - rename dispatch to disp-nisNalin Dahyabhai2008-06-301-1/+1
|
* - rename plugin.c,plugin.h to plug-nis.c,plug-nis.hNalin Dahyabhai2008-06-301-1/+1
|
* - log the key third in a "next" debug messageNalin Dahyabhai2008-06-211-7/+7
|
* - get most of the tree in shape to handle multiple keys per entryNalin Dahyabhai2008-06-171-19/+38
| | | | | - make map_next() not expose entry IDs or key indices, because it has to do all of the heavy lifting anyway
* - use search-by-id interfaces when handling nis_all requestsNalin Dahyabhai2008-06-131-54/+59
|
* - fail to provide the order for secure maps to not-secure clientsNalin Dahyabhai2008-06-101-3/+5
|
* - take a client_secure flag, and if the map_secure flag is set and theNalin Dahyabhai2008-06-101-28/+40
| | | | client_secure flag is not set, feign lack of knowledge about a map's contents
* - handle the map-with-no-entry case right in nis_allNalin Dahyabhai2008-06-021-4/+33
|
* - initial support for returning larger entries over tcp than we can over udpNalin Dahyabhai2008-06-021-49/+47
| | | | - make the tcp sizes tunable
* - add read-locking when we read from the map cacheNalin Dahyabhai2008-05-301-0/+16
|
* - don't return NOKEY when there's no MAP, or vice-versaNalin Dahyabhai2008-05-301-1/+6
|
* - move nis_all processing to a works-in-chunks state machineNalin Dahyabhai2008-05-301-67/+327
|
* - drop the stack usage a bitNalin Dahyabhai2008-05-291-1/+1
|
* - more build machineryNalin Dahyabhai2008-05-291-0/+21
| | | | | - license text in source files - elaborate on what's still to be done
* - build cleanupsNalin Dahyabhai2008-05-291-2/+10
| | | | - remove some more NSPRisms in cases when XDRisms are even more portable
* - try to pull out NSPRisms where they're not neededNalin Dahyabhai2008-05-291-7/+5
|
* - rewrite dispatching code so thatNalin Dahyabhai2008-05-271-33/+59
| | | | | | | | | | | * we multiplex servicing for connected clients in the same thread that handles datagram clients * nis query routines use a callback rather than a symbol, so that... * ...we can supply different callbacks for datagram and connected clients * nis query routines have the option of giving us a chunk of output and telling us to come back later for more, though for now only nis_all gets the option of doing that, and currently write those chunks immediately in a blocking way
* - tweak the yp_next() routine to return NOMORE when the request key has anNalin Dahyabhai2008-05-271-1/+11
| | | | associated value but no next value
* - make the dispatcher callback data slightly more opaque to the NIS routinesNalin Dahyabhai2008-05-271-102/+32
|
* - move the reply code back into the dispatcher so that it'll be easier toNalin Dahyabhai2008-05-271-85/+35
| | | | replace
* - implement maplist, finallyNalin Dahyabhai2008-05-161-1/+35
|
* - switch to using virtual attributesNalin Dahyabhai2008-05-161-1/+5
| | | | | - read the name of the master for a map from "cn=config"'s nsslapd-localhost attribute, which is a virtual attribute
* - fix a log messageNalin Dahyabhai2008-05-141-1/+2
|
* - fix a couple of log messagesNalin Dahyabhai2008-05-131-4/+4
|
* - use writev() to send stream chunks in one part instead of twoNalin Dahyabhai2008-05-131-10/+25
|
* - use PRBool instead of bool_t where we interface with the mapNalin Dahyabhai2008-04-181-4/+6
|
* - warning cleanupsNalin Dahyabhai2008-04-021-2/+1
|
* - finish getting the basic NIS server going againNalin Dahyabhai2008-04-011-58/+189
|