LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-12-2006, 01:05 AM   #1
ILikeVoltron
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
Samba not working as intended. Private / Public share's


My current smb.conf file.
Code:
[global]
workgroup = WORKGROUP
netbios name = DEATHSTAR
security = user
passdb backend = tdbsam:/etc/samba/private/passdb.tdb
;guest account = nobody
;wins server = 192.168.1.1
[Private]
comment = Private share
path = /home/pub
guest ok = no
read only = no
[Public]
comment = Public share
path = /home/pub/uploads/public
read only = no
guest ok = yes
guest only = yes
Basically what we have here are two shares, a private and public one. Private should be forced to login with a valid account, while Public should be read/write by everybody including people who do not login.

Overall it seems like I've had the same .conf work multiple diffrent ways, sometimes I'm forced to login, other times my Private share requires no longin at all. I'm quite confused about all of this.
 
Old 03-12-2006, 02:58 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
It may be one of two things Windows may be remmebering th epassword and username and logging you on to the share. OR WinXP will try to pass the current username/password combo that a user is logged on under on the XP machine so if that username/pass is the same as for the private share it may be autologging you in.
 
Old 03-12-2006, 03:24 AM   #3
ILikeVoltron
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scheidel21
It may be one of two things Windows may be remmebering th epassword and username and logging you on to the share. OR WinXP will try to pass the current username/password combo that a user is logged on under on the XP machine so if that username/pass is the same as for the private share it may be autologging you in.
The login password combination I am using for my share is not the same as my login for WinXP.
 
Old 03-14-2006, 05:22 PM   #4
ILikeVoltron
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I added this to [global] and now it works fine.
Code:
map to guest = Bad Password
 
  


Reply


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
public, private, protected...?(C++) name_in_use450 Programming 6 10-08-2008 12:43 AM
public samba share not working for windows clients kilgor Linux - Software 2 12-16-2005 11:32 AM
ssh public/private keys lord_darkhelmet Linux - Newbie 8 10-29-2005 04:14 PM
public vs private ip emailssent Linux - Networking 2 09-28-2004 03:11 AM
Linking Public IP to a Private IP Saints Linux - Networking 0 05-04-2004 05:33 AM


All times are GMT -5. The time now is 11:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration