Re: WIP: samba-3.4.1
On Sun, September 27, 2009 07:57, Ian McWilliam wrote: > Work in progress for samba 3.4.1. > > The main goal is to have the samba 3.4.x source build and provide > functionality as per the samba 3.0.x -main -cups -ads flavors. > > The samba 4 "merged" build is disabled and needs a great deal of work > so it not currently functional and is not a top priority ATM. > > Tests, flames, fixes, comments welcome. Hi. Thanks for your diff. I've tested it with squid + NTLM auth in trusted domains. Everything works like a charm! I've compiled squid with hand-made patch for ntlm helpers. Patch attached. squid-ntlm.diff Description: Binary data
Samba 3.4.1
Hi I tried to build the ads Flavor on sparc64, too and it worked. I used Windows 7 as a Client for Samba 3.4.1 on OpenBSD/sparc64 as a DC and everything works. Great! Regards René -- René Maroufi i...@maroufi.net
Re: Samba 3.4.1 didn't build on Snapshot from 29 Sep.
On Mon, Oct 05, 2009 at 08:31:16PM +1100, Ian McWilliam wrote: > > Did you apply the patch with patch -E ? Thanks for the hint, it compiles after patch -E. I tried it on a sparc64 machine, too. It works also on sparc64. Thanks for you work on samba. I really need a newer samba in OpenBSD, because two of my customers with OpenBSD Samba-Servers want upgrade their clients to Windows 7 and Windows 7 can't join a Samba 3.0 domain (works only with Samba 3.3+). Regards René -- René Maroufi i...@maroufi.net
Re: Samba 3.4.1 didn't build on Snapshot from 29 Sep.
On 05/10/2009, at 8:02 PM, Rene Maroufi wrote: Hi, I tried the Patch from: http://marc.info/?l=openbsd-ports&m=125402520517156&w=2 for Samba 3.4.1 on a OpenBSD i386 System with the Snapshot from 29.09. Build stops with error message: ===> Patching for samba-3.4.1 ===> Ignoring patchfile patch-Makefile_in.orig I can't seem to find a patch in there anywhere. ***> patch-WHATSNEW_txt did not apply cleanly ===> Ignoring patchfile patch-WHATSNEW_txt.orig ===> Ignoring patchfile patch-configure.orig I can't seem to find a patch in there anywhere. ***> patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html did not apply cleanly ===> Ignoring patchfile patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html.orig I can't seem to find a patch in there anywhere. ***> patch-docs_manpages_swat_8 did not apply cleanly ===> Ignoring patchfile patch-docs_manpages_swat_8.orig I can't seem to find a patch in there anywhere. ***> patch-lib_iconv.c did not apply cleanly ===> Ignoring patchfile patch-lib_iconv.c.orig ===> Ignoring patchfile patch-lib_interfaces_c.orig I can't seem to find a patch in there anywhere. ***> patch-lib_replace_repdir_getdirentries_c did not apply cleanly ===> Ignoring patchfile patch- lib_replace_repdir_getdirentries_c.orig ===> Ignoring patchfile patch-lib_smbrun_c.orig I can't seem to find a patch in there anywhere. ***> patch-libads_kerberos_keytab_c did not apply cleanly ===> Ignoring patchfile patch-libads_kerberos_keytab_c.orig ===> Ignoring patchfile patch-passdb_pdb_nds_c.orig ===> Ignoring patchfile patch-smbd_chgpasswd_c.orig I can't seem to find a patch in there anywhere. ***> patch-smbd_posix_acls_c did not apply cleanly ===> Ignoring patchfile patch-smbd_posix_acls_c.orig ===> Ignoring patchfile patch-smbd_utmp_c.orig ===> Ignoring patchfile patch-web_startstop_c.orig ===> Ignoring patchfile patch-web_swat_c.orig *** Error code 1 Stop in /usr/ports/net/samba (line 2090 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 dmesg: OpenBSD 4.6-current (GENERIC) #185: Tue Sep 29 12:05:01 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.09 GHz cpu0: FPU ,V86 ,DE ,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031479296 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/03/03, BIOS32 rev. 0 @ 0xfb210, SMBIOS rev. 2.3 @ 0xf0800 (38 entries) bios0: vendor Phoenix/Award Technologies, LTD version "6.00 PG" date 09/03/2003 bios0: VIA Technologies, Inc. KT400A-8235 apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0xdf74 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/176 (9 entries) pcibios0: PCI Exclusive IRQs: 10 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xd000 0xd/0x1000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe000, size 0x1000 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9600" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 "ATI Radeon 9600 XT Sec" rev 0x00 at pci1 dev 0 function 1 not configured rl0 at pci0 dev 5 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:01:80:3c:a2:b1 rlphy0 at rl0 phy 0: RTL internal PHY eso0 at pci0 dev 8 function 0 "ESS SOLO-1 AudioDrive" rev 0x02: ES1946 rev E, irq 10 audio0 at eso0 opl0 at eso0: model OPL3 midi0 at opl0: mpu at eso0 not configured rl1 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:40:f4:a4:bd:c2 rlphy1 at rl1 phy 0: RTL internal PHY uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2100CL2.5 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5 spdmem2 at ii
Re: Samba 3.4.1 didn't build on Snapshot from 29 Sep.
you should have used patch -E; either reapply or "find patches -size 0 | xargs rm" On 2009/10/05 11:02, Rene Maroufi wrote: > Hi, > > I tried the Patch from: > http://marc.info/?l=openbsd-ports&m=125402520517156&w=2 > for Samba 3.4.1 on a OpenBSD i386 System with the Snapshot from 29.09. > Build stops with error message: > > ===> Patching for samba-3.4.1 > ===> Ignoring patchfile patch-Makefile_in.orig > I can't seem to find a patch in there anywhere. > ***> patch-WHATSNEW_txt did not apply cleanly > ===> Ignoring patchfile patch-WHATSNEW_txt.orig > ===> Ignoring patchfile patch-configure.orig > I can't seem to find a patch in there anywhere. > ***> patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html did > not apply cleanly > ===> Ignoring patchfile > patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html.orig > I can't seem to find a patch in there anywhere. > ***> patch-docs_manpages_swat_8 did not apply cleanly > ===> Ignoring patchfile patch-docs_manpages_swat_8.orig > I can't seem to find a patch in there anywhere. > ***> patch-lib_iconv.c did not apply cleanly > ===> Ignoring patchfile patch-lib_iconv.c.orig > ===> Ignoring patchfile patch-lib_interfaces_c.orig > I can't seem to find a patch in there anywhere. > ***> patch-lib_replace_repdir_getdirentries_c did not apply cleanly > ===> Ignoring patchfile patch-lib_replace_repdir_getdirentries_c.orig > ===> Ignoring patchfile patch-lib_smbrun_c.orig > I can't seem to find a patch in there anywhere. > ***> patch-libads_kerberos_keytab_c did not apply cleanly > ===> Ignoring patchfile patch-libads_kerberos_keytab_c.orig > ===> Ignoring patchfile patch-passdb_pdb_nds_c.orig > ===> Ignoring patchfile patch-smbd_chgpasswd_c.orig > I can't seem to find a patch in there anywhere. > ***> patch-smbd_posix_acls_c did not apply cleanly > ===> Ignoring patchfile patch-smbd_posix_acls_c.orig > ===> Ignoring patchfile patch-smbd_utmp_c.orig > ===> Ignoring patchfile patch-web_startstop_c.orig > ===> Ignoring patchfile patch-web_swat_c.orig > *** Error code 1 > > Stop in /usr/ports/net/samba (line 2090 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > dmesg: > > OpenBSD 4.6-current (GENERIC) #185: Tue Sep 29 12:05:01 MDT 2009 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.09 > GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > real mem = 1073246208 (1023MB) > avail mem = 1031479296 (983MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 09/03/03, BIOS32 rev. 0 @ 0xfb210, > SMBIOS rev. 2.3 @ 0xf0800 (38 entries) > bios0: vendor Phoenix/Award Technologies, LTD version "6.00 PG" date > 09/03/2003 > bios0: VIA Technologies, Inc. KT400A-8235 > apm0 at bios0: Power Management spec V1.2 (slowidle) > apm0: AC on, battery charge unknown > acpi at bios0 function 0x0 not configured > pcibios0 at bios0: rev 2.1 @ 0xf/0xdf74 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/176 (9 entries) > pcibios0: PCI Exclusive IRQs: 10 11 > pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) > pcibios0: PCI bus #1 is the last bus > bios0: ROM list: 0xc/0xd000 0xd/0x1000 > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 > viaagp0 at pchb0: v3 > agp0 at viaagp0: aperture at 0xe000, size 0x1000 > ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "ATI Radeon 9600" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > radeondrm0 at vga1: irq 11 > drm0 at radeondrm0 > "ATI Radeon 9600 XT Sec" rev 0x00 at pci1 dev 0 function 1 not configured > rl0 at pci0 dev 5 function 0 "Realtek 8139" rev 0x10: irq 10, address > 00:01:80:3c:a2:b1 > rlphy0 at rl0 phy 0: RTL internal PHY > eso0 at pci0 dev 8 function 0 "ESS SOLO-1 AudioDrive" rev 0x02: ES1946 rev E, > irq 10 > audio0 at eso0 > opl0 at eso0: model OPL3 > midi0 at opl0: > mpu at eso0 not configured > rl1 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: irq 11, address > 00:40:f4:a4:bd:c2 > rlphy1 at rl1 phy 0: RTL internal PHY > uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 >
Samba 3.4.1 didn't build on Snapshot from 29 Sep.
Hi, I tried the Patch from: http://marc.info/?l=openbsd-ports&m=125402520517156&w=2 for Samba 3.4.1 on a OpenBSD i386 System with the Snapshot from 29.09. Build stops with error message: ===> Patching for samba-3.4.1 ===> Ignoring patchfile patch-Makefile_in.orig I can't seem to find a patch in there anywhere. ***> patch-WHATSNEW_txt did not apply cleanly ===> Ignoring patchfile patch-WHATSNEW_txt.orig ===> Ignoring patchfile patch-configure.orig I can't seem to find a patch in there anywhere. ***> patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html did not apply cleanly ===> Ignoring patchfile patch-docs_htmldocs_Samba3_Developers_Guide_pwencrypt_html.orig I can't seem to find a patch in there anywhere. ***> patch-docs_manpages_swat_8 did not apply cleanly ===> Ignoring patchfile patch-docs_manpages_swat_8.orig I can't seem to find a patch in there anywhere. ***> patch-lib_iconv.c did not apply cleanly ===> Ignoring patchfile patch-lib_iconv.c.orig ===> Ignoring patchfile patch-lib_interfaces_c.orig I can't seem to find a patch in there anywhere. ***> patch-lib_replace_repdir_getdirentries_c did not apply cleanly ===> Ignoring patchfile patch-lib_replace_repdir_getdirentries_c.orig ===> Ignoring patchfile patch-lib_smbrun_c.orig I can't seem to find a patch in there anywhere. ***> patch-libads_kerberos_keytab_c did not apply cleanly ===> Ignoring patchfile patch-libads_kerberos_keytab_c.orig ===> Ignoring patchfile patch-passdb_pdb_nds_c.orig ===> Ignoring patchfile patch-smbd_chgpasswd_c.orig I can't seem to find a patch in there anywhere. ***> patch-smbd_posix_acls_c did not apply cleanly ===> Ignoring patchfile patch-smbd_posix_acls_c.orig ===> Ignoring patchfile patch-smbd_utmp_c.orig ===> Ignoring patchfile patch-web_startstop_c.orig ===> Ignoring patchfile patch-web_swat_c.orig *** Error code 1 Stop in /usr/ports/net/samba (line 2090 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 dmesg: OpenBSD 4.6-current (GENERIC) #185: Tue Sep 29 12:05:01 MDT 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.09 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 1073246208 (1023MB) avail mem = 1031479296 (983MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/03/03, BIOS32 rev. 0 @ 0xfb210, SMBIOS rev. 2.3 @ 0xf0800 (38 entries) bios0: vendor Phoenix/Award Technologies, LTD version "6.00 PG" date 09/03/2003 bios0: VIA Technologies, Inc. KT400A-8235 apm0 at bios0: Power Management spec V1.2 (slowidle) apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0xdf74 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/176 (9 entries) pcibios0: PCI Exclusive IRQs: 10 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xd000 0xd/0x1000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80 viaagp0 at pchb0: v3 agp0 at viaagp0: aperture at 0xe000, size 0x1000 ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9600" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 "ATI Radeon 9600 XT Sec" rev 0x00 at pci1 dev 0 function 1 not configured rl0 at pci0 dev 5 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:01:80:3c:a2:b1 rlphy0 at rl0 phy 0: RTL internal PHY eso0 at pci0 dev 8 function 0 "ESS SOLO-1 AudioDrive" rev 0x02: ES1946 rev E, irq 10 audio0 at eso0 opl0 at eso0: model OPL3 midi0 at opl0: mpu at eso0 not configured rl1 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:40:f4:a4:bd:c2 rlphy1 at rl1 phy 0: RTL internal PHY uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11 uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10 uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11 ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2100CL2.5 spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2700CL2.5 spdmem2 at iic0 addr 0x52: 512MB DDR SDRAM non-parity PC2700CL2.5 pciide0 at pci0
Re: WIP: samba-3.4.1
Ian, Many thanks, I have tried this version with the ads FLAVOR, worked in both cases updated from samba-3.4.0-wip2 to this, restarted and was working. I have used on amd64 current (security = user) , and i386 4.6 stable + various ports from current running as an active directory member server (security = ads). I also used the smbclient, worked as expected. I will keep running this version from now on. If I find any problems I will let you know. Regards Nigel Taylor Ian McWilliam wrote: > Work in progress for samba 3.4.1. > > The main goal is to have the samba 3.4.x source build and provide > functionality as per the samba 3.0.x -main -cups -ads flavors. > > The samba 4 "merged" build is disabled and needs a great deal of work so > it not currently functional and is not a top priority ATM. > > Tests, flames, fixes, comments welcome. > > > Ian McWilliam > >