|
252 | 252 | 'passenger_app_log_file' => '/tmp/app.log',
|
253 | 253 | 'passenger_debugger' => false,
|
254 | 254 | 'gssapi' => {
|
255 |
| - 'credstore' => 'keytab:/foo/bar.keytab', |
256 |
| - 'localname' => 'On', |
257 |
| - 'sslonly' => 'Off', |
| 255 | + acceptor_name => '{HOSTNAME}', |
| 256 | + allowed_mech => ['krb5', 'iakerb', 'ntlmssp'], |
| 257 | + basic_auth => true, |
| 258 | + basic_auth_mech => ['krb5', 'iakerb', 'ntlmssp'], |
| 259 | + basic_ticket_timeout => 300, |
| 260 | + connection_bound => true, |
| 261 | + cred_store => { |
| 262 | + ccache => ['/path/to/directory'], |
| 263 | + client_keytab => ['/path/to/example.keytab'], |
| 264 | + keytab => ['/path/to/example.keytab'], |
| 265 | + }, |
| 266 | + deleg_ccache_dir => '/path/to/directory', |
| 267 | + deleg_ccache_env_var => 'KRB5CCNAME', |
| 268 | + deleg_ccache_perms => { |
| 269 | + mode => '0600', |
| 270 | + uid => 'example-user', |
| 271 | + gid => 'example-group', |
| 272 | + }, |
| 273 | + deleg_ccache_unique => true, |
| 274 | + impersonate => true, |
| 275 | + local_name => true, |
| 276 | + name_attributes => 'json', |
| 277 | + negotiate_once => true, |
| 278 | + publish_errors => true, |
| 279 | + publish_mech => true, |
| 280 | + required_name_attributes => 'auth-indicators=high', |
| 281 | + session_key => 'file:/path/to/example.key', |
| 282 | + signal_persistent_auth => true, |
| 283 | + ssl_only => true, |
| 284 | + use_s4u2_proxy => true, |
| 285 | + use_sessions => true, |
258 | 286 | },
|
259 | 287 | },
|
260 | 288 | {
|
|
945 | 973 | }
|
946 | 974 | it {
|
947 | 975 | is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
|
948 |
| - content: %r{^\s+GssapiCredStore\skeytab:/foo/bar.keytab$}, |
| 976 | + content: %r{^\s+GssapiAcceptorName\s{HOSTNAME}$}, |
| 977 | + ) |
| 978 | + } |
| 979 | + it { |
| 980 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 981 | + content: %r{^\s+GssapiAllowedMech\skrb5$}, |
| 982 | + ) |
| 983 | + } |
| 984 | + it { |
| 985 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 986 | + content: %r{^\s+GssapiAllowedMech\siakerb$}, |
| 987 | + ) |
| 988 | + } |
| 989 | + it { |
| 990 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 991 | + content: %r{^\s+GssapiAllowedMech\sntlmssp$}, |
| 992 | + ) |
| 993 | + } |
| 994 | + it { |
| 995 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 996 | + content: %r{^\s+GssapiBasicAuth\sOn$}, |
| 997 | + ) |
| 998 | + } |
| 999 | + it { |
| 1000 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1001 | + content: %r{^\s+GssapiBasicAuthMech\skrb5$}, |
| 1002 | + ) |
| 1003 | + } |
| 1004 | + it { |
| 1005 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1006 | + content: %r{^\s+GssapiBasicAuthMech\siakerb$}, |
| 1007 | + ) |
| 1008 | + } |
| 1009 | + it { |
| 1010 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1011 | + content: %r{^\s+GssapiBasicAuthMech\sntlmssp$}, |
| 1012 | + ) |
| 1013 | + } |
| 1014 | + it { |
| 1015 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1016 | + content: %r{^\s+GssapiBasicTicketTimeout\s300$}, |
| 1017 | + ) |
| 1018 | + } |
| 1019 | + it { |
| 1020 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1021 | + content: %r{^\s+GssapiConnectionBound\sOn$}, |
| 1022 | + ) |
| 1023 | + } |
| 1024 | + it { |
| 1025 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1026 | + content: %r{^\s+GssapiCredStore\sccache:FILE:/path/to/directory$}, |
| 1027 | + ) |
| 1028 | + } |
| 1029 | + it { |
| 1030 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1031 | + content: %r{^\s+GssapiCredStore\sclient_keytab:/path/to/example\.keytab$}, |
| 1032 | + ) |
| 1033 | + } |
| 1034 | + it { |
| 1035 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1036 | + content: %r{^\s+GssapiCredStore\skeytab:/path/to/example\.keytab$}, |
| 1037 | + ) |
| 1038 | + } |
| 1039 | + it { |
| 1040 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1041 | + content: %r{^\s+GssapiDelegCcacheDir\s/path/to/directory$}, |
| 1042 | + ) |
| 1043 | + } |
| 1044 | + it { |
| 1045 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1046 | + content: %r{^\s+GssapiDelegCcacheEnvVar\sKRB5CCNAME$}, |
| 1047 | + ) |
| 1048 | + } |
| 1049 | + it { |
| 1050 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1051 | + content: %r{^\s+GssapiDelegCcachePerms\smode:0600\suid:example-user\sgid:example-group$}, |
949 | 1052 | )
|
950 | 1053 | }
|
951 | 1054 | it {
|
952 | 1055 | is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
|
953 |
| - content: %r{^\s+GssapiSSLonly\sOff$}, |
| 1056 | + content: %r{^\s+GssapiDelegCcacheUnique\sOn$}, |
| 1057 | + ) |
| 1058 | + } |
| 1059 | + it { |
| 1060 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1061 | + content: %r{^\s+GssapiImpersonate\sOn$}, |
954 | 1062 | )
|
955 | 1063 | }
|
956 | 1064 | it {
|
957 | 1065 | is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
|
958 | 1066 | content: %r{^\s+GssapiLocalName\sOn$},
|
959 | 1067 | )
|
960 | 1068 | }
|
| 1069 | + it { |
| 1070 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1071 | + content: %r{^\s+GssapiNameAttributes\sjson$}, |
| 1072 | + ) |
| 1073 | + } |
| 1074 | + it { |
| 1075 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1076 | + content: %r{^\s+GssapiNegotiateOnce\sOn$}, |
| 1077 | + ) |
| 1078 | + } |
| 1079 | + it { |
| 1080 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1081 | + content: %r{^\s+GssapiPublishErrors\sOn$}, |
| 1082 | + ) |
| 1083 | + } |
| 1084 | + it { |
| 1085 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1086 | + content: %r{^\s+GssapiPublishMech\sOn$}, |
| 1087 | + ) |
| 1088 | + } |
| 1089 | + it { |
| 1090 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1091 | + content: %r{^\s+GssapiRequiredNameAttributes\s"auth-indicators=high"$}, |
| 1092 | + ) |
| 1093 | + } |
| 1094 | + it { |
| 1095 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1096 | + content: %r{^\s+GssapiSessionKey\sfile:/path/to/example\.key$}, |
| 1097 | + ) |
| 1098 | + } |
| 1099 | + it { |
| 1100 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1101 | + content: %r{^\s+GssapiSignalPersistentAuth\sOn$}, |
| 1102 | + ) |
| 1103 | + } |
| 1104 | + it { |
| 1105 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1106 | + content: %r{^\s+GssapiSSLonly\sOn$}, |
| 1107 | + ) |
| 1108 | + } |
| 1109 | + it { |
| 1110 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1111 | + content: %r{^\s+GssapiUseS4U2Proxy\sOn$}, |
| 1112 | + ) |
| 1113 | + } |
| 1114 | + it { |
| 1115 | + is_expected.to contain_concat__fragment('rspec.example.com-directories').with( |
| 1116 | + content: %r{^\s+GssapiUseSessions\sOn$}, |
| 1117 | + ) |
| 1118 | + } |
961 | 1119 | it {
|
962 | 1120 | is_expected.to contain_concat__fragment('rspec.example.com-directories').with(
|
963 | 1121 | content: %r{^\s+SSLVerifyClient\soptional$},
|
|
0 commit comments