Jump to content

strange samba problem


johnnyv
 Share

Recommended Posts

Well i upgraded my works server from 8.1 to 9.0

 

setup samba but it is behaving strangely.

clients are able to log on to the server and do the normal file stuff but there "network neighborhoods" aren't working.

 

Win 98 clients:

Network Neighborhood only shows the "entire network" button , if clicked get error msg

 

"Unable to browse the network

The network is not accessible"

 

Win Me clients:

My Network Places shows all the shares but only the samba server one works

If another computer is clicked get this

"Namec is not accessible there are currently no login servers availible to service your request"

if i click on "entire network" i get

"windows unable to gain access to the network"

 

my smb.conf

[global]

domain logons = Yes

preferred master = Yes

security = user

encrypt passwords = Yes

workgroup = UROXSYSLTD

netbios name = SERVER

server string = Samba Server %v

os level = 99

wins support = true

name resolve order = lmhosts wins bcast hosts

dns proxy = No

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

hosts allow = 192.168.0.0/255.255.255.0 127.0.0.1

hosts deny = ALL

interfaces = 192.168.0.0/255.255.255.0 127.0.0.1

bind interfaces only = yes



printing = cups

printcap name = lpstat

load printers = Yes



max log size = 50

log level = 2

log file = /var/log/samba/log.%m



guest account = pcguest



browseable = No



[homes]

comment = Home Directories

read only = No

browseable = No



[netlogon]

  comment = Network Logon Service

  path = /var/lib/samba/netlogon

  guest ok = yes

  writable = no



[printers]

comment = All Printers

path = /var/spool/samba

create mask = 0700

guest ok = Yes

printable = Yes

print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.

lpq command = lpstat -o %p

lprm command = cancel %p-%j

browseable = Yes



[data]

path = /home/data

writable = yes

force directory mode = 0777

create mode = 0777

force create mode = 0777

directory mode = 0777

force group = UROXSYSLTD

guest ok = Yes

comment = data

read only = No

browseable = Yes

 

Oh yes the server has only one interface eth0 ip 192.168.0.1

the server does not have a fire wall, i have a seperate firewall.

 

i had tried

name resolve order = wins lmhosts bcast hosts

my lmhosts file is the same as my previous setup so it shouldn't be a problem.

 

this is the default samba for 9.0 2.2.6 pre2

 

testparm finds no probs

 

Oh and all win clients are set to use wins server 192.168.0.1 and DNS 192.168.0.2(on the firewall box).

 

any ideas?

Link to comment
Share on other sites

I have fixed it.

 

It seems that the samba map users file was not working?

 

i had nobody = pcguest, smbuser, etc

 

and in smb password file

 

i had a user nobody with no password

 

i change my smb.conf

changing "guest account = pcguest" to "guest account = nobody" fixed this and the network browse lists worked

 

funny thing is in my mandrake 8.1 i had "guest account = pcguest" and had pcguest mapped to unix and samba user nobody and it worked fine!

 

Go figure? :?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...