summaryrefslogtreecommitdiff
path: root/server/uloc.c
Commit message (Collapse)AuthorAge
* rototill uloc.c to be a little less pathologicalGravatar Karl Ramm2013-03-16
| | | | | | | | Notably, use realloc rather than allocating and copying a whole new table. Also be more consistent about operating in terms of array indices rather then pointers.
* Test the low-level code in uloc.cGravatar Karl Ramm2013-03-16
| | | | | | | | | Also, tweak the debian build infrastructure so that we can pass in arbitrary CFLAGS. New program test_server that links with the non-main.c parts of the server. Currently only (as above) tests the low-level bits of uloc.c.
* Allow opstaff to submit location updates for usersGravatar Jeffrey Hutzelman2013-02-26
| | | | | | | This allows anyone on opstaff.acl to submit location updates, including flushing all locations, for a user other than themselves. This is the server side of #102
* Make OPSTAFF_VIS actually visible to opstaffGravatar Jeffrey Hutzelman2013-02-26
| | | | This fixes #101
* it is the TWENTY-FIRST CENTURY, we can STOP USING K&RGravatar Karl Ramm2009-08-09
|
* Factor out code that extacts a sockaddr_in from a notice (and stop using theGravatar Karl Ramm2009-07-29
| | | | | | | deprecated sender_addr macro.) Actually remove the code from realm.c:real_dispatch because nothing was using the result. Ran nuke-trailing-whitespace on all the files I touched, as usual.
* passes gcc -Wall with no warnings other than des cryppt C_block sadness and ↵Gravatar Karl Ramm2008-01-21
| | | | getsid problem
* de K&RifyGravatar Karl Ramm2008-01-21
|
* protect if statement from macro braindamageGravatar Karl Ramm2007-12-25
|
* /afs/andrew.cmu.edu/usr18/cg2v/zephyr-krb5-server-20071215+.diffGravatar Karl Ramm2007-12-25
|
* applied athena-update-branch patchGravatar Karl Ramm2007-12-25
|
* sender_in_realm() was renamed to realm_sender_in_realm(), and now takesGravatar Garry Zacheiss2001-02-26
| | | | different arguments.
* Reinstate the policy that realm-visible locations cannot be seen byGravatar Greg Hudson2000-01-22
| | | | unauthentic ulocate requests.
* Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.Gravatar Greg Hudson1999-01-22
|
* Actually increment the loop pointer in ulogin_find().Gravatar Greg Hudson1998-10-26
|
* Search for locations by <user,addr,port> in cases where we were searchingGravatar Greg Hudson1998-10-13
| | | | by <user,machine,tty> (which includes setting exposure and logout).
* Clean up dead code.Gravatar Greg Hudson1998-09-27
|
* Remember to dump the tty field.Gravatar Greg Hudson1998-07-09
|
* Pull in sources from zephyr locker. See /mit/zephyr/repository forGravatar Greg Hudson1997-09-14
| | | | detailed change information.
* Got rid of that stupid meaningless message about your loginGravatar Greg Hudson1994-10-31
| | | | information being tampered with.
* Don't do signal blocking; simply set a semaphore flag indicating it isGravatar Richard Basch1994-08-01
| | | | | in critical code, and let the main loop deal with the flag being set. This saves on context switches into the kernel for this rare condition.
* Removed extraneous comments.Gravatar Richard Basch1993-11-19
|
* Added POSIX signal handlingGravatar Richard Basch1993-09-24
|
* Commented out unreached code.Gravatar Richard Basch1993-05-05
|
* Cosmetic changes (comment, indentation).Gravatar Richard Basch1993-04-20
| | | | (was investigating unreached code)
* Bad prototype for ulogin_add_user (changed for error propogation)Gravatar Richard Basch1993-04-20
| | | | ulocate_dispatch did not return after nak'ing a packet in one case.
* Propogate an error back to the client when an error was encounteredGravatar Richard Basch1993-04-20
| | | | during the visibility setting.
* Make sure we reset "locations" if we had an error (ulogin_add_user)Gravatar Richard Basch1993-03-23
| | | | | Do not pass the end of the message and then check (ulogin_parse) Made ulogin_find a little easier to follow and less prone to fenceposts.
* saber complains about pure assignment statements in ifs-Gravatar Lucien Van Elsen1992-08-14
|
* fix leaks in ulogin_setup and ulogin_findGravatar Lucien Van Elsen1992-08-10
|
* turn off other debugging info (for speed)Gravatar Lucien Van Elsen1992-01-17
| | | | | | remove unused debugging code only downcase usernames free all temporary zstrings
* Converted back to ANSI C (with ifdef's for standard C)Gravatar Lucien Van Elsen1991-12-04
|
* increment counter while deleting a range of locationsGravatar Kenneth G Raeburn1991-05-13
| | | | | for dump_locs, use larger buffer, and static pointers initialized each time through the loop.
* ulogin_find now returns pointer-to-pointer so offsets work; callersGravatar Kenneth G Raeburn1991-04-02
| | | | changed.
* Remove name `_exposure_type'. `ZLocation_t' is now a class withGravatar Kenneth G Raeburn1991-03-21
| | | | | | | ZString members and equality comparison defined. Compatibility code deleted. Location array is now array of pointers to ZLocation_t objects. In dumping location database, use temporary strings to optimize.
* C++ conversion and lots of modifications from summer & fall workGravatar Kenneth G Raeburn1990-11-13
|
* Changed "??" to "?" to avoid trigraph problems.Gravatar Kenneth G Raeburn1990-05-16
|
* machine names are case insensitiveGravatar John Kohl1989-12-13
|
* add support for counting old-style requestsGravatar John Kohl1989-10-26
|
* From zephyr dev: fixed problems in ulogin_flush_user, not freeingGravatar Kenneth G Raeburn1988-10-24
| | | | memory and copying data from the free'd area.
* Checking that logout notices are for the sender; verify thatGravatar Kenneth G Raeburn1988-10-19
| | | | pointer values are NULL before calling free().
* fix possible problem with uninitialized fields in notice structureGravatar John Kohl1988-07-19
|
* was freeing too muchGravatar John Kohl1988-07-16
|
* be more careful about freeing stuff; plug memory leaksGravatar John Kohl1988-07-08
|
* remove obsolete xfreeGravatar John Kohl1988-06-25
|
* fix up sense_logoutGravatar John Kohl1988-06-24
|
* fix syslog error messagesGravatar John Kohl1988-06-23
|
* fix rcsidGravatar John Kohl1988-06-23
|
* lint fixesGravatar John Kohl1988-06-22
|
* set num_other_fields to zero.Gravatar John Kohl1988-06-17
| | | | | | | | send an ack to a current rev client. if changing or setting exposure, also update the time. location needs to be sent back to the sender. found is still a pointer, not an int (yet another bug) return an answer, not garbage