terry+samba | 1 Jan 2010 05:12
Favicon

Windows 7 .vhd "The version does not support this version of the file format" error

  I searched the archives for this particular error message, and only found
one match from a user doing backups from Windows Server 2008 R2.

  I'm running FreeBSD 7.2 with (initially) SAMBA 3.3.9 from the FreeBSD
Ports Collection. I have a very simple config (included below).

  The client is Windows 7 Ultimate x64 (RTM version w/ all Windows updates
applied).

  I can create a Virtual Hard Disk (.vhd file) on a SAMBA share from within
Windows' Computer Management / Disk Management and then use the .vhd file
with no problems. However, if I then detach the VHD (or reboot), any at-
tempt to re-attach the VHD results in the rather cryptic Windows error mes-
sage "The version does not support this version of the file format". I have
tried it with both the drive spec and the UNC spec with the same result.

  If I copy the VHD file to the local hard drive on the Windows machine, I
can mount it with no problem, so the file itself isn't corrupted.

  Thinking that this might be either something odd w/ the FreeBSD port vers-
ion or a new/corrected feature in the latest SAMBA, I downloaded 3.5.0pre2
and built it from source (all configure options defaulted except the file
paths). Running that version (confirmed with smbclient from another FreeBSD
box) didn't change the behavior. I added the "max protocol = smb2" config
file line, restarted SAMBA, and rebooted the Windows 7 PC. The problem per-
sists.

  Looking in the SAMBA logs, I don't see anything unusual.

  Is this a known issue? Are there any configuration or debugging steps I
(Continue reading)

Yann Hamon | 1 Jan 2010 10:13
Favicon

Samba as a AD slave

Dear Samba team, 

I have read with great interest your recent progress in compatibility with Active Directory, and seen that
you have asked to hear from people with interest in this. I am in charge of the IT server infrastructure of a
small/medium company (400 people, 5 offices) currently running Active Directory on Windows 2000 with
windows XP clients. We haven't upgraded the AD yet in hope to move to a samba Domain Controller.

What I would like to do to start my migration would be to keep my Windows 2k AD servers in our main office, and
build slaves in all our other offices using samba. Once this is done and works well, I would upgrade the
primary DC.

Is this possible yet? Happy testing alphas if good documentation is provided. We do not have any
replication in other offices at the moment (using basic workgroups...) so not much could go wrong.

And btw: Happy new year to the samba team!

-- 
Yann HAMON
Systems Manager
Oxford Archaeology: Exploring the Human Journey
http://thehumanjourney.net

------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty
opening them, please visit http://iso26300.info for more information.

--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

(Continue reading)

Jeff Layton | 1 Jan 2010 15:12
Picon
Favicon

Re: nfs vs. cifs based on my usage profile

On Thu, 31 Dec 2009 13:50:10 -0600
Terry <td3201 <at> gmail.com> wrote:

> Hello,
> 
> I have an interesting architecture consisting of a 3 RHEL 5.3 NFS
> nodes that mounts about 30 TB worth of iscsi disk and presents them as
> 6 different NFS shares.  It is an active-active-active cluster with
> each node presenting a couple of shares.  It works pretty well.  I am
> doubting my decision to use NFS and am wondering if CIFS would be a
> better route.  Here are the NFS stats:
> 
> getattr	lookup	access	read	write	readdirplus
> 20%         16%	        7%	        44%	9%	1%
> 
> Each NFS node pushes about 65 MB/s so they are pretty busy.  It is a
> backup/recovery application so I would describe the I/O as lots of
> small reads/writes.
> 
> Any thoughts?
> 

Why are you looking to switch?

As always, the only way to really tell is to bench it out yourself. I
can tell you though that the Linux CIFS client doesn't parallelize
writes well at all and that will probably hobble your throughput
somewhat.

--

-- 
(Continue reading)

Daniel Müller | 1 Jan 2010 16:10
Picon

Re: How to access shares via HTTP (apache2)

Why do you need to access your shares via HTTP???!!
THe only thing this might be usefull is from outside your lan over 
internet?!
If you plan this, there ist the linux opensource solution OPENVPN!! With 
this mighty software
you work with your shares and outlook from outside as if you were in your 
bureau.
Take a look at it and give it a try!
Daniel
-----Ursprüngliche Nachricht----- 
Von: "Robert LeBlanc" <robert <at> leblancnet.us>
An: "Martin Balint" <martin.balint <at> gmail.com>
Cc: <samba <at> lists.samba.org>
Gesendet: Donnerstag, 31. Dezember 2009 18:25
Betreff: Re: [Samba] How to access shares via HTTP (apache2)

> On Thu, Dec 31, 2009 at 7:35 AM, Martin Balint 
> <martin.balint <at> gmail.com>wrote:
>
>> Hello,
>> I configured samba fileserver as a member of samba domain. PDC and
>> fileserver are different machines.
>> It works great using windows sharing.
>> Now, I need to set up apache to serve my shares, but I am having
>> problem with permissions. Apache runs as www-user, and doesn't see
>> content in shares.
>> So I would like to ask, what is the proper way to use apache (or
>> another http server) to serve files on file server.
>> Using Ubuntu 9.10 and Samba 3.4.0-3ubuntu5.1.
>>
(Continue reading)

Robert LeBlanc | 1 Jan 2010 17:02
Picon

Re: How to access shares via HTTP (apache2)

On Fri, Jan 1, 2010 at 8:10 AM, Daniel Müller <mueller <at> tropenklinik.de>wrote:

> Why do you need to access your shares via HTTP???!!
> THe only thing this might be usefull is from outside your lan over
> internet?!
> If you plan this, there ist the linux opensource solution OPENVPN!! With
> this mighty software
> you work with your shares and outlook from outside as if you were in your
> bureau.
> Take a look at it and give it a try!
> Daniel
>

In our case, we already have a VPN solution (Cisco, definatly not our
choice) in place. We wanted a solution that is cross-platform and didn't
require anything to be intalled on the OS and would never be blocked by any
firewall. WebDav fit the bill alhough it sucks prety bad on Windows, it is
still there.

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Steve Rippl | 1 Jan 2010 17:50
Favicon

Re: How to access shares via HTTP (apache2)

Daniel Müller wrote:
> Why do you need to access your shares via HTTP???!!
> THe only thing this might be usefull is from outside your lan over 
> internet?!
> If you plan this, there ist the linux opensource solution OPENVPN!! 
> With this mighty software
> you work with your shares and outlook from outside as if you were in 
> your bureau.
> Take a look at it and give it a try!
> Daniel

With all due respect (really!), why do you ask a question like that?  
Different people have different requirements.  In my case I have 2000 
secondary school students that I give access to their home folders from 
home so that they don't have to do everything via usb sticks.  Should I 
manage 2000 certificates for this and complicate things for the 
students, or should I use a simple web based solution that can run from 
any browser on any machine?

OpenVPN is great, I use it for my access to the network from outside, 
but it isn't the answer to everything!

-- 
Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326

--

-- 
To unsubscribe from this list go to the following URL and read the
(Continue reading)

Daniel Müller | 2 Jan 2010 11:40
Picon

Re: How to access shares via HTTP (apache2)

Hello,
as from windows vista on web dav support from microsoft ist no more than before.
But if you do not miss the drag and drop thing and so on with your users. Try this (Linux):
http://sourceforge.net/projects/davenport 
or:
http://www.simple-groupware.de/cms/WebDAV
or their special package (supports dfs!!!):
http://www.simple-groupware.de/cms/WebDisk/IntegraTUMWebDisk

But in all cases your firewall need to be configured

Greetings
Daniel
  -----Ursprüngliche Nachricht----- 
  Von: Robert LeBlanc 
  An: Daniel Müller 
  Cc: samba <at> lists.samba.org 
  Gesendet: Freitag, 1. Januar 2010 17:02
  Betreff: Re: [Samba] How to access shares via HTTP (apache2)

  On Fri, Jan 1, 2010 at 8:10 AM, Daniel Müller <mueller <at> tropenklinik.de> wrote:

    Why do you need to access your shares via HTTP???!!
    THe only thing this might be usefull is from outside your lan over internet?!
    If you plan this, there ist the linux opensource solution OPENVPN!! With this mighty software
    you work with your shares and outlook from outside as if you were in your bureau.
    Take a look at it and give it a try!
    Daniel

  In our case, we already have a VPN solution (Cisco, definatly not our choice) in place. We wanted a solution
(Continue reading)

Peter Olcott | 3 Jan 2010 16:15
Picon

Can't get share to show up on windows

I have successfully set of two Samba servers under Red Hat Linux 6.0 and
9.0. I am having trouble getting Samba 3.0 Fedora Linux Samba to show up on
the windows machine. I can't find the solution in either of the two books
that I bought, or the online resources after spending several days working
on this.

I only need a relatively simple network, yet I also want it to be reasonably
secure. With my first server I set up fixed IP addresses and edited the
etc/hosts file. Somehow my second server can connect to my XP clients
without changes to the etc/hosts file, and without fixed IP addresses set up
on the windows XP side. I don't know how it does this. I probably want this
new server to work this same way.

I must have two Samba servers and three Windows XP boxes all connected. The
Red Hat Linux 9.0 samba box is currently working correctly with the three XP
boxes.

Appreciate you help.
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

David Southwell | 3 Jan 2010 23:41

Re: Can't get share to show up on windows

> I have successfully set of two Samba servers under Red Hat Linux 6.0 and
> 9.0. I am having trouble getting Samba 3.0 Fedora Linux Samba to show up on
> the windows machine. I can't find the solution in either of the two books
> that I bought, or the online resources after spending several days working
> on this.
> 
> I only need a relatively simple network, yet I also want it to be
>  reasonably secure. With my first server I set up fixed IP addresses and
>  edited the etc/hosts file. Somehow my second server can connect to my XP
>  clients without changes to the etc/hosts file, and without fixed IP
>  addresses set up on the windows XP side. I don't know how it does this. I
>  probably want this new server to work this same way.
> 
> I must have two Samba servers and three Windows XP boxes all connected. The
> Red Hat Linux 9.0 samba box is currently working correctly with the three
>  XP boxes.
> 
> Appreciate you help.
> 
Can you post your smb.conf and log.smb files (strip out your ip addies)
david
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

KC8LDO | 4 Jan 2010 00:57

Re: Can't get share to show up on windows

Peter;

You may find the following of interest. I had a problem where one box, 
Fedora 11, would not browse the local network for shares. I too have a very 
simple network, no DC's, no active directory etc, just one machine acting as 
a local browse master. Of the several Linux boxes I have the F11 box was the 
only one I had trouble with. I found the following info and that seemed to 
fix it for me. Turns out it really wasn't a samba problem.

I did an awful lot of research using Google on the network file share
browsing issue I had with Fedora 11 using Nautilus. The two things that
stand out are something the ISP's are doing and also with the NetBIOS name
resolution order done by Samba.

It seems many ISP's are now using "DNS redirection" in place of simply
returning an error message that the URL can't be found with the appropriate
error code. Instead they redirect bad URL's to some advert site or offer to
do a search for a similar URL. This redirection seems to really screw with
Samba's NetBIOS name resolution method.  Fortunately for me Comcast has a
way through the user account preferences to turn this "feature" OFF. Various
posts on the 'net claim this violates the documented way DNS look ups work.
The suggestion is to either turn it off if you can, which may involve a
phone call to your ISP, if not then LOUDLY complain about it screwing up you
network.

The second item is the NetBIOS name resolution order in Samba. I have the
following line in my samba.conf file:

name resolve order = lmhosts wins bcast host dhcp (or DNS for last entry)

(Continue reading)


Gmane