<?xml version="1.0" ?>

<kc>

<title>Samba Traffic</title>

<editor contact="mailto:zbrown@tumblerings.org">Zack Brown</editor>

<issue num="39" date="26 Jan 2001 00:00:00 -0800" />

<headquote><a href="http://samba.org">Samba Homepage</a> | <a
href="http://marc.theaimsgroup.com/#samba">Samba List Archives</a>
| <a href="http://samba.he.net/using_samba/">"Using Samba"</a> | <a
href="http://www.redhat.com/support/docs/tips/Samba-Tips/Samba-Tips.html">Samba
Tips</a> | <a href="http://home.germany.net/101-69082/samba.html">A
Samba Doc Page</a> | <a
href="http://www.uwsg.iu.edu/software/source-docs/faq/Samba-meta-FAQ.html">Samba
Meta-FAQ</a> | <a href="http://www.sgi.com/software/samba/faq.html">Samba
For IRIX FAQ</a></headquote>

<intro>

<p>

Want to help write KC Samba? See the <a href="../author.html">KC Authorship
page</a>, the <a href="index.html">KC Samba homepage</a>, and the <a
href="../summaryfaq.html">Thread Summary FAQ</a>. Send any questions to the
<a href="mailto:kcdevel@zork.net">KCDevel mailing list.</a>

</p>

</intro>

<section
  title="Reviewers Sought For Pocket Reference"
  author="Zack Brown"
  contact="mailto:zbrown@tumblerings.org"
  subject="Would like reviewers for an O'Reilly pocket reference"
  archive="http://marc.theaimsgroup.com/?l=samba-docs&amp;m=97854957918423&amp;w=2"
  posts="9"
  startdate="03 Jan 2001 11:19:55 -0800"
  enddate="08 Jan 2001 11:29:38 -0800"
>

<mention></mention>
<mention>Using Samba</mention>
<mention>Gerald Carter</mention>
<mention>David Collier-Brown</mention>

<p>Andy Oram announced in samba-docs:</p>

<quote who="Andy Oram">

<p>We have a feeling at O'Reilly that Appendices C (Samba config options)
and D (utilities) of Using Samba would make a useful pocket reference. So
I've incorporated all (I think) the corrections and changes for 2.0.7 that
all of you provided into these appendices and have turned them into a small
book of their own.</p>

<p>Who would like to see these appendices in their current form, along with the
little preface I wrote? I'd be happy to release the preface (which is mainly
a few passages stolen from the preface and Chapter 1 of Using Samba) to the
team, if anybody thinks it would be useful. But mainly, I need people to do
a sanity check for O'Reilly's sake, a check that I've gotten the appendices
up to date and that I don't say anything embarrassing in the preface.</p>

<p>For me, the easiest way to get you these pages is to send them as PDF or
PostScript files; I imagine they'll add up to about 75 pages. But if you're
in North America and would like a hard-copy, I can get you one.</p>

</quote>

<p>David Collier-Brown wanted a copy, and asked if the Samba 2.2 options
had stablized yet. Andy added, <quote who="Andy Oram">It would be nice if we
could cover 2.2 instead of 2.0.7. The book is projected to hit the shelves in
March.</quote> Gerald Carter summarized the state of 2.2, saying there wouldn't
be a feature freeze until the Access Control List code had been completed;
though he added that most of the other options were already finished. Andy
replied, <quote who="Andy Oram">We have not made a final decision yet at
O'Reilly, but we're thinking of including the options that are known to be
set in 2.2 and say the book covers "2.0.7 and some features of 2.2."</quote></p>

</section>

<section
  title="Turkish Support Added To Samba 2.2."
  author="John Quirk"
  contact="mailto:jq_quirk@hotmail.com"
  subject="Turkish support for Samba -- how to contribute?"
  archive="http://lists.samba.org/pipermail/samba-technical/2001-January/010894.html"
  posts="3"
  startdate="07 Jan 2001 12:02:38 -0800"
  enddate="08 Jan 2001 10:52:41 -0800"
> 
<mention></mention>
<mention>Jeremy Allison</mention>
<mention>Tim Potter</mention>

<p>Deniz Akkus Kanca posted:</p>

<quote who="Deniz Akkus Kanca">
<p>
I have
added the codepages for Turkish support to samba. I'd like to submit it to
the Samba group for inclusion in samba.
</p>

<p>Where do I send the stuff into?</p>

<p>Here is a brief explanation of what I have currently:</p>

<p>CPISO8559-9.TXT for compiling unicode_map.ISO-8859-9
CP857.TXT for compiling unicode_map.857
codepage_def.857 for compiling codepage.857
patch file for charcnv.c to support client code page 857 and character set
ISO8559-9. (based on 2.0.7 samba)</p>

<p>All of the above can be found on 
<a href="http://www.arayan.com/da/linux.html">
http://www.arayan.com/da/linux.html</a>
</p>


</quote>

<p>
Tim Potter merged the patches to the HEAD branch of Samba. Jeremy Allison 
added these into 2.2. for the next alpha release.

</p>

</section>

<section
  title="Dos And win3.11 Support With Samba Alpha 2.2"
  author="John Quirk"
  contact="mailto:jq_quirk@hotmail.com"
  subject="Dos/win3.11 with samba 2.2"
  archive="http://lists.samba.org/pipermail/samba-ntdom/2001-January/030981.html"
  posts="5"
  startdate="10 Jan 2001 20:52:17 -0800"
  enddate="22 Jan 2001 20:33:42 -0800"
> 

<mention></mention>

<p>Patrick Gunerud asked:</p>

<quote who="Patrick Gunerud">

<p>
    I was wondering if something has happened with support for dos
clients in samba 2.2?  I have a samba 2.2 PDC setup on my network
providing authentication to other samba 2.2 servers.  I have a floppy
setup for disk imaging which is using dos tcp/ip and win3.11 network
drivers to map a drive to my Linux raid machine.  When the floppy is
fully booted and logged onto the network I do a directory listing and no
files or directory's show up, even though while in the shared path on
the linux box there are several files/dir's there.  I checked to see if
the map hidden was set in the smb.conf file and it was not.  So needless
to say I am stumped on this one.
</p>

</quote>
<p>
Christian Barth also had similar problems and had reported this on the
main Samba list
</p>
<p>
Serg Alexandrov replied with:
</p>

<quote who="Serg Alexandrov">

<p>
So, I have the same problem. Long time I try get help from samba guys,
but no answer... (
</p>
<p>
I resolve this problem. I think so.
</p>
<p>
Edit file /source/smbd/dir.c</p>
<p>Find function:</p>
<tt><p>
BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname,
                   SMB_OFF_T *size,int *mode,time_t *date,BOOL check_descend)
{</p>
<p>
... skipped .....
</p>
<p>
  if (!conn->dirptr)</p>
<p>    return(False);</p>

<p>
/* INSERT THIS TWO LINES !!! */</p>
<p> if (strequal(mask, "????????.???"))</p>
<p>      pstrcpy(mask, "*");</p>


 <p> while (!found)</p>
  <p>{</p>
</tt>
</quote>
<p>
Patrick replied that the patch solved his problem and posted the patched files
on his site.
<a href="http://www.firerun.net/pub/i386/samba">
http://www.firerun.net/pub/i386/samba</a>
</p>

</section>

<section
  title="Work On libsmbclient Progressing"
  author="John Quirk"
  contact="mailto:jq_quirk@hotmail.com"
  subject="Some more updates to libsmbclient"
  archive="http://lists.samba.org/pipermail/samba-technical/2001-January/011024.html"
  posts="4"
  startdate="11 Jan 2001 19:21:38 -0800"
  enddate="13 Jan 2001 14:04:51 -0800"
> 


<mention>Jelmer Feenstra</mention>
<mention></mention>

<p>Richard Sharpe post some updates to his libsmbslient test bed:</p>

<quote who="Richard Sharpe">

<p>
I have just applied some more patches to libsmbclient.
</p>

<p>These are:</p>

<p>  1. Changes to the interface (I am sorry) to:</p>
<p>    - add an smbc_readdir call (not tested)</p>
<p>    - change the auth_fn to provide the buffers for workgroup, username and
      password from the library and provide the current suggested values
      so the client can display them or use them to retrieve cached
      info and avoid asking the user for this info ...</p>

<p>  2. Many fixes to bugs in the old and new code</p>

<p>  3. More code in tree.c that puts up two panes, one for the tree of objects
     that can be seen/retrieved, as well as a list window that can show
     file info if you click on a node in the tree.</p>

<p>     This last program still has many bugs and defficiencies, but it
     suffices to allow me to test things quickly.</p>

<p>I have the following outstanding fixes to apply at some stage:</p>

<p>  1. Cache NetBIOS name lookups for a period of time to avoid excessive
     delays in browsing directory entries</p>

<p>  2. Handle systems with multiple interfaces</p>

<p>  3. Have a directory and file cache</p>

<p>  4. Allow multple shares to use the one TCP connection to server</p>

<p>  5. etc</p>

<p>One of the big problem I still have is that fact that the current libsmb
cli_ routines on files and enumeration of servers etc are all callback
based and return all the information (in a directory, for example) all in
one go.</p>

<p>This forces me to build a list of all the available info all in
smbc_opendir call. I would rather get the info needed as the user makes
calls to smbc_readdir and smbc_getdents ... Although that presents some
problems as well.</p>




</quote>

<p>
Jelmer Feenstra found the new code segfaulted when listing a NT5 share.
Richard Sharpe replied found the bug then later added:
</p>

<quote who="Richard Sharpe">

<p>
OK, I have found the real problem, as well as others ... :-)</p>

<p>I did not have the codepage stuff initialized, so in trying to convert a
UNICODE string to a UNIX string, I was indexing through a NULL pointer ...

Unfortunately, I have also found that Win2K times out TCP connections, so I
have to think about reconnect ...
</p>
</quote>

<p>There where no more posts to the thread </p>
</section>

<section
  title="Trouble Installing Samba On Linux"
  author="Zack Brown"
  contact="mailto:zbrown@tumblerings.org"
  subject="SAMBA 2.2"
  archive=""
  posts="3"
  startdate="19 Jan 2001 14:40:58 -0800"
  enddate="20 Jan 2001 06:16:54 -0800"
>

<mention></mention>

<p>Kevin Kallsen tried installing Samba 2.2 from CVS, onto his Mandrake
7.2 system. The compilation went OK, but starting it up, it seemed he was
still running Samba 2.0.7; he asked where he goofed. Pavel Bocek replied,
<quote who="Pavel Bocek">You have probably SAMBA installed with your Linux
distribution.  Official samba use other file locations - /usr/local/samba. You
have to uninstall the old one....</quote> Makis Marmaridis agreed with this
diagnosis, but suggested simply deleting the old smbd and nmbd programs,
and make symbolic links to the new versions. Bu the added, <quote who="Makis
Marmaridis">Of course uninstalling the older version is the proper way of
doing things (but there is more than one way to skin a cat).</quote> End
of thread.</p>

</section>

<section
  title="2.2 Or TNG For PDC"
  author="Zack Brown"
  contact="mailto:zbrown@tumblerings.org"
  subject="Samba PDC"
  archive=""
  posts="3"
  startdate="22 Jan 2001 14:25:16 -0800"
  enddate="22 Jan 2001 23:36:29 -0800"
>

<mention></mention>

<p>Rich Forman planned on setting up a PDC using samba, and wanted to know
if version 2.2 or the TNG branch would be best for that purpose. Adam Tauno
Williams replied with his own experience, saying, <quote who="Adam Tauno
Williams">2.2 works great for PDCing NT for me.  But things like Winframe
and Exchange don't work.  It's reported that such things DO work with TNG,
but I haven't switched yet, so that's second hand.</quote> And Vern Gill said,
<quote who="Vern Gill">I have been using TNG as a PDC for an Exchange system
for over a month now. Works like a champ.</quote></p>

</section>

</kc>

