Ubuntu :: Devicekit - Mount Samba Shares From Command Line?

Dec 1, 2010

Is there a way for a normal user to mount samba shares from the command line using devicekit? It seems like I remember there was a way to do it using hal, but that's been replaced by devicekit in Lucid if I've read correctly.

I can click on the shares I want in nautilus under "Network", but I'm using fluxbox and I'd like to mount a few shares at startup. I read the documentation for the udisks command, but I can't figure out how to get it to work with samba shares.

View 2 Replies


ADVERTISEMENT

Networking :: Scan For Samba Shares Through Command Line?

Apr 23, 2011

What id the way you scan for samba shares through command line, do i need samba to be installed to do it

View 7 Replies View Related

OpenSUSE :: Kde And Samba Shares - How To Mount

Feb 25, 2011

From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.

If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.

View 2 Replies View Related

Networking :: Samba Can Mount Some Vista Shares But Not Others?

Jan 30, 2010

I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:

mount.cifs //windows_box/C$ /mnt/windows -o username=tyler,password=****

I've also tried:

mount -t smbfs
mount -t cifs

The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:

Checking permissions on the shares: seem to be ok
enabling encrypted passwords: not sure if I did it right.
editing the registry for LmCompatablity

[code].....

View 8 Replies View Related

Ubuntu Servers :: Auto Mount Group Shares With Samba PDC?

Mar 2, 2010

I've a few group shares setup with samba and a PDC (using windows 7 clients) and the home directory for each user gets mounted automatically. I've configured group shares and only members of the respective group have access to them, but my question is how do I tell samba to automount group shares based on the user group?

View 1 Replies View Related

Ubuntu Networking :: Samba Shares 'Unable To Mount Location'

May 23, 2010

on 10.04 I clicked to share my music folder with the network (other computer also having 10.04) and it installed samba for me. I restarted expecting to find sharing working as it had on the other computer by doing the exact same thing. But for some strange reason I can't access the shares on either computer through the network workgroup. It just says "Unable to Mount Location".

View 7 Replies View Related

Ubuntu Networking :: Unable To Mount Samba Shares Between Computers

Oct 15, 2010

i have a ubuntu 10.10 desktop and laptop. i installed samba, and smbfs. i shared a folder on each computer. when i browse the network i can see the laptop from the laptop, and can see the desktop from the laptop, but i cant see the laptop from the desktop. when i try to mount the share it says unable to mount, but mounts it anyway...but, i need to be able to mount it so that rsync will see the shares as a dir on the desktop. i tried manually mounting via smbmount following several threads that i found, and i keep getting error sudo smbmount //192.168.1.78/share /media/laptop Password: Unable to find suitable address

that is as far as i've been able to get. i've looked and have only been able to find threads about windows shares, not between 2 ubuntu machines. and i dont know why laptop can see the desktop but not the other way around. they have identical smb.conf files

View 2 Replies View Related

OpenSUSE Install :: Samba Shares Do Not Mount At Boot Time?

Mar 12, 2010

opesnSuse 11.1, linux 2.6.27.45-0.1-default x86_64 This host has two samba shares that are located on an OS/2 server. Neither mount at boot time but they do mount from the command line.

kernel: CIFS VFS: cifs_mount failed w/return code = -6

There are 5 other client computers that mount the same shares at boot time using almost (different user/pass info) identical data. I do not see what is different about this host.

View 5 Replies View Related

OpenSUSE Network :: SAMBA: Can Mount Windows Shares But They Are Read-only

Apr 1, 2010

I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.

In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.

View 6 Replies View Related

Debian :: Setting Up Search And Mount Local Samba Shares?

Aug 1, 2010

I do know how to set up the traditional Window shares by modifying fstab and mkdir /mnt/share. What I was wondering in this day of laptops, if there was a script that could find and mount Window shares that were hooked into your local network, but only on a temporary bases. Something like what you would do mount a usb connection, such as a camera that you had the drivers for. I do know that networks are more complex, was just interested if something like that was developed yet. Just to let you know that my scripting skills are zero, and my ability to do so less.

View 1 Replies View Related

General :: How To Mount SAMBA Shares With Windows 95 4.0 Running With QEMU?

Feb 12, 2011

I am encountering this difficulty. I have no networking onto windows 95 4.0 which in on the linux ubuntu machine. Windows 95 4.0 has no networking..

View 4 Replies View Related

Networking :: Samba Update - Cannot Mount Network Shares Using Script

May 13, 2010

I've, for years, been using a little script, as user, to mount network shares, like this:
mount.cifs //server/Data ~/Data -o username=robertw
Previously it used to be smbmount, but that changed. Anyway, the latest updates have stopped me be able to run this as a user. I tried running it as root and that just won't let me get access to the shares, tells me permission denied. I thought I'd try using fstab. This gives varying degrees of success.

Here are two of the entries:
//server/CAD /mnt/CAD cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/Data /mnt/Data cifs credentials=/etc/samba/auth.server.robertw 0 0
The auth.server.robertw clearly shows my correct username and password.

Now, I can't get into the /mnt/Data directory at all, just says permission denied and I can only read from, but not write to, the /mnt/CAD directory. My /mnt directory is like this.
drwxr-xr-x 20 500 505 0 2010-05-11 06:21 CAD/
drwxr-x--x 170 500 501 0 2010-04-09 23:18 Data/
I'm on Mandriva 2010 if that's important.

View 5 Replies View Related

Fedora Networking :: Samba Can't Mount Shares - Error Message 'Failed To Receive Shared List From Server'

Oct 4, 2009

It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.

View 14 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Server :: File Server For Windows - Mount More Than One Samba Shares As Network Disk

Jun 17, 2011

I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??

Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?

View 4 Replies View Related

Ubuntu :: Accessing A Samba Share Via Command Line?

Jul 3, 2010

I have a 500GB external usb drive connected to my USB router (running dd-wrt). I have the router setup with samba and can read/write to it from any PC on the network. I have it setup to automount in Ubuntu. How can I access that mounted samba share when I SSH into the box? I want to cp or mv files from the PC to the Networked samba share via ssh CLI.

View 9 Replies View Related

Ubuntu :: Mount Usb Drive From Command Line?

Apr 1, 2010

I used to be able to mount usb media such as a digital camera like this:

mount -t vfat /dev/sdb1 /media/usbdisk

After upgrading to karmic, it no longer works. I get this error:

mount: special device /dev/sdb1 does not exist

Here's what I have in /dev:

Code:
adsp cpu_dma_latency hpet loop6 null pts ram3 rtc0 shm tty1 tty19 tty28 tty37 tty46 tty55 tty7 usbmon0 vcs7 vcsa8
audio disk input loop7 nvidia0 ram0 ram4

[Code].....

View 9 Replies View Related

Software :: Can't Start / Stop / Restart Samba Via Command Line

Oct 12, 2010

I have a GUI for Samba already as it most likely installed, the problem is I don't have a shared folder in admin menu. I have told samba what folder to share and what user to have access to it. As well I have looked at the config file to make sure what was in the gui printed into the config file. However I cannot start, stop, restart samba via command line. I will try config package and hopefully that drops down everything,

[code]...

sudo service smbd restart unrecognized service, nmbd same thing. Now it is installed, but has no script file or the script file is not in the init.d folder like it should be still trying to figure I have come to the conclusion that the daemons are not installed and am trying to figure out what those script files look like or a way to import them off a ftp, however no luck with google so far. But the scripts files don't exist on my box. how do you install samba daemons when it says samba is already installed.

View 7 Replies View Related

General :: Mount Usb Drive In Command Line IN UBUNTU?

Mar 15, 2010

want to copy a file from my desktop to usb drive in command line...how can i do it...i have no gui interface..all i want to do it by command line.i.e how to mount the usb drive and copy the file to usb and then unmount it..i also want to access windows xp drive from linux in command line without gui interface...in opensuse there is windows folder under file system but in ubuntu there is no such option...so if i want to place a file from linux to windows drive such as d ..how can i manage it with command line...no gui interface is available...

View 1 Replies View Related

Fedora Networking :: Set Up Samba Using Command Line Terminal / Network Does Not Work

Nov 29, 2010

I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.

If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.

View 2 Replies View Related

General :: Mount A Partition In Command Line?

Nov 29, 2010

I use a ext4 partition to store my data, to mount and open that partition I open Nautilus file manager, then click on the partition icon and label on the left side.
So if I don't have a desktop environment, how can I mount a partition in terminal?

View 1 Replies View Related

Fedora :: Mount Removable Media From Command Line

Jul 6, 2010

I'm using Fedora 12, and I want to mount/unmount my USB memory stick from the command line. I know I could edit /etc/fstab and so on, but I want to emulate what happens when you mount using the GUI (I use KDE and the device notifier), that is, I want to be able to do this as an unprivileged user and not have to know the mount point exists in advance.

I'm sure in older versions of Fedora there was a command something like `gnome-user-mount' which let me do this knowing only the filesystem label... What is the current equivalent?

View 5 Replies View Related

Ubuntu Networking :: Some Command Line Way / Where Can Invoke Nautilus To Mount Windows Share

Oct 9, 2010

My computer is connected to the college lan where almost all machines are some variant of Windows OS. If i use Places > Network, while windows network is displayed, mostly it returns unable to mount shares, my workaround for this problem is I use some tool like nbtscan to see which hosts are up and then use network > Connect to Server > windows share and type in the ip address, this mounts the windows share even though Places> network doesn't display such hosts. My question is there some command line way where I can invoke nautilus to mount the windows share, ie the same job connect to server > windows share does? And is there some application like say lan surfer for windows which lists all the folders shared by a windows client.

View 3 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Ubuntu Networking :: 10.04 Can't See Shares On 9.10 Samba Server?

May 10, 2010

I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.

The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.

I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.

View 1 Replies View Related

Ubuntu :: No Access To Some Folders On Samba Shares

Sep 17, 2010

I can't access some folders on my samba share. For example I set the Video folder to share and to allow creating or moving files. But inside the video folder I cant access some folders. This only happened after I upgraded my samba client.

View 5 Replies View Related

Ubuntu Servers :: Cannot Write To Samba Shares From Mac?

Nov 5, 2010

This is (I suspect) a Mac OS issue but they've given no help (or replies!) on Mac forums so I'll ask here.I've just got a Mac and I can connect to shares on my Ubuntu (10.04) server, read files and create directories but I cannot write. I get this error:"The operation cannot be completed because you do not have sufficient privileges for some of the items."I can connect from the command line with smbclinet and write fine. I have tried several different users on both the Mac (cannot write) and Ubuntu clients (can write).Is this something to do with the ._filename files that finder creates? Or is there something wrong with the way I've set up my server? This is the first time I've used it with a Mac client.

View 9 Replies View Related

Ubuntu Networking :: Samba Shares Not Accessible On OSX?

Apr 26, 2011

I have setup Samba shares on my Ubuntu 10.10 and assigned different different username and password combination for each share.

The sharing works perfectly fine on all the Windows machines but it does not work on OSX. When I try to connect using OSX, it ends up showing waiting icon (screenshot attached) after entering username and password. (It asks for the login details after selecting the share from the list)

Following is my smb file content:

Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the

[Code].....

View 8 Replies View Related

Ubuntu Networking :: Cant Access Samba Shares?

May 31, 2011

find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:

Code:
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account

[code]....

View 1 Replies View Related

Ubuntu Servers :: Can't View Samba Shares?

Jul 23, 2011

I have a fresh installation of Ubuntu 10.04 LTS I have installed Boxee on it that is all and I am trying to set it up as a Samba Server. I have followed the instructions on following page:[URL]..On the box that I am trying to setup as a Samba Server using Nautilus I can view the shares no problem. On another Ubuntu box no such luck. I can get too Windows Network and I can see my workgroup. When I try and open the workgroup I get the following dialogue box for some time: Opening "WORKGROUP". You can stop this operation by clicking cancel. And then this error dialogue box:

Unable to mount location Failed to retrieve share list from server I have spent sometime trying to resolve this myself but have had little luck. As far as I know I have no firewalls in place; Ubuntu does not have one by default is that correct? At this time I don't have a Windows computer to try to connect too the server at this time, but plan to in the future that is why I want to use Samba.

I am connecting the two boxes with an D-Link DIR-825 router; both boxes are on the same subnet. Are there settings in the router that could be affecting this?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved