[Rt-commit] rt branch, 4.2/rt-external-auth, repushed
Alex Vandiver
alexmv at bestpractical.com
Thu Mar 12 15:52:33 EDT 2015
The branch 4.2/rt-external-auth was deleted and repushed:
was b83b1e6dea0539c2a595195705efd0bb41e6b0ac
now f00cb5414839f2af76bd4dc08de47e246023ec69
1: 1dadd32 ! 1: 111a4d0 Prompt to password _after_ telling them how it will be sent
@@ -15,7 +15,7 @@
+++ b/bin/rt.in
@@
my $how = $config{server} =~ /^https/ ? 'over SSL' : 'unencrypted';
- (my $server = $config{server}) =~ s/^.*\/\/([^\/]+)\/?/$1/;
+ my($server) = $config{server} =~ m{^.*//([^/]+)};
if ($config{externalauth}) {
- $h->authorization_basic($config{user}, $config{passwd} || read_passwd() );
print " Password will be sent to $server $how\n",
2: b83b1e6 ! 2: f00cb54 Allow GSSAPI authentication in bin/rt
@@ -67,7 +67,7 @@
@@
# Should we send authentication information to start a new session?
my $how = $config{server} =~ /^https/ ? 'over SSL' : 'unencrypted';
- (my $server = $config{server}) =~ s/^.*\/\/([^\/]+)\/?/$1/;
+ my($server) = $config{server} =~ m{^.*//([^/]+)};
- if ($config{externalauth}) {
+
+ if ($config{auth} eq "gssapi") {
More information about the rt-commit
mailing list