Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-13-2004, 03:01 AM   #1
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
samba user and share access?

This is actually two question about some issues I'm having with Samba.

1) I'm trying to configure samba to have both anonymous access to some public shares, but also users with passwords to be able to access their home directories through the "homes" share. They say if you want to have the anonymous access to set the security mode to SHARE and if you want users to access their home directories to set it to USER. Can you not mix the two? Right now I have it set to SHARE and it works fine for the anonymouse ones, but when I try to access the homes share I get problems. Windows brings up the logon dialoug box, but it has the username pre-filled in to guest and I can't change it. When I put a valid username and password into another linux box it just doesn't display anything under the homes share.

2) When I write some new files to the anonymous public shares they are writen with the permissions 755 even though the parent directory has 777. How can I get samba to write with 777 permissions? I'd like other users to be able to edit, move, delete the files as well.

Thanks for any suggestions!

Old 08-13-2004, 08:24 AM   #2
LQ Newbie
Registered: Jun 2003
Location: .ar
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
1) In Windows Explorer, Tools > Connect to network drive (or whatever that is, I'm using an intl version) then you'll see an option to connect using a different username/password.
Old 08-15-2004, 04:49 AM   #3
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Original Poster
Rep: Reputation: 30
OK, that lets me specify a login name and password, but the share still doesn't work unless I set it to user mode on Samba.

Any more ideas?

Old 08-30-2004, 03:09 PM   #4
Registered: Aug 2004
Location: Virginia Tech
Distribution: Xandros 3.01
Posts: 30

Rep: Reputation: 15
I have the EXACT same issue! And I haven't for the life of me figured out how to do it. I have one directory on the linux box that I want EVERYBODY to see, no matter what, don't even want a logon prompt. Then I myself want access to another folder, with a username and password. The security = user vs security = share debate rages on. But I've been on both MandrakeUsers and this forum before with no answer yet.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Share access Spadge67 Fedora 3 11-19-2005 07:57 PM
samba network share access Goma_2 Linux - Software 6 03-06-2005 01:10 PM
Samba: can't access share thorax Linux - Software 4 02-13-2005 01:39 PM
XP user can't access samba share atp777 Linux - Software 0 03-30-2004 06:33 PM
winxp can't access my samba share?? andrewlkho Linux - Software 2 08-29-2003 06:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

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