Help from the mailing list
sglenister at comcab.co.uk
sglenister at comcab.co.uk
Mon Jul 13 13:11:07 GMT 1998
Sorry if this is the subscription address and not the mailing list address,
if so.....
subscribe sglenister at comcab.co.uk ;-)
Guess what...I have a problem. Bound to be my lack of knowledge about
Netbios/
WINS/Netbui etc....
Been going through the DIAGNOSIS.txt tests and have got this far...
../smbclient -d 10 -L indy1
which gives...
==============================================
07/13/1998 12:54:54 client started (version 1.9.18p4)
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.
conf"
Processing section "[global]"
doing parameter comment = Samba %v
doing parameter workgroup = MIS
doing parameter printing = sysv
doing parameter hosts allow = 100.0
doing parameter guest ok = yes
doing parameter print command = /usr/samba/bin/sambalp %p %s %U %m
doing parameter load printers = yes
doing parameter guest account = nobody
doing parameter browseable = yes
doing parameter max log size = 50
doing parameter locking = yes
doing parameter lock directory = /usr/samba/var/locks
doing parameter share modes = yes
doing parameter socket options = TCP_NODELAY
doing parameter os level = 0
doing parameter dns proxy = no
doing parameter preferred master = no
doing parameter domain master = no
doing parameter local master = no
doing parameter wins support = no
doing parameter wins server =
doing parameter preserve case = yes
doing parameter short preserve case = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
lp_servicenumber: couldn't find printers
lp_servicenumber: couldn't find printers
adding IPC service
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
..
..[deleted to try and save some space....]
..
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
Netmask for ec0 = 255.0.0.0
Derived broadcast address 100.255.255.255
Added interface ip=100.0.0.247 bcast=100.255.255.255 nmask=255.0.0.0
Opening sockets
resolve_name: Attempting lmhosts lookup for name INDY1
getlmhostsent: lmhost entry: 100.0.0.17 jblack
getlmhostsent: lmhost entry: 100.0.0.247 indy1
Connecting to 100.0.0.247 at port 139
Connected
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
got smb length of 1
Session request failed (131,129) with myname=INDY1 destname=INDY1
Not listening for calling name
Try to connect as another name (instead of INDY1)
You may find the -n option useful for this
=====================================================
Doing an smbclient for another server works fine:-
========================
sg at Indy1 103> ./smbclient -L wks19
Added interface ip=100.0.0.247 bcast=100.255.255.255 nmask=255.0.0.0
Server time is Mon Jul 13 13:04:24 1998
Timezone is UTC+0.0
security=share
Server=[WKS19] User=[] Workgroup=[MIS] Domain=[CCAB]
Sharename Type Comment
--------- ---- -------
FTP Disk
INFORMIX Disk
IPC$ IPC Remote IPC
NTME Disk
TMP Disk
TRUEGRID Disk
=============================
testparm gives:-
===============================
sg at Indy1 106> testparm | more
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[tmp]"
Processing section "[public]"
Loaded services file OK.
WARNING: You have some share names that are longer than 8 chars
These may give errors while browsing or may not be accessible
to some older clients
Press enter to see a dump of your service definitions
# Global parameters
debuglevel = 2
syslog = 1
syslog only = No
protocol = NT1
security = SHARE
max disk size = 0
lpq cache time = 10
announce as = NT
encrypt passwords = No
getwd cache = Yes
read prediction = No
read bmpx = Yes
read raw = Yes
write raw = Yes
use rhosts = No
load printers = Yes
null passwords = No
strip dot = No
interfaces =
bind interfaces only = No
networkstation user login = Yes
password server =
socket options = TCP_NODELAY
netbios name =
netbios aliases =
smbrun = /usr/local/samba/bin/smbrun
log file =
config file =
smb passwd file = /usr/local/samba/private/smbpasswd
hosts equiv =
preload =
server string = Samba 1.9.18p4
printcap name = lpstat
lock dir = /usr/samba/var/locks
root directory = /
default service =
message command =
dfree command =
passwd program = /usr/local/samba/bin/smbpasswd
passwd chat = *old*password* %o\n *new*password* %n\n *new*password*
%n\
n *changed*
valid chars =
workgroup = MIS
username map =
character set =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
announce version = 4.2
max log size = 50
mangled stack = 50
max mux = 50
max xmit = 65535
max packet = 65535
name resolve order = lmhosts host wins bcast
packet size = 65535
password level = 0
username level = 0
keepalive = 0
deadtime = 0
time offset = 0
read size = 16384
shared mem size = 102400
coding system =
client code page = 850
os level = 0
max ttl = 14400
max wins ttl = 259200
min wins ttl = 21600
lm announce = Auto
lm interval = 60
dns proxy = No
wins support = No
wins proxy = No
wins server =
preferred master = No
local master = No
domain master = No
domain logons = No
browse list = Yes
unix realname = No
NIS homedir = No
unix password sync = No
time server = No
printer driver file = /usr/local/samba/lib/printers.def
# Default service parameters
comment = Samba %v
copy =
include =
exec =
postexec =
root preexec =
root postexec =
alternate permissions = No
revalidate = No
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
browseable = Yes
available = Yes
path =
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
volume =
force user =
force group =
read only = Yes
max connections = 0
min print space = 0
create mask = 0744
force create mode = 00
directory mask = 0755
force directory mode = 00
set directory = No
status = Yes
hide dot files = Yes
delete veto files = No
veto files =
hide files =
veto oplock files =
guest only = No
guest ok = Yes
print ok = No
postscript = No
map system = No
map hidden = No
map archive = Yes
locking = Yes
strict locking = No
share modes = Yes
oplocks = Yes
only user = No
wide links = Yes
follow symlinks = Yes
sync always = No
mangled names = Yes
fake oplocks = No
printing = sysv
print command = /usr/samba/bin/sambalp %p %s %U %m
lpq command = lpstat -o%p
lprm command = cancel %p-%j
lppause command =
lpresume command =
printer =
printer driver = NULL
printer driver location =
hosts allow = 100.0
hosts deny =
dont descend =
magic script =
magic output =
mangled map =
delete readonly = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
[tmp]
comment = Temporary file space
path = /usr/tmp
read only = No
[public]
comment = Public Stuff
path = /
===================================================
So...sorry for the volumous email (especially if it's going to the wrong
address.
Does anyone have any pointers?
Cheers,
Steve
More information about the samba
mailing list