samba4: unable to bind interface by IP
Open
Nobody has claimed this yet.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
samba4
Maintainer
none
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
all of them
Steps to Reproduce
- Edit /etc/config/samba. Set option 'interface' to router's LAN IP.
- Restart samba
- In /etc/samba/smb.conf, "interfaces = " option is empty.
Actual Behaviour
Samba binds to all interfaces instead of specified IP.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the /etc/config/samba option and the generated /etc/samba/smb.conf, tracing how the interface setting is transferred during a Samba restart. Reproduce the empty “interfaces =” result and verify completion when the configured LAN IP appears there and Samba binds only to that interface.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100