Skip to content

Commit

Permalink
Add default to domain variable
Browse files Browse the repository at this point in the history
  • Loading branch information
skorov authored Jun 4, 2024
1 parent 3dc22e9 commit 93ce11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smbclientng/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parseArgs():

authconn = parser.add_argument_group("Authentication & connection")
authconn.add_argument("--kdcHost", dest="kdcHost", action="store", metavar="FQDN KDC", help="FQDN of KDC for Kerberos.")
authconn.add_argument("-d", "--domain", dest="auth_domain", metavar="DOMAIN", action="store", help="(FQDN) domain to authenticate to")
authconn.add_argument("-d", "--domain", dest="auth_domain", metavar="DOMAIN", action="store", default='.', help="(FQDN) domain to authenticate to")
authconn.add_argument("-u", "--user", dest="auth_username", metavar="USER", action="store", help="user to authenticate with")

secret = parser.add_argument_group()
Expand Down

0 comments on commit 93ce11d

Please sign in to comment.