MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Interface Libraries                                 libkrb5(3LIB)



NAME
     libkrb5 - MIT Kerberos 5 library

SYNOPSIS
     cc -I/usr/include/kerberosv5 [ flag... ] file... -lkrb5 [ library...]
     #include 
     #include 


DESCRIPTION
     The functions in this library are the routines that comprise
     the MIT Kerberos 5 library.

INTERFACES
     The shared object libkrb5.so provides the  public  interface
     defined below.


     The krb5 library is  provided  as  a  convenience  to  allow
     native krb5 applications to be built and to run. Compatabil-
     ity between Solaris releases of the krb5  interface  is  not
     guaranteed.   For   new   applications  that  require  these
     features, libgss(3LIB) is recomended.


     For detailed documentation on the krb5  interface,  see  the
     MIT Kerberos 5 web site at http:/web.mit.edu/kerberos.


     The krb5ccgennew routine, listed in  krb5.h  section,  is
     flawed  and should be avoided. Until a new routine is avail-
     able from MIT, the following can be done:

       char ccname[40];
       int tmpfd;

       snprintf(ccname,sizeof(ccname),"FILE:/tmp/krb5cc%dX",
               geteuid());

       if ((tmpfd = mkstemp(ccname]strlen("FILE:")))==-1) {
               log("mkstemp(): %.100s", strerror(errno));
               problem = errno;
               goto fail;
       }
       if (fchmod(tmpfd,SIRUSR  SIWUSR) == -1) {
               log("fchmod(): %.100s", strerror(errno));
               close(tmpfd);
               problem = errno;
               goto fail;
       }
        close(tmpfd);
       problem = krb5ccresolve(authctxt->krb5ctx, ccname, &ccache);



SunOS 5.11          Last change: 04 Apr 2006                    1






Interface Libraries                                 libkrb5(3LIB)



       ...
       fail:



     The  krb5stringtokey  and  krb5stringtokey   routines,
     listed  in  krb5.h section, are part of the old cryptosystem
     and should not be used in new apps.

  comerr.h
       comerr
       comerrva
       errormessage

  krb5.h
       krb5addresscompare
       krb5addressorder
       krb5addresssearch
       krb5anametolocalname
       krb5appdefaultboolean
       krb5appdefaultstring
       krb5authconfree
       krb5authcongenaddrs
       krb5authcongetchecksumfunc
       krb5authcongetaddrs
       krb5authcongetauthenticator
       krb5authcongetflags
       krb5authcongetkey
       krb5authcongetlocalseqnumber
       krb5authcongetrcache
       krb5authcongetrecvsubkey
       krb5authcongetremoteseqnumber
       krb5authcongetsendsubkey
       krb5authconinit
       krb5authconsetchecksumfunc
       krb5authconsetaddrs
       krb5authconsetflags
       krb5authconsetports
       krb5authconsetrcache
       krb5authconsetrecvsubkey
       krb5authconsetsendsubkey
       krb5authconsetuseruserkey
       krb5buildprincipal
       krb5buildprincipalext
       krb5cblocksize
       krb5cchecksumlength
       krb5cdecrypt
       krb5cencrypt
       krb5cencryptlength
       krb5cenctypecompare
       krb5cfreestate
       krb5cinitstate



SunOS 5.11          Last change: 04 Apr 2006                    2






Interface Libraries                                 libkrb5(3LIB)



       krb5ciscollproofcksum
       krb5ciskeyedcksum
       krb5ckeyedchecksumtypes
       krb5cmakechecksum
       krb5cmakerandomkey
       krb5crandommakeoctets
       krb5cstringtokey
       krb5cstringtokeywithparams
       krb5cvalidcksumtype
       krb5cvalidenctype
       krb5cverifychecksum
       krb5ccclose
       krb5cccopycreds
       krb5ccdefault
       krb5ccdefaultname
       krb5ccdestroy
       krb5ccendseqget
       krb5ccgennew
       krb5ccgetname
       krb5ccgetprincipal
       krb5ccgettype
       krb5ccinitialize
       krb5ccnextcred
       krb5ccremovecred
       krb5ccresolve
       krb5ccretrievecred
       krb5ccsetdefaultname
       krb5ccsetflags
       krb5ccstartseqget
       krb5ccstorecred
       krb5changepassword
       krb5cksumtypetostring
       krb5copyaddresses
       krb5copyauthdata
       krb5copyauthenticator
       krb5copychecksum
       krb5copycreds
       krb5copydata
       krb5copykeyblock
       krb5copykeyblockcontents
       krb5copyprincipal
       krb5copyticket
       krb5decodeticket
       krb5deltattostring
       krb5enctypetostring
       krb5freeaddresses
       krb5freeaprepencpart
       krb5freeauthdata
       krb5freeauthenticator
       krb5freechecksum
       krb5freechecksumcontents
       krb5freecksumtypes



SunOS 5.11          Last change: 04 Apr 2006                    3






Interface Libraries                                 libkrb5(3LIB)



       krb5freecontext
       krb5freecredcontents
       krb5freecreds
       krb5freedata
       krb5freedatacontents
       krb5freedefaultrealm
       krb5freeerror
       krb5freehostrealm
       krb5freekeyblock
       krb5freekeyblockcontents
       krb5freekeytabentrycontents
       krb5freeprincipal
       krb5freerealmstring
       krb5freetgtcreds
       krb5freeticket
       krb5freeunparsedname
       krb5fwdtgtcreds
       krb5getcredentials
       krb5getcredentialsrenew
       krb5getcredentialsvalidate
       krb5getdefaultrealm
       krb5gethostrealm
       krb5getinitcredskeytab
       krb5getinitcredsoptinit
       krb5getinitcredsoptsetaddresslist
       krb5getinitcredsoptsetetypelist
       krb5getinitcredsoptsetforwardable
       krb5getinitcredsoptsetpreauthlist
       krb5getinitcredsoptsetproxiable
       krb5getinitcredsoptsetrenewlife
       krb5getinitcredsoptsetsalt
       krb5getinitcredsoptsettktlife
       krb5getkeydata
       krb5getkeyenctype
       krb5getkeylength
       krb5getinitcredspassword
       krb5getpermittedenctypes
       krb5getprofile
       krb5getprompttypes
       krb5getrenewedcreds
       krb5getserverrcache
       krb5getvalidatedcreds
       krb5initallocatedkeyblock
       krb5initcontext
       krb5initkeyblock
       krb5initsecurecontext
       krb5isthreadsafe
       krb5ktaddentry
       krb5ktclose
       krb5ktdefault
       krb5ktdefaultname
       krb5ktendseqget



SunOS 5.11          Last change: 04 Apr 2006                    4






Interface Libraries                                 libkrb5(3LIB)



       krb5ktgetentry
       krb5ktgetname
       krb5ktgettype
       krb5ktnextentry
       krb5ktreadservicekey
       krb5ktremoveentry
       krb5ktresolve
       krb5ktstartseqget
       krb5kuserok
       krb5mkerror
       krb5mkncred
       krb5mkpriv
       krb5mkrep
       krb5mkreq
       krb5mkreqextended
       krb5mksafe
       krb5mk1cred
       krb5oslocaladdr
       krb5parsename
       krb5principalcompare
       krb5principal2salt
       krb5prompterposix
       krb5rdcred
       krb5rderror
       krb5rdpriv
       krb5rdrep
       krb5rdreq
       krb5rdsafe
       krb5readpassword
       krb5realmcompare
       krb5realmiterator
       krb5realmiteratorcreate
       krb5realmiteratorfree
       krb5recvauth
       krb5recvauthversion
       krb5salttypetostring
       krb5sendauth
       krb5setdefaultrealm
       krb5setdefaulttgsenctypes
       krb5setkeydata
       krb5setkeyenctype
       krb5setkeylength
       krb5setpassword
       krb5setpasswordusingccache
       krb5setprincipalrealm
       krb5setrealtime
       krb5snametoprincipal
       krb5stringtocksumtype
       krb5stringtodeltat
       krb5stringtoenctype
       krb5stringtokey
       krb5stringtosalttype



SunOS 5.11          Last change: 04 Apr 2006                    5






Interface Libraries                                 libkrb5(3LIB)



       krb5stringtotimestamp
       krb5timeofday
       krb5timestamptosfstring
       krb5timestamptostring
       krb5unparsename
       krb5unparsenameext
       krb5ustimeofday
       krb5useenctype
       krb5verifyinitcreds
       krb5verifyinitcredsoptinit
       krb5verifyinitcredsoptsetapreqnofail
       krb5xfree
       krb5xfreewrap

FILES
     /usr/lib/libkrb5.so.1       shared object


     /usr/lib/64/libkrb5.so.1    64-bit shared object


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWkrbu (32-bit and 64-bit)
    
     Interface Stability          External                    
    
     MT-Level                     Safe                        
    


SEE ALSO
     krb5-config(1), libgss(3LIB), attributes(5)















SunOS 5.11          Last change: 04 Apr 2006                    6



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™