LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Accessing a Samba Share (https://www.linuxquestions.org/questions/linux-software-2/accessing-a-samba-share-26784/)

bkmesenbrink 07-29-2002 03:26 PM

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????

bkmesenbrink 07-29-2002 04:04 PM

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.

RHrulz 07-31-2002 03:04 PM

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.


All times are GMT -5. The time now is 06:56 AM.