Long Time Samba No Work-Need Expert Help On Samba/Networking
Leonard Chatagnier
lenc5570 at sbcglobal.net
Mon Jul 23 05:16:28 UTC 2007
> On Sun, 2007-07-22 at 16:11 -0700, Leonard
> Chatagnier wrote:
> > However, I can ping the WinXP and Ubuntu pcs very
> > well.
>
> That's good.
>
> > smbd/service.c:make_connection_snum(849)
> > Can't become connected user!
>
> That's odd.
>
> Everything looks OK on your interfaces (ifconfig
> etc), so I don't think
> this is a networking problem as such, especially as
> "smbclient -L" seems
> to work.
>
> If you want to mount your windows data on your linux
> machine, you don't
> need the samba daemons, you just need the
> appropriate clients. You only
> need samba on your linux box if you want to *serve*
> data to other
> machines.
>
Ok, good but which appropriate clients cus I ain't
knowing them. I tried but still can't map network
drives on windows after completing your suggestions.
> By the way, I noticed that you had not successfully
> stopped samba at one
> point:
>
> > lchata at ubuntu:/var/log/samba$ sudo
> /etc/init.d/samba restart
> > * Stopping Samba daemons...
>
> >
> > start-stop-daemon: warning: failed to kill 5334:
> No such process
> >
>
> > [ OK ]
> > * Starting Samba daemons...
> [ OK ]
>
> And elsewhere in the logs you posted was this:
>
> >[2007/07/21 20:26:40, 0]
> >lib/util_sock.c:open_socket_in(830)
> > bind failed on port 139 socket_addr = 0.0.0.0.
> > Error = Address already in use
>
> I don't know if they are related, but you do need to
> make sure that
> samba is really dead before starting it again; if
> necessary, use "kill
> -TERM <pid>".
>
Will do. I can handle that.
> > lchata at ubuntu:/var/log/samba$ sudo mount -t smbfs
> //PAVILION8370/C$ /mnt/C$
>
> That command looks like you want to access your
> windows data from your
> linux machine. In that case, you might as well stop
> the samba server,
> you don't need it.
>
What do I need then?
I actually want to access either machine from the
other. I don't pretend to know much about samba or
networking. I can thank Ubuntu for having such a
wonderful operating system that its never failed or
had to fix it(networking, I mean)
> The mount point you specify has to exist, and
> "/mnt/C$" doesn't look
> right to me. This error message seems to confirm
> that it doesn't exist:
>
> > Could not resolve mount point /mnt/C$
>
> Do you have, on your linux box, a directory called,
> literally,
>
> /mnt/C$
>
No, this is the windows hard drive share as I intended
it to be.
> ? If not, don't bother creating one, you will
> confuse everybody :-)
> Create a directory called (say) "/mnt/pavilion" and
> use that as your
> mount point instead:
>
Now this is interesting. Didn't know I had to create a
mount point in the /mnt directory for smbmount to
work. Perhaps this is my problem. I just don't know
these things. Please verify.
> sudo mount -t smbfs //pavilion8370/C$
> /mnt/pavilion
>
Ok, I'll make a /mnt/pavilion directory and try the
above command. It seems I didn' know how to use the
command properly if I'm reading you right.
> Actually, the "C$" on pavilion looks a bit suspect
> too. Set up a
> specific share on the windows box for testing with.
> In general, try to
> keep share names to straight alphanumerics.
Ok. I'll try it.
I set the shares up on the WXP including C: drive
because I wanted to read/access the whole hard drive.
Smbclient -L listed both "c" and "C$" which I assumed
are both representations of the hard drive root
directory. But I could be wrong. Most of the shares
shown with smbclient -L are the ones I set up in
windows. The only one I don't know what it is is the
IPC$ share. Don't remember setting it up for sharing.
>
> The whole interfaces thing is completely mystifying.
> I don't think I can
> help there :-(
>
Hey, I appreciate your hekp greatly. It's the best
samba help I got so far and it's not my first post on
the subject.
You did help me solve the netmask issue for the WXP
machine and that's the first success I've had with
samba/networking in several months. Really appreciate
your efforts. Thanks
> Regards, K.
>
Leonard Chatagnier
lenc5570 at sbcglobal.net
More information about the ubuntu-users
mailing list