Ubuntu Networking :: Samba User Security Not Working?

Jan 9, 2011

I'm running Maverick Meerkat 10.10 x64, and I'm trying to set up a Samba share with user security. In other words, when accessing the share, I want to be prompted for my username and password. Everything in my smb.conf file looks ok to me, but the shares are still accessible with no user security, and I don't know why. The smb.conf file is below:

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#

[Code]....

View 6 Replies


ADVERTISEMENT

Ubuntu Networking :: Samba User Authentication Stopped Working?

May 20, 2011

I have installed Samba 1.2.63-0Ubuntu4 (system-config-samba) on Ubuntu 10.04, and it has been working without any issues for a few months now, but now the username/password authentication does not work anymore and I can't figure out why

I have tried changing username/password(thinking maybe i forgot the correct credentials) and the new username/pass does not work either.

I have also tried "sudo service smbd restart" in terminal to restart samba but this does not work either

I can still see visible shares when browsing server via "network neighborhood" on XP,,, and can access the shares that do NOT require authentication

username/password are made up of standard characters as well

View 2 Replies View Related

Fedora Networking :: Samba Broken / Error 6291, The "force User" Option Is No Longer Working?

Jun 15, 2009

I ran "yum update" on 03-06-2009 and it updated my samba version from

3.2.8-0.26.fc10.x86_64
to
3.2.11-0.30.fc10.x86_64

My network shares then became read only!After some digging it turns out my system is not working because of Samba bug 6291, the "force user" option is no longer working.

Ideally I would run another "yum update" and that would fix the problem. Apparently the bug has been fixed in Samba 3.4.0pre2 - when can when we expect that to be released and included when I do a "yum update"?

Alternatively how do I get back to version 3.2.8-0.26.fc10.x86_64 ?

View 2 Replies View Related

Red Hat :: Samba Error : Server Not Using User Level Security

Dec 22, 2010

i am trying to setup a very basic samba share on RHEL.after editing smb.conf ,testparm output is ok,(though it shows STANDALONE SERVER.)the directive i have used are

workgroup=MYGROUP
hosts allow=192.168.0. //my network
[storage]
path=/var/ftp

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Second User Can't Access Samba?

Sep 6, 2010

The goal is the following: I want one samba network share with all my family data. Multiple users should have access to this share from Win7 pcs but not all folders should be access able by everyone. The old windows server managed this by changing ntfs rights for these folders.

I've installed Samba and this recommended gnome utility (Ubuntu 10.4). First for testing I made a samba share with access right for everyone. Everything fine on Win... Then I only allowed for my user. Also worked after a little bit of playing with the global samba settings and the pw encryption... Then I created a new ubuntu user and configured a new samba user with the connection to this ubuntu user (like described in many tutorials using the samba config tool). I changed the access right of the samba share to allow the new user also but no connection was possible. At this point the original user was working from the same pc without any problem.

I started thinking of the windows time and decided to search for the file system rights like it was with the ntfs. I'm using ext4 by the way. I made chmod 777 -R from the new users login... (i'm not sure why there is no user dependency for chmod) I used chown -R but it seems that there is only one owner allowed so I switched back to my main user... I installed an additional feature called ACL and was able to set users and groups for the root folder but there is no possibility to recursively change all subdirs. I used such a ACL gui extension for gnome which is in the ubuntu repository to do that. It also wasn't helping for the problem that the new user has no access to the folder (even if I change the rights manually)

User A & B have access rights at least for the root of the share. Both users have a ubuntu and a samba account. Only user A is working with samba.

View 2 Replies View Related

Ubuntu Networking :: Samba - Add User To Network

Nov 14, 2010

I've spent the last four hours trawling through the net looking for a solution to this. I know it's out there, I just can't find it. In Ubuntu 10.10 I have just created a windows network in Samba. I can see the network and my computer. The computer next to me can also connect to this Windows network. He can also see the network and he can also see me, but... How does he join the network so that I can see him? I just can't seem to add him.

View 9 Replies View Related

Ubuntu Networking :: Samba Server And User Permissions

Dec 30, 2010

I have a Samba server running on a box where I login to admin as user:
FRED
The Samba users are
SUE
JOE - Read only for specified paths (media playback access only user)
SUE can read/write to any directory under the share: Media

So all that is working fine. As long as I do file operations remotely as SUE everything works remotely. How can I make it to where everything SUE does over Samba FRED automatically has permissions to edit when logged in locally (or SSH)? Also, remember, Joe needs to be able to read where specified.

View 3 Replies View Related

Ubuntu Networking :: Change Samba's User Password From Windows 7?

Oct 1, 2010

I have a Samba installed and configured on a Ubuntu Server 10.04 box, as a file server, not as an PDC. And I have several Windows 7 machines accessing the Ubuntu Server to store files.

I would like to let users to change their passwords from windows.

View 2 Replies View Related

Ubuntu Networking :: Setting Up Samba For Windows 7 WITH User-login?

Oct 25, 2010

I am currently attempting to setup Samba 3 (installed) for a basic home-network file-sharing server via Ubuntu 10.04. It seems like (based on my extensive googling and research) nobody wants or has a configuration like I do, but surely SOMEBODY knows how to do this.

The following is my goal for a basic setup.

Folder 1 (share is called "Read-Write"):

-Users from Windows 7 can see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.

-Users can accomplish all of this from as "guest."

Folder 2 (share is called "Read-Only"):

-I can log in as my user to see, read, write, execute, create, or delete any files and folders in Folder 2 as I so desire.

-People other than me can log in as "guest."

-"Guest" users from Windows 7 can see, read, and execute programs as desired.

Things I have accomplished:

-Directories exist

-Directories are browseable via Windows 7

-My user has a password for Samba (assigned via "sudo smbpasswd -a matthew)

Things I have not yet been able to accomplish:

-Configure Folder 2 so that Samba asks for login credentials when someone tries to access it SO THAT I an use my Samba user to log in.

-Configure Folder 2 so that, when I log in as my Samba user, I can see, read, write, execute, create, or delete any files and folders in Folder 1 as I so desire.

-Configure Folder 2 so that Windows 7 users can easily access it as guest to browse, read, and execute files and folders in it.

-Configure Folder 1 so that any Windows 7 user can easily access it as guest to see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.

View 3 Replies View Related

Ubuntu Networking :: Change Samba Shared Folder's User?

Jan 27, 2011

I installed samba just as described in [URL]

Now I want the shared folders (and the files created in them) to be owned by a user named efil. How do I do this?

View 3 Replies View Related

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 View Related

Security :: Sshd Not Working Properly \ System Has Only One User (root) Without Password?

Aug 10, 2010

I have a problem with sshd daemon on a target linux system:The system has only one user (root) without password.The sshd_config looks like:

Code:
Port 22
Protocol 2

[code]...

View 8 Replies View Related

Ubuntu Networking :: Samba Setup Error - Failed To Add Entry For User

Jun 20, 2010

I am trying to set up my Ubuntu 10.04 netbook to see my WinXP desktop's files and vice a versa. I followed the steps in this tutorial thread: HOWTO: Setup Samba peer-to-peer with Windows. I got as far as "Time to add yourself as an samba user." at this point I keep getting the following error:

Code:
sudo smbpasswd -L -a WinXP_User_Name
New SMB password:
Retype new SMB password:
Failed to add entry for user WinXP_User_Name.
My WinXP machine has no password.

My conf file is here:
[global]
; General server settings
; netbios name = WinXP_Computer_Name
server string =
; workgroup = WinXP_WorkStation_Name
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user .....

View 9 Replies View Related

Ubuntu Networking :: Mounting Samba Shares On A Box With Multiple User Accounts?

Jul 29, 2010

I setup samba file sharing to auto mount in fstab. Everything works great except when a computer has more than on user account.

The folders in mnt are owned by root and ownership changes to the first user account no matter what user logs in. So only the first user can edit files in the mounted share.

Anyone got a clue why this is happening? Seems the mount folders should be changing ownership to the user that is logged in.

View 2 Replies View Related

Ubuntu Networking :: User Can't Append To Files In Samba Shared Folder

Jun 18, 2010

I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson

ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson"
OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"

users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP

The first one is /etc/fstab

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[code]....

To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..

View 6 Replies View Related

Fedora Networking :: Samba Accepts One User But Refuses Other?

Jun 28, 2010

On a fedora 10 server i have installed a samba server.When i log in from Mac OS X as user 'jody' with my password for the server,i get access to the directories on the server.But when user 'ani' logs in with her password for the server,the connection is refused.Both users can log in directly at the server.For user 'jody' the entries in the samba log are:

Code:
[2010/06/28 17:07:25, 0] lib/util_sock.c:matchname(1749)
matchname: host name/address mismatch: ::ffff:xxx.yyy.zzz.115 != tester.uzh.ch

[code]....

View 2 Replies View Related

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

Ubuntu Networking :: Samba Not Working On Lucid 10.04

May 20, 2010

I had Samba shares (a public folder and a printer) running fine on Jaunty 9.10, when upgraded to 10.04 it stopped working.

I've tried several tips and following different threads to no avail.

when I run smbclient -L localhost or else smbclient -L 127.0.0.1 I get:

Code:
session setup failed: NT_STATUS_NO_SUCH_DOMAIN
when I run smbclient -L TKA I get:
Code:
Connection to TKA failed (Error NT_STATUS_CONNECTION_REFUSED)
Here is my current smb.conf:

[Code]....

I installed samba4 but did't do any difference, so I uninstalled that. Reinstalled SAMBA and the config tool for samba several times. No difference.

View 3 Replies View Related

Ubuntu Networking :: Samba Stops Working After A While?

Oct 22, 2010

I have created a Samba share, using the fantastic Webmin tool. I have a network media player which can connect to my router, and then access windows (samba) shares. Most of the time, it works fine - it's able to stream HDTV wirelessly across the network. However, every so often, it just stops working ... the media player sees :

Network, then
WORKGROUP, then
FILESERVER-1 (machine name), then
Media (share name), then
Video (subdir, then
TV_Shows (subdir), then
MyShow.AVI ... just hangs

if I use the Webmin tool, I see multiple samba connections all from the media player. Restarting samba seems to have no effect. The only way to fix it, is to reboot.

logfile I can check, or a setting I can tweak to fix this issue ?

When it get like this, trying to access the share from a windows machine, just gives me an error saying it can't find the machine. But when it's rebooted, it works fine.

I have mapped the "nobody" linux user to "guest" which is what the media player is defaulted to login with (it's primarily sold as a "Windows" media player), and using Webmin I have assigned the "nobody" user read-only rights to the samba share. It worked fine for 6 months, until I added this new drive.

View 2 Replies View Related

Ubuntu Networking :: Samba Is Stopped Working

Jun 17, 2011

Been searching for hours and looked at several other threads but still can't figure this out. We have 4 folders being shared from a Ubuntu 10.4.2 LTS Server using Samba. A couple days ago two computers in the office lost access to these shares. The other computers in the office are fine. So far as I know nothing has changed on the server. I can putty into the server still but I can't map a drive or open a window through run (\server_nameetc).

I've also tried disabled iptables on the server and windows firewall on the the windows xp machines. Still no luck. What am I doing wrong? Like I said, so far as I know there have been no changes to the server whatsoever. One day it was working and the next it just stops.

View 3 Replies View Related

Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories?

Oct 20, 2010

I would like to configure an access to folder

/fileserver

for two services : Samba and VSFTPD

How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.

My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)

View 1 Replies View Related

Ubuntu Networking :: Samba Logging Using Vfs And Syslog Isn't Working

Jan 19, 2010

I'm looking into setting up logging for Samba that logs every file downloaded, uploaded, renamed, deleted, etc, etc. It's currently working, but I'm trying to get it to output to /var/log/samba/audit.log and it's still outputtin Here are my current settings:

[Code]...

View 3 Replies View Related

Ubuntu Networking :: Samba File-sharing Not Working?

Jun 6, 2010

I am at a total loss. For all intents and purposes - sharing files over a lan without a password between this ubuntu 10.04 machine and my wifes laptop (windows 7) should be trouble free. I've installed samba, and created an smb.conf file in /etc/samba

Code:
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = oak
security = share

[Code]....

I want to note that I was using Arch Linux and this exact setup worked flawlessly. Why on earth would it not work the same in Ubuntu? Is it not the same Samba?

View 5 Replies View Related

Ubuntu Networking :: Samba Quit Working After Upgrade?

Jul 17, 2011

I just upgraded to 10.04, as of this upgrade, samba has quit working.

From Windows I can ping the linux box (192.168.1.110) If from Windows I key in ->Start->Run->\192.168.1.110 I connect to my linux box.

If I try to access the linux box through the name, (\tardis) I get network path not found.

Everything worked fine before the upgrade, now I cannot see my linux box via its network name. I have a WD TV Live on my network and I must be able to see the linux box via its network name or I cannot connect to it.

iptables shows no rules

smbtree returns
SONCOM
\WINDOZE
\WDTVLIVE WDTV LIVE
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
failed tcon_X with NT_STATUS_ACCESS_DENIED

[Code]....

View 9 Replies View Related

Ubuntu Networking :: Non-Guest Samba Shares Not Working?

Aug 7, 2011

I have some samba shares working where all I did was right click on the folder, enable sharing and enable guest access. These work fine.

However, when I tried to use the manual way:

[URL]

to create samba shares, so that they would be password protected, I cant access them. In windows 7, the shares are visible so I click them, click "use another account" and type in my samba name and password I created, but I can't access them.

Here is smb.conf

Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#

[Code].....

View 2 Replies View Related

Fedora Networking :: 13 Samba Gui Not Working?

Oct 11, 2010

i did yum install system-config-samba and it worked and installed when ever i click on it. it says it is starting up and then just crashes.

View 1 Replies View Related

Networking :: Samba And CUPS Not Working

May 2, 2011

I'm beginning to think linux actually isn't capable of sharing files and printers with anything. I've been trying to get my LMDE to share files and be able to retrieve files from the other windows PCs I have on my wireless network. I would also like to share the printer I have connected to my LMDE install with those same computers. In short how is this done because I pulling my hair out trying to figure out whats wrong.

As I understand it sharing the printer should be easier than sharing files. Its done by CUPS? Anyway I've enabled sharing in the printing, and in the "server settings" windows ticked "publish shared printers connected to this system". That doesn't work. Windows can't find it. Samba on the other hand is even worse. Edit the smb.conf? Nice way of making things complicated!

View 2 Replies View Related

Ubuntu Networking :: Samba No Longer Working - Caused By Update?

Mar 3, 2010

I think an update or something has killed Samba on my Karmic box. it can see Windows shares OK, but it no longer appears on the Windows network.I have not changed my smb.conf for months, so something else has been modified.Looking in the logs I can see the following in "log.winbindd-idmap" after restarting Samba

Code:

[2010/03/03 10:07:20, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
idmap_alloc module tdb already registered!
[2010/03/03 10:07:20, 0] winbindd/idmap.c:149(smb_register_idmap)

[code]...

All other networking seems fine (internet, Synergy+ etc) it's just sharing out to the Windows network that is broken.

View 2 Replies View Related

Ubuntu Networking :: Samba File Sharing Stoped Working?

Dec 1, 2010

I set up a Ubuntu Server for my home network to share among Win XP and Ubuntumachines.Initially everything worked fine with all Win XP machines being able to share files on the server; however, after I installed and setup SSH between my Ubuntu machines and my Ubuntu Server I now cannot share and/or even see my Server directory from Win XP or Ubuntu machines through the Samba.I have tried for 2 days to figure out the problem without success.Did I break something while setting up the SSH? How can I fix Samba?Here's some things I have setup or tried so far:1. Samba users are setup and were working previously.2. Samba share drives were setup and working previously.3. I can see the Server using SSH or SFTP from my Ubuntu machines.4. I have gone over the Samba config file numerous times5. I am administering Samba on the server via the terminal and Webmin

View 9 Replies View Related

Ubuntu Networking :: Internet Sharing Not Working Samba Shares Are?

Apr 13, 2011

I have internet on my ubuntu machine (eth0) I am sharing with (eth1) My windows computers are getting IP addresses via DHCP from the Ubuntu Machine, and I can see (and use) samba/windows shares on all computers.Internet connection is not working on any of the windows computers. I have eth1 set to "shared to other computers" under the IPv4 settings

View 5 Replies View Related







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