CoSign: Collaborative Single Sign-On  
AnnouncementsDiscussion
 

cosign-discuss at umich.edu
general discussion of cosign development and deployment
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: v1.6.0: install error, short array



Thanks Phil! :) Good catch.

I've fixed the krbpath limit ( is now MAXPATHLEN ), and added snprintf() for all the krbpath building calls. This change is checked into CVS.

We'll take a look at the "services" thing and get back to you. :)

-J

On May 11, 2004, at 7:58 PM, Phil Pishioneri wrote:

Get this trying to install 1.6.0:

cd common; make all
Target "all" is up to date.
cd libsnet; make all
Target "all" is up to date.
cd filters/apache; make all
Target "all" is up to date.
cd libcgi; make all
Target "all" is up to date.
cd cgi; make all
Target "all" is up to date.
cd html; make all
Target "all" is up to date.
cd daemon; make all
Target "all" is up to date.
for i in cgi html daemon filters/apache; do (cd $i; make install); done
mkdir -p /webaccess
mkdir -p /webaccess/html
if [ x != x ]; then .././install-sh -c -m 0755 -c /webaccess/html/; fi
if [ x != xcosign.cgi ]; then .././install-sh -c -m 0755 -c cosign.cgi /webaccess/html/; mkdir -p /webaccess/cgi-ssl; .././install-sh -c -m 0755 -c logout /webaccess/cgi-ssl/; fi
mkdir -p /webaccess
mkdir -p /webaccess/templates
for i in error.html login.html login_error.html redirect.html verify-logout.html post_error.html; do .././install-sh -c -m 0644 -c $i /webaccess/templates/; cp -r images/ services/ cosign.css post_error.html /webaccess/html/; done
cp: services: A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.



Stop. make: 1254-004 The error code from the last command is 2.


I can't find anything named "*services*" in my source tree.

Also, regarding the new config directive to set the ticket cache location: In the files that use it:

./cgi/cgi.c
./daemon/command.c
./filters/apache/connect.c
./filters/apache2/connect.c

"krbpath" isn't long enough (currently 24 chars) to hold long names. Also, only cgi.c is using snprintf, the others are using sprintf (possible overwrites?). krb4path seems to have similar issues.

-Phil


!DSPAM:40a168ce189341662014884!



 
Copyright © 2002 - 2004 Regents of the University of Michigan :  Page last updated 15-December-2010