Bug 6233 - smbmnt segfault
smbmnt segfault
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Depends On:
  Show dependency treegraph
Reported: 1999-10-22 06:41 EDT by michael_wardle
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-29 17:22:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description michael_wardle 1999-10-22 06:41:04 EDT
smbmount fails to resolve a host

command issued:
smbmount "//STANNS_SERVER/USERS" /mnt/server -U ... -W ...

on a local (C class?) network which has a SMB fileserver

tried as root and a non-privileged user

traced behaviour to smbmnt which seg faults on my system
when running the command, regardless of parameters
Comment 1 Bill Nottingham 1999-10-22 10:43:59 EDT
I can't reproduce this here.

Is stanns_server a DNS name, or only a WINS name?  Are you
using a WINS server?
Comment 2 michael_wardle 1999-10-22 23:51:59 EDT
I assume that it's only a WINS name, as our name server would be (the IP for the SMB server is

I don't administer the network, so I can't tell you too much more, but
I could connect perfectly normally to the server in Red Hat 6.0, so I
am guessing that this is a fault with the new smbmnt.

Perhaps it is just my smb.conf file, although I can't see how.
Comment 3 Bill Nottingham 1999-10-25 12:29:59 EDT
What's the full command line you are using? The flags
to smbmnt changed fairly significantly.
Comment 4 michael_wardle 1999-10-25 21:09:59 EDT
smbclient -L STANNS_SERVER
Added interface ip= bcast= nmask=
Connection to STANNS_SERVER failed

smbmount "//STANNS_SERVER/USERS" /mnt/server -U mwardle -W STANNS
Added interface ip= bcast= nmask=
smb_retry: no connection process
Could not resolve mount point /mnt/server

Segmentation fault

Can send smb.conf file if it would be useful, although I think this is
used only if my box is an SMB server.
Comment 5 michael_wardle 1999-10-25 21:31:59 EDT
After you said the the flags had changed, I thought that I would
double check the man pages to find out what they were.

The solution was as simple as specifying -I in addition to
the other parameters.

Both commands now work fine.  Sorry for the inconvenience.

Note You need to log in before you can comment on or make changes to this bug.