<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/utils/net_conf.c, branch talloc-2.0.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>s3 net: i18n support for net conf</title>
<updated>2009-07-30T07:00:31+00:00</updated>
<author>
<name>Kai Blin</name>
<email>kai@samba.org</email>
</author>
<published>2009-07-30T07:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=51f9d1ecd53f490f2a7383a7e1931ce6d9933e21'/>
<id>51f9d1ecd53f490f2a7383a7e1931ce6d9933e21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT</title>
<updated>2009-05-26T15:48:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-05-14T13:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=49ca690b4b22ee6e597179059c9442e94c5bd423'/>
<id>49ca690b4b22ee6e597179059c9442e94c5bd423</id>
<content type='text'>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:fix bug #6371, unsuccessful net conf setparm leaves empty share</title>
<updated>2009-05-17T20:19:24+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-05-17T20:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2722dd357cedcd3fad1e3739a4a64f924d53eccb'/>
<id>2722dd357cedcd3fad1e3739a4a64f924d53eccb</id>
<content type='text'>
Wrap creation of share and setting of parameter into a transaction.

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrap creation of share and setting of parameter into a transaction.

Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:net conf: support dangling parameters by specifying "" as the section name.</title>
<updated>2009-04-27T09:21:02+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2008-10-24T11:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=38d02c5d857ecea3405c3f48e64906764329f1a1'/>
<id>38d02c5d857ecea3405c3f48e64906764329f1a1</id>
<content type='text'>
for {get,set,del}parm

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for {get,set,del}parm

Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>In net_conf_import, start a transaction when importing a single share.</title>
<updated>2009-04-16T08:38:38+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2009-04-16T00:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=448b434a862da0ca621c3b695dc800e9ec5e8fcf'/>
<id>448b434a862da0ca621c3b695dc800e9ec5e8fcf</id>
<content type='text'>
Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction
start to be conditional but the commit is still unconditional, so an
error occurs when importing a single share.

An alternate fix would be to return the transaction start to be
unconditional but then it would occur before other error checking.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction
start to be conditional but the commit is still unconditional, so an
error occurs when importing a single share.

An alternate fix would be to return the transaction start to be
unconditional but then it would occur before other error checking.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert Samba3 to use the common lib/util/charset API</title>
<updated>2009-04-14T02:53:56+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2009-03-19T01:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3b3e21bd9ba701a97e752205263a7903619541c7'/>
<id>3b3e21bd9ba701a97e752205263a7903619541c7</id>
<content type='text'>
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API

To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c

(the actual implementation remains distinct, but the API is now shared)

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes calls to push_*_allocate() and pull_*_allocate(), as well
as convert_string_allocate, as they are not in the common API

To allow transition to a common charcnv in future, provide Samba4-like
strupper functions in source3/lib/charcnv.c

(the actual implementation remains distinct, but the API is now shared)

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:net conf: don't store share names as lower case, but as given.</title>
<updated>2009-04-01T22:30:13+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-04-01T22:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=36c1a52a57bc96c7586ca1bffbe8ef47c93bca1b'/>
<id>36c1a52a57bc96c7586ca1bffbe8ef47c93bca1b</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>s3:net conf: reduce memory usage of "net conf import".</title>
<updated>2009-03-04T21:49:24+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-03-04T20:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=094578903184e2702d2a5000bf448a89954acf95'/>
<id>094578903184e2702d2a5000bf448a89954acf95</id>
<content type='text'>
"net conf import" was wrapped in one big transaction.
This lead to MAX_TALLOC_SIZE being exceeded at roughly
1500 shares. This patch resolves that problem by
limiting the top level transactions in "net conf import"
to 100 shares.

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"net conf import" was wrapped in one big transaction.
This lead to MAX_TALLOC_SIZE being exceeded at roughly
1500 shares. This patch resolves that problem by
limiting the top level transactions in "net conf import"
to 100 shares.

Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:net: wrap net conf import into one big transaction</title>
<updated>2009-02-26T10:05:23+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-02-24T09:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=42b8d6b3084e235beb8e4ed4215b5973e769ada3'/>
<id>42b8d6b3084e235beb8e4ed4215b5973e769ada3</id>
<content type='text'>
This speeds up "net conf import" of a file with 2000 shares
from 11 minutest to 1m50s on my box.

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This speeds up "net conf import" of a file with 2000 shares
from 11 minutest to 1m50s on my box.

Michael
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:net conf: remove check for sharename being a usernam in "net conf addshare"</title>
<updated>2009-02-06T10:05:50+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2009-02-06T09:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=55f2cb18adf4bed0e6770bc33278ef6bf0c64e17'/>
<id>55f2cb18adf4bed0e6770bc33278ef6bf0c64e17</id>
<content type='text'>
This is useless and can be overriden by "net conf setparm" anyways.

Michael
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useless and can be overriden by "net conf setparm" anyways.

Michael
</pre>
</div>
</content>
</entry>
</feed>
