ChangeLog revision 142403
1142403Snectar2004-06-22 Love <lha@stacken.kth.se> 2142403Snectar 3142403Snectar * afssys.c: 1.70->1.72: s/arla/nnpfs/ 4142403Snectar 5142403Snectar2004-06-22 Love H�rquist �strand <lha@it.su.se> 6142403Snectar 7142403Snectar * afssys.c: 1.70: support the linux /proc/fs/mumel/afs_ioctl afs 8142403Snectar "syscall" interface 9142403Snectar 10120945Snectar2003-04-23 Love H�rquist �strand <lha@it.su.se> 11120945Snectar 12120945Snectar * common.c, kafs.h: drop the int argument (the error code) from 13120945Snectar the logging function 14120945Snectar 15120945Snectar2003-04-22 Johan Danielsson <joda@pdc.kth.se> 16120945Snectar 17120945Snectar * afskrb5.c (v5_convert): better match what other functions do 18120945Snectar with values from krb5.conf, like case insensitivity 19120945Snectar 20120945Snectar2003-04-16 Love H�rquist �strand <lha@it.su.se> 21120945Snectar 22120945Snectar * kafs.3: Change .Fd #include <header.h> to .In header.h 23120945Snectar from Thomas Klausner <wiz@netbsd.org> 24120945Snectar 25120945Snectar2003-04-14 Love H�rquist �strand <lha@it.su.se> 26120945Snectar 27120945Snectar * Makefile.am: (libkafs_la_LDFLAGS): update version 28120945Snectar 29120945Snectar * Makefile.am (ROKEN_SRCS): drop strupr.c 30120945Snectar 31120945Snectar * kafs.3: document kafs_set_verbose 32120945Snectar 33120945Snectar * common.c (kafs_set_verbose): add function that (re)sets the 34120945Snectar logging function 35120945Snectar (_kafs_try_get_cred): add function that does (krb_data->get_cred) to 36120945Snectar make logging easier (that is now done in this function) 37120945Snectar (*): use _kafs_try_get_cred 38120945Snectar 39120945Snectar * afskrb5.c (get_cred): handle that inst can be the empty string too 40120945Snectar (v5_convert): use _kafs_foldup 41120945Snectar (krb5_afslog_uid_home): set name 42120945Snectar (krb5_afslog_uid_home): ditto 43120945Snectar 44120945Snectar * afskrb.c (krb_afslog_uid_home): set name 45120945Snectar (krb_afslog_uid_home): ditto 46120945Snectar 47120945Snectar * kafs_locl.h (kafs_data): add name 48120945Snectar (_kafs_foldup): internally export 49120945Snectar 50120945Snectar2003-04-11 Love H�rquist �strand <lha@it.su.se> 51120945Snectar 52120945Snectar * kafs.3: tell that cell-name is uppercased 53120945Snectar 54120945Snectar * Makefile.am: add INCLUDE_krb4 when using krb4, add INCLUDE_des 55120945Snectar when using krb5, add strupr.c 56120945Snectar 57120945Snectar * afskrb5.c: Check the cell part of the name, not the realm part 58120945Snectar when checking if 2b should be used. The reson is afs@REALM might 59120945Snectar have updated their servers but not afs/cell@REALM. Add constant 60120945Snectar KAFS_RXKAD_2B_KVNO. 61120945Snectar 62120945Snectar2003-04-06 Love H�rquist �strand <lha@it.su.se> 63120945Snectar 64120945Snectar * kafs.3: s/kerberos/Kerberos/ 65120945Snectar 66120945Snectar2003-03-19 Love H�rquist �strand <lha@it.su.se> 67120945Snectar 68120945Snectar * kafs.3: spelling, from <jmc@prioris.mini.pw.edu.pl> 69120945Snectar 70120945Snectar * kafs.3: document the kafs_settoken functions write about the 71120945Snectar krb5_appdefault option for kerberos 5 afs tokens fix prototypes 72120945Snectar 73120945Snectar2003-03-18 Love H�rquist �strand <lha@it.su.se> 74120945Snectar 75120945Snectar * afskrb5.c (kafs_settoken5): change signature to include a 76120945Snectar krb5_context, use v5_convert 77120945Snectar (v5_convert): new function, converts a krb5_ccreds to a kafs_token in 78120945Snectar three diffrent ways, not at all, local 524/2b, and using 524 79120945Snectar (v5_to_kt): add code to do local 524/2b 80120945Snectar (get_cred): use v5_convert 81120945Snectar 82120945Snectar 83120945Snectar * kafs.h (kafs_settoken5): change signature to include a 84120945Snectar krb5_context 85120945Snectar 86120945Snectar * Makefile.am: always build the libkafs library now that the 87120945Snectar kerberos 5 can stand on their own 88120945Snectar 89120945Snectar * kafs.3: expose the krb5 functions 90120945Snectar 91120945Snectar * common.c (kafs_settoken_rxkad): move all content kerberos 92120945Snectar version from kafs_settoken to kafs_settoken_rxkad 93120945Snectar (_kafs_fixup_viceid): move the fixup the timestamp to make client 94120945Snectar happy code here. 95120945Snectar (_kafs_v4_to_kt): move all the kerberos 4 dependant parts from 96120945Snectar kafs_settoken here. 97120945Snectar (*): adapt to kafs_token 98120945Snectar 99120945Snectar * afskrb5.c (kafs_settoken5): new function, inserts a krb5_creds 100120945Snectar into kernel 101120945Snectar (v5_to_kt): new function, stores a krb5_creds in struct kafs_token 102120945Snectar (get_cred): add a appdefault boolean ("libkafs", realm, "afs-use-524") 103120945Snectar that can used to toggle if there should v5 token should be used 104120945Snectar directly or converted via 524 first. 105120945Snectar 106120945Snectar * afskrb.c: move kafs_settoken here, use struct kafs_token 107120945Snectar 108120945Snectar * kafs_locl.h: include krb5-v4compat.h if needed, define an 109120945Snectar internal structure struct kafs_token that carries around for rxkad 110120945Snectar data that is independant of kerberos version 111120945Snectar 112120945Snectar2003-02-18 Love H�rquist �strand <lha@it.su.se> 113120945Snectar 114120945Snectar * dlfcn.h: s/intialize/initialize, from 115120945Snectar <jmc@prioris.mini.pw.edu.pl> 116120945Snectar 117120945Snectar2003-02-08 Assar Westerlund <assar@kth.se> 118120945Snectar 119120945Snectar * afssysdefs.h: fix FreeBSD section 120120945Snectar 121120945Snectar2003-02-06 Love H�rquist �strand <lha@it.su.se> 122120945Snectar 123120945Snectar * afssysdefs.h: use syscall 208 on openbsd (all version) use 124120945Snectar syscall 339 on freebsd 5.0 and later, use 210 on 4.x and earlier 125120945Snectar 126102644Snectar2002-08-28 Johan Danielsson <joda@pdc.kth.se> 127102644Snectar 128102644Snectar * kafs.3: move around sections (from NetBSD) 129102644Snectar 130102644Snectar2002-05-31 Assar Westerlund <assar@pdc.kth.se> 131102644Snectar 132102644Snectar * common.c: remove the trial of afs@REALM for cell != realm, it 133102644Snectar tries to use the wrong key for foreign cells 134102644Snectar 135102644Snectar2002-05-20 Johan Danielsson <joda@pdc.kth.se> 136102644Snectar 137102644Snectar * Makefile.am: version number 138102644Snectar 139102644Snectar2002-04-18 Johan Danielsson <joda@pdc.kth.se> 140102644Snectar 141102644Snectar * common.c (find_cells): make file parameter const 142102644Snectar 14390926Snectar2001-11-01 Assar Westerlund <assar@sics.se> 14490926Snectar 14590926Snectar * add strsep, and bump version to 3:3:3 14690926Snectar 14790926Snectar2001-10-27 Assar Westerlund <assar@sics.se> 14890926Snectar 14990926Snectar * Makefile.am (libkafs_la_LDFLAGS): set version to 3:2:3 15090926Snectar 15190926Snectar2001-10-24 Assar Westerlund <assar@sics.se> 15290926Snectar 15390926Snectar * afskrb.c (afslog_uid_int): handle krb_get_tf_fullname that 15490926Snectar cannot take NULLs 15590926Snectar (such as the MIT one) 15690926Snectar 15790926Snectar2001-10-22 Assar Westerlund <assar@sics.se> 15890926Snectar 15990926Snectar * Makefile.am (ROKEN_SRCS): add strlcpy.c 16090926Snectar 16190926Snectar2001-10-09 Assar Westerlund <assar@sics.se> 16290926Snectar 16390926Snectar * Makefile.am (ROKEN_SRCS): add strtok_r.c 16490926Snectar * roken_rename.h (dns_srv_order): rename correctly 16590926Snectar (strtok_r): add renaming 16690926Snectar 16790926Snectar2001-09-10 Assar Westerlund <assar@sics.se> 16890926Snectar 16990926Snectar * kafs.h, common.c: look for configuration files in /etc/arla (the 17090926Snectar location in debian's arla package) 17190926Snectar 17290926Snectar2001-08-26 Assar Westerlund <assar@sics.se> 17390926Snectar 17490926Snectar * Makefile.am: handle both krb5 and krb4 cases 17590926Snectar 17690926Snectar2001-07-19 Assar Westerlund <assar@sics.se> 17790926Snectar 17890926Snectar * Makefile.am (libkafs_la_LDFLAGS): set version to 3:0:3 17990926Snectar 18090926Snectar2001-07-12 Assar Westerlund <assar@sics.se> 18190926Snectar 18290926Snectar * common.c: look in /etc/openafs for debian openafs 18390926Snectar * kafs.h: add paths for openafs debian (/etc/openafs) 18490926Snectar 18590926Snectar * Makefile.am: add required library dependencies 18690926Snectar 18790926Snectar2001-07-03 Assar Westerlund <assar@sics.se> 18890926Snectar 18990926Snectar * Makefile.am (libkafs_la_LDFLAGS): set versoin to 2:4:2 19090926Snectar 19190926Snectar2001-06-19 Assar Westerlund <assar@sics.se> 19290926Snectar 19390926Snectar * common.c (_kafs_realm_of_cell): changed to first try exact match 19490926Snectar in CellServDB, then exact match in DNS, and finally in-exact match 19590926Snectar in CellServDB 19690926Snectar 19778527Sassar2001-05-18 Johan Danielsson <joda@pdc.kth.se> 19878527Sassar 19978527Sassar * Makefile.am: only build resolve.c if doing renaming 20078527Sassar 20178527Sassar2001-02-12 Assar Westerlund <assar@sics.se> 20278527Sassar 20378527Sassar * Makefile.am, roken_rename.h: add rename of dns functions 20478527Sassar 20572445Sassar2000-12-11 Assar Westerlund <assar@sics.se> 20672445Sassar 20772445Sassar * Makefile.am (libkafs_la_LDFLAGS): set version to 2:3:2 20872445Sassar 20972445Sassar2000-11-17 Assar Westerlund <assar@sics.se> 21072445Sassar 21172445Sassar * afssysdefs.h: solaris 8 apperently uses 65 21272445Sassar 21372445Sassar2000-09-19 Assar Westerlund <assar@sics.se> 21472445Sassar 21572445Sassar * Makefile.am (libkafs_la_LDFLAGS): bump version to 2:2:2 21672445Sassar 21772445Sassar2000-09-12 Johan Danielsson <joda@pdc.kth.se> 21872445Sassar 21972445Sassar * dlfcn.c: correct arguments to some snprintf:s 22072445Sassar 22172445Sassar2000-07-25 Johan Danielsson <joda@pdc.kth.se> 22272445Sassar 22372445Sassar * Makefile.am: bump version to 2:1:2 22472445Sassar 22572445Sassar2000-04-03 Assar Westerlund <assar@sics.se> 22672445Sassar 22772445Sassar * Makefile.am: set version to 2:0:2 22872445Sassar 22972445Sassar2000-03-20 Assar Westerlund <assar@sics.se> 23072445Sassar 23172445Sassar * afssysdefs.h: make versions later than 5.7 of solaris also use 23272445Sassar 73 23372445Sassar 23472445Sassar2000-03-16 Assar Westerlund <assar@sics.se> 23572445Sassar 23672445Sassar * afskrb.c (afslog_uid_int): use krb_get_tf_fullname instead of 23772445Sassar krb_get_default_principal 23872445Sassar 23972445Sassar2000-03-15 Assar Westerlund <assar@sics.se> 24072445Sassar 24172445Sassar * afssys.c (map_syscall_name_to_number): ignore # at 24272445Sassar beginning-of-line 24372445Sassar 24472445Sassar2000-03-13 Assar Westerlund <assar@sics.se> 24572445Sassar 24672445Sassar * afssysdefs.h: add 230 for MacOS X per information from 24772445Sassar <warner.c@apple.com> 24872445Sassar 24955682Smarkm1999-12-06 Assar Westerlund <assar@sics.se> 25055682Smarkm 25155682Smarkm * Makefile.am: set version to 1:2:1 25255682Smarkm 25355682Smarkm1999-11-22 Assar Westerlund <assar@sics.se> 25455682Smarkm 25555682Smarkm * afskrb5.c (afslog_uid_int): handle d->realm == NULL 25655682Smarkm 25755682Smarkm1999-11-17 Assar Westerlund <assar@sics.se> 25855682Smarkm 25955682Smarkm * afskrb5.c (afslog_uid_int): don't look at the local realm at 26055682Smarkm all. just use the realm from the ticket file. 26155682Smarkm 26255682Smarkm1999-10-20 Assar Westerlund <assar@sics.se> 26355682Smarkm 26455682Smarkm * Makefile.am: set version to 1:1:1 26555682Smarkm 26655682Smarkm * afskrb5.c (get_cred): always request a DES key 26755682Smarkm 26855682SmarkmMon Oct 18 17:40:21 1999 Bjoern Groenvall <bg@mummel.sics.se> 26955682Smarkm 27055682Smarkm * common.c (find_cells): Trim trailing whitespace from 27155682Smarkm cellname. Lines starting with # are regarded as comments. 27255682Smarkm 27355682SmarkmFri Oct 8 18:17:22 1999 Bjoern Groenvall <bg@mummel.sics.se> 27455682Smarkm 27555682Smarkm * afskrb.c, common.c : Change code to make a clear distinction 27655682Smarkm between hinted realm and ticket realm. 27755682Smarkm 27855682Smarkm * kafs_locl.h: Added argument realm_hint. 27955682Smarkm 28055682Smarkm * common.c (_kafs_get_cred): Change code to acquire the ``best'' 28155682Smarkm possible ticket. Use cross-cell authentication only as method of 28255682Smarkm last resort. 28355682Smarkm 28455682Smarkm * afskrb.c (afslog_uid_int): Add realm_hint argument and extract 28555682Smarkm realm from ticket file. 28655682Smarkm 28755682Smarkm * afskrb5.c (afslog_uid_int): Added argument realm_hint. 28855682Smarkm 28955682Smarkm1999-10-03 Assar Westerlund <assar@sics.se> 29055682Smarkm 29155682Smarkm * afskrb5.c (get_cred): update to new krb524_convert_creds_kdc 29255682Smarkm 29355682Smarkm1999-08-12 Johan Danielsson <joda@pdc.kth.se> 29455682Smarkm 29555682Smarkm * Makefile.am: ignore the comlicated aix construct if !krb4 29655682Smarkm 29755682Smarkm1999-07-26 Assar Westerlund <assar@sics.se> 29855682Smarkm 29955682Smarkm * Makefile.am: set version to 1:0:1 30055682Smarkm 30155682Smarkm1999-07-22 Assar Westerlund <assar@sics.se> 30255682Smarkm 30355682Smarkm * afssysdefs.h: define AFS_SYSCALL to 73 for Solaris 2.7 30455682Smarkm 30555682Smarkm1999-07-07 Assar Westerlund <assar@sics.se> 30655682Smarkm 30755682Smarkm * afskrb5.c (krb5_realm_of_cell): new function 30855682Smarkm 30955682Smarkm * afskrb.c (krb_realm_of_cell): new function 31055682Smarkm (afslog_uid_int): call krb_get_lrealm correctly 31155682Smarkm 31255682Smarkm1999-06-15 Assar Westerlund <assar@sics.se> 31355682Smarkm 31455682Smarkm * common.c (realm_of_cell): rename to _kafs_realm_of_cell and 31555682Smarkm un-staticize 31655682Smarkm 31755682SmarkmFri Mar 19 14:52:29 1999 Johan Danielsson <joda@hella.pdc.kth.se> 31855682Smarkm 31955682Smarkm * Makefile.am: add version-info 32055682Smarkm 32155682SmarkmThu Mar 18 11:24:02 1999 Johan Danielsson <joda@hella.pdc.kth.se> 32255682Smarkm 32355682Smarkm * Makefile.am: include Makefile.am.common 32455682Smarkm 32555682SmarkmSat Feb 27 19:46:21 1999 Johan Danielsson <joda@hella.pdc.kth.se> 32655682Smarkm 32755682Smarkm * Makefile.am: remove EXTRA_DATA (as of autoconf 2.13/automake 32855682Smarkm 1.4) 32955682Smarkm 33055682SmarkmThu Feb 11 22:57:37 1999 Johan Danielsson <joda@hella.pdc.kth.se> 33155682Smarkm 33255682Smarkm * Makefile.am: set AIX_SRC also if !AIX 33355682Smarkm 33455682SmarkmTue Dec 1 14:45:15 1998 Johan Danielsson <joda@hella.pdc.kth.se> 33555682Smarkm 33655682Smarkm * Makefile.am: fix AIX linkage 33755682Smarkm 33855682SmarkmSun Nov 22 10:40:44 1998 Assar Westerlund <assar@sics.se> 33955682Smarkm 34055682Smarkm * Makefile.in (WFLAGS): set 34155682Smarkm 34255682SmarkmSat Nov 21 16:55:19 1998 Johan Danielsson <joda@hella.pdc.kth.se> 34355682Smarkm 34455682Smarkm * afskrb5.c: add homedir support 34555682Smarkm 34655682SmarkmSun Sep 6 20:16:27 1998 Assar Westerlund <assar@sics.se> 34755682Smarkm 34855682Smarkm * add new functionality for specifying the homedir to krb_afslog 34955682Smarkm et al 35055682Smarkm 35155682SmarkmThu Jul 16 01:27:19 1998 Assar Westerlund <assar@sics.se> 35255682Smarkm 35355682Smarkm * afssys.c: reorganize order of definitions. 35455682Smarkm (try_one, try_two): conditionalize 35555682Smarkm 35655682SmarkmThu Jul 9 18:31:52 1998 Johan Danielsson <joda@emma.pdc.kth.se> 35755682Smarkm 35855682Smarkm * common.c (realm_of_cell): make the dns fallback work 35955682Smarkm 36055682SmarkmWed Jul 8 01:39:44 1998 Assar Westerlund <assar@sics.se> 36155682Smarkm 36255682Smarkm * afssys.c (map_syscall_name_to_number): new function for finding 36355682Smarkm the number of a syscall given the name on solaris 36455682Smarkm (k_hasafs): try using map_syscall_name_to_number 36555682Smarkm 36655682SmarkmTue Jun 30 17:19:00 1998 Assar Westerlund <assar@sics.se> 36755682Smarkm 36855682Smarkm * afssys.c: rewrite and add support for environment variable 36955682Smarkm AFS_SYSCALL 37055682Smarkm 37155682Smarkm * Makefile.in (distclean): don't remove roken_rename.h 37255682Smarkm 37355682SmarkmFri May 29 19:03:20 1998 Assar Westerlund <assar@sics.se> 37455682Smarkm 37555682Smarkm * Makefile.in (roken_rename.h): remove dependency 37655682Smarkm 37755682SmarkmMon May 25 05:25:54 1998 Assar Westerlund <assar@sics.se> 37855682Smarkm 37955682Smarkm * Makefile.in (clean): try to remove shared library debris 38055682Smarkm 38155682SmarkmSun Apr 19 09:58:40 1998 Assar Westerlund <assar@sics.se> 38255682Smarkm 38355682Smarkm * Makefile.in: add symlink magic for linux 38455682Smarkm 38555682SmarkmSat Apr 4 15:08:48 1998 Assar Westerlund <assar@sics.se> 38655682Smarkm 38755682Smarkm * kafs.h: add arla paths 38855682Smarkm 38955682Smarkm * common.c (_kafs_afslog_all_local_cells): Try _PATH_ARLA_* 39055682Smarkm (_realm_of_cell): Try _PATH_ARLA_CELLSERVDB 39155682Smarkm 39255682SmarkmThu Feb 19 14:50:22 1998 Johan Danielsson <joda@emma.pdc.kth.se> 39355682Smarkm 39455682Smarkm * common.c: Don't store expired tokens (this broke when using 39555682Smarkm pag-less rsh-sessions, and `non-standard' ticket files). 39655682Smarkm 39755682SmarkmThu Feb 12 11:20:15 1998 Johan Danielsson <joda@emma.pdc.kth.se> 39855682Smarkm 39955682Smarkm * Makefile.in: Install/uninstall one library at a time. 40055682Smarkm 40155682SmarkmThu Feb 12 05:38:58 1998 Assar Westerlund <assar@sics.se> 40255682Smarkm 40355682Smarkm * Makefile.in (install): one library at a time. 40455682Smarkm 40555682SmarkmMon Feb 9 23:40:32 1998 Assar Westerlund <assar@sics.se> 40655682Smarkm 40755682Smarkm * common.c (find_cells): ignore empty lines 40855682Smarkm 40955682SmarkmTue Jan 6 04:25:58 1998 Assar Westerlund <assar@sics.se> 41055682Smarkm 41155682Smarkm * afssysdefs.h (AFS_SYSCALL): add FreeBSD 41255682Smarkm 41355682SmarkmFri Jan 2 17:08:24 1998 Assar Westerlund <assar@sics.se> 41455682Smarkm 41555682Smarkm * kafs.h: new VICEIOCTL's. From <rb@stacken.kth.se> 41655682Smarkm 41755682Smarkm * afssysdefs.h: Add OpenBSD 418