New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic mistake in SMB.lua #1405

Open
bpdevries1 opened this Issue Dec 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bpdevries1

bpdevries1 commented Dec 5, 2018

It always picks the netbios domain and not the domain in --script-args=smbdomain=

at line 1404 in smb.lua
if ( smb['domain'] or smb['server'] and ( not(domain) or #domain == 0 ) ) then

Should prolly be:

if ( (smb['domain'] or smb['server']) and ( not(domain) or #domain == 0 ) ) then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment