[Samba] smbmount and win2003 sp1

Benjamin Philipp Busold benjamin at busold-online.org
Wed Aug 30 13:06:15 GMT 2006


Volker Lendecke schrieb:
> On Mon, Jun 05, 2006 at 07:54:51PM +0800, Latrell wrote:
>   
>> I encountered a problem with smbmount and win2003 sp1.
>>     
>
> It is very likely that smbfs does not do some of the
> advanced authentication options that W2k3 SP1 now requires.
> Please test the cifs filesystem, smbfs is unsupported for a
> while now.
>   
I've had the same problem a while ago when I had to copy a single file 
to the 2003sp1-server.
I managed to copy it by using "smbclient" and playing around with the 
"put" command.

Foobar code for the console:
smbclient //win/share -U username%password -W domain -o "get foo.txt; 
put bar.txt; exit"

"-W domain" is for servers, which are sitting in a different Domain.
If you plan to make a script for Cron, don't forget to make it 
non-readeable for non-roots because of the cleartext-password!

You can use the command without "%password". You'll have to type in the 
password, it will not be displayed then.

Files >2GB can't be transferred this way. Don't ask me why...

Greets,
Benjamin



More information about the samba mailing list