Re: Accessing file from windows or to windows-CORRECTION

2010-05-07 Thread Chris Whitehouse

Jean-Paul Natola wrote:

I'd be curious to know if it is still the case that ntfs writes are
not reliable in that situation.  There are times when doing this
can be handy on a dual-boot laptop, for example.  'Anyone out there
care to comment on the state of ntfs rw access?


Sorry I was reading so much I go the commands mixed up, it's the mount_ntfs 
command I was quoting

"The windows NT/2000/XP standard filesystem, NTFS, is tightly integrated with 
Microsoft's kernel. To write to an NTFS partition, you must have extensive knowledge of 
how the filesystem works. Unfortunately, since that information is not available from 
Microsoft, you can read NTFS partitions but writing may corrupt the partition. The mount 
command is mount_ntfs(8)."

Note: Since Microsoft holds its filesystem interface so dear, and changes it 
regularly, don't count on this for frequent use. Using mount_ntfs can damage 
the filesystem



sysutils/fusefs-ntfs is supposed to have read/write for ntfs file 
systems. I used it a few times probably more than a year ago. It was 
mostly ok but I got some file corruption on big copies. The command to 
mount something is ntfs-3g if I remember rightly.


To the OP the windows SSH client PuTTY (first result in google) includes 
a command line utility pscp.exe which works like scp. Good for grabbing 
files from your BSD box to your Windows box.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-

2010-05-07 Thread Jean-Paul Natola

On 5/6/2010 5:06 PM, Jean-Paul Natola wrote:
> 
> 
> 
> This is the company wide share everyone has access to it,
> It even fails if I use the domain and enterprise admin accounts-
> 
> And as I'm typing this, could that be the reason, because im using domain 
> accounts?
> ___
> 
> That was it , I was using a domain instead of an account on the local box
> 
> Thanks everyone,
> 
> At least now I am aware of all the options


Where shall we send the bill? :)


We are a non-profit, write it off as a donation :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Fbsd1

Jean-Paul Natola wrote:

Hi all,

I have a file I need in my bsd box, would it be easier, or is it possible, to mount an 
NTFS share , or should I try to "map" a directory from the windows box.


TIA,

I have 


Xp
Win7
Win2003 
Win2008 
Freebsd 6.4


thanx   





Sounds like all your PCs are on a private LAN and this file you want 
access to will only be accessed from the LAN. I have the same setup and 
exchange files between Windows PCs and Freebsd using FTP. I enable the 
builtin FTP server in /etc/inetd.conf. Close FTP's ports to the public 
internet in the firewall. Then run a free shareware FTP client on the 
windows PC or just use the windows internet browser to target the 
Freebsd ftp server. The shareware FTP client method lets me exchange 
both ways, (move a file from win to fbsd and fbsd to win) The windows 
internet browser method is one direction only, (from fbsd to win). I set 
the FTP server up as anonymous so all LAN PCs can download and upload to 
each other using the FTP server as a post and forward service.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows-

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 5:06 PM, Jean-Paul Natola wrote:
> 
> 
> 
> This is the company wide share everyone has access to it,
> It even fails if I use the domain and enterprise admin accounts-
> 
> And as I'm typing this, could that be the reason, because im using domain 
> accounts?
> ___
> 
> That was it , I was using a domain instead of an account on the local box
> 
> Thanks everyone,
> 
> At least now I am aware of all the options


Where shall we send the bill? :)

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows-

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:52 PM, Jean-Paul Natola wrote:
>> will be established.
>>
>> Same error:
>> milter# mount_smbfs //jnat...@fcisql01/DATA /mnt
>> Password:
>> mount_smbfs: unable to open connection: syserr = Authentication error
>> milter#
>>
> 
> This sounds like you have a permissions problem on the Windows share.
> In Windows Explorer, right click on the shared directory and look
> at Properties->Sharing->Permissions.  Make sure that 'jnatola' has
> an account on that machine and that this account is permitted access
> to that share.  If that's all waorking, my guess would be you
> have the wrong password.
> 
> 
> This is the company wide share everyone has access to it,
> It even fails if I use the domain and enterprise admin accounts-
> 
> And as I'm typing this, could that be the reason, because im using domain 
> accounts?

It could be.  I've never tried mount_smbfs in a Domain, only a Workgroup.
I'm not saying it won't work, I just don't know.  I do know there
is some magic in how SMB passwords get encrypted and that it is possible
for FreeBSD to do it differently than the Win machine and thus the mount
will fail.

One more thing to try would be to create a share that requires NO password
and see what happens then.

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-

2010-05-06 Thread Jean-Paul Natola



This is the company wide share everyone has access to it,
It even fails if I use the domain and enterprise admin accounts-

And as I'm typing this, could that be the reason, because im using domain 
accounts?
___

That was it , I was using a domain instead of an account on the local box

Thanks everyone,

At least now I am aware of all the options
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-

2010-05-06 Thread Jean-Paul Natola
> will be established.
> 
> Same error:
> milter# mount_smbfs //jnat...@fcisql01/DATA /mnt
> Password:
> mount_smbfs: unable to open connection: syserr = Authentication error
> milter#
> 

This sounds like you have a permissions problem on the Windows share.
In Windows Explorer, right click on the shared directory and look
at Properties->Sharing->Permissions.  Make sure that 'jnatola' has
an account on that machine and that this account is permitted access
to that share.  If that's all waorking, my guess would be you
have the wrong password.


This is the company wide share everyone has access to it,
It even fails if I use the domain and enterprise admin accounts-

And as I'm typing this, could that be the reason, because im using domain 
accounts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-CORRECTION

2010-05-06 Thread Jean-Paul Natola

>I'd be curious to know if it is still the case that ntfs writes are
>not reliable in that situation.  There are times when doing this
>can be handy on a dual-boot laptop, for example.  'Anyone out there
>care to comment on the state of ntfs rw access?

Sorry I was reading so much I go the commands mixed up, it's the mount_ntfs 
command I was quoting

"The windows NT/2000/XP standard filesystem, NTFS, is tightly integrated with 
Microsoft's kernel. To write to an NTFS partition, you must have extensive 
knowledge of how the filesystem works. Unfortunately, since that information is 
not available from Microsoft, you can read NTFS partitions but writing may 
corrupt the partition. The mount command is mount_ntfs(8)."

Note: Since Microsoft holds its filesystem interface so dear, and changes it 
regularly, don't count on this for frequent use. Using mount_ntfs can damage 
the filesystem



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:36 PM, Modulok wrote:
>>> "writing to an NTFS partition may corrupt the partition" - I'm guessing 
>>> this is not the case anymore.
> 
> That's only when you have directly mounted an NTFS on the local
> machine. Like if you jacked a hard drive out of a windows machine and
> plugged it into your BSD machine. If you're accessing it across a
> network you're never directly accessing the file system. There is
> always an intermediary between you and it; the daemon which handles
> file i/o requests. Notice: It handles your *requests*; you never
> actually access the underlying file system.


Yes, I know this.  That was not my question.  My question is that
when you DO attach to a local NTFS partition, has the write 
corruption problem for the NTFS driver been fixed, and if so, as
of what release of FreeBSD?  I know this is now claimed to work
in Linux as for ntfs3 support. 'Just wondering where FreeBSD is
in that evolution, that's all.



Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows-

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:32 PM, Jean-Paul Natola wrote:
> 
> 
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Tim Daneliuk
> Sent: Thursday, May 06, 2010 5:28 PM
> To: FreeBSD Mailing List
> Subject: Re: Accessing file from windows or to windows-
> 
> On 5/6/2010 4:19 PM, Jean-Paul Natola wrote:
> 
> 
>> Well my book  (absolute BSD) yes its old, says:
>> "writing to an NTFS partition may corrupt the partition" - I'm guessing this 
>> is not the case anymore
>> and to answer your question; 
>>
>> 1. Its 2 separate machines 
>> 2. As a security standard I have disabled flash drives in the office 
>> 3. It will be a monthly taks
>> 4. No web access on the bsd box
>>
>> Forgot the main one, when I tried to mount I get the error
>> mount_smbfs: unable to open connection: syserr = Authentication error
> 
> This means Windows is looking for login credentials before it will
> allow you to access the share. Suppose you are user 'Jean' on your
> Windows machine,"WINDOZE" and you use a password of "foo". You want to
> get to the Windows share called "MYSHARE" and mount it locally on your
> FBSD box on /mnt. Then the command is:
> 
> 
>mount_smbfs //j...@windoze/MYSHARE /mnt
> 
> You'll get prompted for a password and, when you enter it, the mount
> will be established.
> 
> Same error:
> milter# mount_smbfs //jnat...@fcisql01/DATA /mnt
> Password:
> mount_smbfs: unable to open connection: syserr = Authentication error
> milter#
> 

This sounds like you have a permissions problem on the Windows share.
In Windows Explorer, right click on the shared directory and look
at Properties->Sharing->Permissions.  Make sure that 'jnatola' has
an account on that machine and that this account is permitted access
to that share.  If that's all waorking, my guess would be you
have the wrong password.

If you can, try accessing the share from another Windows machine
to make sure the share is working properly.



-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Modulok
>> "writing to an NTFS partition may corrupt the partition" - I'm guessing this 
>> is not the case anymore.

That's only when you have directly mounted an NTFS on the local
machine. Like if you jacked a hard drive out of a windows machine and
plugged it into your BSD machine. If you're accessing it across a
network you're never directly accessing the file system. There is
always an intermediary between you and it; the daemon which handles
file i/o requests. Notice: It handles your *requests*; you never
actually access the underlying file system.

On 5/6/10, Modulok  wrote:
> In order to 'provide' shares to a windows network you would need to
> run a daemon on FreeBSD which provides such services. The most popular
> solution is 'samba'. I think the package is called 'samba3'. You
> install it, edit its config file, which specifies what to share and
> how to share it. You then run the daemon and poof, your windows
> machines can access the shares you've configured.
>
> On the other hand, if the windows machines are providing a shared
> folder you want to access, you can just mount that share via the
> 'mount_smbfs' command. For example, if I had a windows computer named
> 'apollo' with username 'guest' and a folder named 'shared' I wanted to
> access, I could do this from my FreeBSD machine:
>
> # As root:
> mount_smbfs //gu...@apollo/shared /mnt
>
> I would now have the contents of apollo's 'shared' folder available in
> my '/mnt' directory. See 'mount_smbfs(8)' for more.
>
> Other options could involve setting up an SSH client/server on the two
> machines and use 'sftp' or 'scp' to transfer files, among others.
> -Modulok-
>
> On 5/6/10, Tim Daneliuk  wrote:
>> On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
>>>
>>> Hi all,
>>>
>>> I have a file I need in my bsd box, would it be easier, or is it
>>> possible,
>>> to mount an NTFS share , or should I try to "map" a directory from the
>>> windows box.
>>>
>>>
>>> TIA,
>>>
>>> I have
>>>
>>> Xp
>>> Win7
>>> Win2003
>>> Win2008
>>> Freebsd 6.4
>>>
>>> thanx
>>
>>
>> Same machine or two separate machines?
>>
>> Two separate machines is trivial - share
>> a directory on the Win machine and use smbfs
>> on FBSD to get to it.
>>
>> For same machine, boot FBSD, and do a mount
>> with -t ntfs as an arg  well, I don't recall
>> if 6.4 supported this or not, now that I think about it.
>>
>>
>> One-time or frequent transfer?
>>
>> There are tons of other options, especially if you're running
>> separate machines.  Not all of these are elegant, but they
>> all will work and have their place for infrequent transfers:
>>
>> - Email the file to yourself from one OS and retrieve it
>>   from the other.
>>
>> - Copy the file to a thumbdrive
>>
>> - Copy the file to a private website which can then
>>   be subsequently retrieved by another machine/OS
>>   image.
>>
>>
>>
>>
>>
>> 
>> Tim Daneliuk tun...@tundraware.com
>> PGP Key: http://www.tundraware.com/PGP/
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:30 PM, Modulok wrote:
> In order to 'provide' shares to a windows network you would need to
> run a daemon on FreeBSD which provides such services. The most popular
> solution is 'samba'. I think the package is called 'samba3'. You
> install it, edit its config file, which specifies what to share and
> how to share it. You then run the daemon and poof, your windows
> machines can access the shares you've configured.
> 


This is entirely correct, however, judging from the OP's question,
this sounds like real overkill.  mount_smbfs is in the base
FBSD system and does not require a port install to use.

Just my .1 cents worth.

> On the other hand, if the windows machines are providing a shared
> folder you want to access, you can just mount that share via the
> 'mount_smbfs' command. For example, if I had a windows computer named
> 'apollo' with username 'guest' and a folder named 'shared' I wanted to
> access, I could do this from my FreeBSD machine:
> 
> # As root:
> mount_smbfs //gu...@apollo/shared /mnt
> 
> I would now have the contents of apollo's 'shared' folder available in
> my '/mnt' directory. See 'mount_smbfs(8)' for more.
> 
> Other options could involve setting up an SSH client/server on the two
> machines and use 'sftp' or 'scp' to transfer files, among others.
> -Modulok-
> 


Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-

2010-05-06 Thread Jean-Paul Natola


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Tim Daneliuk
Sent: Thursday, May 06, 2010 5:28 PM
To: FreeBSD Mailing List
Subject: Re: Accessing file from windows or to windows-

On 5/6/2010 4:19 PM, Jean-Paul Natola wrote:


> Well my book  (absolute BSD) yes its old, says:
> "writing to an NTFS partition may corrupt the partition" - I'm guessing this 
> is not the case anymore
> and to answer your question; 
> 
> 1. Its 2 separate machines 
> 2. As a security standard I have disabled flash drives in the office 
> 3. It will be a monthly taks
> 4. No web access on the bsd box
> 
> Forgot the main one, when I tried to mount I get the error
> mount_smbfs: unable to open connection: syserr = Authentication error

This means Windows is looking for login credentials before it will
allow you to access the share. Suppose you are user 'Jean' on your
Windows machine,"WINDOZE" and you use a password of "foo". You want to
get to the Windows share called "MYSHARE" and mount it locally on your
FBSD box on /mnt. Then the command is:


   mount_smbfs //j...@windoze/MYSHARE /mnt

You'll get prompted for a password and, when you enter it, the mount
will be established.

Same error:
milter# mount_smbfs //jnat...@fcisql01/DATA /mnt
Password:
mount_smbfs: unable to open connection: syserr = Authentication error
milter#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:12 PM, Jean-Paul Natola wrote:
> 
> 
> On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
>>
>> Hi all,
>>
>> I have a file I need in my bsd box, would it be easier, or is it possible, 
>> to mount an NTFS share , or should I try to "map" a directory from the 
>> windows box.
>>
>>
>> TIA,
>>
>> I have 
>>
>> Xp
>> Win7
>> Win2003 
>> Win2008 
>> Freebsd 6.4
>>
>> thanx   
> 
> 
> Same machine or two separate machines?
> 
> Two separate machines is trivial - share 
> a directory on the Win machine and use smbfs
> on FBSD to get to it.
> 
> For same machine, boot FBSD, and do a mount
> with -t ntfs as an arg  well, I don't recall
> if 6.4 supported this or not, now that I think about it.
> 
> 
> One-time or frequent transfer?
> 
> There are tons of other options, especially if you're running
> separate machines.  Not all of these are elegant, but they
> all will work and have their place for infrequent transfers:
> 
> - Email the file to yourself from one OS and retrieve it
>   from the other.
> 
> - Copy the file to a thumbdrive
> 
> - Copy the file to a private website which can then
>   be subsequently retrieved by another machine/OS
>   image.
> 
> 
> 
> 
> Well my book  (absolute BSD) yes its old, says:
> "writing to an NTFS partition may corrupt the partition" - I'm guessing this 
> is not the case anymore
> and to answer your question; 
> 
> 1. Its 2 separate machines 
> 2. As a security standard I have disabled flash drives in the office 
> 3. It will be a monthly taks
> 4. No web access on the bsd box
> 


Quite simple then:

1) Share the directory on the windows machine where the file of interest
   can be found.

2) Use FreeBSD's mount_smbfs command to access the Windows share over
   the network.  Reading and writing over  such a mount has been quite
   reliable in my experience.

BTW, the quote to which you allude above wouldn't be relevant in your
case.  They're talking about a *single* machine that wants to mount
an ntfs partition on the locally-attached hard drive.

I'd be curious to know if it is still the case that ntfs writes are
not reliable in that situation.  There are times when doing this
can be handy on a dual-boot laptop, for example.  'Anyone out there
care to comment on the state of ntfs rw access?


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Modulok
In order to 'provide' shares to a windows network you would need to
run a daemon on FreeBSD which provides such services. The most popular
solution is 'samba'. I think the package is called 'samba3'. You
install it, edit its config file, which specifies what to share and
how to share it. You then run the daemon and poof, your windows
machines can access the shares you've configured.

On the other hand, if the windows machines are providing a shared
folder you want to access, you can just mount that share via the
'mount_smbfs' command. For example, if I had a windows computer named
'apollo' with username 'guest' and a folder named 'shared' I wanted to
access, I could do this from my FreeBSD machine:

# As root:
mount_smbfs //gu...@apollo/shared /mnt

I would now have the contents of apollo's 'shared' folder available in
my '/mnt' directory. See 'mount_smbfs(8)' for more.

Other options could involve setting up an SSH client/server on the two
machines and use 'sftp' or 'scp' to transfer files, among others.
-Modulok-

On 5/6/10, Tim Daneliuk  wrote:
> On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
>>
>> Hi all,
>>
>> I have a file I need in my bsd box, would it be easier, or is it possible,
>> to mount an NTFS share , or should I try to "map" a directory from the
>> windows box.
>>
>>
>> TIA,
>>
>> I have
>>
>> Xp
>> Win7
>> Win2003
>> Win2008
>> Freebsd 6.4
>>
>> thanx
>
>
> Same machine or two separate machines?
>
> Two separate machines is trivial - share
> a directory on the Win machine and use smbfs
> on FBSD to get to it.
>
> For same machine, boot FBSD, and do a mount
> with -t ntfs as an arg  well, I don't recall
> if 6.4 supported this or not, now that I think about it.
>
>
> One-time or frequent transfer?
>
> There are tons of other options, especially if you're running
> separate machines.  Not all of these are elegant, but they
> all will work and have their place for infrequent transfers:
>
> - Email the file to yourself from one OS and retrieve it
>   from the other.
>
> - Copy the file to a thumbdrive
>
> - Copy the file to a private website which can then
>   be subsequently retrieved by another machine/OS
>   image.
>
>
>
>
>
> 
> Tim Daneliuk tun...@tundraware.com
> PGP Key: http://www.tundraware.com/PGP/
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Diego F. Arias R.
On Thu, May 6, 2010 at 4:01 PM, Jean-Paul Natola  wrote:

>  Thx for the quick reply, one question
>
> Which one , I have
>
> Samba3
>
> Samba33
>
> Samba34
>
> Samba4wins
> --
>

look at samba.org for the lastest stable version and thats it.



-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows-

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 4:19 PM, Jean-Paul Natola wrote:


> Well my book  (absolute BSD) yes its old, says:
> "writing to an NTFS partition may corrupt the partition" - I'm guessing this 
> is not the case anymore
> and to answer your question; 
> 
> 1. Its 2 separate machines 
> 2. As a security standard I have disabled flash drives in the office 
> 3. It will be a monthly taks
> 4. No web access on the bsd box
> 
> Forgot the main one, when I tried to mount I get the error
> mount_smbfs: unable to open connection: syserr = Authentication error

This means Windows is looking for login credentials before it will
allow you to access the share. Suppose you are user 'Jean' on your
Windows machine,"WINDOZE" and you use a password of "foo". You want to
get to the Windows share called "MYSHARE" and mount it locally on your
FBSD box on /mnt. Then the command is:


   mount_smbfs //j...@windoze/MYSHARE /mnt

You'll get prompted for a password and, when you enter it, the mount
will be established.

You can automate this whole business by learning how to populate the
/etc/nsmb.conf file with the right stuff.


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Adam Vande More
On Thu, May 6, 2010 at 4:12 PM, Jean-Paul Natola  wrote:

>
> Well my book  (absolute BSD) yes its old, says:
> "writing to an NTFS partition may corrupt the partition" - I'm guessing
> this is not the case anymore
> and to answer your question;
>
> 1. Its 2 separate machines
> 2. As a security standard I have disabled flash drives in the office
> 3. It will be a monthly taks
> 4. No web access on the bsd box
>

Since there are a myriad of ways to do this, perhaps it would be better for
you to describe the nature of file usage so the most appropriate method can
be suggested.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows-

2010-05-06 Thread Jean-Paul Natola


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jean-Paul Natola
Sent: Thursday, May 06, 2010 5:13 PM
To: 'Tim Daneliuk'; FreeBSD Mailing List
Subject: RE: Accessing file from windows or to windows



On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
> 
> Hi all,
> 
> I have a file I need in my bsd box, would it be easier, or is it possible, to 
> mount an NTFS share , or should I try to "map" a directory from the windows 
> box.
> 
> 
> TIA,
> 
> I have 
> 
> Xp
> Win7
> Win2003 
> Win2008 
> Freebsd 6.4
> 
> thanx   


Same machine or two separate machines?

Two separate machines is trivial - share 
a directory on the Win machine and use smbfs
on FBSD to get to it.

For same machine, boot FBSD, and do a mount
with -t ntfs as an arg  well, I don't recall
if 6.4 supported this or not, now that I think about it.


One-time or frequent transfer?

There are tons of other options, especially if you're running
separate machines.  Not all of these are elegant, but they
all will work and have their place for infrequent transfers:

- Email the file to yourself from one OS and retrieve it
  from the other.

- Copy the file to a thumbdrive

- Copy the file to a private website which can then
  be subsequently retrieved by another machine/OS
  image.




Well my book  (absolute BSD) yes its old, says:
"writing to an NTFS partition may corrupt the partition" - I'm guessing this is 
not the case anymore
and to answer your question; 

1. Its 2 separate machines 
2. As a security standard I have disabled flash drives in the office 
3. It will be a monthly taks
4. No web access on the bsd box

Forgot the main one, when I tried to mount I get the error
mount_smbfs: unable to open connection: syserr = Authentication error
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Accessing file from windows or to windows

2010-05-06 Thread Jean-Paul Natola


On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
> 
> Hi all,
> 
> I have a file I need in my bsd box, would it be easier, or is it possible, to 
> mount an NTFS share , or should I try to "map" a directory from the windows 
> box.
> 
> 
> TIA,
> 
> I have 
> 
> Xp
> Win7
> Win2003 
> Win2008 
> Freebsd 6.4
> 
> thanx   


Same machine or two separate machines?

Two separate machines is trivial - share 
a directory on the Win machine and use smbfs
on FBSD to get to it.

For same machine, boot FBSD, and do a mount
with -t ntfs as an arg  well, I don't recall
if 6.4 supported this or not, now that I think about it.


One-time or frequent transfer?

There are tons of other options, especially if you're running
separate machines.  Not all of these are elegant, but they
all will work and have their place for infrequent transfers:

- Email the file to yourself from one OS and retrieve it
  from the other.

- Copy the file to a thumbdrive

- Copy the file to a private website which can then
  be subsequently retrieved by another machine/OS
  image.




Well my book  (absolute BSD) yes its old, says:
"writing to an NTFS partition may corrupt the partition" - I'm guessing this is 
not the case anymore
and to answer your question; 

1. Its 2 separate machines 
2. As a security standard I have disabled flash drives in the office 
3. It will be a monthly taks
4. No web access on the bsd box

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing file from windows or to windows

2010-05-06 Thread Tim Daneliuk
On 5/6/2010 3:47 PM, Jean-Paul Natola wrote:
> 
> Hi all,
> 
> I have a file I need in my bsd box, would it be easier, or is it possible, to 
> mount an NTFS share , or should I try to "map" a directory from the windows 
> box.
> 
> 
> TIA,
> 
> I have 
> 
> Xp
> Win7
> Win2003 
> Win2008 
> Freebsd 6.4
> 
> thanx   


Same machine or two separate machines?

Two separate machines is trivial - share 
a directory on the Win machine and use smbfs
on FBSD to get to it.

For same machine, boot FBSD, and do a mount
with -t ntfs as an arg  well, I don't recall
if 6.4 supported this or not, now that I think about it.


One-time or frequent transfer?

There are tons of other options, especially if you're running
separate machines.  Not all of these are elegant, but they
all will work and have their place for infrequent transfers:

- Email the file to yourself from one OS and retrieve it
  from the other.

- Copy the file to a thumbdrive

- Copy the file to a private website which can then
  be subsequently retrieved by another machine/OS
  image.






Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"