LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2010, 04:50 AM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 154

Rep: Reputation: 19
samba issues


Hi All

I have a small network running a few xp machines and a couple ubuntu 10.4 pc's. I have installed samba on centos 5 and I needed a folder that could be used without a username or password. Looking a the forum I changed part of smb.conf from security = user to security = share.

This works great and we have access to the said folder. The problem is that the main shared folders will allow windows users in with a username and password but any ubuntu user using connect to server won't seem to accept the user name and password so they don't get any access. Can anyone shed any light on this as the normal folders were fine prior to changing smb for the share. I have enclosed some of the smb.conf below

[data]
comment = Data Folder
path = /home/data/
public = yes
writable = yes
browseable = yes
printable = no
avaliable = yes
write list = glenn, @staff
force create mode = 0660

#temp folder
[temp]
comment = temp folder
path = /home/temp/
public = yes
writeable = yes
browseable = yes
guest ok = yes
guest only = yes
guest account = nobody
available = yes
force user = nobody
force group = nobody
create mask = 0777
direcroty mask = 0777

[business-data]
comment = Business Folder
path = /home/business-data/
public = yes
writable = yes
browseable = yes
printable = no
avaliable = yes
write list = glenn, @staff
force create mode = 0660
force directory mode = 0770
 
Old 07-12-2010, 04:57 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

From your post as I understand it, your samba shares live on the CentOS machine; and you're trying to mount these shares from multiple Windows XP/Ubuntu clients?

Can you specify which share exactly the Ubuntu users are not able to connect to? Also you state that you've configured the shares without authentication (which is 100% - public = yes); thus I don't see why your Ubuntu users should not be able to connect (seeing that your Windows users can) - can you perhaps post the output when you try to mount the share on Ubuntu?
 
Old 07-12-2010, 05:10 AM   #3
glennbtn
Member
 
Registered: Dec 2009
Posts: 154

Original Poster
Rep: Reputation: 19
The 2 folder that should require a user name and password for writing too, are the data and business-data folder (the temp requires nothing to access or write too). Windows users can map drives fine and add data, the ubuntu users get the login box which when entering the password just reappears.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba issues Quads Linux - Networking 8 05-06-2009 09:23 PM
Samba issues mrkow Ubuntu 2 04-02-2008 11:48 AM
Samba issues trebek Linux - Networking 3 04-28-2005 03:10 PM
Samba Issues jetfanroy Linux - Newbie 10 07-29-2003 08:25 AM
Samba Issues TheTrexx Linux - Networking 4 12-16-2002 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration