Re: Fedora 13 Samba weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1.  create a file anyware containing your credentials (I used /etc/.smbcreds) mybe use a place that only you can access
    Formate it like this
    username=yourusername
    password=yourpassword

2.  run the mount command like this
    mount -t cifs //server_ip/share /yourmountpoint/ -o credentials=/etc/.smbcreds

I use this on fedora 13 with no problems and no password in the mount command output

hope it helps
   

On Fri, Aug 13, 2010 at 14:07, kalinix <calin.kalinix.cosma@xxxxxxxxx> wrote:
On Fri, 2010-08-13 at 13:36 +0100, nux@xxxxxxxxx wrote:

> Yes, provide the password via PASSWD environment variable

not feasible, as PASSWD env var is already used.
And anyway, by using it I have the same error:

[calin@calin ~]$ sudo mount //sambaserver/share /local/mountpoint -o
username=USER
mount: block device //sambaserver/share is write-protected, mounting
read-only
mount: cannot mount block device //sambaserver/share read-only

> or via a
> credentials file. man mount.cifs
>
> --
> Nux!
> www.nux.ro
>

Now this becomes weirder:


[calin@calin ~]$ man mount.cifs
No manual entry for mount.cifs

[calin@calin ~]$ yum search mount.cifs
Loaded plugins: refresh-packagekit, remove-with-leaves, security
Warning: No matches found for: mount.cifs
No Matches found

man mount:

Mount options for cifs
      See  the  options  section  of the mount.cifs(8) man page
(samba-client package
      must be installed).

[calin@calin ~]$ yum list samba-client
Loaded plugins: refresh-packagekit, remove-with-leaves, security
Installed Packages
samba-client.x86_64                            3.5.4-62.fc13
@updates


Any ideea where I could find that man for mount.cifs? :)


--


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=================================================
To be trusted is a greater compliment than to be loved.



--

Eugene Jansen van Rensburg
eMail: eugenejvr@xxxxxxxxx

"Quit is NOT an option"


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux