We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68435e6 commit a5d9b31Copy full SHA for a5d9b31
1 file changed
pysqlrecon/__main__.py
@@ -57,6 +57,10 @@ def main(
57
logger.warning("Cannot use --impersonate and --link together")
58
exit()
59
60
+ if not sql_auth and domain is None:
61
+ logger.warning("Windows authentication requires a domain specified with -d/--domain")
62
+ exit()
63
+
64
# accesing a link may require Kerberos auth
65
if link is not None and kerberos is False:
66
logger.warning("Querying a linked server may require specifying Kerberos authentication")
0 commit comments