Replies: 4 comments
-
For systemd?! Nowhere, I assume(see below).
Take a look at the place where most configuration files are located, your However, AFAIK, you cannot execute shell commands in such a file. Thus, you have to specify the workgroup manually there. You can use the cited command line from the man page to determine the workgroup or just take a look into the samba configuration. |
Beta Was this translation helpful? Give feedback.
-
I think it's /etc/default/wsdd |
Beta Was this translation helpful? Give feedback.
-
sorry, my bad. It's /usr/lib/systemd/system/wsdd.service |
Beta Was this translation helpful? Give feedback.
-
oh. /usr/lib/systemd/system/wsdd.service contains a reference to /etc/default/wsdd so I was correct. |
Beta Was this translation helpful? Give feedback.
-
I have wsdd installed via apt - I feel really silly with this but can someone tell me
A: Where do I add the SMB_GROUP line to use the samba workgroup?
B: What do I edit to allow WSDD to use those flags on startup?
set the Workgroup according to smb.conf and be verbose
SMB_GROUP=$(grep -i '^\sworkgroup\s=' smb.conf | cut -f2 -d= | tr -d '[:blank:]')
wsdd -v -w $SMB_GROUP
just to add this is debian bookworm - there appears to be no clear way as to where the conf files are created?
Beta Was this translation helpful? Give feedback.
All reactions