<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/examples/libsmbclient/smbwrapper, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>smbwrapper: Remove smbwrapper</title>
<updated>2012-02-09T00:58:24+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-02-03T04:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=4328f3ccf37d9a1baadbc55f658902e3b16ff125'/>
<id>4328f3ccf37d9a1baadbc55f658902e3b16ff125</id>
<content type='text'>
There are now many better ways to access a remote SMB filesystem,
which do not rely on LD_PRELOAD and the associated dangers.  FUSE,
gvfs and the CIFS VFS are all much better options which do not require
knowing every possible libc entry point that can deal with a file
descriptor.

As an example of the maintainence that would be required to keep this
going, recent changes to deal with thread races and close-on-exec have
resulted in dup3(), but this isn't currently mapped.  While this would
not be hard to add, it illistrates why it is better to move to an
interface designed for this task.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Thu Feb  9 01:58:24 CET 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are now many better ways to access a remote SMB filesystem,
which do not rely on LD_PRELOAD and the associated dangers.  FUSE,
gvfs and the CIFS VFS are all much better options which do not require
knowing every possible libc entry point that can deal with a file
descriptor.

As an example of the maintainence that would be required to keep this
going, recent changes to deal with thread races and close-on-exec have
resulted in dup3(), but this isn't currently mapped.  While this would
not be hard to add, it illistrates why it is better to move to an
interface designed for this task.

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Thu Feb  9 01:58:24 CET 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4: Call va_end() after all va_start()/va_copy() calls.</title>
<updated>2009-06-18T03:49:25+00:00</updated>
<author>
<name>Andrew Kroeger</name>
<email>andrew@id10ts.net</email>
</author>
<published>2009-06-12T11:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=71515ba190e90e0250b9de23b7ba871c1dd44f09'/>
<id>71515ba190e90e0250b9de23b7ba871c1dd44f09</id>
<content type='text'>
This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland &lt;erik@hovland.org&gt; for the original bug report.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland &lt;erik@hovland.org&gt; for the original bug report.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/libsmbclient: adapt to new samba3 source dir "source3/</title>
<updated>2008-09-17T15:50:18+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-09-17T15:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=4d12acf326520875871c97806beb1ece42fdb957'/>
<id>4d12acf326520875871c97806beb1ece42fdb957</id>
<content type='text'>
Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>libsmbclient examples: source/bin to the library search path for smbwrapper build</title>
<updated>2008-08-21T10:16:05+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-08-21T08:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=fb0b833001d203dc43bb9f415e9792812194655a'/>
<id>fb0b833001d203dc43bb9f415e9792812194655a</id>
<content type='text'>
Michael
(This used to be commit fe62098666a16b31b025867f273d407e77152c4c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Michael
(This used to be commit fe62098666a16b31b025867f273d407e77152c4c)
</pre>
</div>
</content>
</entry>
<entry>
<title>libsmbclient examples: fix prototype for readlink</title>
<updated>2008-08-21T10:16:04+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-08-21T08:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=f1a45e3b6b2b9f3ebeec7163fbedc027702eb1a2'/>
<id>f1a45e3b6b2b9f3ebeec7163fbedc027702eb1a2</id>
<content type='text'>
Michael
(This used to be commit 28688cfd57c322937f2c63087380c377bd961018)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Michael
(This used to be commit 28688cfd57c322937f2c63087380c377bd961018)
</pre>
</div>
</content>
</entry>
<entry>
<title>man pages: Move 'smbsh' man page to the examples directory.</title>
<updated>2008-06-17T11:23:09+00:00</updated>
<author>
<name>Karolin Seeger</name>
<email>kseeger@samba.org</email>
</author>
<published>2008-06-17T11:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=f21058d61ee6f0661f58c998af84419ee642cbf5'/>
<id>f21058d61ee6f0661f58c998af84419ee642cbf5</id>
<content type='text'>
smbsh.c is located in the examples directory. It does not make sense
to install a man page without installing the tool itself.

This fixes bug #4724.

Karolin
(This used to be commit 797ed744b15c94fa4831d9796b40bb0ab5df55b7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
smbsh.c is located in the examples directory. It does not make sense
to install a man page without installing the tool itself.

This fixes bug #4724.

Karolin
(This used to be commit 797ed744b15c94fa4831d9796b40bb0ab5df55b7)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update libsmbclient examples to match new libraries</title>
<updated>2008-05-30T14:24:55+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell.lipman@unwireduniverse.com</email>
</author>
<published>2008-05-30T14:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=cf4b2f4d24a69234cbc62f367dece28446b6bac5'/>
<id>cf4b2f4d24a69234cbc62f367dece28446b6bac5</id>
<content type='text'>
- talloc and tdb have been moved to separate libraries.  Link with those.

Derrell
(This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- talloc and tdb have been moved to separate libraries.  Link with those.

Derrell
(This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of deprecated function</title>
<updated>2008-03-02T21:21:48+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell.lipman@unwireduniverse.com</email>
</author>
<published>2008-03-02T21:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=8a05c0a8843c001bdb4ac31e9ea382dd89716b55'/>
<id>8a05c0a8843c001bdb4ac31e9ea382dd89716b55</id>
<content type='text'>
(This used to be commit 93580bce833453ba512ee436d6dfdbdcd2c53777)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This used to be commit 93580bce833453ba512ee436d6dfdbdcd2c53777)
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial revamp of the libsmbclient interface.</title>
<updated>2008-03-02T01:47:22+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell.lipman@unwireduniverse.com</email>
</author>
<published>2008-02-28T16:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=257b7b09298f7cb983b2f31b87fc5e46e0f62f0c'/>
<id>257b7b09298f7cb983b2f31b87fc5e46e0f62f0c</id>
<content type='text'>
The libsmbclient interface has suffered from difficulty of improvement and
feature enrichment without causing ABI breakage.  Although there were a number
of issues, the primary ones were:

(a) the user of the library would manually manipulate the context structure
    members, meaning that nothing in the context structure could change other
    than adding stuff at the end;

(b) there were three methods of setting options: setting bits in a flags field
    within the context structure, setting explicit options variables within an
    options structure in the context structure, and by calling the
    smbc_option_set() function;

(c) the authentication callback did not traditionally provide enough
    information to the callee which required adding an option for a callback
    with a different signature, and now there are requests for even more
    information at the callback, requiring yet a third signature and option to
    set it (if we implement that feature).

This commit provides a reorganization of the code which fixes (a) and (b).
The context structure is now entirely opaque, and there are setter and getter
functions for manipulating it.  This makes maintaining ABI consistency much,
much easier.

Additionally, the options setting/getting has been unified into a single
mechanism using smbc_option_set() and smbc_option_get().

Yet to be completed is a refactoring of the authentication callback (c).

The test programs in examples/libsmbclient have been modified (if necessary;
some applications require no changes at all) for the new API and a few have
been minimally tested.

Derrell
(This used to be commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The libsmbclient interface has suffered from difficulty of improvement and
feature enrichment without causing ABI breakage.  Although there were a number
of issues, the primary ones were:

(a) the user of the library would manually manipulate the context structure
    members, meaning that nothing in the context structure could change other
    than adding stuff at the end;

(b) there were three methods of setting options: setting bits in a flags field
    within the context structure, setting explicit options variables within an
    options structure in the context structure, and by calling the
    smbc_option_set() function;

(c) the authentication callback did not traditionally provide enough
    information to the callee which required adding an option for a callback
    with a different signature, and now there are requests for even more
    information at the callback, requiring yet a third signature and option to
    set it (if we implement that feature).

This commit provides a reorganization of the code which fixes (a) and (b).
The context structure is now entirely opaque, and there are setter and getter
functions for manipulating it.  This makes maintaining ABI consistency much,
much easier.

Additionally, the options setting/getting has been unified into a single
mechanism using smbc_option_set() and smbc_option_get().

Yet to be completed is a refactoring of the authentication callback (c).

The test programs in examples/libsmbclient have been modified (if necessary;
some applications require no changes at all) for the new API and a few have
been minimally tested.

Derrell
(This used to be commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace GetTimeOfDay() with gettimeofday() in example program.</title>
<updated>2008-01-16T14:37:40+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell.lipman@unwireduniverse.com</email>
</author>
<published>2008-01-16T14:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=735e98759c0f860727c24c4cdb14235abdeb8879'/>
<id>735e98759c0f860727c24c4cdb14235abdeb8879</id>
<content type='text'>
GetTimeOfDay() seems to no longer be exported.  For the smbsh example, just
use the native gettimeofday() for now.
(This used to be commit 296a6783fbc03460e87ac4136a0a9e6d2743b2ff)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GetTimeOfDay() seems to no longer be exported.  For the smbsh example, just
use the native gettimeofday() for now.
(This used to be commit 296a6783fbc03460e87ac4136a0a9e6d2743b2ff)
</pre>
</div>
</content>
</entry>
</feed>
