Mailinglist Archive: opensuse (2315 mails)

< Previous Next >
Re: [opensuse] Again: smb:// works, mount -t cifs not
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 1 Jul 2008 20:17:48 +0200 (CEST)
  • Message-id: <alpine.LSU.1.00.0807011955310.31208@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Tuesday 2008-07-01 at 12:17 +0100, G T Smith wrote:


I have the same problem. opensuse 10.3 and kde 3.

Have you tried the mount with the IP address rather than server name? I
not certain whether this relevant but you are also not passing a
username which means you are attempting to login with the contents of $USER.

I use this line in fstab:

//172.16.168.128/COMPARTIDA /mnt/smb/bambi cifs noauto,user 0 0

It is a Win-Me virtual machine in a vmware in the linux host, the same one I try to connect from. From konqueror I connect without problems: it asks for user and passwords, and works.

nimrodel:~ # ping bambi
PING bambi (172.16.168.128) 56(84) bytes of data.
64 bytes from bambi (172.16.168.128): icmp_seq=1 ttl=128 time=42.4 ms
64 bytes from bambi (172.16.168.128): icmp_seq=2 ttl=128 time=17.9 ms

- --- bambi ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2009ms
rtt min/avg/max/mdev = 17.949/30.197/42.446/12.249 ms


cer@nimrodel:~> mount /mnt/smb/bambi/
Password:
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


It doesn't ask for the username, but it is the same as the local user (cer).

If I change the fstab line to

//172.16.168.128/COMPARTIDA /mnt/smb/bambi cifs noauto,user,user=cer 0 0

I get:

nimrodel:~ # mount /mnt/smb/bambi/
Password:
mount error 2 = No such file or directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


I change back to

//172.16.168.128/COMPARTIDA /mnt/smb/bambi cifs noauto,user 0 0


and retry:

nimrodel:~ # USER=cer mount /mnt/smb/bambi/
Password:
mount error 2 = No such file or directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


On other ocassions I get host down, which is false. I have never been able to connect to any samba share except by using konqueror. Never. Not in my machine, not in others.



I would suspect Konqueror is using old style SMB connectivity rather
than the more recent cifs which might explain difference.

It has been said that cifs is buggy and incomplete :-(

It also
depends a bit whether you are using a workgroup or a domain (IIRC cifs
does not really work well with workgroups).

I'm not sure what Win-Me uses.

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFIanTetTMYHG2NR9URAh6GAJ9CirDN1OHXpp2APy5iD9g+Nq0uXQCfbDew
AXGC4bIQsE9AE3U6qxTIKMk=
=p3sS
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups