Assistance required please
Kenny Petrie
kenny at millar-bryce.com
Fri Mar 27 15:55:59 GMT 1998
Systems
Sun Sparc Station 2
SunOS 4.1.3
NT Server 4.0 (SP3)
Problem
I have installed Samba 1.9.17p4 (Running the Server as a Daemon) and have
carried out all of the steps noted in DIAGNOSIS.txt but I am unable to
connect from my NT machine
Please find below details of relevant info (if i have missed out on
anything please do not hesitate to request more)
NT
----
Lmhosts file
10.5.10.1 sun # the unix machine
10.5.20.2 nts # the NT machine
Enabled unencrypted (plain text) passwords
HKEY_LOCAL_MACHINE \system\currentcontrolset\services\rdr\parameters
Added the following: Value Name: EnablePlainTextPassword Data Type:
REG_DWORD Data: 1
I am able to ping sun
SunOs
----------
# cat smb.conf
[tmp]
comment = temporary files
path = /tmp
read only = yes
# testparm smb.conf
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Load smb config files from smb.conf
Processing section "[tmp]"
Loaded services file OK.
Press enter to see a dump of your service definitions
Global parameters:
debuglevel: 2
syslog: 1
syslog only: No
protocol: 5
security: 0
printing: 0
max disk size: 0
lpq cache time: 10
announce as: 1
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:
password server:
socket options:
netbios name:
netbios aliases:
smbrun: /usr/local/samba/bin/smbrun
log file:
config file:
smb passwd file:
hosts equiv:
preload:
server string: Samba 1.9.17p4
printcap name: /etc/printcap
lock dir: /var/spool/samba/locks
root directory: /
default service:
message command:
dfree command:
passwd program: /bin/passwd
passwd chat: *old*password* %o\n *new*password* %n\n *new*password*
%n\*
valid chars:
workgroup: WORKGROUP
domain controller:
username map:
character set:
logon script:
logon path:
remote announce:
socket address: 0.0.0.0
homedir map:
announce version: 4.2
max log size: 5000
mangled stack: 50
max mux: 50
max xmit: 65535
max packet: 65535
password level: 0
keepalive: 0
deadtime: 0
time offset: 0
read size: 16384
shared mem size: 102400
shared file entries: 113
client code page: 850
os level: 0
max ttl: 14400
dns proxy: Yes
wins support: No
wins proxy: No
wins server:
preferred master: No
local master: Yes
domain master: No
domain logons: No
browse list: Yes
unix realname: No
NIS homedir: No
time server: No
Default service parameters:
comment:
copy:
include:
exec:
postexec:
root preexec:
root postexec:
alternate permissions: No
revalidate: No
default case: 0
case sensitive: No
preserve case: No
short preserve case: No
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
veto files:
hide files:
guest only: No
guest ok: No
print ok: No
postscript: No
map system: No
map hidden: No
map archive: Yes
locking: Yes
strict locking: No
share modes: Yes
only user: No
wide links: Yes
follow symlinks: Yes
sync always: No
mangled names: Yes
fake oplocks: No
print command: lpr -r -P%p %s
lpq command: lpq -P%p
lprm command: lprm -P%p %j
lppause command:
lpresume command:
printer:
printer driver: NULL
hosts allow:
hosts deny:
dont descend:
magic script:
magic output:
mangled map:
delete readonly: No
dos filetimes: No
Service parameters [tmp]:
comment: temporary files
path: /tmp
Service parameters [IPC$]:
comment: IPC Service (Samba 1.9.17p4)
path: /tmp
status: No
guest ok: Yes
I am able to ping nts
# smbclient -L SUN
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Added interface ip=10.5.10.1 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Thu Mar 26 14:21:42 1998
Timezone is UTC-0.0
security=user
SMBtconX failed. ERRSRV - ERRbadpw (Bad password - name/password pair in a
Tree)
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase
# ps -aux | grep smbd
root 13705 0.0 0.4 32 188 p2 S 14:23 0:00 grep smbd
root 10511 0.0 0.0 356 0 ? IW 12:00 0:00 smbd -D -d 3 -l
/var/adm/smblogs/log
# cat /var/adm/smblogs/log
03/26/98 12:00:19 smbd version 1.9.17p4 started
Copyright Andrew Tridgell 1992-1997
Maximum number of open files per session is 100
uid=0 gid=0 euid=0 egid=0
Initialising global parameters
Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[homes]"
doing parameter guest ok = no
doing parameter read only = no
pm_process() returned Yes
adding IPC service
Added interface ip=10.5.10.1 bcast=10.255.255.255 nmask=255.0.0.0
03/26/98 12:00:19 loaded services
03/26/98 12:00:19 becoming a daemon
bind succeeded on port 139
waiting for a connection
NT
----
# cat smb.conf (amended)
[tmp]
comment = temporary files
path = /tmp
read only = yes
user = kenny
c:\> net use x: \\SUN\TMP
System error 53 has occurred
The network path was not found
Unable to browse Unix box via Network Neighborhood
SunOs
---------
# nmbd -D
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
# ps -aux | grep nmbd
root 15569 0.0 0.1 16 36 p2 R 15:29 0:00 grep nmbd
root 15567 0.0 1.0 140 448 ? S 15:29 0:00 nmbd -D
# nmblookup -B SUN_SAMBA_
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Sending queries to 0.0.0.0
# nmblookup -B NTS '*'
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Sending queries to 10.5.20.2
10.5.20.2 *
# nmblookup -B NTS *
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Sending queries to 10.5.20.2
name_query failed to find name nmbd
name_query failed to find name nmblookup
name_query failed to find name smbd
name_query failed to find name smbrun
# nmblookup -d 2 '*'
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Added interface ip=10.5.10.1 bcast=10.255.255.255 nmask=255.0.0.0
Sending queries to 10.255.255.255
name_query failed to find name *
# nmblookup -d 2 *
ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9
Added interface ip=10.5.10.1 bcast=10.255.255.255 nmask=255.0.0.0
Sending queries to 10.255.255.255
name_query failed to find name nmbd
name_query failed to find name nmblookup
name_query failed to find name smbd
name_query failed to find name smbrun
thanks in advance
kenny
kenny at millar-bryce.com
More information about the samba
mailing list