[csw-devel] SF.net SVN: gar:[21395] csw/mgar/pkg/samba/trunk

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Wed Jun 26 16:22:52 CEST 2013


Revision: 21395
          http://gar.svn.sourceforge.net/gar/?rev=21395&view=rev
Author:   janholzh
Date:     2013-06-26 14:22:48 +0000 (Wed, 26 Jun 2013)
Log Message:
-----------
samba/trunk: more work for a release. But still lots of stuff which needs to be done

Modified Paths:
--------------
    csw/mgar/pkg/samba/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/samba/trunk/files/nss_winbind.patch
    csw/mgar/pkg/samba/trunk/files/smbd_patch_for_setgroups.patch

Modified: csw/mgar/pkg/samba/trunk/Makefile
===================================================================
--- csw/mgar/pkg/samba/trunk/Makefile	2013-06-25 18:44:18 UTC (rev 21394)
+++ csw/mgar/pkg/samba/trunk/Makefile	2013-06-26 14:22:48 UTC (rev 21395)
@@ -1,3 +1,7 @@
+#Todo stuff
+# There are lots of files and libs which are part of samba 3 package too. There should be removed from packinging
+# See http://sources.debian.net/src/samba4/4.0.3%2Bdfsg1-0.1/debian/rules
+# All remaining libs are need to be split off. See debian package too.
 
 NAME = samba
 VERSION = 4.0.6
@@ -23,250 +27,180 @@
 DISTFILES += cswkrb5.conf
 
 PATCHFILES += 0001-fix-xml.patch
+#From https://bugzilla.samba.org/show_bug.cgi?id=7588
+PATCHFILES += nss_winbind.patch
+PATCHFILES += smbd_patch_for_setgroups.patch
 
 BUILD_DEP_PKGS += CSWlibtalloc-dev
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
-PACKAGES += CSWsamba
-SPKG_DESC_CSWsamba = $(DESCRIPTION)
+PACKAGES += CSWsamba4
+SPKG_DESC_CSWsamba4 = $(DESCRIPTION)
 # PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibfam0
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibreadline6
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibcups2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibfam0
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibcups2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4 += CSWlibwbclient0
 
 # Just docs override for now
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/lmhosts.5
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/smb.conf.5
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/nmbd.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smbd.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tdbbackup.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/idmap_tdb2.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/net.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/swat.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/lmhosts.5
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/smb.conf.5
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/nmbd.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smbd.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tdbbackup.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/idmap_tdb2.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/net.8
+CHECKPKG_OVERRIDES_CSWsamba4 += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/swat.8
 
-PACKAGES += CSWsamba-client
-SPKG_DESC_CSWsamba-client = Client binaries for samba
-SMB_CLIENT_TOOLS = rpcclient smbcacls smbclient smbcquotas smbget smbspool smbtar smbtree
-PKGFILES_CSWsamba-client += $(foreach T,$(SMB_CLIENT_TOOLS),$(call baseisadirs,$(bindir),$T) $(mandir)/man1/$T\.1)
-PKGFILES_CSWsamba-client += $(mandir)/man5/smbgetrc\.5
-PKGFILES_CSWsamba-client += $(mandir)/man8/smbspool\.8
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibreadline6
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtdb1
-OBSOLETED_BY_CSWsamba-client += CSWsambaclient
-CATALOGNAME_CSWsambaclient = samba_client_stub
+PACKAGES += CSWsamba4-client
+SPKG_DESC_CSWsamba4-client = Client binaries for samba4
+SMB_CLIENT_TOOLS = cifsdd smbclient4 nmblookup4
+PKGFILES_CSWsamba4-client += $(foreach T,$(SMB_CLIENT_TOOLS),$(call baseisadirs,$(bindir),$T) $(mandir)/man1/$T\.1)
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba4-client += CSWlibtdb1
 
+
 # Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-client += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smbclient.1
+CHECKPKG_OVERRIDES_CSWsamba4-client += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smbclient.1
 
-#PACKAGES += CSWsambacommon
-SPKG_DESC_CSWsambacommon = Shared support files for samba
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWsasl
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWreadline
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibpopt
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibnet
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWkrb5lib
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWiconv
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWggettext
-
 #PACKAGES += CSWsambadoc
 SPKG_DESC_CSWsambadoc = Samba documentation
 ARCHALL_CSWsambadoc = 1
 
-PACKAGES += CSWlibsmbclient0
-SPKG_DESC_CSWlibsmbclient0 = Samba client library, libsmbclient.so.0
-PKGFILES_CSWlibsmbclient0 += $(call pkgfiles_lib,libsmbclient.so.0)
-PKGFILES_CSWlibsmbclient0 += $(mandir)/man7/libsmbclient\.7
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtdb1
-OBSOLETED_BY_CSWlibsmbclient0 += CSWsambalib
-CATALOGNAME_CSWsambalib = samba_lib_stub
-
 PACKAGES += CSWlibnetapi0
 PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
 SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
 
-PACKAGES += CSWlibsmbsharemodes0
-PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
-SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
-
-PACKAGES += CSWlibtdb1
-PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
-SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibtdb1
-
-PACKAGES += CSWlibwbclient0
-PKGFILES_CSWlibwbclient0 += $(call pkgfiles_lib,libwbclient.so.0)
-SPKG_DESC_CSWlibwbclient0 += Samba client library, libwbclient.so.0
-
-PACKAGES += CSWlibnetapi0
-PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
-SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibldap2-4-2
-
-PACKAGES += CSWlibsmbsharemodes0
-PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
-SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
-RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibtdb1
-
-PACKAGES += CSWlibtdb1
-PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
-SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
-
 PACKAGES += CSWlibnss-winbind1
 PKGFILES_CSWlibnss-winbind1 += $(call pkgfiles_lib,libnss_winbind.so.1)
 SPKG_DESC_CSWlibnss-winbind1 += Winbind nss libary,libnss_winbind.so.1
 
-PACKAGES += CSWsamba-dev
-SPKG_DESC_CSWsamba-dev = Development files for Samba, libsmbclient.so.0
-PKGFILES_CSWsamba-dev += $(PKGFILES_DEVEL)
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbclient0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibnetapi0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbsharemodes0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWsamba
-OBSOLETED_BY_CSWsamba-dev += CSWsambalibdev
-CATALOGNAME_CSWsambalibdev = samba_libdev_stub
+PACKAGES += CSWsamba4-dev
+SPKG_DESC_CSWsamba4-dev = Development files for Samba, libsmbclient.so.0
+PKGFILES_CSWsamba4-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWlibsmbclient0
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWlibnetapi0
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWlibtdb1
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWlibsmbsharemodes0
+RUNTIME_DEP_PKGS_CSWsamba4-dev += CSWsamba
 
-PACKAGES += CSWsamba-swat
-SPKG_DESC_CSWsamba-swat = Web-based samba administration tools
-PKGFILES_CSWsamba-swat += $(call baseisadirs,$(sbindir),swat)
-PKGFILES_CSWsamba-swat += $(mandir)/.*/swat\.*
-#PKGFILES_CSWsamba-swat += $(sharedstatedir)/samba/swat/.*
-PKGFILES_CSWsamba-swat += $(prefix)/swat/.*
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcups2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtdb1
-OBSOLETED_BY_CSWsamba-swat = CSWsambaswat
-CATALOGNAME_CSWsambaswat = samba_swat_stub
 
+PACKAGES += CSWsamba4-swat
+SPKG_DESC_CSWsamba4-swat = Web-based samba administration tools
+PKGFILES_CSWsamba4-swat += $(call baseisadirs,$(sbindir),swat)
+PKGFILES_CSWsamba4-swat += $(mandir)/.*/swat\.*
+PKGFILES_CSWsamba4-swat += $(sharedstatedir)/samba/swat/.*
+PKGFILES_CSWsamba4-swat += $(prefix)/swat/.*
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibcups2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba4-swat += CSWlibtdb1
+
 # Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/secure.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/nw4migration.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-Developers-Guide/pwencrypt.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/classicalprinting.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/bugreport.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/compiling.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/NetworkBrowsing.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/domain-member.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/locking.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/samba-pdc.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/install.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/diagnosis.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/pam.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/winbind.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/AccessControls.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/swat.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/lmhosts.5.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/nmbd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/idmap_tdb2.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smb.conf.5.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/winbindd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/net.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/tdbbackup.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbclient.1.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/export/home|root/opt/csw/swat/help/Samba3-HOWTO/msdfs.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/happy.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/CUPS-printing.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ch-ldap-tls.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/secure.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/nw4migration.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-Developers-Guide/pwencrypt.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/classicalprinting.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/bugreport.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/compiling.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/NetworkBrowsing.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/domain-member.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/locking.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/samba-pdc.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/install.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/diagnosis.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/pam.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/winbind.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/AccessControls.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/swat.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/lmhosts.5.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/nmbd.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/idmap_tdb2.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smb.conf.5.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/winbindd.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbd.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/net.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/tdbbackup.8.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbclient.1.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/export/home|root/opt/csw/swat/help/Samba3-HOWTO/msdfs.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/happy.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/CUPS-printing.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
+CHECKPKG_OVERRIDES_CSWsamba4-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ch-ldap-tls.html
 
-PACKAGES += CSWsamba-winbind
-SPKG_DESC_CSWsamba-winbind = Tools to authenticate users from active directory using winbind
-PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(libdir),security/pam_winbind\.so)
-PKGFILES_CSWsamba-winbind += $(sharedstatedir)/locale/.*/pam_winbind\.mo
-PKGFILES_CSWsamba-winbind += $(mandir)/man5/pam_winbind\.conf\.5
-PKGFILES_CSWsamba-winbind += $(mandir)/man7/winbind_krb5_locator\.7
-PKGFILES_CSWsamba-winbind += $(mandir)/man8/pam_winbind\.8
-PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(sbindir),winbindd)
-PKGFILES_CSWsamba-winbind += $(mandir)/man8/winbindd\.8
-PKGFILES_CSWsamba-winbind += /etc/opt/csw/init.d/cswwinbind
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibnss-winbind1
-OBSOLETED_BY_CSWsamba-winbind += CSWsambawb
-CATALOGNAME_CSWsambawb = samba_wb_stub
+PACKAGES += CSWsamba4-winbind
+SPKG_DESC_CSWsamba4-winbind = Tools to authenticate users from active directory using winbind
+PKGFILES_CSWsamba4-winbind += $(call baseisadirs,$(libdir),security/pam_winbind\.so)
+PKGFILES_CSWsamba4-winbind += $(sharedstatedir)/locale/.*/pam_winbind\.mo
+PKGFILES_CSWsamba4-winbind += $(mandir)/man5/pam_winbind\.conf\.5
+PKGFILES_CSWsamba4-winbind += $(mandir)/man7/winbind_krb5_locator\.7
+PKGFILES_CSWsamba4-winbind += $(mandir)/man8/pam_winbind\.8
+PKGFILES_CSWsamba4-winbind += $(call baseisadirs,$(sbindir),winbindd)
+PKGFILES_CSWsamba4-winbind += $(mandir)/man8/winbindd\.8
+PKGFILES_CSWsamba4-winbind += /etc/opt/csw/init.d/cswwinbind
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibtdb1
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba4-winbind += CSWlibnss-winbind1
 
 # Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-winbind += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/winbindd.8
-CHECKPKG_OVERRIDES_CSWsamba-winbind += surplus-dependency|CSWlibnss-winbind1
+CHECKPKG_OVERRIDES_CSWsamba4-winbind += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/winbindd.8
+CHECKPKG_OVERRIDES_CSWsamba4-winbind += surplus-dependency|CSWlibnss-winbind1
 
 EXTRA_CFLAGS = -lrt -lintl -lsec
 EXTRA_LDFLAGS = -lrt -lintl -lsec
@@ -281,6 +215,7 @@
 SMBLOGDIR = $(localstatedir)/samba/log
 SMBPRIVATEDIR = $(sysconfdir)/samba/private
 SMBCONFIGDIR = $(sysconfdir)/samba
+SMBPRIVATELIB = $(libdir)/samba
 
 CONFIGURE_ARGS += $(DIRPATHS)
 #Remove exec_prefix from DIRPATHS:
@@ -302,12 +237,15 @@
 CONFIGURE_ARGS += --with-ldap
 CONFIGURE_ARGS += --with-automount
 #CONFIGURE_ARGS += --with-dnsupdate=no
-CONFIGURE_ARGS += --with-privatedir=$(SMBPRIVATEDIR)
+CONFIGURE_ARGS += --with-privatedir=$(SMBPRIVATELIB)
 CONFIGURE_ARGS += --with-configdir=$(SMBCONFIGDIR)
 CONFIGURE_ARGS += --with-lockdir=$(SMBLOCKDIR)
 CONFIGURE_ARGS += --with-statedir=$(SMBLOCKDIR)
 CONFIGURE_ARGS += --with-cachedir=$(SMBLOCKDIR)
 CONFIGURE_ARGS += --with-piddir=$(SMBLOCKDIR)
+# to stay with the one build with samba 3 build this one private
+CONFIGURE_ARGS += --private-libraries=smbclient
+CONFIGURE_ARGS += --with-privatelibdir=$(SMBPRIVATELIB)
 
 CONFIGURE_ARGS += --with-logfilebase=$(SMBLOGDIR)
 

Added: csw/mgar/pkg/samba/trunk/files/nss_winbind.patch
===================================================================
--- csw/mgar/pkg/samba/trunk/files/nss_winbind.patch	                        (rev 0)
+++ csw/mgar/pkg/samba/trunk/files/nss_winbind.patch	2013-06-26 14:22:48 UTC (rev 21395)
@@ -0,0 +1,46 @@
+From 4f70bcf1aef5074f6689a6462e803961bdee7dbf Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Tue, 25 Jun 2013 15:35:33 +0200
+Subject: [PATCH 1/2] Fix nss winbind for more then 16 groups on Solaris
+
+---
+ nsswitch/winbind_nss_linux.c |    9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c
+index 8d66a74..aaabc96 100644
+--- a/nsswitch/winbind_nss_linux.c
++++ b/nsswitch/winbind_nss_linux.c
+@@ -25,6 +25,8 @@
+ #include <pthread.h>
+ #endif
+ 
++#include "lib/util/tsort.h"
++
+ #if HAVE_PTHREAD
+ static pthread_mutex_t winbind_nss_mutex = PTHREAD_MUTEX_INITIALIZER;
+ #endif
+@@ -1044,6 +1046,11 @@ _nss_winbind_getgrgid_r(gid_t gid,
+ 
+ /* Initialise supplementary groups */
+ 
++static int gid_compare(void *gid_1, void *gid_2)
++{
++	return (*(gid_t *)gid_1 - *(gid_t *)gid_2);
++}
++
+ NSS_STATUS
+ _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
+ 			    long int *size, gid_t **groups, long int limit,
+@@ -1075,6 +1082,8 @@ _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
+ 		int num_gids = response.data.num_entries;
+ 		gid_t *gid_list = (gid_t *)response.extra_data.data;
+ 
++		TYPESAFE_QSORT(gid_list, num_gids, gid_compare);
++
+ #ifdef DEBUG_NSS
+ 		fprintf(stderr, "[%5d]: initgroups %s: got NSS_STATUS_SUCCESS "
+ 				"and %d gids\n", getpid(),
+-- 
+1.7.9.2
+

Added: csw/mgar/pkg/samba/trunk/files/smbd_patch_for_setgroups.patch
===================================================================
--- csw/mgar/pkg/samba/trunk/files/smbd_patch_for_setgroups.patch	                        (rev 0)
+++ csw/mgar/pkg/samba/trunk/files/smbd_patch_for_setgroups.patch	2013-06-26 14:22:48 UTC (rev 21395)
@@ -0,0 +1,78 @@
+From 3f6a1340d574cfa16515e0b9ba5b701e566ed07c Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Tue, 25 Jun 2013 16:26:07 +0200
+Subject: [PATCH 2/2] Solaris sort groups patch
+
+---
+ source3/lib/system.c |   20 ++++++++++++--------
+ 1 file changed, 12 insertions(+), 8 deletions(-)
+
+diff --git a/source3/lib/system.c b/source3/lib/system.c
+index 8dbf7dc..33d2926 100644
+--- a/source3/lib/system.c
++++ b/source3/lib/system.c
+@@ -879,14 +879,14 @@ int groups_max(void)
+  returning an array of gid_t, but actuall return an array of int.
+ ****************************************************************************/
+ 
+-#if defined(HAVE_BROKEN_GETGROUPS)
+-
+ #ifdef HAVE_BROKEN_GETGROUPS
+ #define GID_T int
+ #else
+ #define GID_T gid_t
+ #endif
+ 
++#if defined(HAVE_BROKEN_GETGROUPS)
++
+ static int sys_broken_getgroups(int setlen, gid_t *gidset)
+ {
+ 	GID_T gid;
+@@ -929,6 +929,13 @@ static int sys_broken_getgroups(int setlen, gid_t *gidset)
+ 	return ngroups;
+ }
+ 
++#endif /* HAVE_BROKEN_GETGROUPS */
++
++static int gid_compare(void *gid_1, void *gid_2)
++{
++	return (*(GID_T *)gid_1 - *(GID_T *)gid_2);
++}
++
+ static int sys_broken_setgroups(int setlen, gid_t *gidset)
+ {
+ 	GID_T *group_list;
+@@ -955,6 +962,8 @@ static int sys_broken_setgroups(int setlen, gid_t *gidset)
+ 	for(i = 0; i < setlen; i++) 
+ 		group_list[i] = (GID_T) gidset[i]; 
+ 
++	TYPESAFE_QSORT(group_list, setlen, gid_compare);
++
+ 	if(samba_setgroups(setlen, group_list) != 0) {
+ 		int saved_errno = errno;
+ 		SAFE_FREE(group_list);
+@@ -966,8 +975,6 @@ static int sys_broken_setgroups(int setlen, gid_t *gidset)
+ 	return 0 ;
+ }
+ 
+-#endif /* HAVE_BROKEN_GETGROUPS */
+-
+ /* This is a list of systems that require the first GID passed to setgroups(2)
+  * to be the effective GID. If your system is one of these, add it here.
+  */
+@@ -1058,11 +1065,8 @@ int sys_setgroups(gid_t UNUSED(primary_gid), int setlen, gid_t *gidset)
+ 
+ #if defined(USE_BSD_SETGROUPS)
+ 	return sys_bsd_setgroups(primary_gid, setlen, gidset);
+-#elif defined(HAVE_BROKEN_GETGROUPS)
+-	return sys_broken_setgroups(setlen, gidset);
+-#else
+-	return samba_setgroups(setlen, gidset);
+ #endif
++	return sys_broken_setgroups(setlen, gidset);
+ }
+ 
+ /**************************************************************************
+-- 
+1.7.9.2
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list