Skip to content

Commit 1ed5016

Browse files
committed
Fix: make error statement when SMB and KRB5 are defined more clear.
1 parent eb52fef commit 1ed5016

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ospd_openvas/preferencehandler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def build_credentials_as_prefs(self, credentials: Dict) -> List[str]:
669669
elif service == 'smb':
670670
if krb5_set:
671671
self.errors.append(
672-
"Kerberos and SMB credentials are mutually exclusive."
672+
"Disabled SMB: Kerberos and SMB credentials are mutually exclusive."
673673
)
674674
continue
675675
smb_set = True
@@ -682,7 +682,7 @@ def build_credentials_as_prefs(self, credentials: Dict) -> List[str]:
682682
elif service == 'krb5':
683683
if smb_set:
684684
self.errors.append(
685-
"Kerberos and SMB credentials are mutually exclusive."
685+
"Disabled KRB5: Kerberos and SMB credentials are mutually exclusive."
686686
)
687687
continue
688688
krb5_set = True

0 commit comments

Comments
 (0)