No subject


Mon Dec 1 11:34:25 GMT 2003


other  machine  with the  details  listed  above. Windows  NT  doesn't
prompt me for a password, and I can create/read/delete... files.

Now I'd like to connect to the machine using Linux.  So I tried:

[root at fp-2252 /etc]# mount -t smbfs -o username=John\ Doe
//164.56.65.199/transfer /mnt/Transfer
20313: session request to 164.56.65.199 failed (Called name not present)
20313: session request to 164 failed (Called name not present)
20313: session request to *SMBSERVER failed (Called name not present)
SMB connection failed

Okay, doesn't work.  The DNS name of the other computer is:

[root at fp-2252 /etc]# host 164.56.65.199
199.65.56.164.in-addr.arpa. domain name pointer dwh_coe_454.delphiauto.com.

dwh_coe_454 also seems to be the netbios name of the computer:

[root at fp-2252 /etc]# nmblookup dwh_coe_454
querying dwh_coe_454 on 206.122.137.255
164.56.65.199 dwh_coe_454<00>

Doing a "node status" on the IP returns:

[root at fp-2252 /etc]# nmblookup -A 164.56.65.199
Looking up status of 164.56.65.199
        DWHS037DYSXA887 <00> -         M <ACTIVE> WORKGROUP       <00> - <GROUP>
M <ACTIVE> DWHS037DYSXA887 <03> -         M <ACTIVE> DWHS037DYSXA887 <20> -
M <ACTIVE> WORKGROUP       <1e> - <GROUP> M <ACTIVE> RZ98LH          <03> -
M <ACTIVE> ...which doesn't tell me anything at all...

Next I added this to /etc/hosts:
164.56.65.199  dwh_coe_454

And this to /etc/lmhosts:
164.56.65.199  dwh_coe_454

After this, I tried to list the available shares on the machine (which
Windows NT lists just fine using the IP adress):

[root at fp-2252 /etc]# smbclient -L dwh_coe_454
added interface ip=206.122.137.116 bcast=206.122.137.255 nmask=255.255.255.0
session request to DWH_COE_454 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)

mount "naturally" doesn't work either.

Well,  that's where  I'm stuck right now. Could someone *please* be so
kind  and show  me, what I'm doing  wrong? I had a look at google.com,
groups.google.com  and marc.theaimsgroup.com,  but  besides  a lot  of
other help requests like mine, I didn't find a solution.

Finally, I also tried calling smbclient with as much detail as I know,
but this also doesn't work :(

At the end of this mail you can find my smb.conf.

If somebody could help, I'd be VERY thankful,
Alexander Skwar

----------- START OF DEBUG OUTPUT OF A -L ON THE TARGET -----------------------

[root at fp-2252 /etc]# smbclient -d 10 -n JT -W WORKGROUP -L DWH_COE_454
added interface ip=206.122.137.116 bcast=206.122.137.255 nmask=255.255.255.0
Client started (version 2.2.0).
resolve_lmhosts: Attempting lmhosts lookup for name DWH_COE_454<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
getlmhostsent: lmhost entry: 206.122.137.116 fp-2252
getlmhostsent: lmhost entry: 206.122.137.144 DE_42119_W03
getlmhostsent: lmhost entry: 206.122.137.144 dewupw01
getlmhostsent: lmhost entry: 206.122.137.104 dewupw02
getlmhostsent: lmhost entry: 164.56.65.199 dwh_coe_454
Connecting to 164.56.65.199 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
got smb length of 1
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to DWH_COE_454 failed (Called name not present)
resolve_lmhosts: Attempting lmhosts lookup for name DWH_COE_454<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
getlmhostsent: lmhost entry: 206.122.137.116 fp-2252
getlmhostsent: lmhost entry: 206.122.137.144 DE_42119_W03
getlmhostsent: lmhost entry: 206.122.137.144 dewupw01
getlmhostsent: lmhost entry: 206.122.137.104 dewupw02
getlmhostsent: lmhost entry: 164.56.65.199 dwh_coe_454
Connecting to 164.56.65.199 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
got smb length of 1
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request to *SMBSERVER failed (Called name not present)

------------ END OF DEBUG OUTPUT OF A -L ON THE TARGET ------------------------



------------------------------ START OF smb.conf ------------------------------
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2001/10/08 10:25:20

# Global parameters
[global]
     workgroup = DELPHI
     netbios name = JT
     server string = Samba %v auf %h
     security = SHARE
     encrypt passwords = Yes
     null passwords = Yes
     log file = /var/log/samba/log.%m
     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
     printcap name = lpstat
     wins proxy = Yes
     wins support = Yes
     printing = cups

[homes]
     comment = Home Directories
     read only = No
     browseable = 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 = No
     available = No

[CAD]
     comment = JT CAD Files von s05nfs
     path = /mnt/JT-Files
     valid users = samba-admin,jt,hkleinsi,ukanstei,fbuening,wgundlac
     write list = samba-admin
     force group = pmc
     write cache size = 262144
     utmp = Yes
     volume = JT CAD Files
     fstype = Linux
     wide links = No

[Select]
     comment = Microsoft Select CDs
     path = /var/lib/samba/netlogon/Select
     read only = No
------------------------------- END OF smb.conf -------------------------------

Thanks,

Alexander Skwar






More information about the samba mailing list