Input/output error

James O'Kane jo2y at jprc.com
Mon Feb 22 20:43:14 GMT 1999


This seems to work, but this is a less than ideal because the plain-text
password gets written to disk as part of the shell history. Couldn't
something be done with /etc/smbpasswd to do this?
-james


On Mon, 22 Feb 1999, Eloy A. Paris wrote:

> It looks like your connection to your NT box has been closed after you
> have been idle for too long. NT does this.
> 
> If this is the case, you can solve the problem by supplying the password
> to access the share in the smbmount command:
> 
> smbmount //sol/internal_webpages password -U jo2y -W JPRC \
>      -c "mount /home/jo2y/mnt"
> 
> peloy.-
> 
> James O'Kane <jo2y at jprc.com> wrote:
> > What could be wrong here?
> > 
> > 
> > [jo2y at thelia jo2y]$ smbmount //sol/internal_webpages -U jo2y -W JPRC -c
> > "mount /home/jo2y/mnt"
> > Added interface ip=207.86.147.157 bcast=207.86.147.255 nmask=255.255.255.0
> > Server time is Sun Feb 21 12:02:56 1999
> > Timezone is UTC-5.0
> > Password: 
> > Domain=[JPRC] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> > security=user
> > [jo2y at thelia jo2y]$ df
> > Filesystem         1024-blocks  Used Available Capacity Mounted on
> > /dev/hda5             995115  593446   401669     60%   /
> > /dev/hda1              15522    5356    10166     35%   /boot
> > /dev/hda6            2920188  971542  1948646     33%   /home
> > //SOL/INTERNAL_WEBPAGES
> >                      1586560  990176   596384     62%   /home/jo2y/mnt
> > 
> > [...10 mins later...]
> > 
> > 
> > [jo2y at thelia jo2y]$ cd mnt
> > [jo2y at thelia mnt]$ ls
> > ls: .: Input/output error
> > [jo2y at thelia mnt]$ cd ..
> > [jo2y at thelia ..]$ pwd
> > /homes/jo2y/mnt/..
> > [jo2y at thelia ..]$ cd ~
> > [jo2y at thelia jo2y]$ smbumount mnt
> > Could not open mnt: Input/output error
> > [jo2y at thelia jo2y]$ smbumount /home/jo2y/mnt
> > Could not open /home/jo2y/mnt: Input/output error
> > [jo2y at thelia jo2y]$ 
> > 
> > 
> > 
> 
> 



More information about the samba mailing list