The branch, v3-5-test has been updated
       via  baecb5a s3: Fix Bug 8047 -- Fix mdns registration if "interfaces=" 
is used
      from  3e0f539 alpha_strcpy() is a utility function which reportedly: 
Strips out all but 'a-Z0-9' and the character in other_safe_chars and replaces 
with '_'.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit baecb5a35e9f50140cf78e2dbdfe9f2791653875
Author: Marc A. Dahlhaus <[email protected]>
Date:   Fri Apr 1 22:24:56 2011 +0200

    s3: Fix Bug 8047 -- Fix mdns registration if "interfaces=" is used

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/server.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 0c59135..8c0fa80 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -600,6 +600,13 @@ static bool open_sockets_smbd(struct smbd_parent_context 
*parent,
                                        continue;
                                }
 
+                               /* Keep the first port for mDNS service
+                                * registration.
+                                */
+                               if (dns_port == 0) {
+                                       dns_port = port;
+                               }
+
                                if (!smbd_open_one_socket(parent, ifss, port)) {
                                        return false;
                                }


-- 
Samba Shared Repository

Reply via email to