Ubuntu Networking :: Domain Privs Working Via Gvfs But Not Regular Mount Command
Dec 14, 2010
I have a samba based domain controller which has a share with limited privileges for different usernames. When I log in the gvfs wizard in ubuntu everything is all good and I can access all the files I am supposed to be able to.
I suspect it has to do with the owner and group of the directory not being a user in the local machine. When mounted via gvfs the owner and group are the local user and group whereas when mounted via the mount command the user and group are foreign uids and gids.I had thought that gvfs would have relied on mount() system call under the bonnet but is this not the case as gvfs mounts don't appear in the list when you type 'mount'.Can this be solved in the standard smbfs mount or is gvfs simply a better implementation that does some magic behind the scenes to set the owner and groups in accordance with the smb protocol?
View 1 Replies
ADVERTISEMENT
Jan 26, 2010
setup consist of three machines: 2 servers (A and B)(ubuntu) and my local laptop Server A is a company controlled server which holds project data Server B is our office local server, which we use for development purposes. The problem occurs when i ssh from my local laptop to server B. After loggin in, i execute a script to transfer data from A to B. This script mounts server A using gvfs-mount. It fails to mount completely and gives me the following error
Code:
Error mounting location: volume doesn't implement mount
However if i log onto server B, using the servers keyboard and monitor (using a gnome session) i can execute the line. To verify that it's something related to the ssh login, i tried the following: (My local laptop is also running ubuntu) from laptop open a terminal. See the gvfs mount work as expected. open another terminal and ssh localhost tried to execute gvfs-mount from the local ssh session and i get the above mentioned error. After googling a bit, i found that it might related to dbus (which i know _nothing_ about) and i tried
Code:
dbus-launch gvfs-mount and then tried to gvfs-mount server A, but it fails again.
View 9 Replies
View Related
May 29, 2010
I installed ifuse (a utility to mount your iPhone or iPod touch via the USB cable) and I want this to be the default way my iPhone is mounted when I connect it. Currently, when I connect it, it gets mounted by the gvfs (Gnome virtual file system) at ~/.gvfs/iPhone. Either one change should be made (the 'default command to execute when this device is connected') or two changes (tell gvfs not to mount, and tell ifuse to automount). I don't know how I can get this to work.
View 5 Replies
View Related
Jul 1, 2010
-Lucid Lynx
-Likewise-open to connect to an AD
-add all network shares to the nautilus favourite places
-our script is working fine if you are running the script manually from an opened session
-it's not working when placed in /etc/profile.d
What the script is doing:
-reading the .bat script name from the AD using the user login
-mounting the netlogon share
-reading the content of the netlogon script
-finding the network share names and adding them to the nautilus favourite places
What is failing: it does not mount the netlogon share using gvfs-mount Maybe because it's run too early in the process? note that a new user may log in any time, and we want this to be entirely automatic. So we cannot put the script in /home/login/*, as the home is not created yet at first login.
View 6 Replies
View Related
Jul 7, 2009
When I use nautilus open my home directory, everything is OK except that the file contents in the home directory are not presented. It seems that nautilus is still waiting and busy.
After that, I try to enter the user's home directory by the Terminal and succeed. I can use 'ls' to display the file in the home directory, But when I use 'ls -a' to print the hiden files, again the Terminal seem to be lock. the 'ls -a' is locked, I fail to 'kill' it.
At last, I find that everything that connects to the behavior which need to enter, delete or just dsplay the /home/$USER/.gvfs will fail and lock, and without any error message.
View 3 Replies
View Related
Mar 22, 2010
Recently upgraded to F12. K3B can't burn DVDs. Drive was working fine in Fedora 10 before the upgrade, and I've applied all updates.
Here is the output when run from console:
Code:
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/SlowCoder/.gvfs
Output information may be incomplete.
(K3bDevice::HalConnection) unlock queued for /org/freedesktop/Hal/devices/storage_model_DVD__RW_GA10N
First sec data area: 43:41:33 (LBA 196608) (402653184
[code]....
View 5 Replies
View Related
Nov 4, 2010
Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo
steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....
View 1 Replies
View Related
Aug 20, 2015
Entries from fstab:
Code: Select allUUID=04E2891117C6D1E8 /mnt/Movies auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=22C19F6A209C7999 /mnt/Storage/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=366C25EB7664050D /mnt/Recovery/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=2983C8A82A5FEF6C /mnt/Down/ auto user,nosuid,nodev,nofail,x-gvfs-show 0 0
The only one that shows in PCMANFM is the Movies partition. All others listed here are missing.
I checked syslog and it looks like they all mount correctly.
This puzzles me since all of them have the same options set.
View 0 Replies
View Related
Jan 21, 2010
I have an issue with sendmail. I need to configure sendmail to send email from command prompt to any domain. This is just for the notification purpose. I installed sendmail and sendmail-cf and sm-client. The following are the configuration I have done.
/etc/mail/sendmail.mc
1) dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
2) m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
3) /etc/hosts = 127.0.0.1 localhost.localdomain
/etc/hosts = 192.168.2.50 mysystem
4) /etc/hosts.allow = sendmail:ALL
[Code].....
View 1 Replies
View Related
Jan 4, 2011
I am setting up a Beowulf Cluster using CentOS 5.5. I have the head node with two NIC devices eth0 and eth1. eth0 is the one that is connected to the WAN while eth1 provides the internal LAN connection. I am trying to configure internet connection sharing with the slave nodes on the network so that I can update/install software as needed via ssh sessions using yum. I have set up the master node with the requisite changes to iptables to enable IPv4 forwarding. From my slave nodes I can ping ip address from the terminal, but my domain name resolution is not working. i.e. if I ping [URL] it can not resolve, but if I ping 74.125.224.50 (one of google's IP's) I can communicate with the machine without a problem. I also ran the configuration tool provided in the README section of the forum on the slave node and the master node. The links are:
[URL]
View 3 Replies
View Related
May 17, 2010
I have a problem to mount my cdrom as a regular user. After inserting a cd, I receive this error message:"Error mounting: mount exited with exit code 1: helper failed with:mount: must be superuser to use mount" After mounting the cdrom as superuser with "sudo mount /media/cdrom".I can access the cd also as regular user. This behavior is inconvenient and I would like to be able to mount the cdrom as user.Honestly, I do not have the experience to tell if this should be fine or not. Do you have any advice for me to fix this problem? I am running Ubuntu 9.10 with a 2.6.32-02063209-generic kernel.
View 6 Replies
View Related
Jun 15, 2011
Whenever I mount a encfs directory to a regular directory, the regular directory disappears. this is the command I use
encfs ~/encrypted ~/plain
When I try to access the folder from my windows computer, I can not see it. What to do?
View 2 Replies
View Related
Jul 13, 2011
When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.
Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.
I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.
View 1 Replies
View Related
Jun 17, 2009
I had this all hashed out in previous versions of Fedora, but since I have moved the Mrs over to F10 this problem has come to the surface yet again.The Mrs is a strait user. She does not do command line and there is not a chance in a hot place that I could convince her to do it. Now we have her on the F10 system and we, once again, can't get her to have the right Kung Fu to be able to moun/unmount the floppy drive using the computer icon on the Gnome desktop.
What has changed and how do I get this function back for her? She uses this for business files, so this is somewhat on the urgent side.
View 14 Replies
View Related
Mar 20, 2011
Whenever I create, move or copy into the httpdocs (host envio based on plesk installation)My FTP user privileges go wacky. For instance I could not delete, rename or upload anything to the directory I created as root in ssh.
View 1 Replies
View Related
Jan 7, 2010
I just tried to change a user account by changing its name, password, and home directory. But first I had created a new account with the new name, pass, home directory. I tried to log into the new account but got a dead account. Nothing came up, and it didn't allow anything, complaining about "can't create Nautilus," and other such error messages.
Tried to go into the Constantine login screen and put in "root" and the original password. "Invalid Use..." Tried "root" with the new pass. "Invalid..." So what can I do at this point to get in and create a nice, clean, new account (with admin privs) for the new user?!
View 1 Replies
View Related
Aug 30, 2011
How can I get palimpsest to get authorization to mount partitions when started as a regular user? It works when started from a root session.
View 2 Replies
View Related
May 28, 2011
What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:
Code:
Host_Alias LOCAL = localhost
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias MOUNT = /bin/mount, /bin/umount
<my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT
%wheel ALL=(ALL) ALL
My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".
View 4 Replies
View Related
May 6, 2010
Lets say I have 20 files named FOOXX, where XX is the number of the file, eg 01, 02 etc. At the moment, if I want to delete all files lower than the number 10, this is easy and I just use a wildcard, eg rm FOO0* However, if I want to delete specific files ina range, eg 13-15, this becomes more difficult. rm FPP[13-15] does not work, and asks me if I wish to delete all files. Likewse rm FOO1[3-5] wishes to delete all files that begin with FOO1 So, what is the best way to delete ranges of files like this? I have tried with both bash and zsh, and I don't think they differ so much for such a basic task?
View 2 Replies
View Related
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
Aug 21, 2009
I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.
View 3 Replies
View Related
Nov 13, 2010
I have this ubuntu machine that lives under my desk and is basically a utility machine. Mainly I ssh to it and get synchronize/backup files, etc.
When I reboot, for some reason the auto mount for my usb drives doesn't work until I actually hook up the monitor and log in to the gui. When I ssh in after reboot, I'm unable to access my USB drives! "Not Authorized"
I'm not sure how to mount a drive from the command line... really I just want the machine to auto mount the drives when it starts up... gui login or no.
View 4 Replies
View Related
Apr 18, 2011
Using the most recent -current/13.37, I'm curious if there is a New Right Way to suspend as a regular user from the command line, now that we've got PolicyKit/ConsoleKit running the show. I've seen some things (e.g., on the Archlinux wiki) that seem to come close, but require UPower. For some reason I can't wrap my head around the PolicyKit documentation well enough to figure this out.
My old solution was to add a line to /etc/sudoers giving anyone in the power group access to pm-suspend, pm-hibernate, and shutdown, and this is probably what I'll end up doing with 13.37.
View 8 Replies
View Related
Feb 20, 2010
Write a script that will take a list of filenames as arguments and output a count of how many of them are regular files, and how many of them are scripts (if the file is executable, it will be assumed to be a script file)
Counts always come back as 0
View 5 Replies
View Related
Apr 1, 2010
I have Ubuntu Server installed in one machine and ubuntu desktop in 3 more machines. What I would like to have is, authenticate the clients using a central user DB and also the home folder for a user should be available in any client machine in which he logs. I see that openLDAP takes care of authenticating clients but what application to use to mount the user's home folder from the server to the client machine on logging.
View 2 Replies
View Related
Apr 28, 2009
At the school i work in i have a server2k3 server that provides a domain to all the windows clients, aswell as a fedora server that acts as an imaging machine and webserver.
Im rather concious of the fact that if for any reason the Server2k3 server was to die there is no backup of active directory, or anything that can take its place whilst a replacement is found.
So is it possible to use a fedora machine with samba as a secondary domain controller? so it can be used as a login server, and has a copy of AD.
View 1 Replies
View Related
Jun 22, 2010
I have this regular expression
Code:
(@description ").*(";)
I want to match anything in between the quotes its working fine in JavaScript but its not working in my python program:
Code:
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
import re
[code]....
View 3 Replies
View Related
Jul 24, 2011
I have edited my /etc/fstab file in order to have it automatically mount a windows network share at startup.
The problem is, that it isn't really working during startup. After I log in, in order to make it mount I have to open the terminal and enter "mount -a".
The following is my fstab file:
Code:
I suspect this has something to do with my laptop not having made a network connection when the entries are mounted, but I'm not sure. How would I go about finding out about any errors?
View 3 Replies
View Related
Jul 6, 2011
I wanted to run a little media server in my house, shared with my laptop only, so I could free up space on my laptop drive. I took one of my Linux boxes out of my render farm and loaded up a minimal install, command line only of Ubuntu Lucid from the mini ISO (32 bit). I had to plug in a lan cable to install, but I wanted to move my box back out to the "farm" that doesn't have wired access to my intranet.
After much research, trial and error, this is what worked for me. My wireless card uses an Atheros AR5001X+ chip, and it works with the desktop cd out of the box. I found the "just works" desktop install uses the ath5k driver that is now included in Lucid, but I'm not using a desktop or window manager. I haven't tried this on server version, if you do, let others know what you had to install to get it to work.
The things I do tell you about, I instruct you as if you are a newbie, however I have left out some things that users should know or be able to lookup easily, like if you want a static address instead of using dhcp. You may not need all of the steps or you may have to do more research and troubleshooting.
Find your wireless card (you may need to lookup what to do if it is not recognized at all)List all pci devices, only show network devices (-v verbose, -vv very verbose): >>lspci -vv | grep Network List all hardware (| less lets you pause at each page - arrow keys, page down/up to navigate, q to quit) >>lshw | less
[Code]...
View 1 Replies
View Related
Mar 16, 2011
I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?
View 2 Replies
View Related