LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 07-29-2002, 04:26 PM   #1
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
Question Accessing a Samba Share


I have installed Samba on a RH7.2 box. I created a user and a share in /home/common. The user is able to access, read and write to /home/common without a problem. I would like to have /home/common accessable to everyone on our network but I don't want to create a user on the Linux box for everyone. /home/common has the following permissions...
drwxrwxrwx. My smb.conf file looks like this...

# Global parameters
[global]
password server = Myserver
wins server = 25.1.1.1
auto services = common
dns proxy = No
security = domain
encrypt passwords = yes
workgroup = Mydomain
server string = Samba Server %v
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
log file = /var/log/samba/log.%m
netbios name = Linux2
max log size = 50
preferred master = no
domain logons = yes

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[common]
path = /home/common
guest account = ftp
read only = No
writeable = Yes
guest ok = Yes

All Win98 and W2K Pro users can see the Linux box. When they click on the Linux box a password window popsup asking for a password. The resource is \\Linux2\IPC$. I thought the above configuration would let all users access the /home/common share.

What am I missing????

Last edited by bkmesenbrink; 07-29-2002 at 04:32 PM.
 
Old 07-29-2002, 05:04 PM   #2
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Lightbulb I did forget something

I did forget something... I had to run the following command...
smbpassed -j DOMAIN -r PDC -U Administrator

I hope this helps anyone else who might be having problems with Samba.
 
Old 07-31-2002, 04:04 PM   #3
RHrulz
Member
 
Registered: Jul 2002
Location: Troy, KS
Distribution: Mandrake 10.1
Posts: 57

Rep: Reputation: 15
I would think since it an actual home directory that the [homes] section would take precident and it is set to browsable = no.

Why dont you just create a directory and add it to the end of the smb.conf file? That's how I set up all my shares. So those can be public plus each user has their own private share.
 
  


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
Accessing SAMBA Share via MS VC++ dhammika Programming 0 12-01-2004 11:14 PM
Missing folders when accessing samba share from XP IgniZtion Linux - Software 2 08-19-2004 12:34 AM
accessing ntfs share through samba GraemeK Linux - Software 2 01-26-2004 10:15 AM
Error while accessing samba share shankariyer Linux - Software 14 01-24-2004 05:16 AM
Problem accessing home share with Samba bubber Linux - Software 5 03-09-2003 11:46 AM


All times are GMT -5. The time now is 03:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration