[SCM] Samba Shared Repository - branch v3-3-test updated

Karolin Seeger kseeger at samba.org
Wed Feb 24 08:12:59 MST 2010


The branch, v3-3-test has been updated
       via  dd4194b... s3:winbind: Fix bug 5626
      from  40f3594... s3:winbindd: never mark external domains as internal!

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


- Log -----------------------------------------------------------------
commit dd4194bc43cc5efd7517783e5e524d252d1f82c7
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Aug 30 11:06:14 2009 +0200

    s3:winbind: Fix bug 5626
    
    Apparently the AIX compiler can't deal with sizeless array declarations

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

Summary of changes:
 source/winbindd/winbindd_domain.c  |   20 +++++++++-----------
 source/winbindd/winbindd_idmap.c   |   16 +++++++---------
 source/winbindd/winbindd_locator.c |   16 +++++++---------
 3 files changed, 23 insertions(+), 29 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_domain.c b/source/winbindd/winbindd_domain.c
index 2e8c617..1b76bbd 100644
--- a/source/winbindd/winbindd_domain.c
+++ b/source/winbindd/winbindd_domain.c
@@ -25,17 +25,6 @@
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
 
-static const struct winbindd_child_dispatch_table domain_dispatch_table[];
-
-void setup_domain_child(struct winbindd_domain *domain,
-			struct winbindd_child *child)
-{
-	setup_child(child, domain_dispatch_table,
-		    "log.wb", domain->name);
-
-	child->domain = domain;
-}
-
 static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
 	{
 		.name		= "LOOKUPSID",
@@ -117,3 +106,12 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
 		.name		= NULL,
 	}
 };
+
+void setup_domain_child(struct winbindd_domain *domain,
+			struct winbindd_child *child)
+{
+	setup_child(child, domain_dispatch_table,
+		    "log.wb", domain->name);
+
+	child->domain = domain;
+}
diff --git a/source/winbindd/winbindd_idmap.c b/source/winbindd/winbindd_idmap.c
index 94a8c78..ae80c8a 100644
--- a/source/winbindd/winbindd_idmap.c
+++ b/source/winbindd/winbindd_idmap.c
@@ -38,17 +38,8 @@
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
 
-static const struct winbindd_child_dispatch_table idmap_dispatch_table[];
-
 static struct winbindd_child static_idmap_child;
 
-void init_idmap_child(void)
-{
-	setup_child(&static_idmap_child,
-		    idmap_dispatch_table,
-		    "log.winbindd", "idmap");
-}
-
 struct winbindd_child *idmap_child(void)
 {
 	return &static_idmap_child;
@@ -564,3 +555,10 @@ static const struct winbindd_child_dispatch_table idmap_dispatch_table[] = {
 		.name		= NULL,
 	}
 };
+
+void init_idmap_child(void)
+{
+	setup_child(&static_idmap_child,
+		    idmap_dispatch_table,
+		    "log.winbindd", "idmap");
+}
diff --git a/source/winbindd/winbindd_locator.c b/source/winbindd/winbindd_locator.c
index b60d235..0737834 100644
--- a/source/winbindd/winbindd_locator.c
+++ b/source/winbindd/winbindd_locator.c
@@ -27,17 +27,8 @@
 #define DBGC_CLASS DBGC_WINBIND
 
 
-static const struct winbindd_child_dispatch_table locator_dispatch_table[];
-
 static struct winbindd_child static_locator_child;
 
-void init_locator_child(void)
-{
-	setup_child(&static_locator_child,
-		    locator_dispatch_table,
-		    "log.winbindd", "locator");
-}
-
 struct winbindd_child *locator_child(void)
 {
 	return &static_locator_child;
@@ -164,3 +155,10 @@ static const struct winbindd_child_dispatch_table locator_dispatch_table[] = {
 		.name		= NULL,
 	}
 };
+
+void init_locator_child(void)
+{
+	setup_child(&static_locator_child,
+		    locator_dispatch_table,
+		    "log.winbindd", "locator");
+}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list