Opened 8 years ago
Closed 8 years ago
#278 closed defect (fixed)
b4smb.cmd and having DHCPWait = 1 in a fixed IP env
Reported by: | Herwig Bauernfeind | Owned by: | Herwig Bauernfeind |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Samba Server Scripts | Version: | Server 3.6.x |
Keywords: | Cc: |
Description
Having DHCPWait = 1 in b4smb.cmd in an environment were the server has a fixed IP has an undesirable sideeffect in case a DHCP server is present: The server will change its address during Samba startup resulting in client to loose the connection.
In conjunction with Windows CSC cache this may appear like the access rights were messed up (when in reality the client only sees the files in CSC cache).
The solution will be to properly detect in b4smb.cmd whether we should wait for a DHCP address or not.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset #993
You may now define an interface that will be checked for a fixed IP, and in case it has one, b4smb will not wait for DHCP.