openwrt / openwrt/packages

samba4: unable to bind interface by IP

Open
#27,722 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Edit /etc/config/samba. Set option 'interface' to router's LAN IP.
  2. Restart samba
  3. In /etc/samba/smb.conf, "interfaces = " option is empty.
Actual Behaviour

Samba binds to all interfaces instead of specified IP.

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.