Skip to content

Commit

Permalink
Fix undefined samba workgroup.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarn committed Dec 8, 2023
1 parent e231957 commit 009e403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/linuxmuster-webui/plugins/lmn_common/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
samba_domain = f'{samba_netbios}.{samba_realm}'
except Exception:
logging.error("Can not read realm and domain from smb.conf")
samba_domain, samba_realm, samba_netbios = ['']*3
samba_domain, samba_realm, samba_netbios, samba_workgroup = ['']*4

# Fix missing entries in the lmconfig. Should be later refactored
# and the config file should be splitted
Expand Down

0 comments on commit 009e403

Please sign in to comment.