Ubuntu :: Cifs From Fstab Messing Up Uids?

Jan 22, 2010

I am trying to mount cifs through fstab but it is not working. I have an Ubuntu samba server and a Kubuntu client. The share from the server is one dir with subdirs having different permissions and owners/groups. When I do AS ROOT:

smbmount // /media/maps/share -o username=toshko%pass
the output of the "mount" command is as follows:
// on /media/maps/share type cifs (rw,mand)
The result is messed up owners with different uids and groups:


View 2 Replies


Ubuntu Installation :: CIFS Entry For FSTAB?

Nov 11, 2010

I just went from Jaunty to Maverick. I booted Maverick and manually mounted my Windows Network drives by clicking on the appropriate "mount" command in the directory /media.I then created an fstab file like I did in Jaunty. Here is the smb mount command that I had in the fstab file. I had a file with the user id and password in the credentials file.Code://???.???.??.?public_p/media/servername smbfs credentials=root,dmask=0777,fmask=0777 0 0This provided me access to my server for the past 18 months.I modified the fstab file for Maverick which was working fine for 3 days so I would automatically mount the server drives.

View 1 Replies View Related

Ubuntu Networking :: Fstab Setup For Cifs Mounting?

Aug 12, 2010

Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:

//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0

The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.

Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.

View 5 Replies View Related

Ubuntu :: Fstab Not Mounting Cifs Manually Call Mount -a?

Apr 30, 2010

I have the following line in my fstab:

// /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.

Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.

View 9 Replies View Related

OpenSUSE Network :: FSTab, Cifs And 'guest' Login?

Jul 15, 2010

i'm trying to setup a permanent CIFS share from my nas, but it keeps prompting for a password dispite GUEST access set on the share.FStab is as follows:

// /mnt/nas1_media/ cifs guest,_netdev 0 0
if i do


View 5 Replies View Related

CentOS 5 :: Automount Cifs Filesystem Using The Fstab File

Aug 3, 2010

I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.

I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.

View 6 Replies View Related

OpenSUSE Install :: Can't Automount Cifs Network Drives In Fstab?

May 24, 2011

I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.

Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users

I can execute a command

sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.

View 5 Replies View Related

General :: Unable To Mount Cifs - Windows - Partition Through Fstab

Apr 27, 2010

I have mounted window shared partition to my RHEL 5.4 server through following command


But I'm unable to mount the same via fstab.172.20.x.x is my windows server download is my shared folder name.

Suggest me correct fstab entries

My current fstab entry is as follows


View 5 Replies View Related

Ubuntu Servers :: Unreachable /etc/fstab Cifs/smbfs Mount Halts Boot?

Jan 16, 2011

I have the following two lines at the bottom of my /etc/fstab

// /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
// /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is

If the destination (which is my workstation desktop) is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console

So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution

View 3 Replies View Related

General :: CIFS Mounting Works Via Command Line - Fails With Fstab

Dec 2, 2009

I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.


Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234

The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.

View 2 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

Jun 24, 2010

I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.

View 3 Replies View Related

Security :: How To Prevent Duplicate UIDs

Oct 8, 2010

I have been learning Linux for the past few months and just recently started with Bash programming. Using scripts it is possible to find users with duplicate UIDs but is there any way or script why which duplicate UIDs can be prevented altogether.

View 7 Replies View Related

Ubuntu Servers :: Nfs4 - Idmapper / Some Uids Are Not Mapped To Names?

Oct 5, 2010

i set up a ubuntu server (10.04) with LDAP, Kerberos and NFS4. Did a set up for a client (ubuntu desktop 10.04 32 / 64) to connect to ldap, kerberos and nfs4-mount. All is working fine except of the idmapping. Some uids are not mapped to names. the entrys, which cannot be mapped, change. so 10 minutes before the uid was mapped to the correct name, after that time (i'm not sure if it's exactly 10 minutes) the name is mapped to nobody. sometimes the gid cannot be mapped too.I mount the nfs-share via nfs4 with sec=krb5 (krb5i or krb5p result in the same problem) and after successfully mounting the device, i type ls -la. i never have problems with getent passwd or with logging in as ldap-user. i get all the entries of the ldap-db and i also get kerberos tickets. All is working fine with nfs3, but i would like to use nfs4 for security-reasons.

if i run the rpc.idmapd with many "-v" i get the following messages in the daemon.log-file:

rpc.idmapd[15953]: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd[15953]: nss_getpwnam: name 'test@DOMAIN.TEST' domain 'DOMAIN.TEST': resulting localname 'test'
rpc.idmapd[15953]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0

the first part is the response to a correct name-to-uid-mapping the second part is a failed one. both user exist, both users have the same ldap-entries (except of the different descriptions, uid and so on). the responses have the same timestamp, so the reply is in (nearly) the same second.

restarting the idmap-daemon every 5 minutes or other workarounds are not practicable in normal operating environment.

View 5 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

Ubuntu :: Rename The Fstab-BAK To Fstab?

Jan 19, 2010

I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.

View 9 Replies View Related

Slackware :: How Reserved UIDs Are Assigned In Slackware

Nov 29, 2010

can somebody point me towards a breakdown of how the reserved UIDs are assigned in Slackware? I can't seem to find one anywhere.

View 6 Replies View Related

Ubuntu :: TurboTax Messing Up Dual-boot ?

Apr 7, 2010

I was told that the TurboTax DRM overwrites a boot sector on the first hard drive, possibly causing problems to the "non-windows" OS. Up to now I had used TT on a W2K only machine. Now that I have converted the whole office to Ubuntu or dual boot, I don't have the option anymore.

View 1 Replies View Related

Ubuntu :: Installing Windows 7 Without Messing Up - GRUB

May 14, 2010

I'm thinking about upgrading my Windows Vista to Windows 7. I rarely ever use it but I figured that when I do have to use it I would rather use Windows 7.

Will it mess up Ubuntu or GRUB when I do this? Like GRUB not recognizing Ubuntu any more? I don't really know but I just wanted to ask this here just in case.

View 6 Replies View Related

Ubuntu Multimedia :: No Sound After Messing With Mixer

Jun 16, 2010

Using Kubuntu 10.04 here

I've been trying to make my microphone work and so I've pretty much messed around with the mixer (KMixer), mainly adding channels to the "equalizer" and checking and clearing "capture" boxes. After I did that my sound "disappeared" - I have no sound whatsoever (not even Kubuntu's initialization sound).

How can I fix this? Is it possible to go back to the "default" configuration?

View 3 Replies View Related

Ubuntu Multimedia :: Flash Player Is Messing Up?

Jun 23, 2011

When i watch ..... videos it tends to stay on my browser in a weird way, so when i go on other tabs it is still there and is rather irritating ..the image shows what i am talking about flash.jpg.I use ubuntu 10.10 and firefox 4 if that helps...

View 7 Replies View Related

Ubuntu :: Messing Around With Vipw And Accidentally Wiped The Whole File?

Jan 5, 2010

I was messing around with vipw and accidentally wiped the whole file. Luckily, I have a backup copy.Is it safe to just paste the backup into any old file and "cp <file> /etc/passwd", or is there any special procedure?As I understand it, things are fine for now but if I restart very bad things will happen since root is gone and such

View 8 Replies View Related

Ubuntu :: Thrown To Grub Rescue After Messing Around With Ext2fsd?

Nov 16, 2010

I have a new Asus Eee Pc 1215n and installed on it Ubuntu 10.10. This way it was configured as dual-boot with 4 partitions. One for Windows7 one for Windows recovery, one for Linux swap and one ext4 for Ubuntu.Everything was working fine until I installed the ext2fsd driver on Windows. It couldn't read the ext4 partition properly so I played with the options. There I tried changing the ext partition's type from "Linux" to "Linux extend" (which was obviously wrong). After the reboot I get a message when the computer starts up saying "error: partition not found" and in the next line "grub rescue>" with a dash flashing but without any recognizable commands.

I tried reinstalling grub from the Ubuntu 10.10 live cd following these instructions but now I get exactly the same screen, this time saying "error: file not found." instead. What was weird was that gparted in the live Ubuntu couldn't see any partition in the hard drive. It appeared like the whole space was unallocated.When I type 'help' in "grub rescue" it tells me "unknown command". When I type 'ls' it returns: (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)I think this might be a clue of what is going on since all the partitions should not be flagged as msdos.

View 8 Replies View Related

Ubuntu :: Messing With The Screen Margins In The Openbox Configuration

Jan 23, 2011

i have installd lubuntu side to my gnome i like it i have a issue thoe it seams that some of the icons r hideing beyond the screen resolution there for i dont see them all in the screen i tried messing with the screen margins in the openbox configuration i can see all the icons but then i cant see windows in full view

View 3 Replies View Related

Debian :: Messing With The Root Password?

Nov 29, 2010

I tryied to modify the root password, but instead of using the "passwd" command, i tried to use "usermod -p", without knowing what outcome exactly i would get. But since then, i can't log as root, neither with my old neither with my new password. And i can't install absolutely nothing on my machine.

Please, help me... i have a test next wednesday, and i can't work in my blueprint. In appendix, i've uploaded a print screen of the sequence commands, for you to be able to explain me this phenomenom and to tell me how to solve it.

View 3 Replies View Related

Programming :: Assigning Variable Is Messing Up?

Nov 5, 2010

I am trying to run this and was into issues

function() {
node=echo "" | awk '{split ($0, a, "."); print a[1]}'


View 1 Replies View Related

Ubuntu :: Messing With Xorg.conf - Trying To Get My Wacom Tablet To Work

Aug 12, 2010

I was messing with xorg.conf trying to get my wacom tablet to work. I restarted and it brings be everytime to a terminal. I can log in but that is about it. When I type startx it says xorg.conf is messed up bad. I already tried:


View 9 Replies View Related

Installation :: Can't Boot Into Windows XP After Installing Ubuntu After Messing With Partitions?

Oct 30, 2010

I played a bit with partitions. I'm not an experienced Ubuntu user, neither I have solid understanding of partitioning. And I hardly remember exact actions that led to this problem. I remember that I saw a warning in GParted that said that the partition was out of bounds or something.. But I followed some solution that I found on ubuntuforums and used fdisk to fix that. So, after installation of Ubuntu I couldn't boot into WindowsXP (after choosing Windows entry in grub2 menu I see only blinking cursor on black screen). But what's more important that I can easily mount Windows partition from Ubuntu. Also I tried to boot from Windows repair console and used FIXBOOT command, and copied[url].... and [url].... files to no avail..Here is the summary of what I got now:

sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders[code].....

View 8 Replies View Related

Ubuntu Installation :: Cannot Purge Blockcontrol - Messing Up Automatic Updating - Cannot Rid It

Nov 24, 2010

I have searched around a bit and am having difficulty purging blockcontrol off my system. I am running Ubuntu 10.04 LTS i686 version. I have been able to remove some of the programs attached to blockcontrol but cannot remove blockcontrol. The synaptics package manager and console root access will not rip out blockcontrol. I want the entire Moblock/Blockcontrol set off the system.


View 2 Replies View Related

Ubuntu :: Sound Applet Has No Control Over Volume After Messing Wih Alsamixer?

Jan 5, 2011

My microphone wasn't working so I entered alsamixer to amp up it's volume and see what's wrong.Not sure what I did wrong but now the gnome volume control applet in the Indicator does not affect system volume at all.I can even mute it and it will not mute anything.The volume controls in alsamixer work fine and changing the volume in alsamixer affect system volume immediately.What could I have done? How can I get back volume control inside gnome?

View 2 Replies View Related

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