Ubuntu Networking :: Samba Share Accessed As Wrong User?

Apr 4, 2011

I've had a Samba share set up for awhile now on my Ubuntu 10.04 server. Now I'm trying to create separate shares for separate users. When I started, I was logging in from my Windows box where I was Tony, and the only user on my 'nix box was htpc. I had the majority of my file permissions as open.

Now, I've created new users on the server, including Tony. But when I open a Samba share from my Windows computer, it does so as htpc. This is not a setting I ever put anywhere. I don't care about specific user names, but I want to have a folder that only I can access from my Windows box, and for someone else to have a folder only they can access from their Windows box.

View 2 Replies


ADVERTISEMENT

Networking :: Samba And Windows: Cannot Open User Share

Nov 11, 2009

ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions

[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
map to guest = Bad User

[code]....

View 4 Replies View Related

Server :: Samba And SELinux - Share The User Home Directories?

Oct 6, 2010

I'm running a Samba server (3.5.2-60.fc13) on Fedora 13 (64 bit). I want to share the user home directories and want to allow following of symlinks out of the share tree. So in smb.conf I used

unix extensions = no
wide links = yes

For SELinux I did:

setsebool -P samba_enable_home_dirs=1
getsebool -a | grep samba
samba_create_home_dirs --> off
samba_domain_controller --> off

[code]....

However I can't follow the symlinks when mounting my home directory on a Windows machine, unless I disable SeLinux.

View 5 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

Ubuntu Servers :: Samba Share Using Domain User/group In Valid Users?

May 20, 2010

I have Ubuntu server 10.04 joined to a domain using Likewise Open. I can login using my domain credentials and have added my domain account to the sudoers file. Now that I've got it joined to the domain I want to add some samba shares and have domain members use their accounts to access them. However, no matter what combination of my domain name and the domain user or group I use in the valid users field it won't let me in. What's the proper way of inputting a domain user or group in the valid user field?

This is the entry I'm using for the share:

Code:
[testshare]
path = /srv/testshare
valid users = @"Domain Name+Domain Group" (Have tried many things here)
public = no
writable = yes
printable = no
create mask = 0765

View 2 Replies View Related

General :: Share A Folder In Samba With No Need Of Password For Individual User Not Guest?

Jun 13, 2011

I would like to know how to share a folder in samba with no need of password for individual user without using guest

View 5 Replies View Related

General :: Share A Folder In Samba With No Need Of User Password With Write Permission?

Jun 13, 2011

I would like to know how can I share a folder in samba with no need of user and password with write permission, with no need of using guest user.

View 3 Replies View Related

Server :: Samba Share - Disable The Default Guest User Login?

Jul 20, 2011

I have a samba server with security user. I have a number of shares inside the share with different users logins. But while accessing the shares from windows, in the login prompt, by default username it takes as the guest. How will I disable the default guest user login ?

View 2 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

Ubuntu Networking :: How To Samba Share

Feb 15, 2010

I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.

View 7 Replies View Related

Ubuntu Networking :: Can't Connect To Samba Share

Mar 4, 2010

I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.

View 8 Replies View Related

Ubuntu Networking :: Can't Get Permissions In Samba Share?

Jun 6, 2010

When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.

The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.

I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.

View 1 Replies View Related

Ubuntu Networking :: Samba Share With Symlink?

Jul 26, 2010

I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?

View 1 Replies View Related

Ubuntu Networking :: Share Samba In Virtualbox?

Sep 15, 2010

Ubuntu 10.04 with Windows OS as Virtualbox, using Samba I connected to another computer which shows up mounted as:

Code:
smb://scott/premier9/

Now in Virtualbox Shared folders it doesn't show up so I can't share it?

Screen shots below...

How can I See it in Virtualbox?

View 1 Replies View Related

Ubuntu Networking :: Samba Printer Share With XP?

Nov 16, 2010

My desktop is now dual boot, Xubuntu 10.10 has been added to WinXP. The attached parallel printer works fine with either OS. When running XP I can share the printer with my two XP laptops without problem. I cannot share it when the desktop is running Xubuntu. Neither laptop can see the printer. However, if I open the desktop Samba config application, change any parameter, retype in the original parameter, both laptops can see and connect to the shared printer - until I reboot the desktop

View 9 Replies View Related

Ubuntu Networking :: Share USB Disk With Samba?

Jan 7, 2011

I've installed ubuntu 10.10 and shared with samba a folder of the disk with no problem I tryed to share 2 different usb disk and I got problems!

With windows I can see the shares, but not browse and all the setting in smb.conf are the same for the folder in the hard drive and the USB disk

View 3 Replies View Related

Ubuntu Networking :: Access Samba-share From App?

May 3, 2011

I have a samba-share that mounts on my desktop. But how do I find it from applications?
When I browse from application is not visible in the desktop folder.

PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.

View 1 Replies View Related

Ubuntu Networking :: Cannot Share Via Samba Between Computers?

May 8, 2011

I have two Ubuntu 10.10 computers and two Windows XP computers connected to my network. I cannot share files between the Ubuntu computers using samba. I keep getting the "Unable to Mount Location Failed to mount Windows share" error. I've tried the solutions posted by dmizer here and nothing works.Random true facts:I can successfully connect to folders shared on my Windows XP computers from either windows computer.I can successfully connect to folders shared on my Windows XP computers from either ubuntu computers.Neither of my windows computers cannot connect to folders shared on either ubuntu computer.Neither ubuntu computer can connect to folders shared by the other ubuntu computer.I REALLY need to get samba to work since I have other Windows computers on my network.

View 8 Replies View Related

Networking :: Share A NFS Mount With Samba?

Apr 21, 2010

Can I share an NFS mount with samba?

Scenario:

ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs

I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).

I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)

I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.

I have disabled oplocks in samba and the problem still persists.

View 1 Replies View Related

Ubuntu Networking :: Win7 And Samba Server Share?

Jan 11, 2010

so i found an older computer i want to play with as a file server. ubuntu server edition, installed gnome GUI (to make things easier for now, i plan on removing it later) and used [URL].. to configure my 1.5tb harddrive so my windows machines can access it. i had everything working but than a fatal crash made me start from scratch (os and all) now i am unable to access the samba share from a machine running windows 7, but i can access it from a machine running windows XP using the same login and password i set up for windows 7.this makes me believe it's a problem with windows 7 and not samba.

View 8 Replies View Related

Ubuntu Networking :: Connecting Via Samba To Windows Share

May 6, 2010

I'm able to connect to a networked Windows machine and its shares using the Places -> Network -> Windows network interface, but unable to do so using smbclient at terminal command line. I can see the shares using:

smbclient -L //server -U username

But when issuing the command:

smbclient //server/service -U username

I get:

domain=[server] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

The share name has spaces, like

lab raid root share

I use 40 to fill in the spaces. This problem must be something fairly simple if I can connect via the Places GUI but not through the command line.

View 8 Replies View Related

Ubuntu Networking :: Can't Write To Samba Share (NTFS)

Aug 10, 2010

I have this samba share for ghosting images to (backing up computers at work) and I can read the ghost images just fine from the share, but I am unable to write to the share. From any windows environment I have tried, I get a disk is full error. I have 200GB+ free space, so this is not the actual issue. I believe there is a write permission somewhere that I am overlooking. My setup basically lets me log in under the username samba from a client machine.

Here is my smb.conf file:

Code:

#======================= Global Settings =======================
[global]
workgroup = discount.local
server string = %h server (Samba, Ubuntu)

[code]....

I've tried chown on /media/Images to make it owned by samba, but it just reverts once I remount the partition. Either that or my eyes are playing tricks on me.

View 6 Replies View Related

Ubuntu Networking :: Samba Share With Differing Permissions?

Sep 9, 2010

what I am trying achieve is read/write access for my MS domain account and read-only access for everyone else. In smb.conf I have this:

Code:

map to guest = bad user
usershare allow guests = yes
username map = /etc/samba/smbusers

[code].....

I can access this fine with my MS domain account, what I can't work out is how to give others read-only access to the same share. I guess I could create a second share for the same folder with a different name and permissions, but that seems a bit clunky and I'd have to remember to pass on a different name to the one I am using. I also tried using the Nautilus right-click "Sharing options" and then setting the folder permissions. This works fine for giving others read-only access, but loses capitalisation of the share name and doesn't seem to recognise my MS domain account as being valid.

View 1 Replies View Related

Ubuntu Networking :: Can't Share (samba) From NTFS Drive?

Sep 15, 2010

I managed to install samba and it's GUI. I tried to share a directory within the pictures folder (at home/mark/pictures/share) just as a test. I had everything set up right, but it was inaccessible from a windows XP machine on my network. After some digging I found the problem lay with the permissions of it's parent folder. I right clicked on the parent folder then clicked properties, then clicked on the permissions tab. I changed the permissions for others and it's working fine.

I'm having the same problem now but with a share on a NTFS drive called storage. I cannot change the permissions for the shared folder or any of it's parents by right clicking. Any changes I make revert immediately back to their previous setting. Is there any way to change the permissions to allow read access to everyone?

View 9 Replies View Related

Ubuntu Networking :: Remote Access To Samba Share

Sep 22, 2010

I need to access a windows share at my university's server. When I am at the university, I can access the share by nautilus (or dolphin) in a similar way to ftp:

smb://domain%5Cusername@server/share

The thing is that when I try the above anywhere else except the university, it does not connect. I guess it has something to do with the domain, but I am not sure.

View 5 Replies View Related

Ubuntu Networking :: Samba Network Share Mounting ?

Oct 8, 2010

I have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.

I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.

If I right-click the shared folder in Nautilus, it says its location is smb://rob/music

If I do:

mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.

So I try "ping rob" and that doesn't work.

I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.

So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?

View 7 Replies View Related

Ubuntu Networking :: Permanent Mount Of A Samba Share (10.10)?

Oct 10, 2010

I have sent the last 5 hours (it is now 6am) and I am in no mood for lazy know-it-all'sI have returned begging and crawling back to Ubuntu (I waited a day for 10.10 to be released) and I have again stumbled across why I go back to Micro$oft's Windows.All I want to do it have a permanent share to my nas, which is on my Netgear DGND3300.I can reach it by Place -> Network -> Windows Network -> NAKALEEN -> NAS -> USB_Storagebut for the life of me I can't make it permanent. I need it as all my Movies/TV/eBooks are on this.I have followed every and I mean EVERY option I have found on Google with no luck. From the fstab/mount option to the gvfs option (as you can guess both failed)The reason it is *$&^%$^&%$ me off it that Windows can do it with a couple of mouse presses (Map Network drive). Making Ubuntu a joke in this area.

View 9 Replies View Related

Ubuntu Networking :: How To Remotely Access Samba Share

Dec 19, 2010

My work uses an internal software suite where the data is hosted with a linux server. It uses mysql and samba shares. We are currently opening a new location and need to be able to access the samba shares. We are able to access the mysql databases. The samba shares are used to store various files for the software such as updates, invoices (as pdf files), etc. I've setup vpn connections using windows servers in the past but I can't, for the life of me, get a VPN server setup on our linux server that windows will connect to. I've tried openvpn and pptp. I'd prefer to use the built in windows client to connect.

View 8 Replies View Related

Ubuntu Networking :: Getting Error When Try To Share A Folder Through Samba

Jan 12, 2011

I am getting this error when I try to share a folder through samba.

Error 255 cannot convert name "Everyone" to a SID

I do not have a file /etc/init.d/samba Has this been replaced by /etc/init.d/smbd ?

Also, I have a /var/lib/samba/usershares folder but it is empty. Is there supposed to be something inside?

View 4 Replies View Related

Ubuntu Networking :: Samba Doesn't Share Folders In 10.04?

Feb 18, 2011

I have been looking in the forums but I found no solution for my problem.I already configured Samba and I am sharing folders, printers, etc. (Samba, authentification mode = user, guest account = nobody, share the folder give access to them, enable the permission to access, write, etc.) and seems to be working well.I am trying to connect a Windows to my shared folder in Ubuntu. The only problem is that Samba rejects it and doesn't ask for the password. It just drop the users (from Windows and Ubuntu systems) that try to access to my folders.So when it do in a Terminal sudo smbpasswd -a USERNAMEand I type no password, then it works they everybody can access to those shared but when I type any password then it comes back to the same problem that Samba never asks for passwords and rejects the users.

So the solution would be just give no password to share the files, but the other problem is that every time I restart the user session (restarting the computer, logging out, etc.) it just comes back to the same problem that Samba drops the users and doesn't ask for the password. Seems that every time I restart the system just forgets that I set no password.Another thing is that when I set authentication mode = shareThen nothing works. No password, no access just is possible to see it.

View 9 Replies View Related







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