--- loncom/auth/loncacc.pm 2011/11/12 18:48:41 1.58 +++ loncom/auth/loncacc.pm 2011/11/12 19:37:40 1.59 @@ -2,7 +2,7 @@ # Cookie Based Access Handler for Construction Area # (lonacc: 5/21/99,5/22,5/29,5/31 Gerd Kortemeyer) # -# $Id: loncacc.pm,v 1.58 2011/11/12 18:48:41 raeburn Exp $ +# $Id: loncacc.pm,v 1.59 2011/11/12 19:37:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -194,7 +194,7 @@ sub handler { my ($ownername,$ownerdom,$ownerhome) = &constructaccess($requrl,'setpriv'); if (($ownername ne '') && ($ownerdom ne '') && ($ownerhome ne '')) { unless ($ownerhome eq 'no_host') { - my @hosts = &Apache::lonnet::current_machine_domains(); + my @hosts = &Apache::lonnet::current_machine_ids(); if (grep(/^\Q$ownerhome\E$/,@hosts)) { $allowed = 1; }