Re: Trouble Accessing linux samba server



Michael Powell schreef:
I have a debian linux box that is running samba server. I also have an
OS/2 box that was able to access the shares on the samba server.
I recently upgraded to debian 5.0 which includes a newer version of
samba, 2:3.2.5.

Now, OS/2 cannot access any of the shares on the samba server, even the
ones that are not password protected. The last time I had this problem,
I had to add a couple of lines to my samba config file, and they are
still there:

ea support = Yes
mfdfs root = Yes

I am guessing that there is another setting that samba has changed the
default on, or some other change that has taken place which has cut off
access to the box.

I also have a WinXP box, and it is still able to access all shares.

Is anyone else having this problem? If so, what did you do to correct
it? Thanks!


The most important one is:
smb.conf

lanman auth = Yes

This is what OS/2 (not the netdrive pluin) requires.

From a working configuration (accepting peer-to-peer and domain logons).

[global]
workgroup = THUIS
netbios name = ZOLDER
server string = Samba %v at %h
interfaces = 192.168.1.2/255.255.255.0
bind interfaces only = Yes
map to guest = Bad User
log level = 3
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = T:
logon home = \\%L\%U\.w2kprofile
domain logons = Yes
security = user
os level = 65
preferred master = Yes
local master = Yes
domain master = Yes
wins support = Yes
name resolve order = lmhosts bcast hosts wins
ldap ssl = no
ea support = Yes
cups options = raw
store dos attributes = Yes
passdb backend = smbpasswd
usershare max shares = 100
# OS/2 samba server related
disable netbios = No
lm announce = Yes
lm interval = 60
min protocol = LANMAN2
# max protocol = NT1
lanman auth = Yes
ntlm auth = Yes
# Tips van Gunter K
map archive = No
map hidden = No
map system = No
map readonly = No
# smbclient related
client lanman auth = Yes
client plaintext auth = No
usershare allow guests = No


Cannot find path to OS/2 errors with net use and net view happen much
less often if you also run the nmb server (also with the OS/2 samba server).

# This file provides the same function that the lmhosts file does for
# Windows. It's another way to map netbios names to ip addresses.
#
# See section 'name resolve order' in the manual page of smb.conf for
# more information.

127.0.0.1 localhost
192.168.1.2 zolder
192.168.1.5 multiboot






Greetings,

Sjoerd Visser
.



Relevant Pages