Long Time Samba No Work-Need Expert Help On SAmba/Networking-Ahhh,

Leonard Chatagnier lenc5570 at sbcglobal.net
Wed Aug 1 20:26:04 UTC 2007


--- Leonard Chatagnier <lenc5570 at sbcglobal.net> wrote:

> This is a follow up to removing netbios name from
smb.conf.  See below.
> > On 07/30/2007 11:45 PM, Leonard Chatagnier wrote:
> > > Well, after many painful trials involving many
> > posts,
> > > googles, suggestions and reading manuals and
> > > official/unofficial user guides, this issue is
> > solved.
> > > I'm now able to "map network drives" from my
> > WinXP. 
> > > The solution was to add a line,"netbios name =
> > > name_of_your_server (no spaces)", from 
> > >
> >
>
http://doc.gwos.org/index.php/Share_files_using_Samba
> > > found googling for "ubuntu samba smb.conf" and
> by
> > > uncommenting the line "directory mask = 0775" in
> > the
> > > homes section(this line was uncommented in
> earlier
> > > trials but still couldn't map drives).
> > > I did not see the "netbios name" entry in the
> > default
> > > smb.conf file or in the Off/Unoff user guides or
> > the
> > > manuals that I recall. This made a solutions
> very
> > > difficult. I desperately wanted an example of a
> > > working smb.conf but couldn't find one googling
> or
> > get
> > > one from the user group.  That would have been
> > > helpful. I would think the the user group would
> > feel
> > > that way, too, but no.  Resolving this issue
> took
> > way
> > > too much time, effort and patience than is
> > warranted
> > > and many less determined people would have
> > abandoned
> > > the effort if they had the problems I did.
> > > I have some further comments that please
> consider
> > as a
> > > critique not criticism:
> > 
> > OK, I I just brought up a WinXP Pro machine,
> > connected to this Ubuntu
> > 7.04 machine  (after supplying the proper username
> > and password), mapped
> > the directory to drive Z, and I do *not* have any
> > "netbios name" in my
> > smp.conf file.
> > 
> What can I say except that it happened just as I
> said
> in the post which led me to believe that's what
> caused
> it.  I will ";" out the netbios entry, see what
> happens and report back.  Samba is complex as one
> said. An OP shared his smb.conf which didn't have
> that
> entry and worked from several earlier versions.  I
> did
> reply to his post asking for more info but got no
> response.
> 
This is update to removing "netbios name=ubuntu" from
smb.conf.  Actually I removed the entire line. Also,
deselected "mount on startup" from the 'map netword
drives" popup and removed the two drives I had mapped.
Shutdown both computers while I slept a couple of
hours. On startup this AM I was able to map the drive
so now I'm totally confused about just what fixed my
Samba. Not that it matters all that much; just
curious.
Anyway, things changed on the WXP. The mapped
\\Ubuntu\lchata on Z: no longer appears with the
windows shares under "my network places" as originally
but appears in an arbitrary position under "My
Computer". Doesn't matter either but strange to me.
Related to Bruce's reply concerning his smb.conf when
I run "findsmb" the output just shows my Ubuntu
computer and nothing listed for the windows computer
as his output did for all his networked computers.
This too is strange.
Well, things are still working and you have proved you
point to me.  For the life of me, I can't think of
anything but the entry "system_user="network user" in
smbusers that is different from my original setup.
Could that be what fixed Samba and why didn't it work
when that change was first made and not until I added
the netbios name.  I did restart Samba after ever
change and attempted to map the drive.  Strange and
confusing, but not important I get an answer, just
wondering.  Thanks again for all the help and
continued follow up.

> > In fact, the *only* references that I have in my
> > smb.conf file are:
> > 
> > 1. <quote>
> > # Using the following line enables you to
> customise
> > your configuration
> > # on a per machine basis. The %m gets replaced
> with
> > the netbios name
> > # of the machine that is connecting
> > ;   include = /home/samba/etc/smb.conf.%m
> > 
> Mine is commented out also. So why does it work?
> > 2. <quote>
> > # This will prevent nmbd to search for NetBIOS
> names
> > through DNS.
> >    dns proxy = no
> > 
> Same on mine
> 
> > The *only* directions that I used to accomplish
> this
> > were in the url's
> > provided to you in your previous posts/threads.
> > 
> > > 
> > > 1. Both the official and unofficial user guides
> > were
> > > virtually useless in solving my problems.  Most
> > > everything listed I had already done manually
> and
> > > those new items that appeared were not plain,
> > clear
> > > instructions easily followed.  My earlier posts
> on
> > the
> > > subject exemplifies that point.
> > 
> > Sorry, but I'd have to disagree. However, look at
> it
> > this way; you
> > learned something, and now you have gained some
> > knowledge that you can
> > pass on to others - just like those that offered
> > advise here, that wrote
> > the user guides, and
> >
>
http://doc.gwos.org/index.php/Share_files_using_Samba
> > :-)
> > 
> No need to be.  We're both human and humans will
> disagree. However, I'm still not sure what I learned
> except that Samba will work with different
> smb.confs.
> Thanks for the comeback. You do give good help. Read
> many of your posts.
> 
> >   You see, all of that is written by _users_. If
> you
> > are looking for
> > professional support please see:
> > http://www.ubuntu.com/support /
> > http://www.ubuntu.com/support/paid
> > I'm not at all attempting to be smug or offensive
> > here, just pointing
> > out the facts, and that you can purchase
> > professional support. Call MS
> > regarding your Windows XP share mapping
> question...
> > last I checked they
> > charge somewhere along the likes of $50USD per
> call.
> > 
> > Gary
> I'm aware of how it works. Just frustrated over the
> difficulty and time spent and the difficulty in
> understanding some of the user guides.  Paid support
> is for businesses and critical applications; it's
> not
> for me or most ordinary users, I expect.
> > 
> >  - glad to see that you finally got it working 
> :-)
> > 
> Yeah, finally. You don't realize how long I've tried
> to get Samba to work for me.  Goes all the way back
> to
> Debian testing.  It was frustrating. But thanks to
> you
> and others on the list it got fixed and some of my
> doings too. Without the replies I would have just
> given up. So thanks to everyone.
> >
> 
> Leonard Chatagnier
> lenc5570 at sbcglobal.net
> 


Leonard Chatagnier
lenc5570 at sbcglobal.net




More information about the ubuntu-users mailing list