Click to See Complete Forum and Search --> : Samba Configuration Problem?


WiFiLinux
05-27-2003, 03:08 AM
I have set up Samba on one of my computers using SWAT. I can see the computer in my Network Neighborhood but when I click on it in the NN panel I get the following error:

"Windows cannot find the computer or share name. Make sure the computer or share name is valid and that you are connected to the network and try again."



Any Ideas???


:confused:

drsatch
05-27-2003, 05:50 AM
did you set up a share in your smb.conf file? an easy one to start out with is the home directory.



[Homes]
guest ok = no
read only = no
comment = Private Home Directories
browseable = no

WiFiLinux
05-27-2003, 06:20 AM
Here is what I have in the smb.conf file:

[global]
workgroup = WORKGROUP
netbios name = LINUX
encrypt passwords = yes

[homes]
read only = no
guest ok = no
comment = Private Home Directories
browsable = No

I am running RedHat 9.0

drsatch
05-27-2003, 03:44 PM
I think you have to set up what kind of security. Is it user, domain, etc. I'll post my smb.conf. It was easier for me to set mine up when I had an example to go by. Mine is acting as an NT domain controller for Win2k/XP clients with roaming profiles. This should get you started. Use the samba docs to help you decide if you need any of the options I have. You can use mine as a starting point.



[global]
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
domain master = yes
security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%N\profiles\%u
local master = yes
workgroup = bmcwest
server string = Samba Server %v
netbios name = Server
logon drive = g:
wins support = true
logon home = \\Server\homes\%u
unix password sync = true
passwd program = /usr/bin/passwd %u
passwd chat = *password* %n\n *password* %n\n *successful*
domain admin group = @ntadmin
time server = yes
interfaces = 192.168.0.1/255.255.255.0
logon script = logon.bat
nt acl support = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

[Netlogon]
path = /home/smb/netlogon
browseable = no
write list = @ntadmin

; share for storing user profiles
[Profiles]
path = /home/smb/ntprofile
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[Homes]
guest ok = no
read only = no
comment = Private Home Directories
browseable = no




Good Luck!