Greetings Samba Team and fellow Samba person ... I have seem to run into a problem after running Samba for the last year. I just downloaded Samba 2.2.3a, and compile an rpm and installed it. I seem to have run into a few problems, but this is the first problem that I just don't know where else to look. I am tring to mount a share from a NT4Server to copy SQL BZip2 dump archive. I use the following command ... mount -t smbfs -o username=sqlbackup,password=sqlbackup //SQLSCALA/sqlbackup$ /mnt/sqlscala And I get the following error ... execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 Now this worked fine on Samba 2.0.7 Now I know that this is working, because when I do smbclient -U sqlbackup -L SQLSCALA I get ... added interface ip=10.1.1.130 bcast=10.1.1.255 nmask=255.255.255.0 Got a positive name query response from 10.1.1.1 ( 10.1.1.251 ) Password: Domain=[SCA###-ZA-DM] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin IPC$ IPC Remote IPC C$ Disk Default share D$ Disk Default share sqlbackup$ Disk Used to backup SQL BZ2 Server Comment --------- ------- Workgroup Master --------- ------- As I said, I am stumped ... please could someone help. Thanks. Mailed Lee P.S. Great work guys. P.S.S. One other quick thing, has the WINS handling of the NetBIOS names changed? ... The reason I ask, is that if I do a nmblookup sqlscala, I can't find the server, but if I do nmblookup SQLSCALA, it returns the IP address. A good thing to put into the docs, might be that nmblooks for NT4 Servers should be in upper case, but I will leave that up to the Samba Gurus ...
Looks to me like you didn't compile with smbmount, type ./configure --help to decide what options you need. You will almost certainly need --with-smbmount This is such a frequent type of question that I have a printout of the configure --help on my desk for when I am dealing with my mail! Martyn At 06:03 PM 2/11/02 +0200, C.Lee Taylor wrote:>Greetings Samba Team and fellow Samba person ... > > I have seem to run into a problem after running Samba for the > last year. > > I just downloaded Samba 2.2.3a, and compile an rpm and installed > it. I seem to have run into a few problems, but this is the first > problem that I just don't know where else to look. > > I am tring to mount a share from a NT4Server to copy SQL BZip2 > dump archive. I use the following command ... > >mount -t smbfs -o username=sqlbackup,password=sqlbackup >//SQLSCALA/sqlbackup$ /mnt/sqlscala > >And I get the following error ... > >execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 > > Now this worked fine on Samba 2.0.7 > > Now I know that this is working, because when I do > >smbclient -U sqlbackup -L SQLSCALA > > I get ... > >added interface ip=10.1.1.130 bcast=10.1.1.255 nmask=255.255.255.0 >Got a positive name query response from 10.1.1.1 ( 10.1.1.251 ) >Password: >Domain=[SCA###-ZA-DM] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] > > Sharename Type Comment > --------- ---- ------- > ADMIN$ Disk Remote Admin > IPC$ IPC Remote IPC > C$ Disk Default share > D$ Disk Default share > sqlbackup$ Disk Used to backup SQL BZ2 > > Server Comment > --------- ------- > > Workgroup Master > --------- ------- > > As I said, I am stumped ... please could someone help. Thanks. > >Mailed >Lee > >P.S. Great work guys. > >P.S.S. One other quick thing, has the WINS handling of the NetBIOS names >changed? ... The reason I ask, is that if I do a nmblookup sqlscala, I >can't find the server, but if I do nmblookup SQLSCALA, it returns the IP >address. A good thing to put into the docs, might be that nmblooks for >NT4 Servers should be in upper case, but I will leave that up to the Samba >Gurus ... > > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: lists.samba.org/mailman/listinfo/samba=============Martyn Ranyard
Do you have a directory under /mnt sqlscala? If not, that could be youre problem. -----Original Message----- From: C.Lee Taylor [mailto:leet@leenx.co.za] Sent: Monday, February 11, 2002 8:41 AM To: Martyn Ranyard Cc: samba@lists.samba.org Subject: Re: [Samba] smbmnt problem ... Thanks for the quick responce ... Martyn Ranyard wrote:> > Looks to me like you didn't compile with smbmount, type ./configure > --help to decide what options you need. You will almost certainly need > --with-smbmountI am using the Samba-2.2.3-20020202.src.rpm, with the changes for Samba 2.2.3a ... I checked the spec file and see that --with-smbmount is in the .configure list. So I don't think it's that ... I am running RedHat 7.2 with all the updates from their ftp server.> > This is such a frequent type of question that I have a printout of the > configure --help on my desk for when I am dealing with my mail!I really wish it was that simple, I even double checked my spec file when I saw your message ... holding my breath I saw that it was not ...>> mount -t smbfs -o username=sqlbackup,password=sqlbackup >> //SQLSCALA/sqlbackup$ /mnt/sqlscala >> >> And I get the following error ... >> >> execvp of smbmnt failed. Error was No such file or directory.smbmnt >> failed: 1-- To unsubscribe from this list go to the following URL and read the instructions: lists.samba.org/mailman/listinfo/samba
On Mon, 11 Feb 2002, C.Lee Taylor wrote:> I just downloaded Samba 2.2.3a, and compile an rpm and > installed it. I seem to have run into a few problems, but > this is the first problem that I just don't know where else > to look....> execvp of smbmnt failed. Error was No such file or > directory.smbmnt failed: 1It can't find smbmnt. It was not installed into BINDIR (defined at compile time) and it is not in your path. /Urban
Thanks for your suggestions .... > Do you have a directory under /mnt sqlscala? If not, that > could be youre > problem. I have the mount points ... thanks. Okay, I think I am going to download the rpm's made by the Samba team and see if that makes a difference, because I am sure that the Samba Team have tested this on RedHat 7.2. And I know I am doing this right, because with RH's rpm samba*-2.2.1a.rpms which ship with RedHAt 7.2, I was able to mount these mounts that I have ( three of them ). So, either my package, which I made of a clean full install of RedHat 7.2 with all the update rpm's from their ftp site added on before the compile. I have also tried another box, which has the same problems. So, I am going to do the download of Samba Team's rpm and come back to everybody. Thanks again for the advice. >> mount -t smbfs -o username=sqlbackup,password=sqlbackup >> //SQLSCALA/sqlbackup$ /mnt/sqlscala >> >> And I get the following error ... >> >> execvp of smbmnt failed. Error was No such file or directory.smbmnt >> failed: 1 Mailed Lee