Hey folks...this is my first time working with samba and I'm stumped here! I
cannot get smbmount to work for the life of me, and I've been playing with
this for a few days now to no avail. I'm hoping someone here might be able
to help me out, so I've included as many details as I could think of. Also,
if this is the wrong forum, I apologize in advance...please point me to the
right place to ask.
I'm running Slackware v7 w/ 2.2.16 kernel. The smbfs support is compiled
into the kernel. There is no firewalling on this box (named ea) or on the
Win2k box (named bugs) I'm attempting to connect to. The share on the Win2K
has read access to everybody, and is viewable just fine from other machines.
Samba is actually up and running just fine on the slackware box. I can see
it browsing the network from the Win2K box, map a share, write, etc. Both
machines are in the same subnet, and the IP's were intentionally replaced
with the X's. The slackware box, however, cannot view or map to anything on
the Win2K box. All I can get is a "session request to BUGS failed (Not
listening on called name)" error message. If I do a netstat on the Win2K
box
it shows the connections to :139 though. The username/password that is being
used to log into the slackware box, is the same as the u/p specified on the
command like for the mount, and is also a matching account created w/
administrative permissions on the Win2K box. Following is the output I get
from smbmount. Oh one last note, if I try "smbclient -M bugs" I can
send a
message successfully. Go figure. Hopefully someone might be able to point me
in the right direction. Thanks in advance for your help!
- Ben
PS. Just out of curiosity, does anybody know if you can mount a microsoft
DFS share from an NT v4 server with smbmount? This is not what I'm
attempting to do here, but was just curious if it would work, since I can't
try it out myself at the moment! Thanks again.
ea:/usr/local/samba/bin# smbmount //bugs/test /bugs -o
username=root,password=password,netbiosname=ea,workgroup=acmeacres,debug=10
mount.smbfs started (version 2.0.7)
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = ACMEACRES
doing parameter netbios name = EA
handle_netbios_name: set global_myname to: EA
doing parameter server string = electric acid
doing parameter encrypt passwords = Yes
doing parameter log file = /usr/local/samba/var/log
pm_process() returned Yes
lp_servicenumber: couldn't find homes
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
Adding chars 0x84 0x8e (l->u = True) (u->l = True)
Adding chars 0x86 0x8f (l->u = True) (u->l = True)
Adding chars 0x91 0x92 (l->u = True) (u->l = True)
Adding chars 0x87 0x80 (l->u = True) (u->l = True)
Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
Adding chars 0x82 0x90 (l->u = True) (u->l = True)
Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
Adding chars 0x8d 0xde (l->u = True) (u->l = True)
Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
Adding chars 0x94 0x99 (l->u = True) (u->l = True)
Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
Adding chars 0x97 0xeb (l->u = True) (u->l = True)
Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
Adding chars 0x96 0xea (l->u = True) (u->l = True)
Adding chars 0x81 0x9a (l->u = True) (u->l = True)
Adding chars 0xec 0xed (l->u = True) (u->l = True)
Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_unicode_map: loading unicode map for codepage 850.
added interface ip=X.X.X.12 bcast=X.X.X.127 nmask=255.255.255.128
resolve_lmhosts: Attempting lmhosts lookup for name bugs<0x20>
getlmhostsent: lmhost entry: X.X.X.111 bugs
Connecting to X.X.X.111 at port 139
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 BUGS failed
resolve_lmhosts: Attempting lmhosts lookup for name bugs<0x20>
getlmhostsent: lmhost entry: X.X.X.111 bugs
Connecting to X.X.X.111 at port 139
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
SMB connection failed
ea:/usr/local/samba/bin#