Re: [Samba] smbmount and win2003 sp1

2006-08-30 Thread Benjamin Philipp Busold

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

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


Re: [Samba] smbmount and win2003 sp1

2006-06-06 Thread Latrell
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.

Volker


I tried mount.cifs, and get the following message:

[EMAIL PROTECTED]:# mount -t cifs //localhost/share1 /tmp/testmount/ -o
username=u1,password=u11
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Anything wrong with my option?

Thanks,
Latrell

- Original Message - 
From: Volker Lendecke [EMAIL PROTECTED]
To: Latrell [EMAIL PROTECTED]
Cc: samba@lists.samba.org
Sent: Monday, June 05, 2006 8:25 PM
Subject: Re: [Samba] smbmount and win2003 sp1


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


Re: [Samba] smbmount and win2003 sp1

2006-06-06 Thread Latrell
I did some more tests.
Local user can cifsmount correctly, but when I joined domain (2003 ad domain
with sp1),  cifsmount will fail.
Then same condition also happened on smbmount.
Why does sp1 cause smbmount and cifsmount fail?

[EMAIL PROTECTED]:~# mount.cifs //localhost/share1 /tmp/testmount/ -o
username=NAS\adu1,password=adu1
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I also tried username=adu1, NAS\adu1, still not worked.

Latrell
- Original Message - 
From: Latrell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: samba@lists.samba.org
Sent: Tuesday, June 06, 2006 7:35 PM
Subject: Re: [Samba] 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.

 Volker


 I tried mount.cifs, and get the following message:

 [EMAIL PROTECTED]:# mount -t cifs //localhost/share1 /tmp/testmount/ -o
 username=u1,password=u11
 mount error 22 = Invalid argument
 Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
 Anything wrong with my option?

 Thanks,
 Latrell

 - Original Message - 
 From: Volker Lendecke [EMAIL PROTECTED]
 To: Latrell [EMAIL PROTECTED]
 Cc: samba@lists.samba.org
 Sent: Monday, June 05, 2006 8:25 PM
 Subject: Re: [Samba] smbmount and win2003 sp1


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


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


[Samba] smbmount and win2003 sp1

2006-06-05 Thread Latrell

Hi All:

I encountered a problem with smbmount and win2003 sp1.
Before I upgrade sp1, everything works fine. But after sp1, smbmount can't work.
The command and error message are as follows:
smbmount //localhost/share1 /tmp/mountest -o username=domainu1,password=password

ERRDOS - ERRnoaccess (Access Denied.)
SMB connection failed

I also checked the release note about the issue, and found a fix on 3.0.14a 
about:
Compatibility issues between Winbind and Windows 2003 SP1 domain controllers 
(*2k3sp1*).

Does it fix my bug? My version is 3.0.21c. Why did I have the problem?

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


Re: [Samba] smbmount and win2003 sp1

2006-06-05 Thread Volker Lendecke
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.

Volker


pgpW3rckWMYEi.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] smbmount and win2003 sp1

2006-06-02 Thread Latrell
Hi All:

I encountered a problem with smbmount and win2003 sp1.
Before I upgrade sp1, everything works fine. But after sp1, smbmount can't work.
The command and error message are as follows:
smbmount //localhost/share1 /tmp/mountest -o username=domainu1,password=password

ERRDOS - ERRnoaccess (Access Denied.)
SMB connection failed

I also checked the release note about the issue, and found a fix on 3.0.14a 
about:
Compatibility issues between Winbind and Windows 2003 SP1 domain controllers 
(*2k3sp1*).

Does it fix my bug? My version is 3.0.21c. Why did I have the problem?

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