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=3Ddomainu1,password=3Dpassword 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, LatrellFrom inlovewithgod at gmail.com Fri Jun 2 13:49:33 2006 From: inlovewithgod at gmail.com (Jeremiah Martell) Date: Fri Jun 2 13:57:00 2006 Subject: [Samba] Getting NTLM group info about user Message-ID: <233eb300606020649h6deebe08pf8c2776db43d2b47@mail.gmail.com> I use samba on my linux box to register to a remote windows domain. I start up winbindd. Then I use "net join -S PDC -U user%pass" to join to the domain. I can test it out by authenticating myself with "wbinfo -a user%pass" which works fine. Id like to get back what groups I'm in. I tried "wbinfo -r ME" but it doesn't work: "Could not get groups for user ME". I've verified that I am actually in some groups in the windows box (active directory). What am I doing wrong? Thanks, -- - Jeremiah inlovewithGod@gmail.com
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=3Ddomainu1,password=3Dpassword 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, LatrellFrom Volker.Lendecke at SerNet.DE Mon Jun 5 12:25:49 2006 From: Volker.Lendecke at SerNet.DE (Volker Lendecke) Date: Mon Jun 5 12:26:06 2006 Subject: [Samba] smbmount and win2003 sp1 In-Reply-To: <010701c68896$e49f60c0$6cf1718c@administrator> References: <010701c68896$e49f60c0$6cf1718c@administrator> Message-ID: <E1FnE9W-00039l-00@intern.SerNet.DE> 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060605/2d8701de/attachment.bin
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: root@F933:# 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" <Volker.Lendecke@SerNet.DE> To: "Latrell" <is85022@cis.nctu.edu.tw> Cc: <samba@lists.samba.org> Sent: Monday, June 05, 2006 8:25 PM Subject: Re: [Samba] smbmount and win2003 sp1
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? root@F933:~# 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" <is85022@cis.nctu.edu.tw> To: <Volker.Lendecke@SerNet.DE> 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: > > root@F933:# 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" <Volker.Lendecke@SerNet.DE> > To: "Latrell" <is85022@cis.nctu.edu.tw> > 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 >
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