Changeset 1693 for trunk/server/common
- Timestamp:
- Oct 23, 2010, 8:07:08 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/fc13-dev (added) merged: 1613-1638,1644-1647,1649-1650,1653,1658-1666,1668-1669,1672-1678,1680-1681
- Property svn:mergeinfo changed
-
trunk/server/common/oursrc/accountadm
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/accountadm/Makefile.in
r1376 r1693 11 11 12 12 admof: admof.c 13 $(CC) $(CPPFLAGS) $(CFLAGS) $< -L/usr/lib/afs -L/usr/lib64/afs -lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil -lcom_err -lresolv -lkrb5 -ldes - lkrb4 -o $@13 $(CC) $(CPPFLAGS) $(CFLAGS) $< -L/usr/lib/afs -L/usr/lib64/afs -lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil -lcom_err -lresolv -lkrb5 -ldes -o $@ 14 14 15 15 install: -
trunk/server/common/oursrc/accountadm/admof.c
r1601 r1693 30 30 #include <afs/afsutil.h> 31 31 #include <krb5.h> 32 #include <kerberosIV/krb.h>33 32 #include <stdbool.h> 34 33 #include <syslog.h> 34 35 #define ANAME_SZ 40 36 #define REALM_SZ 40 37 #define INST_SZ 40 38 #define MAX_K_NAME_SZ (ANAME_SZ + INST_SZ + REALM_SZ + 2) 35 39 36 40 extern int pioctl(char *, afs_int32, struct ViceIoctl *, afs_int32); … … 117 121 if (krb5_524_conv_principal(context, principal, pname, pinst, prealm) != 0) 118 122 die("internal error: krb5_524_conv_principal failed\n"); 119 if (kname_unparse(user, pname, pinst, 120 strcmp(prealm, realm_list[0]) == 0 ? NULL : prealm) != 0) 121 die("internal error: kname_unparse failed\n"); 123 124 krb5_data realm = *krb5_princ_realm(context, principal); 125 if (realm.length > REALM_SZ - 1) 126 realm.length = REALM_SZ - 1; 127 if (strlen(realm_list[0]) == realm.length && 128 memcmp(realm.data, realm_list[0], realm.length) == 0) 129 snprintf(user, MAX_K_NAME_SZ, "%s%s%s", 130 pname, pinst[0] ? "." : "", pinst); 131 else 132 snprintf(user, MAX_K_NAME_SZ, "%s%s%s@%.*s", 133 pname, pinst[0] ? "." : "", pinst, realm.length, realm.data); 122 134 123 135 krb5_free_principal(context, principal); -
trunk/server/common/oursrc/athrun
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/execsys
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/execsys/execsys-binfmt
- Property svn:mergeinfo changed
/branches/fc13-dev/server/common/oursrc/execsys/execsys-binfmt (added) merged: 1673-1675
- Property svn:mergeinfo changed
-
trunk/server/common/oursrc/httpdmods
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/logview
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/php_scripts/php_scripts-config.m4
- Property svn:mergeinfo changed
/branches/fc13-dev/server/common/oursrc/php_scripts/php_scripts-config.m4 (added) merged: 1673-1675
- Property svn:mergeinfo changed
-
trunk/server/common/oursrc/tokensys
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/oursrc/whoisd
-
Property
svn:ignore
set to
configure
autom4te.cache
-
Property
svn:ignore
set to
-
trunk/server/common/patches/krb5-kuserok-scripts.patch
r1069 r1693 36 36 FILE *fp; 37 37 char kuser[MAX_USERNAME]; 38 @@ -79,7 0+79,35 @@38 @@ -79,71 +79,35 @@ 39 39 char linebuf[BUFSIZ]; 40 40 char *newline; … … 72 72 - return(FALSE); 73 73 - } 74 - set_cloexec_file(fp); 74 75 - /* 75 76 - * For security reasons, the .k5login file must be owned either by -
trunk/server/common/patches/openafs-scripts.patch
r1509 r1693 134 134 --- openafs-1.4/src/afs/afs_osi_pag.c 135 135 +++ openafs-1.4+scripts/src/afs/afs_osi_pag.c 136 @@ - 51,6 +51,8 @@136 @@ -49,6 +49,8 @@ 137 137 #endif 138 138 /* Local variables */ … … 143 143 * Pags are implemented as follows: the set of groups whose long 144 144 * representation is '41XXXXXX' hex are used to represent the pags. 145 @@ -4 58,6 +460,15 @@145 @@ -449,6 +451,15 @@ 146 146 av->uid = acred->cr_ruid; /* default when no pag is set */ 147 147 #endif … … 156 156 + } 157 157 + 158 av->initd = 0;159 158 return 0; 160 159 } 160 161 161 diff -ur openafs-1.4/src/afs/afs_pioctl.c openafs-1.4+scripts/src/afs/afs_pioctl.c 162 162 --- openafs-1.4/src/afs/afs_pioctl.c
Note: See TracChangeset
for help on using the changeset viewer.