<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/ntvfs/cifs_posix_cli, 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>s4: pass down a memory context when performing share_string_option, to allow substitutions</title>
<updated>2014-02-19T21:11:00+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2014-01-16T21:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=bce62e600085270f26053882c5a4e35f5fe4fb5e'/>
<id>bce62e600085270f26053882c5a4e35f5fe4fb5e</id>
<content type='text'>
Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Change-Id: I24b36db3ac11834c3268b2da929e214c10268b16
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Nadezhda Ivanova &lt;nivanova@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Change-Id: I24b36db3ac11834c3268b2da929e214c10268b16
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Nadezhda Ivanova &lt;nivanova@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:ntvfs: add '_fn' suffix to all ntvfs_ops function pointers</title>
<updated>2012-06-13T09:03:15+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2012-06-13T07:11:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=96ada4d87b6d8618919c614765f2ec1d706f4f4a'/>
<id>96ada4d87b6d8618919c614765f2ec1d706f4f4a</id>
<content type='text'>
This hopefully fixes the build on systems where _LARGE_FILES
triggers defines of syscalls e.g. '#define lseek lseek64'
on AIX.

metze

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Wed Jun 13 11:03:15 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This hopefully fixes the build on systems where _LARGE_FILES
triggers defines of syscalls e.g. '#define lseek lseek64'
on AIX.

metze

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Wed Jun 13 11:03:15 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol</title>
<updated>2011-06-20T06:12:03+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-06-20T04:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a1f04e8abc761ef1ba211420ff1dbda50fcf527d'/>
<id>a1f04e8abc761ef1ba211420ff1dbda50fcf527d</id>
<content type='text'>
The two error tables need to be combined, but for now seperate the names.

(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The two error tables need to be combined, but for now seperate the names.

(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).

Andrew Bartlett

Autobuild-User: Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol</title>
<updated>2011-05-06T05:51:24+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-05-04T10:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3892112e7b3143f808932771a7b71f4fd335f8cb'/>
<id>3892112e7b3143f808932771a7b71f4fd335f8cb</id>
<content type='text'>
This verison of the function takes a protcol as argument to determine
matching rules.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This verison of the function takes a protcol as argument to determine
matching rules.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove strlower_m() and strupper_m() from source4 and common code.</title>
<updated>2011-05-03T05:37:07+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-05-03T02:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=2742ec0e34c06ded2885aa2607f1c1729a57b034'/>
<id>2742ec0e34c06ded2885aa2607f1c1729a57b034</id>
<content type='text'>
This function is problematic because a string may expand in size when
changed into upper or lower case.  This will then push characters off
the end of the string in the s3 implementation, or panic in the former
s4 implementation.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function is problematic because a string may expand in size when
changed into upper or lower case.  This will then push characters off
the end of the string in the s3 implementation, or panic in the former
s4 implementation.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-loadparm: 2nd half of lp_ to lpcfg_ conversion</title>
<updated>2010-07-16T08:24:27+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2010-07-16T04:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=6b266b85cf34145ac1f03d8f787b81121e4ec92b'/>
<id>6b266b85cf34145ac1f03d8f787b81121e4ec92b</id>
<content type='text'>
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Change uint_t to unsigned int in source4</title>
<updated>2010-02-02T06:18:18+00:00</updated>
<author>
<name>Matt Kraai</name>
<email>mkraai@beckman.com</email>
</author>
<published>2010-01-05T17:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022'/>
<id>d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4: fixed some shadowed variable warnings</title>
<updated>2009-09-08T01:52:44+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-08T01:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=50b16891c4e557d80fd4bfd858660e7331be2d3e'/>
<id>50b16891c4e557d80fd4bfd858660e7331be2d3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Have ntvfs_connect() accept union smb_tcon *tcon instead of char* sharename</title>
<updated>2009-05-20T11:32:27+00:00</updated>
<author>
<name>Sam Liddicott</name>
<email>sam@liddicott.com</email>
</author>
<published>2009-05-14T07:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=4b21ad9db7babb1e278fa2e3b81737b6df36e2d2'/>
<id>4b21ad9db7babb1e278fa2e3b81737b6df36e2d2</id>
<content type='text'>
This change brings ntvfs_connect into compliance with other ntvfs functions
which take an ntvfs module, an ntvfs request and an smb io union.

It now becomes the responsibility of ntvfs modules to examine
tcon-&gt;generic.level themselves and derive the share name and any other
options
directly; e.g.

	const char *sharename;

	switch (tcon-&gt;generic.level) {
	case RAW_TCON_TCON:
		sharename = tcon-&gt;tcon.in.service;
		break;
	case RAW_TCON_TCONX:
		sharename = tcon-&gt;tconx.in.path;
		break;
	case RAW_TCON_SMB2:
	default:
		return NT_STATUS_INVALID_LEVEL;
	}

	if (strncmp(sharename, "\\\\", 2) == 0) {
		char *p = strchr(sharename+2, '\\');
		if (p) {
			sharename = p + 1;
		}
	}

service.c smbsrv_tcon_backend() is called before ntvfs_connect and fills in
some of the tcon-&gt;..out values.
For the case of RAW_TCON_TCONX, it filles out tcon-&gt;tconx.out.tid and
tcon-&gt;tconx.out.options

For the case of RAW_TCON_TCON it fills out tcon-&gt;tcon.out.tid and
tcon-&gt;tcon.out.max_xmit

Thus the ntvfs_connect function for vfs modules may override these values
if desired, but are not required to.

ntvfs_connect functions are required to fill in the tcon-&gt;tconx.out.*_type
fields, for RAW_TCON_TCONX, perhaps something like:

	if (tcon-&gt;generic.level == RAW_TCON_TCONX) {
		tcon-&gt;tconx.out.fs_type = ntvfs-&gt;ctx-&gt;fs_type;
		tcon-&gt;tconx.out.dev_type = ntvfs-&gt;ctx-&gt;dev_type;
	}

Signed-off-by: Sam Liddicott &lt;sam@liddicott.com&gt;

(I fixed the ntvfs_connect() in the smb_server/smb2/
 and the RAW_TCON_SMB2 switch case in the modules)

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change brings ntvfs_connect into compliance with other ntvfs functions
which take an ntvfs module, an ntvfs request and an smb io union.

It now becomes the responsibility of ntvfs modules to examine
tcon-&gt;generic.level themselves and derive the share name and any other
options
directly; e.g.

	const char *sharename;

	switch (tcon-&gt;generic.level) {
	case RAW_TCON_TCON:
		sharename = tcon-&gt;tcon.in.service;
		break;
	case RAW_TCON_TCONX:
		sharename = tcon-&gt;tconx.in.path;
		break;
	case RAW_TCON_SMB2:
	default:
		return NT_STATUS_INVALID_LEVEL;
	}

	if (strncmp(sharename, "\\\\", 2) == 0) {
		char *p = strchr(sharename+2, '\\');
		if (p) {
			sharename = p + 1;
		}
	}

service.c smbsrv_tcon_backend() is called before ntvfs_connect and fills in
some of the tcon-&gt;..out values.
For the case of RAW_TCON_TCONX, it filles out tcon-&gt;tconx.out.tid and
tcon-&gt;tconx.out.options

For the case of RAW_TCON_TCON it fills out tcon-&gt;tcon.out.tid and
tcon-&gt;tcon.out.max_xmit

Thus the ntvfs_connect function for vfs modules may override these values
if desired, but are not required to.

ntvfs_connect functions are required to fill in the tcon-&gt;tconx.out.*_type
fields, for RAW_TCON_TCONX, perhaps something like:

	if (tcon-&gt;generic.level == RAW_TCON_TCONX) {
		tcon-&gt;tconx.out.fs_type = ntvfs-&gt;ctx-&gt;fs_type;
		tcon-&gt;tconx.out.dev_type = ntvfs-&gt;ctx-&gt;dev_type;
	}

Signed-off-by: Sam Liddicott &lt;sam@liddicott.com&gt;

(I fixed the ntvfs_connect() in the smb_server/smb2/
 and the RAW_TCON_SMB2 switch case in the modules)

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:ntvfs/cifs_posix_cli: s/private/p</title>
<updated>2009-02-02T12:08:31+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2009-02-02T07:32:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=0c64c213e84f644b39f1c654e0be9ca601173eca'/>
<id>0c64c213e84f644b39f1c654e0be9ca601173eca</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
</feed>
