<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13150</id>
	<title>Nabble - Samba</title>
	<updated>2009-11-08T22:27:25Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Samba-f13150.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Samba-f13150.html" />
	<subtitle type="html">Samba is software that can be run on a platform other than Microsoft Windows, for example, UNIX, Linux, IBM System 390, OpenVMS, and other operating systems. Samba uses the TCP/IP protocol that is installed on the host server. When correctly configured, it allows that host to interact with a Microsoft Windows client or server as if it is a Windows file and print server. Samba home is &lt;a href=&quot;http://samba.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26261793</id>
	<title>Re: samba and ads authentication</title>
	<published>2009-11-08T22:27:25Z</published>
	<updated>2009-11-08T22:27:25Z</updated>
	<author>
		<name>Tom Montague</name>
	</author>
	<content type="html">Thanks Seban,
&lt;br&gt;&lt;br&gt;I tried running the configure script with the following options...
&lt;br&gt;&lt;br&gt;&amp;nbsp;./configure --with-ldap --with-ads --with-krb5 --with-winbind
&lt;br&gt;&lt;br&gt;I am getting the following error:-
&lt;br&gt;&lt;br&gt;checking for ldap_initialize... yes
&lt;br&gt;checking for ldap_add_result_entry... yes
&lt;br&gt;checking for kerberos 5 install path... no krb5-path given
&lt;br&gt;checking for krb5-config... no
&lt;br&gt;checking for working krb5-config... no. Fallback to previous krb5
&lt;br&gt;detection strategy
&lt;br&gt;checking for /usr/include/heimdal... no
&lt;br&gt;checking for /usr/kerberos... no
&lt;br&gt;checking krb5.h usability... no
&lt;br&gt;checking krb5.h presence... no
&lt;br&gt;checking for krb5.h... no
&lt;br&gt;configure: error: Active Directory cannot be supported without krb5.h
&lt;br&gt;&lt;br&gt;&lt;br&gt;I do have Kerberos installed and the kinit &amp;lt;user&amp;gt;@&amp;lt;domain&amp;gt; works for me.
&lt;br&gt;&lt;br&gt;My Kerberos krb5.conf file is located in the /etc/krb5/ directory,
&lt;br&gt;should I be running the configure script and telling it this location?
&lt;br&gt;Should I have a krb5.h file???
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sebastian.rajan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sebastian.rajan@...&lt;/a&gt;] 
&lt;br&gt;Sent: Friday, 6 November 2009 2:41 PM
&lt;br&gt;To: Tom Montague; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [Samba] samba and ads authentication
&lt;br&gt;&lt;br&gt;Using the following option to configure for ADS
&lt;br&gt;&lt;br&gt;--with-ldap and --with-ads in configure command
&lt;br&gt;&lt;br&gt;Also, you must have Kerberos library installed, so give 
&lt;br&gt;--with-krb5=$(PATH_TO_KRB_LIB)/lib/
&lt;br&gt;&lt;br&gt;&lt;br&gt;If the configure fails, check the path and version of kerberos u r
&lt;br&gt;using.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Seban
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces@...&lt;/a&gt;] On Behalf Of Tom Montague
&lt;br&gt;Sent: Thursday, November 05, 2009 9:45 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261793&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;Subject: [Samba] samba and ads authentication
&lt;br&gt;&lt;br&gt;I am looking at setting up ADS authentication for my current samba
&lt;br&gt;configuration. I am quite wary of making big changes that I do not
&lt;br&gt;understand as there are shares currently setup and I do not want to lose
&lt;br&gt;this.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I have read through the &amp;quot;how to's&amp;quot; and I am at the point where I want to
&lt;br&gt;&amp;quot;Create the computer account&amp;quot; and running the command :-
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Net ads join -U administrator%password
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I am getting the error &amp;quot;ADS support not compiled in&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;The fix for this says...
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Samba must be reconfigured (remove config.cache) and recompile (make
&lt;br&gt;clean all install) after the Kerberos libraries and headers files are
&lt;br&gt;installed.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;How do I reconfigure samba? I have inherited this samba configuration
&lt;br&gt;and I am not sure how/what was configured originally and I do not want
&lt;br&gt;to lose the current configuration..
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Can someone help me with this recompile command and what entries I
&lt;br&gt;should add. I have some details below of the current configuration...
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Samba version 3.0.23c
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I found the following details in the config.log
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;configure:34026: result: no
&lt;br&gt;&lt;br&gt;configure:34038: checking whether to use smbwrapper
&lt;br&gt;&lt;br&gt;configure:34085: result: no
&lt;br&gt;&lt;br&gt;configure:34093: checking whether to use AFS clear-text auth
&lt;br&gt;&lt;br&gt;configure:34111: result: no
&lt;br&gt;&lt;br&gt;configure:34119: checking whether to use AFS fake-kaserver
&lt;br&gt;&lt;br&gt;configure:34137: result: no
&lt;br&gt;&lt;br&gt;configure:34339: checking whether to use AFS fake-kaserver
&lt;br&gt;&lt;br&gt;configure:34357: result: no
&lt;br&gt;&lt;br&gt;configure:34376: checking whether to use DFS clear-text auth
&lt;br&gt;&lt;br&gt;configure:34398: result: no
&lt;br&gt;&lt;br&gt;configure:34407: checking for LDAP support
&lt;br&gt;&lt;br&gt;configure:34421: result: no
&lt;br&gt;&lt;br&gt;configure:35119: checking for Active Directory and krb5 support
&lt;br&gt;&lt;br&gt;configure:35133: result: auto
&lt;br&gt;&lt;br&gt;configure:35146: WARNING: Disabling Active Directory support (requires
&lt;br&gt;LDAP support)
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;smbd -b | grep LDAP &amp;nbsp; (no output)
&lt;br&gt;&lt;br&gt;smbd -b | grep KRB &amp;nbsp; &amp;nbsp; (no output) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;smbd -b | grep ADS &amp;nbsp; &amp;nbsp; (no output)
&lt;br&gt;&lt;br&gt;smbd -b | grep WINBIND
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;WITH_WINBIND
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;WITH_WINBIND
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;TomMontague
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;lt;br&amp;gt;&amp;lt;P&amp;gt;&amp;lt;HR&amp;gt;&amp;lt;P&amp;gt;
&lt;br&gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Times&amp;quot;&amp;gt;
&lt;br&gt;The information in this email, including any attachments, is
&lt;br&gt;confidential and may be subject to legal or other professional
&lt;br&gt;privilege. &amp;nbsp;It is intended solely for the addressee and access to this
&lt;br&gt;email by anyone else is unauthorised. &amp;nbsp;If you have received this email
&lt;br&gt;in error, please immediately advise the sender by return email, then
&lt;br&gt;delete the message from your system and destroy any copies. If you are
&lt;br&gt;not the intended recipient, any use, interference with, distribution,
&lt;br&gt;disclosure or copying of this material, or any action taken or omitted
&lt;br&gt;to be taken in reliance on it, is unauthorised and prohibited.
&lt;br&gt;&lt;br&gt;The Griffin Group scans all outgoing emails for viruses, however The
&lt;br&gt;Griffin Group cannot guarantee that email communications are secure or
&lt;br&gt;error-free, as information could be intercepted, corrupted, amended,
&lt;br&gt;lost, destroyed, arrive late or incomplete.
&lt;br&gt;&amp;lt;/font&amp;gt;
&lt;br&gt;&amp;lt;br&amp;gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;pre&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please do not print this email unless it is absolutely necessary. 
&lt;br&gt;&lt;br&gt;The information contained in this electronic message and any attachments
&lt;br&gt;to this message are intended for the exclusive use of the addressee(s)
&lt;br&gt;and may contain proprietary, confidential or privileged information. If
&lt;br&gt;you are not the intended recipient, you should not disseminate,
&lt;br&gt;distribute or copy this e-mail. Please notify the sender immediately and
&lt;br&gt;destroy all copies of this message and any attachments. 
&lt;br&gt;&lt;br&gt;WARNING: Computer viruses can be transmitted via email. The recipient
&lt;br&gt;should check this email and any attachments for the presence of viruses.
&lt;br&gt;The company accepts no liability for any damage caused by any virus
&lt;br&gt;transmitted by this email. 
&lt;br&gt;&lt;br&gt;www.wipro.com
&lt;br&gt;&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;lt;br&amp;gt;&amp;lt;P&amp;gt;&amp;lt;HR&amp;gt;&amp;lt;P&amp;gt;
&lt;br&gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Times&amp;quot;&amp;gt;
&lt;br&gt;The information in this email, including any attachments, is confidential and may be subject to legal or other professional privilege. &amp;nbsp;It is intended solely for the addressee and access to this email by anyone else is unauthorised. &amp;nbsp;If you have received this email in error, please immediately advise the sender by return email, then delete the message from your system and destroy any copies. If you are not the intended recipient, any use, interference with, distribution, disclosure or copying of this material, or any action taken or omitted to be taken in reliance on it, is unauthorised and prohibited.
&lt;br&gt;&lt;br&gt;The Griffin Group scans all outgoing emails for viruses, however The Griffin Group cannot guarantee that email communications are secure or error-free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete.
&lt;br&gt;&amp;lt;/font&amp;gt;
&lt;br&gt;&amp;lt;br&amp;gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;pre&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/samba-and-ads-authentication-tp26227439p26261793.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261950</id>
	<title>Re: Yet another include/exclude question</title>
	<published>2009-11-08T22:21:03Z</published>
	<updated>2009-11-08T22:21:03Z</updated>
	<author>
		<name>Thomas Gutzler-3</name>
	</author>
	<content type="html">What if I also want to include everything in /this_dir/ without running
&lt;br&gt;two instances and still being able to use --delete?
&lt;br&gt;I thought --include=&amp;quot;/this_dir/&amp;quot; --include=&amp;quot;/this_dir/***&amp;quot; would do it,
&lt;br&gt;but it doesn't. The exclude * seems to overwrite the include matches:
&lt;br&gt;&amp;nbsp;[sender] hiding file this_dir/foo because of pattern *
&lt;br&gt;&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;Steven Monai wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Tony wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Nov 6, 2009, at 12:43 AM, Thomas Gutzler wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; How can I include only *.foo and *.bar files in an rsync?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To make it a bit more difficult: Those files can be anywhere in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; directory structure.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've been reading and trying for a while but the best I got is all
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; *.foo and *.bar files in ./ but none of the ones inside any
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; directories.
&lt;br&gt;&amp;gt;&amp;gt; There is an example in the man pages for *.c files that will do what you
&lt;br&gt;&amp;gt;&amp;gt; want.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Try: &amp;nbsp; &amp;nbsp; &amp;nbsp;--include=*/ --include=*.foo --exclude=*
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes. I would also strongly recommend the section of the man page that
&lt;br&gt;&amp;gt; describes &amp;quot;--prune-empty-dirs&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; -SM
&lt;br&gt;&amp;gt; --
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Yet-another-include-exclude-question-tp26227225p26261950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261597</id>
	<title>Re: Take2: rsync over ssh with --link-dest</title>
	<published>2009-11-08T21:48:41Z</published>
	<updated>2009-11-08T21:48:41Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Mon, 2009-11-09 at 00:28 -0500, Alex wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm a bit disappointed that I
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; can't do it by overriding the server command line
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Why? &amp;nbsp;Does it have some advantage over the use of an rsync daemon (I
&lt;br&gt;&amp;gt; &amp;gt; can't imagine what)? &amp;nbsp;One can't really expect overriding the server
&lt;br&gt;&amp;gt; &amp;gt; arguments not to lead to the inconsistent behavior you saw.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Simplicity. I'd like to be able to have the server side feed me all
&lt;br&gt;&amp;gt; data beginning with the path I specify, such /backup/serverA,
&lt;br&gt;&lt;br&gt;In other words, you were specifying a bogus source path and counting on
&lt;br&gt;sshd to override it with the real one. &amp;nbsp;Clever. &amp;nbsp;I didn't catch that the
&lt;br&gt;first time.
&lt;br&gt;&lt;br&gt;Realize that the ability to set a module's &amp;quot;path&amp;quot; in the rsyncd.conf
&lt;br&gt;file and have the client refer to the module by a well-known name gives
&lt;br&gt;you the same functionality, and actually more, because the client can
&lt;br&gt;specify a subdirectory path within the module.
&lt;br&gt;&lt;br&gt;&amp;gt; and have
&lt;br&gt;&amp;gt; the client side be able to &amp;quot;--include=/usr/bin&amp;quot; to be able to
&lt;br&gt;&amp;gt; 'download' only the data from /backup/serverA/usr/bin and exclude
&lt;br&gt;&amp;gt; everything else.
&lt;br&gt;&lt;br&gt;That --include means &amp;quot;exclude everything else&amp;quot; is a common
&lt;br&gt;misconception; see the man page. &amp;nbsp;But I imagine the issue will become
&lt;br&gt;moot if you have the client specify a subdirectory of the module instead
&lt;br&gt;of using filters.
&lt;br&gt;&lt;br&gt;&amp;gt; Instead, I have about eight sections of my rsyncd.conf to do this; one
&lt;br&gt;&amp;gt; for each directory tree that I want to back up to a different
&lt;br&gt;&amp;gt; location, primarily based on dates, to have multiple incrementals.
&lt;br&gt;&lt;br&gt;If the daemon solution is looking fundamentally more complicated than
&lt;br&gt;the set of forced server commands you previously had, you're probably
&lt;br&gt;going about it the wrong way and I could help if you post the
&lt;br&gt;rsyncd.conf file.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Take2%3A-rsync-over-ssh-with---link-dest-tp26207618p26261597.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261479</id>
	<title>Re: Take2: rsync over ssh with --link-dest</title>
	<published>2009-11-08T21:28:13Z</published>
	<updated>2009-11-08T21:28:13Z</updated>
	<author>
		<name>Alex-325</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; I'm a bit disappointed that I
&lt;br&gt;&amp;gt;&amp;gt; can't do it by overriding the server command line
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Why?  Does it have some advantage over the use of an rsync daemon (I
&lt;br&gt;&amp;gt; can't imagine what)?  One can't really expect overriding the server
&lt;br&gt;&amp;gt; arguments not to lead to the inconsistent behavior you saw.
&lt;br&gt;&lt;br&gt;Simplicity. I'd like to be able to have the server side feed me all
&lt;br&gt;data beginning with the path I specify, such /backup/serverA, and have
&lt;br&gt;the client side be able to &amp;quot;--include=/usr/bin&amp;quot; to be able to
&lt;br&gt;'download' only the data from /backup/serverA/usr/bin and exclude
&lt;br&gt;everything else.
&lt;br&gt;&lt;br&gt;Instead, I have about eight sections of my rsyncd.conf to do this; one
&lt;br&gt;for each directory tree that I want to back up to a different
&lt;br&gt;location, primarily based on dates, to have multiple incrementals.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Alex
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Take2%3A-rsync-over-ssh-with---link-dest-tp26207618p26261479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260951</id>
	<title>Re: Impossible to load ndr_* as shared objects :-(</title>
	<published>2009-11-08T19:59:04Z</published>
	<updated>2009-11-08T19:59:04Z</updated>
	<author>
		<name>Andrew Bartlett</name>
	</author>
	<content type="html">On Sun, 2009-11-08 at 23:30 +0100, Volker Lendecke wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Nov 08, 2009 at 07:47:02PM +0100, Volker Lendecke wrote:
&lt;br&gt;&amp;gt; &amp;gt; After some weekends of work disentangling the ndr tables
&lt;br&gt;&amp;gt; &amp;gt; from the rest of the code I had to figure out that it is
&lt;br&gt;&amp;gt; &amp;gt; impossible to load them as shared objects: lsa_String and
&lt;br&gt;&amp;gt; &amp;gt; other datatypes are everywhere.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Attached find a patch that introduces &amp;quot;shared.idl&amp;quot; with all
&lt;br&gt;&amp;gt; shared stuff. Not good for a late night checkin, but that is
&lt;br&gt;&amp;gt; needed for making the large ndr_*.o shared objects.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'll check it in together with the required build fixes once
&lt;br&gt;&amp;gt; make test has finished. But that's probably not going to be
&lt;br&gt;&amp;gt; before tomorrow.
&lt;/div&gt;&lt;/div&gt;The netr_SamBaseInfo looks out of place. &amp;nbsp;What makes it need to be
&lt;br&gt;shared with every other part of the system?
&lt;br&gt;&lt;br&gt;Otherwise, most of the definitions look reasonable, and it's good to
&lt;br&gt;have the 'common to most of Samba', but not 'common to all of RPC'
&lt;br&gt;definitions in once place.
&lt;br&gt;&lt;br&gt;Andrew Bartlett
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Bartlett &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;Authentication Developer, Samba Team &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;Samba Developer, Cisco Inc.
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26260951/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Impossible-to-load-ndr_*-as-shared-objects-%3A-%28-tp26256609p26260951.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260320</id>
	<title>Re: Take2: rsync over ssh with --link-dest</title>
	<published>2009-11-08T18:12:23Z</published>
	<updated>2009-11-08T18:12:23Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Sun, 2009-11-08 at 21:01 -0500, Alex wrote:
&lt;br&gt;&amp;gt; &amp;gt; Overriding the server command line is generally a bad idea for the
&lt;br&gt;&amp;gt; &amp;gt; reasons you went on to note. &amp;nbsp;Instead, use an rsync daemon. &amp;nbsp;You can
&lt;br&gt;&amp;gt; &amp;gt; even have the daemon invoked over ssh with a forced command, see:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=4163#c4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=4163#c4&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That looks like the way to go. I've got it set up and running for a
&lt;br&gt;&amp;gt; few days now, and it's working okay.
&lt;br&gt;&lt;br&gt;Good.
&lt;br&gt;&lt;br&gt;&amp;gt; I'm a bit disappointed that I
&lt;br&gt;&amp;gt; can't do it by overriding the server command line
&lt;br&gt;&lt;br&gt;Why? &amp;nbsp;Does it have some advantage over the use of an rsync daemon (I
&lt;br&gt;can't imagine what)? &amp;nbsp;One can't really expect overriding the server
&lt;br&gt;arguments not to lead to the inconsistent behavior you saw.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Take2%3A-rsync-over-ssh-with---link-dest-tp26207618p26260320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260270</id>
	<title>Re: Take2: rsync over ssh with --link-dest</title>
	<published>2009-11-08T18:01:29Z</published>
	<updated>2009-11-08T18:01:29Z</updated>
	<author>
		<name>Alex-325</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; Overriding the server command line is generally a bad idea for the
&lt;br&gt;&amp;gt; reasons you went on to note.  Instead, use an rsync daemon.  You can
&lt;br&gt;&amp;gt; even have the daemon invoked over ssh with a forced command, see:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=4163#c4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=4163#c4&lt;/a&gt;&lt;br&gt;&lt;br&gt;That looks like the way to go. I've got it set up and running for a
&lt;br&gt;few days now, and it's working okay. I'm a bit disappointed that I
&lt;br&gt;can't do it by overriding the server command line, but it's okay.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Alex
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Take2%3A-rsync-over-ssh-with---link-dest-tp26207618p26260270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26259663</id>
	<title>[PATCH] cifs: don't use CIFSGetSrvInodeNumber in is_path_accessible</title>
	<published>2009-11-08T16:39:04Z</published>
	<updated>2009-11-08T16:39:04Z</updated>
	<author>
		<name>Jeff Layton-2</name>
	</author>
	<content type="html">Because it's lighter weight, CIFS tries to use CIFSGetSrvInodeNumber to
&lt;br&gt;verify the accessibility of the root inode and then falls back to doing a
&lt;br&gt;full QPathInfo if that fails with -EOPNOTSUPP. I have at least a report
&lt;br&gt;of a server that returns NT_STATUS_INTERNAL_ERROR rather than something
&lt;br&gt;that translates to EOPNOTSUPP.
&lt;br&gt;&lt;br&gt;Rather than trying to be clever with that call, just have
&lt;br&gt;is_path_accessible do a normal QPathInfo. That call is widely
&lt;br&gt;supported and it shouldn't increase the overhead significantly.
&lt;br&gt;&lt;br&gt;Cc: Stable &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259663&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stable@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259663&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Steve French &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259663&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfrench@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;fs/cifs/connect.c | &amp;nbsp; &amp;nbsp;8 --------
&lt;br&gt;&amp;nbsp;1 files changed, 0 insertions(+), 8 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
&lt;br&gt;index b090980..63ea83f 100644
&lt;br&gt;--- a/fs/cifs/connect.c
&lt;br&gt;+++ b/fs/cifs/connect.c
&lt;br&gt;@@ -2220,16 +2220,8 @@ is_path_accessible(int xid, struct cifsTconInfo *tcon,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; struct cifs_sb_info *cifs_sb, const char *full_path)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int rc;
&lt;br&gt;-	__u64 inode_num;
&lt;br&gt;&amp;nbsp;	FILE_ALL_INFO *pfile_info;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	rc = CIFSGetSrvInodeNumber(xid, tcon, full_path, &amp;inode_num,
&lt;br&gt;-				 &amp;nbsp; cifs_sb-&amp;gt;local_nls,
&lt;br&gt;-				 &amp;nbsp; cifs_sb-&amp;gt;mnt_cifs_flags &amp;
&lt;br&gt;-						CIFS_MOUNT_MAP_SPECIAL_CHR);
&lt;br&gt;-	if (rc != -EOPNOTSUPP)
&lt;br&gt;-		return rc;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	pfile_info = kmalloc(sizeof(FILE_ALL_INFO), GFP_KERNEL);
&lt;br&gt;&amp;nbsp;	if (pfile_info == NULL)
&lt;br&gt;&amp;nbsp;		return -ENOMEM;
&lt;br&gt;-- 
&lt;br&gt;1.6.0.6
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;linux-cifs-client mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259663&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux-cifs-client@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux-cifs-client&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux-cifs-client&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-cifs-client-f13155.html&quot; embed=&quot;fixTarget[13155]&quot; target=&quot;_top&quot; &gt;Samba - linux-cifs-client&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--cifs%3A-clean-up-handling-when-server-doesn%27t-consistently-support-inode-numbers-tp26259664p26259663.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26259664</id>
	<title>[PATCH] cifs: clean up handling when server doesn't consistently support inode numbers</title>
	<published>2009-11-08T16:39:03Z</published>
	<updated>2009-11-08T16:39:03Z</updated>
	<author>
		<name>Jeff Layton-2</name>
	</author>
	<content type="html">It's possible that a server will return a valid FileID when we query the
&lt;br&gt;FILE_INTERNAL_INFO for the root inode, but then zeroed out inode numbers
&lt;br&gt;when we do a FindFile with an infolevel of
&lt;br&gt;SMB_FIND_FILE_ID_FULL_DIR_INFO.
&lt;br&gt;&lt;br&gt;In this situation turn off querying for server inode numbers, generate a
&lt;br&gt;warning for the user and just generate an inode number using iunique.
&lt;br&gt;Once we generate any inode number with iunique we can no longer use any
&lt;br&gt;server inode numbers or we risk collisions, so ensure that we don't do
&lt;br&gt;that in cifs_get_inode_info either.
&lt;br&gt;&lt;br&gt;Cc: Stable &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259664&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stable@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Reported-by: Timothy Normand Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259664&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;theosib@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259664&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Steve French &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259664&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sfrench@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;fs/cifs/cifsproto.h | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;fs/cifs/inode.c &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 ++-----
&lt;br&gt;&amp;nbsp;fs/cifs/misc.c &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 14 ++++++++++++++
&lt;br&gt;&amp;nbsp;fs/cifs/readdir.c &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 ++++---
&lt;br&gt;&amp;nbsp;4 files changed, 21 insertions(+), 8 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
&lt;br&gt;index 6928c24..5646727 100644
&lt;br&gt;--- a/fs/cifs/cifsproto.h
&lt;br&gt;+++ b/fs/cifs/cifsproto.h
&lt;br&gt;@@ -388,4 +388,5 @@ extern int CIFSSMBSetPosixACL(const int xid, struct cifsTconInfo *tcon,
&lt;br&gt;&amp;nbsp;		const struct nls_table *nls_codepage, int remap_special_chars);
&lt;br&gt;&amp;nbsp;extern int CIFSGetExtAttr(const int xid, struct cifsTconInfo *tcon,
&lt;br&gt;&amp;nbsp;			const int netfid, __u64 *pExtAttrBits, __u64 *pMask);
&lt;br&gt;+extern void cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb);
&lt;br&gt;&amp;nbsp;#endif			/* _CIFSPROTO_H */
&lt;br&gt;diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
&lt;br&gt;index 5e24925..cababd8 100644
&lt;br&gt;--- a/fs/cifs/inode.c
&lt;br&gt;+++ b/fs/cifs/inode.c
&lt;br&gt;@@ -512,13 +512,10 @@ int cifs_get_inode_info(struct inode **pinode,
&lt;br&gt;&amp;nbsp;					cifs_sb-&amp;gt;local_nls,
&lt;br&gt;&amp;nbsp;					cifs_sb-&amp;gt;mnt_cifs_flags &amp;
&lt;br&gt;&amp;nbsp;						CIFS_MOUNT_MAP_SPECIAL_CHR);
&lt;br&gt;-			if (rc1) {
&lt;br&gt;+			if (rc1 || !fattr.cf_uniqueid) {
&lt;br&gt;&amp;nbsp;				cFYI(1, (&amp;quot;GetSrvInodeNum rc %d&amp;quot;, rc1));
&lt;br&gt;&amp;nbsp;				fattr.cf_uniqueid = iunique(sb, ROOT_I);
&lt;br&gt;-				/* disable serverino if call not supported */
&lt;br&gt;-				if (rc1 == -EINVAL)
&lt;br&gt;-					cifs_sb-&amp;gt;mnt_cifs_flags &amp;=
&lt;br&gt;-							~CIFS_MOUNT_SERVER_INUM;
&lt;br&gt;+				cifs_autodisable_serverino(cifs_sb);
&lt;br&gt;&amp;nbsp;			}
&lt;br&gt;&amp;nbsp;		} else {
&lt;br&gt;&amp;nbsp;			fattr.cf_uniqueid = iunique(sb, ROOT_I);
&lt;br&gt;diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
&lt;br&gt;index 0241b25..1e25efc 100644
&lt;br&gt;--- a/fs/cifs/misc.c
&lt;br&gt;+++ b/fs/cifs/misc.c
&lt;br&gt;@@ -715,3 +715,17 @@ cifsConvertToUCS(__le16 *target, const char *source, int maxlen,
&lt;br&gt;&amp;nbsp;ctoUCS_out:
&lt;br&gt;&amp;nbsp;	return i;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+void
&lt;br&gt;+cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb)
&lt;br&gt;+{
&lt;br&gt;+	if (cifs_sb-&amp;gt;mnt_cifs_flags &amp; CIFS_MOUNT_SERVER_INUM) {
&lt;br&gt;+		cifs_sb-&amp;gt;mnt_cifs_flags &amp;= CIFS_MOUNT_SERVER_INUM;
&lt;br&gt;+		cERROR(1, (&amp;quot;Autodisabling the use of server inode numbers on &amp;quot;
&lt;br&gt;+			 &amp;nbsp; &amp;quot;%s. This server doesn't seem to support them &amp;quot;
&lt;br&gt;+			 &amp;nbsp; &amp;quot;properly. Hardlinks will not be recognized on this &amp;quot;
&lt;br&gt;+			 &amp;nbsp; &amp;quot;mount. Consider mounting with the \&amp;quot;noserverino\&amp;quot; &amp;quot;
&lt;br&gt;+			 &amp;nbsp; &amp;quot;option to silence this message.&amp;quot;,
&lt;br&gt;+			 &amp;nbsp; cifs_sb-&amp;gt;tcon-&amp;gt;treeName));
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
&lt;br&gt;index 1f098ca..f84062f 100644
&lt;br&gt;--- a/fs/cifs/readdir.c
&lt;br&gt;+++ b/fs/cifs/readdir.c
&lt;br&gt;@@ -727,11 +727,12 @@ static int cifs_filldir(char *pfindEntry, struct file *file, filldir_t filldir,
&lt;br&gt;&amp;nbsp;		cifs_dir_info_to_fattr(&amp;fattr, (FILE_DIRECTORY_INFO *)
&lt;br&gt;&amp;nbsp;					pfindEntry, cifs_sb);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* FIXME: make _to_fattr functions fill this out */
&lt;br&gt;-	if (pCifsF-&amp;gt;srch_inf.info_level == SMB_FIND_FILE_ID_FULL_DIR_INFO)
&lt;br&gt;+	if (inum &amp;&amp; (cifs_sb-&amp;gt;mnt_cifs_flags &amp; CIFS_MOUNT_SERVER_INUM)) {
&lt;br&gt;&amp;nbsp;		fattr.cf_uniqueid = inum;
&lt;br&gt;-	else
&lt;br&gt;+	} else {
&lt;br&gt;&amp;nbsp;		fattr.cf_uniqueid = iunique(sb, ROOT_I);
&lt;br&gt;+		cifs_autodisable_serverino(cifs_sb);
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	ino = cifs_uniqueid_to_ino_t(fattr.cf_uniqueid);
&lt;br&gt;&amp;nbsp;	tmp_dentry = cifs_readdir_lookup(file-&amp;gt;f_dentry, &amp;qstring, &amp;fattr);
&lt;br&gt;-- 
&lt;br&gt;1.6.0.6
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;linux-cifs-client mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259664&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux-cifs-client@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux-cifs-client&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux-cifs-client&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-cifs-client-f13155.html&quot; embed=&quot;fixTarget[13155]&quot; target=&quot;_top&quot; &gt;Samba - linux-cifs-client&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--cifs%3A-clean-up-handling-when-server-doesn%27t-consistently-support-inode-numbers-tp26259664p26259664.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26259588</id>
	<title>Re: DNS and GENSEC issues when running the samba binary</title>
	<published>2009-11-08T16:29:00Z</published>
	<updated>2009-11-08T16:29:00Z</updated>
	<author>
		<name>tridge@samba.org</name>
	</author>
	<content type="html">Hi Cr stian,
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; Here's part of the error log:
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp;Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 -
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;gt; NT_STATUS_INVALID_
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; PARAMETER
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;nbsp;&amp;gt; That UUID is the same one that is shown when I try to run &amp;quot;samba&amp;quot; here, on
&lt;br&gt;&amp;nbsp;&amp;gt; my machine. They're different computers, different domains. Shouldn't those
&lt;br&gt;&amp;nbsp;&amp;gt; UUIDs be different for each one of us?
&lt;br&gt;&lt;br&gt;UUIDs are used for both machine specific IDs and for IDS that are
&lt;br&gt;common to all computers. In this case the above ID is the 'pipe' UUID
&lt;br&gt;of the DRSUAPI pipe. If you look in librpc/idl/drsuapi.idl then you'll
&lt;br&gt;see a line like this:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; uuid(&amp;quot;e3514235-4b06-11d1-ab04-00c04fc2dcd2&amp;quot;)
&lt;br&gt;&lt;br&gt;which says that this pipe is identified by that UUID.
&lt;br&gt;&lt;br&gt;If you see a UUID and wonder if it might be a fixed uuid like this,
&lt;br&gt;then try &amp;quot;git grep&amp;quot; to find it in the Samba source code. For example:
&lt;br&gt;&lt;br&gt;&amp;nbsp; git grep -i -n e3514235-4b06-11d1-ab04-00c04fc2dcd2
&lt;br&gt;&lt;br&gt;run that in the top level directory and it will show you any cases
&lt;br&gt;where that UUID is embedded in the Samba source code. 
&lt;br&gt;&lt;br&gt;You could also put it into a Google search.
&lt;br&gt;&lt;br&gt;Cheers, Tridge
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DNS-and-GENSEC-issues-when-running-the-samba-binary-tp26191090p26259588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26259587</id>
	<title>Re: DNS and GENSEC issues when running the samba binary</title>
	<published>2009-11-08T16:24:38Z</published>
	<updated>2009-11-08T16:24:38Z</updated>
	<author>
		<name>tridge@samba.org</name>
	</author>
	<content type="html">Hi Eduardo and Erick,
&lt;br&gt;&lt;br&gt;This almost certainly means your bind9 configuration is incorrect. To
&lt;br&gt;diagnose/fix these types of problems you should do this:
&lt;br&gt;&lt;br&gt;&amp;nbsp;1) first check that you can resolve the name using the 'host' command
&lt;br&gt;&amp;nbsp;on Linux, pointing it directly at the windows box. For example:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; host -t SRV _ldap._tcp.DOMAIN 143.106.167.147
&lt;br&gt;&lt;br&gt;where DOMAIN is the DNS domain name you are looking for. In the
&lt;br&gt;example Erick gave this would be:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; winserverad.ltc.inovasoft.unicamp.br 
&lt;br&gt;&lt;br&gt;You should get back something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _ldap._tcp.DOMAIN has SRV record 0 100 389 xxx.DOMAIN
&lt;br&gt;&lt;br&gt;where 'xxx' is the hostname of the DC.
&lt;br&gt;&lt;br&gt;If that doesn't work, then either you have the wrong name, or your
&lt;br&gt;windows DC is not configured correctly. Is 'winserverad' really the
&lt;br&gt;name of the Windows domain? 
&lt;br&gt;&lt;br&gt;&amp;nbsp;2) when that works, then try it on the name that is failing in the
&lt;br&gt;&amp;nbsp;logs (the GUID name in _msdcs). It is probably a CNAME so change the
&lt;br&gt;&amp;nbsp;query from a SRV record to a CNAME
&lt;br&gt;&lt;br&gt;&amp;nbsp;3) once that works, you need to make sure your local bind9 config is
&lt;br&gt;&amp;nbsp;right. For example, in /etc/named.conf.local you may have an entry
&lt;br&gt;&amp;nbsp;like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; zone &amp;quot;winserverad.ltc.inovasoft.unicamp.br&amp;quot; IN {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type forward;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; forwarders {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;143.106.167.147;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;&lt;br&gt;&amp;nbsp; Alternatively, you may be using a include file. Now restart bind
&lt;br&gt;&amp;nbsp; (with /etc/init.d/bind9 restart) and look in its syslog file (try
&lt;br&gt;&amp;nbsp; /var/log/daemon.log). Does it report any errors? A very common cause
&lt;br&gt;&amp;nbsp; of errors is apparmor restrictions. Try running aa-logprof and see
&lt;br&gt;&amp;nbsp; if bind9 is asking for permissions on any files that apparmore is
&lt;br&gt;&amp;nbsp; denying.
&lt;br&gt;&lt;br&gt;&amp;nbsp; 3) when you think you have the bind9 config right, try the 'host'
&lt;br&gt;&amp;nbsp; command again but pointing at localhost:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; host -t SRV _ldap._tcp.DOMAIN 127.0.0.1
&lt;br&gt;&lt;br&gt;&amp;nbsp; If it doesn't work then look carefully again at your bind9
&lt;br&gt;&amp;nbsp; config. Check for errors in the bind9 log file.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Tridge
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/DNS-and-GENSEC-issues-when-running-the-samba-binary-tp26191090p26259587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26258722</id>
	<title>Re: Impossible to load ndr_* as shared objects :-(</title>
	<published>2009-11-08T14:30:33Z</published>
	<updated>2009-11-08T14:30:33Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Sun, Nov 08, 2009 at 07:47:02PM +0100, Volker Lendecke wrote:
&lt;br&gt;&amp;gt; After some weekends of work disentangling the ndr tables
&lt;br&gt;&amp;gt; from the rest of the code I had to figure out that it is
&lt;br&gt;&amp;gt; impossible to load them as shared objects: lsa_String and
&lt;br&gt;&amp;gt; other datatypes are everywhere.
&lt;br&gt;&lt;br&gt;Attached find a patch that introduces &amp;quot;shared.idl&amp;quot; with all
&lt;br&gt;shared stuff. Not good for a late night checkin, but that is
&lt;br&gt;needed for making the large ndr_*.o shared objects.
&lt;br&gt;&lt;br&gt;I'll check it in together with the required build fixes once
&lt;br&gt;make test has finished. But that's probably not going to be
&lt;br&gt;before tomorrow.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt;&amp;nbsp;librpc/idl/browser.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/drsblobs.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/drsuapi.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/eventlog.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/initshutdown.idl &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/krb5pac.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/lsa.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 90 +------------
&lt;br&gt;&amp;nbsp;librpc/idl/misc.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 -
&lt;br&gt;&amp;nbsp;librpc/idl/named_pipe_auth.idl | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/nbt.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/netlogon.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 97 +-------------
&lt;br&gt;&amp;nbsp;librpc/idl/samr.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 63 +--------
&lt;br&gt;&amp;nbsp;librpc/idl/schannel.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/shared.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;307 ++++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;librpc/idl/spoolss.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/srvsvc.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 24 +---
&lt;br&gt;&amp;nbsp;librpc/idl/svcctl.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 31 ----
&lt;br&gt;&amp;nbsp;librpc/idl/winreg.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;librpc/idl/wkssvc.idl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;19 files changed, 323 insertions(+), 314 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/librpc/idl/browser.idl b/librpc/idl/browser.idl
&lt;br&gt;index 94d4ce6..8284fae 100644
&lt;br&gt;--- a/librpc/idl/browser.idl
&lt;br&gt;+++ b/librpc/idl/browser.idl
&lt;br&gt;@@ -1,4 +1,4 @@
&lt;br&gt;-import &amp;quot;srvsvc.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;6bffd098-a112-3610-9833-012892020162&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl
&lt;br&gt;index 97f3b2d..5d093d8 100644
&lt;br&gt;--- a/librpc/idl/drsblobs.idl
&lt;br&gt;+++ b/librpc/idl/drsblobs.idl
&lt;br&gt;@@ -1,6 +1,6 @@
&lt;br&gt;&amp;nbsp;#include &amp;quot;idl_types.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;drsuapi.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;, &amp;quot;samr.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;drsuapi.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;12345778-1234-abcd-0001-00000001&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
&lt;br&gt;index f53db00..d4f140d 100644
&lt;br&gt;--- a/librpc/idl/drsuapi.idl
&lt;br&gt;+++ b/librpc/idl/drsuapi.idl
&lt;br&gt;@@ -1,6 +1,6 @@
&lt;br&gt;&amp;nbsp;#include &amp;quot;idl_types.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;security.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;, &amp;quot;samr.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;security.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;e3514235-4b06-11d1-ab04-00c04fc2dcd2&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/eventlog.idl b/librpc/idl/eventlog.idl
&lt;br&gt;index e269467..4d6fd3d 100644
&lt;br&gt;--- a/librpc/idl/eventlog.idl
&lt;br&gt;+++ b/librpc/idl/eventlog.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;eventlog interface definition
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;shared.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ uuid(&amp;quot;82273fdc-e32a-18c3-3f78-827929dc23ea&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp;version(0.0),
&lt;br&gt;diff --git a/librpc/idl/initshutdown.idl b/librpc/idl/initshutdown.idl
&lt;br&gt;index 13a1362..75265a8 100644
&lt;br&gt;--- a/librpc/idl/initshutdown.idl
&lt;br&gt;+++ b/librpc/idl/initshutdown.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;initshutdown interface definition
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;lsa.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ 
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;894de0c0-0d55-11d3-a322-00c04fa321a1&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/krb5pac.idl b/librpc/idl/krb5pac.idl
&lt;br&gt;index 24c55b8..3a5dba3 100644
&lt;br&gt;--- a/librpc/idl/krb5pac.idl
&lt;br&gt;+++ b/librpc/idl/krb5pac.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;idl_types.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;security.idl&amp;quot;, &amp;quot;netlogon.idl&amp;quot;, &amp;quot;samr.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;security.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;12345778-1234-abcd-0000-00000000&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
&lt;br&gt;index a893786..d903a57 100644
&lt;br&gt;--- a/librpc/idl/lsa.idl
&lt;br&gt;+++ b/librpc/idl/lsa.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;lsa interface definition
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ uuid(&amp;quot;12345778-1234-abcd-ef00-0123456789ab&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp;version(0.0),
&lt;br&gt;@@ -16,41 +16,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;	typedef bitmap security_secinfo security_secinfo;
&lt;br&gt;&amp;nbsp;	typedef bitmap kerb_EncTypes kerb_EncTypes;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[value(2*strlen_m(string))] uint16 length;
&lt;br&gt;-		[value(2*strlen_m(string))] uint16 size;
&lt;br&gt;-		[charset(UTF16),size_is(size/2),length_is(length/2)] uint16 *string;
&lt;br&gt;-	} lsa_String;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[value(2*strlen_m(string))] uint16 length;
&lt;br&gt;-		[value(2*strlen_m_term(string))] uint16 size;
&lt;br&gt;-		[charset(UTF16),size_is(size/2),length_is(length/2)] uint16 *string;
&lt;br&gt;-	} lsa_StringLarge;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		uint32 count;
&lt;br&gt;-		[size_is(count)] lsa_String *names;
&lt;br&gt;-	} lsa_Strings;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[value(strlen_m(string))] uint16 length;
&lt;br&gt;-		[value(strlen_m(string))] uint16 size;
&lt;br&gt;-		[charset(DOS),size_is(size),length_is(length)] uint8 *string;
&lt;br&gt;-	} lsa_AsciiString;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[value(strlen_m(string))] uint16 length;
&lt;br&gt;-		[value(strlen_m_term(string))] uint16 size;
&lt;br&gt;-		[charset(DOS),size_is(size),length_is(length)] uint8 *string;
&lt;br&gt;-	} lsa_AsciiStringLarge;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		uint16 length;
&lt;br&gt;-		uint16 size;
&lt;br&gt;-		[size_is(size/2),length_is(length/2)] uint16 *array;
&lt;br&gt;-	} lsa_BinaryString;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	/******************/
&lt;br&gt;&amp;nbsp;	/* Function: 0x00 */
&lt;br&gt;&amp;nbsp;	NTSTATUS lsa_Close (
&lt;br&gt;@@ -446,15 +411,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; one privilege set
&lt;br&gt;&amp;nbsp;	*/
&lt;br&gt;&amp;nbsp;	/* Function: 0x0b */
&lt;br&gt;-	typedef struct {
&lt;br&gt;-		dom_sid2 *sid;
&lt;br&gt;-	} lsa_SidPtr;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[range(0,1000)] uint32 num_sids;
&lt;br&gt;-		[size_is(num_sids)] lsa_SidPtr *sids;
&lt;br&gt;-	} lsa_SidArray;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	[public] NTSTATUS lsa_EnumAccounts(
&lt;br&gt;&amp;nbsp;		[in] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; policy_handle *handle,
&lt;br&gt;&amp;nbsp;		[in,out,ref] uint32 *resume_handle,
&lt;br&gt;@@ -757,13 +713,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;		lsa_TrustAttributes trust_attributes;
&lt;br&gt;&amp;nbsp;	} lsa_TrustDomainInfoInfoEx;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public,v1_enum] enum {
&lt;br&gt;-		TRUST_AUTH_TYPE_NONE = 0,
&lt;br&gt;-		TRUST_AUTH_TYPE_NT4OWF = 1,
&lt;br&gt;-		TRUST_AUTH_TYPE_CLEAR = 2,
&lt;br&gt;-		TRUST_AUTH_TYPE_VERSION = 3
&lt;br&gt;-	} lsa_TrustAuthType;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;&amp;nbsp;		NTTIME_hyper &amp;nbsp; last_update_time;
&lt;br&gt;&amp;nbsp;		lsa_TrustAuthType AuthType;
&lt;br&gt;@@ -1267,43 +1216,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;	[todo] NTSTATUS lsa_LSARUNREGISTERAUDITEVENT();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* Function 0x49 */
&lt;br&gt;-	typedef struct {
&lt;br&gt;-		[range(0,131072)] uint3264 length;
&lt;br&gt;-		[size_is(length)] uint8 *data;
&lt;br&gt;-	} lsa_ForestTrustBinaryData;
&lt;br&gt;-
&lt;br&gt;-	typedef struct {
&lt;br&gt;-		dom_sid2 *domain_sid;
&lt;br&gt;-		lsa_StringLarge dns_domain_name;
&lt;br&gt;-		lsa_StringLarge netbios_domain_name;
&lt;br&gt;-	} lsa_ForestTrustDomainInfo;
&lt;br&gt;-
&lt;br&gt;-	typedef [switch_type(uint32)] union {
&lt;br&gt;-		[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_String top_level_name;
&lt;br&gt;-		[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] lsa_StringLarge top_level_name_ex;
&lt;br&gt;-		[case(LSA_FOREST_TRUST_DOMAIN_INFO)] lsa_ForestTrustDomainInfo domain_info;
&lt;br&gt;-		[default] lsa_ForestTrustBinaryData data;
&lt;br&gt;-	} lsa_ForestTrustData;
&lt;br&gt;-
&lt;br&gt;-	typedef [v1_enum] enum {
&lt;br&gt;-		LSA_FOREST_TRUST_TOP_LEVEL_NAME = 0,
&lt;br&gt;-		LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX = 1,
&lt;br&gt;-		LSA_FOREST_TRUST_DOMAIN_INFO = 2,
&lt;br&gt;-		LSA_FOREST_TRUST_RECORD_TYPE_LAST = 3
&lt;br&gt;-	} lsa_ForestTrustRecordType;
&lt;br&gt;-
&lt;br&gt;-	typedef struct {
&lt;br&gt;-		uint32 flags;
&lt;br&gt;-		lsa_ForestTrustRecordType level;
&lt;br&gt;-		hyper unknown;
&lt;br&gt;-		[switch_is(level)] lsa_ForestTrustData forest_trust_data;
&lt;br&gt;-	} lsa_ForestTrustRecord;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		[range(0,4000)] uint32 count;
&lt;br&gt;-		[size_is(count)] lsa_ForestTrustRecord **entries;
&lt;br&gt;-	} lsa_ForestTrustInformation;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	NTSTATUS lsa_lsaRQueryForestTrustInformation(
&lt;br&gt;&amp;nbsp;		[in] policy_handle *handle,
&lt;br&gt;&amp;nbsp;		[in,ref] lsa_String *trusted_domain_name,
&lt;br&gt;diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl
&lt;br&gt;index 5a2bf75..ce44e86 100644
&lt;br&gt;--- a/librpc/idl/misc.idl
&lt;br&gt;+++ b/librpc/idl/misc.idl
&lt;br&gt;@@ -4,7 +4,6 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;miscellaneous IDL structures
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp;	pyhelper(&amp;quot;librpc/ndr/py_misc.c&amp;quot;),
&lt;br&gt;&amp;nbsp;	pointer_default(unique)
&lt;br&gt;diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl
&lt;br&gt;index 43db989..5a61dec 100644
&lt;br&gt;--- a/librpc/idl/named_pipe_auth.idl
&lt;br&gt;+++ b/librpc/idl/named_pipe_auth.idl
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;miscellaneous IDL structures
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;netlogon.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp;	pointer_default(unique)
&lt;br&gt;diff --git a/librpc/idl/nbt.idl b/librpc/idl/nbt.idl
&lt;br&gt;index a51132c..ccd1a5c 100644
&lt;br&gt;--- a/librpc/idl/nbt.idl
&lt;br&gt;+++ b/librpc/idl/nbt.idl
&lt;br&gt;@@ -8,7 +8,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; encoding if it doesn't work out
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;svcctl.idl&amp;quot;, &amp;quot;samr.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp;	helper(&amp;quot;../libcli/netlogon.h&amp;quot;, &amp;quot;../libcli/nbt/libnbt.h&amp;quot;)
&lt;br&gt;&amp;nbsp;]
&lt;br&gt;diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl
&lt;br&gt;index 82a60c7..316a0f1 100644
&lt;br&gt;--- a/librpc/idl/netlogon.idl
&lt;br&gt;+++ b/librpc/idl/netlogon.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;who contributed!
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;samr.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;nbt.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;nbt.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;idl_types.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -181,73 +181,11 @@ interface netlogon
&lt;br&gt;&amp;nbsp;		[case(NetlogonServiceTransitiveInformation)] &amp;nbsp; &amp;nbsp; netr_PasswordInfo *password;
&lt;br&gt;&amp;nbsp;	} netr_LogonLevel;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public,flag(NDR_PAHEX)] struct {
&lt;br&gt;-		uint8 key[16];
&lt;br&gt;-	} netr_UserSessionKey;
&lt;br&gt;-
&lt;br&gt;-	typedef [public,flag(NDR_PAHEX)] struct {
&lt;br&gt;-		uint8 key[8];
&lt;br&gt;-	} netr_LMSessionKey;
&lt;br&gt;-
&lt;br&gt;-	/* Flags for user_flags below */
&lt;br&gt;-	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;-		NETLOGON_GUEST			= 0x00000001,
&lt;br&gt;-		NETLOGON_NOENCRYPTION		= 0x00000002,
&lt;br&gt;-		NETLOGON_CACHED_ACCOUNT		= 0x00000004,
&lt;br&gt;-		NETLOGON_USED_LM_PASSWORD	= 0x00000008,
&lt;br&gt;-		NETLOGON_EXTRA_SIDS 		= 0x00000020,
&lt;br&gt;-		NETLOGON_SUBAUTH_SESSION_KEY	= 0x00000040,
&lt;br&gt;-		NETLOGON_SERVER_TRUST_ACCOUNT	= 0x00000080,
&lt;br&gt;-		NETLOGON_NTLMV2_ENABLED		= 0x00000100,
&lt;br&gt;-		NETLOGON_RESOURCE_GROUPS	= 0x00000200,
&lt;br&gt;-		NETLOGON_PROFILE_PATH_RETURNED	= 0x00000400,
&lt;br&gt;-		NETLOGON_GRACE_LOGON		= 0x01000000
&lt;br&gt;-	} netr_UserFlags;
&lt;br&gt;-
&lt;br&gt;-	typedef struct {
&lt;br&gt;-		NTTIME last_logon;
&lt;br&gt;-		NTTIME last_logoff;
&lt;br&gt;-		NTTIME acct_expiry;
&lt;br&gt;-		NTTIME last_password_change;
&lt;br&gt;-		NTTIME allow_password_change;
&lt;br&gt;-		NTTIME force_password_change;
&lt;br&gt;-		lsa_String account_name;
&lt;br&gt;-		lsa_String full_name;
&lt;br&gt;-		lsa_String logon_script;
&lt;br&gt;-		lsa_String profile_path;
&lt;br&gt;-		lsa_String home_directory;
&lt;br&gt;-		lsa_String home_drive;
&lt;br&gt;-		uint16 logon_count;
&lt;br&gt;-		uint16 bad_password_count;
&lt;br&gt;-		uint32 rid;
&lt;br&gt;-		uint32 primary_gid;
&lt;br&gt;-		samr_RidWithAttributeArray groups;
&lt;br&gt;-		netr_UserFlags user_flags;
&lt;br&gt;-		netr_UserSessionKey key;
&lt;br&gt;-		lsa_StringLarge logon_server;
&lt;br&gt;-		lsa_StringLarge domain;
&lt;br&gt;-		dom_sid2 *domain_sid;
&lt;br&gt;-		netr_LMSessionKey LMSessKey;
&lt;br&gt;-		samr_AcctFlags acct_flags;
&lt;br&gt;-		uint32 unknown[7];
&lt;br&gt;-	} netr_SamBaseInfo;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;&amp;nbsp;		netr_SamBaseInfo base;
&lt;br&gt;&amp;nbsp;	} netr_SamInfo2;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;-		dom_sid2 *sid;
&lt;br&gt;-		samr_GroupAttrs attributes;
&lt;br&gt;-	} netr_SidAttr;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		netr_SamBaseInfo base;
&lt;br&gt;-		uint32 sidcount;
&lt;br&gt;-		[size_is(sidcount)] netr_SidAttr *sids;
&lt;br&gt;-	} netr_SamInfo3;
&lt;br&gt;-
&lt;br&gt;-	typedef struct {
&lt;br&gt;&amp;nbsp;		netr_SamBaseInfo base;
&lt;br&gt;&amp;nbsp;		uint32 sidcount;
&lt;br&gt;&amp;nbsp;		[size_is(sidcount)] netr_SidAttr *sids;
&lt;br&gt;@@ -293,10 +231,6 @@ interface netlogon
&lt;br&gt;&amp;nbsp;		[case(NetlogonValidationSamInfo4)] netr_SamInfo6 *sam6;
&lt;br&gt;&amp;nbsp;	} netr_Validation;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;-		uint8 data[8];
&lt;br&gt;-	} netr_Credential;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef [public] struct {
&lt;br&gt;&amp;nbsp;		netr_Credential cred;
&lt;br&gt;&amp;nbsp;		time_t timestamp;
&lt;br&gt;@@ -944,35 +878,6 @@ interface netlogon
&lt;br&gt;&amp;nbsp;	/*****************/
&lt;br&gt;&amp;nbsp;	/* Function 0x0F */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;-		NETLOGON_NEG_ACCOUNT_LOCKOUT		= 0x00000001,
&lt;br&gt;-		NETLOGON_NEG_PERSISTENT_SAMREPL		= 0x00000002,
&lt;br&gt;-		NETLOGON_NEG_ARCFOUR			= 0x00000004,
&lt;br&gt;-		NETLOGON_NEG_PROMOTION_COUNT		= 0x00000008,
&lt;br&gt;-		NETLOGON_NEG_CHANGELOG_BDC		= 0x00000010,
&lt;br&gt;-		NETLOGON_NEG_FULL_SYNC_REPL		= 0x00000020,
&lt;br&gt;-		NETLOGON_NEG_MULTIPLE_SIDS		= 0x00000040,
&lt;br&gt;-		NETLOGON_NEG_REDO			= 0x00000080,
&lt;br&gt;-		NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL	= 0x00000100,
&lt;br&gt;-		NETLOGON_NEG_SEND_PASSWORD_INFO_PDC	= 0x00000200,
&lt;br&gt;-		NETLOGON_NEG_GENERIC_PASSTHROUGH	= 0x00000400,
&lt;br&gt;-		NETLOGON_NEG_CONCURRENT_RPC		= 0x00000800,
&lt;br&gt;-		NETLOGON_NEG_AVOID_ACCOUNT_DB_REPL	= 0x00001000,
&lt;br&gt;-		NETLOGON_NEG_AVOID_SECURITYAUTH_DB_REPL	= 0x00002000,
&lt;br&gt;-		NETLOGON_NEG_STRONG_KEYS		= 0x00004000,
&lt;br&gt;-		NETLOGON_NEG_TRANSITIVE_TRUSTS		= 0x00008000,
&lt;br&gt;-		NETLOGON_NEG_DNS_DOMAIN_TRUSTS		= 0x00010000,
&lt;br&gt;-		NETLOGON_NEG_PASSWORD_SET2		= 0x00020000,
&lt;br&gt;-		NETLOGON_NEG_GETDOMAININFO		= 0x00040000,
&lt;br&gt;-		NETLOGON_NEG_CROSS_FOREST_TRUSTS	= 0x00080000,
&lt;br&gt;-		NETLOGON_NEG_NEUTRALIZE_NT4_EMULATION	= 0x00100000,
&lt;br&gt;-		NETLOGON_NEG_RODC_PASSTHROUGH		= 0x00200000,
&lt;br&gt;-		NETLOGON_NEG_SUPPORTS_AES_SHA2		= 0x00400000,
&lt;br&gt;-		NETLOGON_NEG_SUPPORTS_AES		= 0x01000000,
&lt;br&gt;-		NETLOGON_NEG_AUTHENTICATED_RPC_LSASS	= 0x20000000,
&lt;br&gt;-		NETLOGON_NEG_AUTHENTICATED_RPC		= 0x40000000
&lt;br&gt;-	} netr_NegotiateFlags;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	const uint32 NETLOGON_NEG_128BIT = NETLOGON_NEG_STRONG_KEYS;
&lt;br&gt;&amp;nbsp;	const uint32 NETLOGON_NEG_SCHANNEL = NETLOGON_NEG_AUTHENTICATED_RPC;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl
&lt;br&gt;index da7b1aa..0400c31 100644
&lt;br&gt;--- a/librpc/idl/samr.idl
&lt;br&gt;+++ b/librpc/idl/samr.idl
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp;samr interface definition
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;-import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp;Thanks to Todd Sabin for some information from his samr.idl in acltools
&lt;br&gt;@@ -17,36 +17,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	typedef bitmap security_secinfo security_secinfo;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* SAM database types */
&lt;br&gt;-	typedef [public,v1_enum] enum {
&lt;br&gt;-		SAM_DATABASE_DOMAIN &amp;nbsp;= 0, /* Domain users and groups */
&lt;br&gt;-		SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */
&lt;br&gt;-		SAM_DATABASE_PRIVS &amp;nbsp; = 2 /* Privileges */
&lt;br&gt;-	} netr_SamDatabaseID;
&lt;br&gt;-
&lt;br&gt;-	/* account control (acct_flags) bits */
&lt;br&gt;-	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;-		ACB_DISABLED			= 0x00000001, &amp;nbsp;/* 1 = User account disabled */
&lt;br&gt;-		ACB_HOMDIRREQ			= 0x00000002, &amp;nbsp;/* 1 = Home directory required */
&lt;br&gt;-		ACB_PWNOTREQ			= 0x00000004, &amp;nbsp;/* 1 = User password not required */
&lt;br&gt;-		ACB_TEMPDUP			= 0x00000008, &amp;nbsp;/* 1 = Temporary duplicate account */
&lt;br&gt;-		ACB_NORMAL			= 0x00000010, &amp;nbsp;/* 1 = Normal user account */
&lt;br&gt;-		ACB_MNS				= 0x00000020, &amp;nbsp;/* 1 = MNS logon user account */
&lt;br&gt;-		ACB_DOMTRUST			= 0x00000040, &amp;nbsp;/* 1 = Interdomain trust account */
&lt;br&gt;-		ACB_WSTRUST			= 0x00000080, &amp;nbsp;/* 1 = Workstation trust account */
&lt;br&gt;-		ACB_SVRTRUST			= 0x00000100, &amp;nbsp;/* 1 = Server trust account */
&lt;br&gt;-		ACB_PWNOEXP			= 0x00000200, &amp;nbsp;/* 1 = User password does not expire */
&lt;br&gt;-		ACB_AUTOLOCK			= 0x00000400, &amp;nbsp;/* 1 = Account auto locked */
&lt;br&gt;-		ACB_ENC_TXT_PWD_ALLOWED		= 0x00000800, &amp;nbsp;/* 1 = Encryped text password is allowed */
&lt;br&gt;-		ACB_SMARTCARD_REQUIRED		= 0x00001000, &amp;nbsp;/* 1 = Smart Card required */
&lt;br&gt;-		ACB_TRUSTED_FOR_DELEGATION	= 0x00002000, &amp;nbsp;/* 1 = Trusted for Delegation */
&lt;br&gt;-		ACB_NOT_DELEGATED		= 0x00004000, &amp;nbsp;/* 1 = Not delegated */
&lt;br&gt;-		ACB_USE_DES_KEY_ONLY		= 0x00008000, &amp;nbsp;/* 1 = Use DES key only */
&lt;br&gt;-		ACB_DONT_REQUIRE_PREAUTH	= 0x00010000, &amp;nbsp;/* 1 = Preauth not required */
&lt;br&gt;-		ACB_PW_EXPIRED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00020000, &amp;nbsp;/* 1 = Password Expired */
&lt;br&gt;-		ACB_NO_AUTH_DATA_REQD		= 0x00080000 &amp;nbsp; /* 1 = No authorization data required */
&lt;br&gt;-	} samr_AcctFlags;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	/* SAM server specific access rights */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	typedef [bitmap32bit] bitmap {
&lt;br&gt;@@ -569,17 +539,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;		[out,ref] &amp;nbsp; &amp;nbsp; policy_handle *group_handle
&lt;br&gt;&amp;nbsp;		);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* Group attributes */
&lt;br&gt;-	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;-		SE_GROUP_MANDATORY		= 0x00000001,
&lt;br&gt;-		SE_GROUP_ENABLED_BY_DEFAULT 	= 0x00000002,
&lt;br&gt;-		SE_GROUP_ENABLED 		= 0x00000004,
&lt;br&gt;-		SE_GROUP_OWNER 			= 0x00000008,
&lt;br&gt;-		SE_GROUP_USE_FOR_DENY_ONLY 	= 0x00000010,
&lt;br&gt;-		SE_GROUP_RESOURCE 		= 0x20000000,
&lt;br&gt;-		SE_GROUP_LOGON_ID 		= 0xC0000000
&lt;br&gt;-	} samr_GroupAttrs;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	/************************/
&lt;br&gt;&amp;nbsp;	/* Function &amp;nbsp; &amp;nbsp;0x14 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -811,12 +770,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;		uint16 code_page;
&lt;br&gt;&amp;nbsp;	} samr_UserInfo2;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	/* this is also used in samr and netlogon */
&lt;br&gt;-	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;-		uint16 units_per_week;
&lt;br&gt;-		[size_is(1260), length_is(units_per_week/8)] uint8 *bits;
&lt;br&gt;-	} samr_LogonHours;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;&amp;nbsp;		lsa_String account_name;
&lt;br&gt;&amp;nbsp;		lsa_String full_name;
&lt;br&gt;@@ -909,10 +862,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;		NTTIME acct_expiry;
&lt;br&gt;&amp;nbsp;	} samr_UserInfo17;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;-		uint8 hash[16];
&lt;br&gt;-	} samr_Password;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;&amp;nbsp;		samr_Password nt_pwd;
&lt;br&gt;&amp;nbsp;		samr_Password lm_pwd;
&lt;br&gt;@@ -1092,16 +1041,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;	/************************/
&lt;br&gt;&amp;nbsp;	/* Function &amp;nbsp; &amp;nbsp;0x27 &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		uint32 rid;
&lt;br&gt;-		samr_GroupAttrs attributes;
&lt;br&gt;-	} samr_RidWithAttribute;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		uint32 &amp;nbsp; &amp;nbsp; count;
&lt;br&gt;-		[size_is(count)] samr_RidWithAttribute *rids;
&lt;br&gt;-	} samr_RidWithAttributeArray;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	NTSTATUS samr_GetGroupsForUser(
&lt;br&gt;&amp;nbsp;		[in,ref] &amp;nbsp; policy_handle *user_handle,
&lt;br&gt;&amp;nbsp;		[out,ref] &amp;nbsp;samr_RidWithAttributeArray &amp;nbsp;**rids
&lt;br&gt;diff --git a/librpc/idl/schannel.idl b/librpc/idl/schannel.idl
&lt;br&gt;index a30e292..55fedef 100644
&lt;br&gt;--- a/librpc/idl/schannel.idl
&lt;br&gt;+++ b/librpc/idl/schannel.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;schannel structures
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;netlogon.idl&amp;quot;, &amp;quot;nbt.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;shared.idl&amp;quot;, &amp;quot;nbt.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[
&lt;br&gt;&amp;nbsp;	pointer_default(unique),
&lt;br&gt;diff --git a/librpc/idl/shared.idl b/librpc/idl/shared.idl
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..0ecbf6b
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/librpc/idl/shared.idl
&lt;br&gt;@@ -0,0 +1,307 @@
&lt;br&gt;+#include &amp;quot;idl_types.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+[
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;pointer_default(unique)
&lt;br&gt;+]
&lt;br&gt;+interface shared
&lt;br&gt;+{
&lt;br&gt;+	/* SAM database types */
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[value(2*strlen_m(string))] uint16 length;
&lt;br&gt;+		[value(2*strlen_m(string))] uint16 size;
&lt;br&gt;+		[charset(UTF16),size_is(size/2),length_is(length/2)] uint16 *string;
&lt;br&gt;+	} lsa_String;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[value(2*strlen_m(string))] uint16 length;
&lt;br&gt;+		[value(2*strlen_m_term(string))] uint16 size;
&lt;br&gt;+		[charset(UTF16),size_is(size/2),length_is(length/2)] uint16 *string;
&lt;br&gt;+	} lsa_StringLarge;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		uint16 length;
&lt;br&gt;+		uint16 size;
&lt;br&gt;+		[size_is(size/2),length_is(length/2)] uint16 *array;
&lt;br&gt;+	} lsa_BinaryString;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[value(strlen_m(string))] uint16 length;
&lt;br&gt;+		[value(strlen_m(string))] uint16 size;
&lt;br&gt;+		[charset(DOS),size_is(size),length_is(length)] uint8 *string;
&lt;br&gt;+	} lsa_AsciiString;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[value(strlen_m(string))] uint16 length;
&lt;br&gt;+		[value(strlen_m_term(string))] uint16 size;
&lt;br&gt;+		[charset(DOS),size_is(size),length_is(length)] uint8 *string;
&lt;br&gt;+	} lsa_AsciiStringLarge;
&lt;br&gt;+
&lt;br&gt;+	typedef struct {
&lt;br&gt;+		dom_sid2 *sid;
&lt;br&gt;+	} lsa_SidPtr;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[range(0,1000)] uint32 num_sids;
&lt;br&gt;+		[size_is(num_sids)] lsa_SidPtr *sids;
&lt;br&gt;+	} lsa_SidArray;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		uint32 count;
&lt;br&gt;+		[size_is(count)] lsa_String *names;
&lt;br&gt;+	} lsa_Strings;
&lt;br&gt;+
&lt;br&gt;+	/* account control (acct_flags) bits */
&lt;br&gt;+	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;+		ACB_DISABLED			= 0x00000001, &amp;nbsp;/* 1 = User account disabled */
&lt;br&gt;+		ACB_HOMDIRREQ			= 0x00000002, &amp;nbsp;/* 1 = Home directory required */
&lt;br&gt;+		ACB_PWNOTREQ			= 0x00000004, &amp;nbsp;/* 1 = User password not required */
&lt;br&gt;+		ACB_TEMPDUP			= 0x00000008, &amp;nbsp;/* 1 = Temporary duplicate account */
&lt;br&gt;+		ACB_NORMAL			= 0x00000010, &amp;nbsp;/* 1 = Normal user account */
&lt;br&gt;+		ACB_MNS				= 0x00000020, &amp;nbsp;/* 1 = MNS logon user account */
&lt;br&gt;+		ACB_DOMTRUST			= 0x00000040, &amp;nbsp;/* 1 = Interdomain trust account */
&lt;br&gt;+		ACB_WSTRUST			= 0x00000080, &amp;nbsp;/* 1 = Workstation trust account */
&lt;br&gt;+		ACB_SVRTRUST			= 0x00000100, &amp;nbsp;/* 1 = Server trust account */
&lt;br&gt;+		ACB_PWNOEXP			= 0x00000200, &amp;nbsp;/* 1 = User password does not expire */
&lt;br&gt;+		ACB_AUTOLOCK			= 0x00000400, &amp;nbsp;/* 1 = Account auto locked */
&lt;br&gt;+		ACB_ENC_TXT_PWD_ALLOWED		= 0x00000800, &amp;nbsp;/* 1 = Encryped text password is allowed */
&lt;br&gt;+		ACB_SMARTCARD_REQUIRED		= 0x00001000, &amp;nbsp;/* 1 = Smart Card required */
&lt;br&gt;+		ACB_TRUSTED_FOR_DELEGATION	= 0x00002000, &amp;nbsp;/* 1 = Trusted for Delegation */
&lt;br&gt;+		ACB_NOT_DELEGATED		= 0x00004000, &amp;nbsp;/* 1 = Not delegated */
&lt;br&gt;+		ACB_USE_DES_KEY_ONLY		= 0x00008000, &amp;nbsp;/* 1 = Use DES key only */
&lt;br&gt;+		ACB_DONT_REQUIRE_PREAUTH	= 0x00010000, &amp;nbsp;/* 1 = Preauth not required */
&lt;br&gt;+		ACB_PW_EXPIRED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00020000, &amp;nbsp;/* 1 = Password Expired */
&lt;br&gt;+		ACB_NO_AUTH_DATA_REQD		= 0x00080000 &amp;nbsp; /* 1 = No authorization data required */
&lt;br&gt;+	} samr_AcctFlags;
&lt;br&gt;+
&lt;br&gt;+	/* Group attributes */
&lt;br&gt;+	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;+		SE_GROUP_MANDATORY		= 0x00000001,
&lt;br&gt;+		SE_GROUP_ENABLED_BY_DEFAULT 	= 0x00000002,
&lt;br&gt;+		SE_GROUP_ENABLED 		= 0x00000004,
&lt;br&gt;+		SE_GROUP_OWNER 			= 0x00000008,
&lt;br&gt;+		SE_GROUP_USE_FOR_DENY_ONLY 	= 0x00000010,
&lt;br&gt;+		SE_GROUP_RESOURCE 		= 0x20000000,
&lt;br&gt;+		SE_GROUP_LOGON_ID 		= 0xC0000000
&lt;br&gt;+	} samr_GroupAttrs;
&lt;br&gt;+
&lt;br&gt;+	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;+		uint8 hash[16];
&lt;br&gt;+	} samr_Password;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		uint32 rid;
&lt;br&gt;+		samr_GroupAttrs attributes;
&lt;br&gt;+	} samr_RidWithAttribute;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		uint32 &amp;nbsp; &amp;nbsp; count;
&lt;br&gt;+		[size_is(count)] samr_RidWithAttribute *rids;
&lt;br&gt;+	} samr_RidWithAttributeArray;
&lt;br&gt;+
&lt;br&gt;+	/* this is also used in samr and netlogon */
&lt;br&gt;+	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;+		uint16 units_per_week;
&lt;br&gt;+		[size_is(1260), length_is(units_per_week/8)] uint8 *bits;
&lt;br&gt;+	} samr_LogonHours;
&lt;br&gt;+
&lt;br&gt;+	typedef struct {
&lt;br&gt;+		[range(0,131072)] uint3264 length;
&lt;br&gt;+		[size_is(length)] uint8 *data;
&lt;br&gt;+	} lsa_ForestTrustBinaryData;
&lt;br&gt;+
&lt;br&gt;+	typedef struct {
&lt;br&gt;+		dom_sid2 *domain_sid;
&lt;br&gt;+		lsa_StringLarge dns_domain_name;
&lt;br&gt;+		lsa_StringLarge netbios_domain_name;
&lt;br&gt;+	} lsa_ForestTrustDomainInfo;
&lt;br&gt;+
&lt;br&gt;+	typedef [switch_type(uint32)] union {
&lt;br&gt;+		[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_String top_level_name;
&lt;br&gt;+		[case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] lsa_StringLarge top_level_name_ex;
&lt;br&gt;+		[case(LSA_FOREST_TRUST_DOMAIN_INFO)] lsa_ForestTrustDomainInfo domain_info;
&lt;br&gt;+		[default] lsa_ForestTrustBinaryData data;
&lt;br&gt;+	} lsa_ForestTrustData;
&lt;br&gt;+
&lt;br&gt;+	typedef [v1_enum] enum {
&lt;br&gt;+		LSA_FOREST_TRUST_TOP_LEVEL_NAME = 0,
&lt;br&gt;+		LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX = 1,
&lt;br&gt;+		LSA_FOREST_TRUST_DOMAIN_INFO = 2,
&lt;br&gt;+		LSA_FOREST_TRUST_RECORD_TYPE_LAST = 3
&lt;br&gt;+	} lsa_ForestTrustRecordType;
&lt;br&gt;+
&lt;br&gt;+	typedef struct {
&lt;br&gt;+		uint32 flags;
&lt;br&gt;+		lsa_ForestTrustRecordType level;
&lt;br&gt;+		hyper unknown;
&lt;br&gt;+		[switch_is(level)] lsa_ForestTrustData forest_trust_data;
&lt;br&gt;+	} lsa_ForestTrustRecord;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		[range(0,4000)] uint32 count;
&lt;br&gt;+		[size_is(count)] lsa_ForestTrustRecord **entries;
&lt;br&gt;+	} lsa_ForestTrustInformation;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,v1_enum] enum {
&lt;br&gt;+		TRUST_AUTH_TYPE_NONE = 0,
&lt;br&gt;+		TRUST_AUTH_TYPE_NT4OWF = 1,
&lt;br&gt;+		TRUST_AUTH_TYPE_CLEAR = 2,
&lt;br&gt;+		TRUST_AUTH_TYPE_VERSION = 3
&lt;br&gt;+	} lsa_TrustAuthType;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,v1_enum] enum {
&lt;br&gt;+		SAM_DATABASE_DOMAIN &amp;nbsp;= 0, /* Domain users and groups */
&lt;br&gt;+		SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */
&lt;br&gt;+		SAM_DATABASE_PRIVS &amp;nbsp; = 2 /* Privileges */
&lt;br&gt;+	} netr_SamDatabaseID;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,flag(NDR_PAHEX)] struct {
&lt;br&gt;+		uint8 key[16];
&lt;br&gt;+	} netr_UserSessionKey;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,flag(NDR_PAHEX)] struct {
&lt;br&gt;+		uint8 key[8];
&lt;br&gt;+	} netr_LMSessionKey;
&lt;br&gt;+
&lt;br&gt;+	/* Flags for user_flags below */
&lt;br&gt;+	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;+		NETLOGON_GUEST			= 0x00000001,
&lt;br&gt;+		NETLOGON_NOENCRYPTION		= 0x00000002,
&lt;br&gt;+		NETLOGON_CACHED_ACCOUNT		= 0x00000004,
&lt;br&gt;+		NETLOGON_USED_LM_PASSWORD	= 0x00000008,
&lt;br&gt;+		NETLOGON_EXTRA_SIDS 		= 0x00000020,
&lt;br&gt;+		NETLOGON_SUBAUTH_SESSION_KEY	= 0x00000040,
&lt;br&gt;+		NETLOGON_SERVER_TRUST_ACCOUNT	= 0x00000080,
&lt;br&gt;+		NETLOGON_NTLMV2_ENABLED		= 0x00000100,
&lt;br&gt;+		NETLOGON_RESOURCE_GROUPS	= 0x00000200,
&lt;br&gt;+		NETLOGON_PROFILE_PATH_RETURNED	= 0x00000400,
&lt;br&gt;+		NETLOGON_GRACE_LOGON		= 0x01000000
&lt;br&gt;+	} netr_UserFlags;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		NTTIME last_logon;
&lt;br&gt;+		NTTIME last_logoff;
&lt;br&gt;+		NTTIME acct_expiry;
&lt;br&gt;+		NTTIME last_password_change;
&lt;br&gt;+		NTTIME allow_password_change;
&lt;br&gt;+		NTTIME force_password_change;
&lt;br&gt;+		lsa_String account_name;
&lt;br&gt;+		lsa_String full_name;
&lt;br&gt;+		lsa_String logon_script;
&lt;br&gt;+		lsa_String profile_path;
&lt;br&gt;+		lsa_String home_directory;
&lt;br&gt;+		lsa_String home_drive;
&lt;br&gt;+		uint16 logon_count;
&lt;br&gt;+		uint16 bad_password_count;
&lt;br&gt;+		uint32 rid;
&lt;br&gt;+		uint32 primary_gid;
&lt;br&gt;+		samr_RidWithAttributeArray groups;
&lt;br&gt;+		netr_UserFlags user_flags;
&lt;br&gt;+		netr_UserSessionKey key;
&lt;br&gt;+		lsa_StringLarge logon_server;
&lt;br&gt;+		lsa_StringLarge domain;
&lt;br&gt;+		dom_sid2 *domain_sid;
&lt;br&gt;+		netr_LMSessionKey LMSessKey;
&lt;br&gt;+		samr_AcctFlags acct_flags;
&lt;br&gt;+		uint32 unknown[7];
&lt;br&gt;+	} netr_SamBaseInfo;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		dom_sid2 *sid;
&lt;br&gt;+		samr_GroupAttrs attributes;
&lt;br&gt;+	} netr_SidAttr;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		netr_SamBaseInfo base;
&lt;br&gt;+		uint32 sidcount;
&lt;br&gt;+		[size_is(sidcount)] netr_SidAttr *sids;
&lt;br&gt;+	} netr_SamInfo3;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,v1_enum] enum {
&lt;br&gt;+		PLATFORM_ID_DOS = 300,
&lt;br&gt;+		PLATFORM_ID_OS2 = 400,
&lt;br&gt;+		PLATFORM_ID_NT	= 500,
&lt;br&gt;+		PLATFORM_ID_OSF = 600,
&lt;br&gt;+		PLATFORM_ID_VMS = 700
&lt;br&gt;+	} srvsvc_PlatformId;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;+		SV_TYPE_WORKSTATION &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000001,
&lt;br&gt;+		SV_TYPE_SERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00000002,
&lt;br&gt;+		SV_TYPE_SQLSERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000004,
&lt;br&gt;+		SV_TYPE_DOMAIN_CTRL &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000008,
&lt;br&gt;+		SV_TYPE_DOMAIN_BAKCTRL &amp;nbsp; &amp;nbsp;= 0x00000010,
&lt;br&gt;+		SV_TYPE_TIME_SOURCE &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000020,
&lt;br&gt;+		SV_TYPE_AFP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000040,
&lt;br&gt;+		SV_TYPE_NOVELL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00000080,
&lt;br&gt;+
&lt;br&gt;+		SV_TYPE_DOMAIN_MEMBER &amp;nbsp; &amp;nbsp; = 0x00000100,
&lt;br&gt;+		SV_TYPE_PRINTQ_SERVER &amp;nbsp; &amp;nbsp; = 0x00000200,
&lt;br&gt;+		SV_TYPE_DIALIN_SERVER &amp;nbsp; &amp;nbsp; = 0x00000400,
&lt;br&gt;+		SV_TYPE_SERVER_UNIX &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000800,
&lt;br&gt;+		SV_TYPE_NT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00001000,
&lt;br&gt;+		SV_TYPE_WFW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00002000,
&lt;br&gt;+		SV_TYPE_SERVER_MFPN &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00004000,
&lt;br&gt;+		SV_TYPE_SERVER_NT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00008000,
&lt;br&gt;+		SV_TYPE_POTENTIAL_BROWSER = 0x00010000,
&lt;br&gt;+		SV_TYPE_BACKUP_BROWSER &amp;nbsp; &amp;nbsp;= 0x00020000,
&lt;br&gt;+		SV_TYPE_MASTER_BROWSER &amp;nbsp; &amp;nbsp;= 0x00040000,
&lt;br&gt;+		SV_TYPE_DOMAIN_MASTER &amp;nbsp; &amp;nbsp; = 0x00080000,
&lt;br&gt;+		SV_TYPE_SERVER_OSF &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00100000,
&lt;br&gt;+		SV_TYPE_SERVER_VMS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00200000,
&lt;br&gt;+		SV_TYPE_WIN95_PLUS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00400000,
&lt;br&gt;+		SV_TYPE_DFS_SERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00800000,
&lt;br&gt;+		SV_TYPE_ALTERNATE_XPORT &amp;nbsp; = 0x20000000,
&lt;br&gt;+		SV_TYPE_LOCAL_LIST_ONLY &amp;nbsp; = 0x40000000,
&lt;br&gt;+		SV_TYPE_DOMAIN_ENUM &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x80000000
&lt;br&gt;+	} svcctl_ServerType;
&lt;br&gt;+
&lt;br&gt;+	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;+		NETLOGON_NEG_ACCOUNT_LOCKOUT		= 0x00000001,
&lt;br&gt;+		NETLOGON_NEG_PERSISTENT_SAMREPL		= 0x00000002,
&lt;br&gt;+		NETLOGON_NEG_ARCFOUR			= 0x00000004,
&lt;br&gt;+		NETLOGON_NEG_PROMOTION_COUNT		= 0x00000008,
&lt;br&gt;+		NETLOGON_NEG_CHANGELOG_BDC		= 0x00000010,
&lt;br&gt;+		NETLOGON_NEG_FULL_SYNC_REPL		= 0x00000020,
&lt;br&gt;+		NETLOGON_NEG_MULTIPLE_SIDS		= 0x00000040,
&lt;br&gt;+		NETLOGON_NEG_REDO			= 0x00000080,
&lt;br&gt;+		NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL	= 0x00000100,
&lt;br&gt;+		NETLOGON_NEG_SEND_PASSWORD_INFO_PDC	= 0x00000200,
&lt;br&gt;+		NETLOGON_NEG_GENERIC_PASSTHROUGH	= 0x00000400,
&lt;br&gt;+		NETLOGON_NEG_CONCURRENT_RPC		= 0x00000800,
&lt;br&gt;+		NETLOGON_NEG_AVOID_ACCOUNT_DB_REPL	= 0x00001000,
&lt;br&gt;+		NETLOGON_NEG_AVOID_SECURITYAUTH_DB_REPL	= 0x00002000,
&lt;br&gt;+		NETLOGON_NEG_STRONG_KEYS		= 0x00004000,
&lt;br&gt;+		NETLOGON_NEG_TRANSITIVE_TRUSTS		= 0x00008000,
&lt;br&gt;+		NETLOGON_NEG_DNS_DOMAIN_TRUSTS		= 0x00010000,
&lt;br&gt;+		NETLOGON_NEG_PASSWORD_SET2		= 0x00020000,
&lt;br&gt;+		NETLOGON_NEG_GETDOMAININFO		= 0x00040000,
&lt;br&gt;+		NETLOGON_NEG_CROSS_FOREST_TRUSTS	= 0x00080000,
&lt;br&gt;+		NETLOGON_NEG_NEUTRALIZE_NT4_EMULATION	= 0x00100000,
&lt;br&gt;+		NETLOGON_NEG_RODC_PASSTHROUGH		= 0x00200000,
&lt;br&gt;+		NETLOGON_NEG_SUPPORTS_AES_SHA2		= 0x00400000,
&lt;br&gt;+		NETLOGON_NEG_SUPPORTS_AES		= 0x01000000,
&lt;br&gt;+		NETLOGON_NEG_AUTHENTICATED_RPC_LSASS	= 0x20000000,
&lt;br&gt;+		NETLOGON_NEG_AUTHENTICATED_RPC		= 0x40000000
&lt;br&gt;+	} netr_NegotiateFlags;
&lt;br&gt;+
&lt;br&gt;+	typedef [public, flag(NDR_PAHEX)] struct {
&lt;br&gt;+		uint8 data[8];
&lt;br&gt;+	} netr_Credential;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		srvsvc_PlatformId platform_id;
&lt;br&gt;+		[string,charset(UTF16)] uint16 *server_name;
&lt;br&gt;+	} srvsvc_NetSrvInfo100;
&lt;br&gt;+
&lt;br&gt;+	typedef [public] struct {
&lt;br&gt;+		srvsvc_PlatformId platform_id;
&lt;br&gt;+		[string,charset(UTF16)] uint16 *server_name;
&lt;br&gt;+		uint32 version_major;
&lt;br&gt;+		uint32 version_minor;
&lt;br&gt;+		svcctl_ServerType server_type;
&lt;br&gt;+		[string,charset(UTF16)] uint16 *comment;
&lt;br&gt;+	} srvsvc_NetSrvInfo101;
&lt;br&gt;+}
&lt;br&gt;\ No newline at end of file
&lt;br&gt;diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
&lt;br&gt;index 04681bf..5a66673 100644
&lt;br&gt;--- a/librpc/idl/spoolss.idl
&lt;br&gt;+++ b/librpc/idl/spoolss.idl
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp;spoolss interface definitions
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;-import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;winreg.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ uuid(&amp;quot;12345678-1234-abcd-ef00-0123456789ab&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp;version(1.0),
&lt;br&gt;diff --git a/librpc/idl/srvsvc.idl b/librpc/idl/srvsvc.idl
&lt;br&gt;index 153d8cf..9e91fce 100644
&lt;br&gt;--- a/librpc/idl/srvsvc.idl
&lt;br&gt;+++ b/librpc/idl/srvsvc.idl
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp;srvsvc interface definitions
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;-import &amp;quot;security.idl&amp;quot;, &amp;quot;svcctl.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;security.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ uuid(&amp;quot;4b324fc8-1670-01d3-1278-5a47bf6ee188&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp;version(3.0),
&lt;br&gt;@@ -630,28 +630,6 @@ import &amp;quot;security.idl&amp;quot;, &amp;quot;svcctl.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;/**************************/
&lt;br&gt;&amp;nbsp;/* srvsvc_NetSrv &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp;/**************************/
&lt;br&gt;-	typedef [public,v1_enum] enum {
&lt;br&gt;-		PLATFORM_ID_DOS = 300,
&lt;br&gt;-		PLATFORM_ID_OS2 = 400,
&lt;br&gt;-		PLATFORM_ID_NT	= 500,
&lt;br&gt;-		PLATFORM_ID_OSF = 600,
&lt;br&gt;-		PLATFORM_ID_VMS = 700
&lt;br&gt;-	} srvsvc_PlatformId;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		srvsvc_PlatformId platform_id;
&lt;br&gt;-		[string,charset(UTF16)] uint16 *server_name;
&lt;br&gt;-	} srvsvc_NetSrvInfo100;
&lt;br&gt;-
&lt;br&gt;-	typedef [public] struct {
&lt;br&gt;-		srvsvc_PlatformId platform_id;
&lt;br&gt;-		[string,charset(UTF16)] uint16 *server_name;
&lt;br&gt;-		uint32 version_major;
&lt;br&gt;-		uint32 version_minor;
&lt;br&gt;-		svcctl_ServerType server_type;
&lt;br&gt;-		[string,charset(UTF16)] uint16 *comment;
&lt;br&gt;-	} srvsvc_NetSrvInfo101;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	typedef struct {
&lt;br&gt;&amp;nbsp;		srvsvc_PlatformId platform_id;
&lt;br&gt;&amp;nbsp;		[string,charset(UTF16)] uint16 *server_name;
&lt;br&gt;diff --git a/librpc/idl/svcctl.idl b/librpc/idl/svcctl.idl
&lt;br&gt;index 19866d2..44723d1 100644
&lt;br&gt;--- a/librpc/idl/svcctl.idl
&lt;br&gt;+++ b/librpc/idl/svcctl.idl
&lt;br&gt;@@ -80,37 +80,6 @@ import &amp;quot;misc.idl&amp;quot;, &amp;quot;security.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;	const int SERVICE_TYPE_WIN32=SERVICE_TYPE_WIN32_OWN_PROCESS|SERVICE_TYPE_WIN32_SHARE_PROCESS;
&lt;br&gt;&amp;nbsp;	const int SERVICE_TYPE_INTERACTIVE_PROCESS = 0x100;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	typedef [public,bitmap32bit] bitmap {
&lt;br&gt;-		SV_TYPE_WORKSTATION &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000001,
&lt;br&gt;-		SV_TYPE_SERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00000002,
&lt;br&gt;-		SV_TYPE_SQLSERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000004,
&lt;br&gt;-		SV_TYPE_DOMAIN_CTRL &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000008,
&lt;br&gt;-		SV_TYPE_DOMAIN_BAKCTRL &amp;nbsp; &amp;nbsp;= 0x00000010,
&lt;br&gt;-		SV_TYPE_TIME_SOURCE &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000020,
&lt;br&gt;-		SV_TYPE_AFP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000040,
&lt;br&gt;-		SV_TYPE_NOVELL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00000080,
&lt;br&gt;-
&lt;br&gt;-		SV_TYPE_DOMAIN_MEMBER &amp;nbsp; &amp;nbsp; = 0x00000100,
&lt;br&gt;-		SV_TYPE_PRINTQ_SERVER &amp;nbsp; &amp;nbsp; = 0x00000200,
&lt;br&gt;-		SV_TYPE_DIALIN_SERVER &amp;nbsp; &amp;nbsp; = 0x00000400,
&lt;br&gt;-		SV_TYPE_SERVER_UNIX &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00000800,
&lt;br&gt;-		SV_TYPE_NT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00001000,
&lt;br&gt;-		SV_TYPE_WFW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00002000,
&lt;br&gt;-		SV_TYPE_SERVER_MFPN &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00004000,
&lt;br&gt;-		SV_TYPE_SERVER_NT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x00008000,
&lt;br&gt;-		SV_TYPE_POTENTIAL_BROWSER = 0x00010000,
&lt;br&gt;-		SV_TYPE_BACKUP_BROWSER &amp;nbsp; &amp;nbsp;= 0x00020000,
&lt;br&gt;-		SV_TYPE_MASTER_BROWSER &amp;nbsp; &amp;nbsp;= 0x00040000,
&lt;br&gt;-		SV_TYPE_DOMAIN_MASTER &amp;nbsp; &amp;nbsp; = 0x00080000,
&lt;br&gt;-		SV_TYPE_SERVER_OSF &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00100000,
&lt;br&gt;-		SV_TYPE_SERVER_VMS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00200000,
&lt;br&gt;-		SV_TYPE_WIN95_PLUS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00400000,
&lt;br&gt;-		SV_TYPE_DFS_SERVER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x00800000,
&lt;br&gt;-		SV_TYPE_ALTERNATE_XPORT &amp;nbsp; = 0x20000000,
&lt;br&gt;-		SV_TYPE_LOCAL_LIST_ONLY &amp;nbsp; = 0x40000000,
&lt;br&gt;-		SV_TYPE_DOMAIN_ENUM &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0x80000000
&lt;br&gt;-	} svcctl_ServerType;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;	const uint32 SV_TYPE_ALL	= 0xFFFFFFFF;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/*****************/
&lt;br&gt;diff --git a/librpc/idl/winreg.idl b/librpc/idl/winreg.idl
&lt;br&gt;index f1f4dfb..c2dbccc 100644
&lt;br&gt;--- a/librpc/idl/winreg.idl
&lt;br&gt;+++ b/librpc/idl/winreg.idl
&lt;br&gt;@@ -2,7 +2,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;winreg interface definition
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;lsa.idl&amp;quot;, &amp;quot;security.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;security.idl&amp;quot;, &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ 
&lt;br&gt;&amp;nbsp; &amp;nbsp;uuid(&amp;quot;338cd001-2244-31f1-aaaa-900038001003&amp;quot;),
&lt;br&gt;diff --git a/librpc/idl/wkssvc.idl b/librpc/idl/wkssvc.idl
&lt;br&gt;index 9e92ed7..9c8694d 100644
&lt;br&gt;--- a/librpc/idl/wkssvc.idl
&lt;br&gt;+++ b/librpc/idl/wkssvc.idl
&lt;br&gt;@@ -4,7 +4,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;wkssvc interface definitions
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-import &amp;quot;srvsvc.idl&amp;quot;, &amp;quot;lsa.idl&amp;quot;;
&lt;br&gt;+import &amp;quot;misc.idl&amp;quot;, &amp;quot;shared.idl&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;[ uuid(&amp;quot;6bffd098-a112-3610-9833-46c3f87e345a&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp;version(1.0),
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26258722/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Impossible-to-load-ndr_*-as-shared-objects-%3A-%28-tp26256609p26258722.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256609</id>
	<title>Impossible to load ndr_* as shared objects :-(</title>
	<published>2009-11-08T10:45:22Z</published>
	<updated>2009-11-08T10:45:22Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">Hi!
&lt;br&gt;&lt;br&gt;After some weekends of work disentangling the ndr tables
&lt;br&gt;from the rest of the code I had to figure out that it is
&lt;br&gt;impossible to load them as shared objects: lsa_String and
&lt;br&gt;other datatypes are everywhere.
&lt;br&gt;&lt;br&gt;Just in case someone wondered about the revert checkins that
&lt;br&gt;just flew in, they were in preparation and are not pretty
&lt;br&gt;worthless.
&lt;br&gt;&lt;br&gt;On lesson learnt: Never push anything until the feature you
&lt;br&gt;want is 100% done :-((
&lt;br&gt;&lt;br&gt;Sorry for the noise.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26256609/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Impossible-to-load-ndr_*-as-shared-objects-%3A-%28-tp26256609p26256609.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256427</id>
	<title>suddenly doesn't work with the username and password in credentials=... in the mount line</title>
	<published>2009-11-08T10:18:50Z</published>
	<updated>2009-11-08T10:18:50Z</updated>
	<author>
		<name>Kin Yip</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm using Scientific Linux 5.3 (~ RedHat Enterprise 5.3).
&lt;br&gt;&lt;br&gt;After a reboot today, I probably have switched to a new kernel, &amp;quot;uname 
&lt;br&gt;-a&amp;quot; gives :
&lt;br&gt;&lt;br&gt;Linux yipkin.c-ad.bnl.gov 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:22:26 
&lt;br&gt;EDT 2009 i686 i686 i386 GNU/Linux
&lt;br&gt;&lt;br&gt;Somehow, the auto-mounting with cifs for the following line in 
&lt;br&gt;/etc/fstab doesn't work but it used to work :
&lt;br&gt;&lt;br&gt;//c-adweb/data &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/mnt/c-adweb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cifs &amp;nbsp; &amp;nbsp;
&lt;br&gt;domain=BNL,credentials=/root/.credentials,gid=kinyip,uid=kinyip 0 0
&lt;br&gt;&lt;br&gt;I see error in /var/log/message:
&lt;br&gt;Nov &amp;nbsp;8 13:11:50 yipkin kernel: Status code returned 0xc000006d 
&lt;br&gt;NT_STATUS_LOGON_FAILURE
&lt;br&gt;Nov &amp;nbsp;8 13:11:50 yipkin kernel: &amp;nbsp;CIFS VFS: Send error in SessSetup = -13
&lt;br&gt;Nov &amp;nbsp;8 13:11:50 yipkin kernel: &amp;nbsp;CIFS VFS: cifs_mount failed w/return 
&lt;br&gt;code = -13
&lt;br&gt;&lt;br&gt;Using the command :
&lt;br&gt;&amp;nbsp; &amp;nbsp;mount -t cifs -o 
&lt;br&gt;domain=BNL,credentials=/root/.credentials,gid=500,uid=500 &amp;nbsp;
&lt;br&gt;//c-adweb/data /mnt/c-adweb
&lt;br&gt;&lt;br&gt;would get me :
&lt;br&gt;mount error 13 = Permission denied
&lt;br&gt;Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
&lt;br&gt;&lt;br&gt;And I can see the same errors in /var/log/message (or dmesg).
&lt;br&gt;&lt;br&gt;If I do &amp;quot;mount -t cifs -o domain=BNL,user=kinyip,gid=500,uid=500 &amp;nbsp;
&lt;br&gt;//c-adweb/data /mnt/c-adweb&amp;quot;, it would ask me for password and
&lt;br&gt;then it'd mount successfully !!
&lt;br&gt;&lt;br&gt;In my file /root/.credentials &amp;nbsp;(&amp;quot;ls&amp;quot; would have : -rw------- 1 root root 
&lt;br&gt;39 Nov &amp;nbsp;8 13:02 /root/.credentials ), it's like
&lt;br&gt;username=kinyip
&lt;br&gt;password=$.....
&lt;br&gt;&lt;br&gt;My first character of my password is $ and I'm wondering whether this is 
&lt;br&gt;creating trouble ???? &amp;nbsp;I've tried &amp;quot;\$....&amp;quot; but it doesn't help.
&lt;br&gt;&lt;br&gt;Any idea ???
&lt;br&gt;&lt;br&gt;Kin
&lt;br&gt;_______________________________________________
&lt;br&gt;linux-cifs-client mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256427&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux-cifs-client@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux-cifs-client&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux-cifs-client&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-cifs-client-f13155.html&quot; embed=&quot;fixTarget[13155]&quot; target=&quot;_top&quot; &gt;Samba - linux-cifs-client&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/suddenly-doesn%27t-work-with-the-username-and-password-in-credentials%3D...-in-the-mount-line-tp26256427p26256427.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256100</id>
	<title>Re: dup error of rsync 3.0.6-1 under cygwin 1.7.0-62 and 63</title>
	<published>2009-11-08T09:53:32Z</published>
	<updated>2009-11-08T09:53:32Z</updated>
	<author>
		<name>Eliot Moss</name>
	</author>
	<content type="html">Eliot Moss wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have used earlier rsync on cygwin successfully for a
&lt;br&gt;&amp;gt; long. I have now moved to cygwin 1.7.0, which required
&lt;br&gt;&amp;gt; moving to rsync 3.0.6-1 at the same time. (The -1 is
&lt;br&gt;&amp;gt; for minor cygwin-specific patches.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I do almost any command with rsync, such as the one
&lt;br&gt;&amp;gt; below, it breaks at a dup2 after a fork in pipe.c (routine
&lt;br&gt;&amp;gt; piped_child). Windows gives error code 6, which is translated
&lt;br&gt;&amp;gt; by cygwin to errno 9 = EBADF, and rsync then terminates.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync -avzuP foo roc:talks/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Even
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync -r .
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; fails the same way, though it does not need a network
&lt;br&gt;&amp;gt; connection.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Steven Monai suggests that the problem may be a mismatch
&lt;br&gt;&amp;gt; in protocol (30 versus 29), though I think the last command
&lt;br&gt;&amp;gt; scuttles that possibility. I think it has something to do
&lt;br&gt;&amp;gt; with cygwin, since cygwin 1.5 seemed ok, but it could be
&lt;br&gt;&amp;gt; a combination of changes un rsync and cygwin ...
&lt;/div&gt;&lt;br&gt;Thought I'd give the rsync HEAD a try on this, since it
&lt;br&gt;does include changes in the I/O part of the world. It fails
&lt;br&gt;in exactly the same way ... (but in io.c, of course).
&lt;br&gt;&lt;br&gt;Cheers -- Eliot
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dup-error-of-rsync-3.0.6-1-under-cygwin-1.7.0-62-and-63-tp26256001p26256100.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256001</id>
	<title>dup error of rsync 3.0.6-1 under cygwin 1.7.0-62 and 63</title>
	<published>2009-11-08T09:36:34Z</published>
	<updated>2009-11-08T09:36:34Z</updated>
	<author>
		<name>Eliot Moss</name>
	</author>
	<content type="html">I have used earlier rsync on cygwin successfully for a
&lt;br&gt;long. I have now moved to cygwin 1.7.0, which required
&lt;br&gt;moving to rsync 3.0.6-1 at the same time. (The -1 is
&lt;br&gt;for minor cygwin-specific patches.)
&lt;br&gt;&lt;br&gt;When I do almost any command with rsync, such as the one
&lt;br&gt;below, it breaks at a dup2 after a fork in pipe.c (routine
&lt;br&gt;piped_child). Windows gives error code 6, which is translated
&lt;br&gt;by cygwin to errno 9 = EBADF, and rsync then terminates.
&lt;br&gt;&lt;br&gt;rsync -avzuP foo roc:talks/
&lt;br&gt;&lt;br&gt;Even
&lt;br&gt;&lt;br&gt;rsync -r .
&lt;br&gt;&lt;br&gt;fails the same way, though it does not need a network
&lt;br&gt;connection.
&lt;br&gt;&lt;br&gt;Steven Monai suggests that the problem may be a mismatch
&lt;br&gt;in protocol (30 versus 29), though I think the last command
&lt;br&gt;scuttles that possibility. I think it has something to do
&lt;br&gt;with cygwin, since cygwin 1.5 seemed ok, but it could be
&lt;br&gt;a combination of changes un rsync and cygwin ...
&lt;br&gt;&lt;br&gt;Best wishes -- Eliot Moss
&lt;br&gt;==============================================================================
&lt;br&gt;J. Eliot B. Moss, Professor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.cs.umass.edu/~moss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cs.umass.edu/~moss&lt;/a&gt;&amp;nbsp; &amp;nbsp; www
&lt;br&gt;Director, Arch. and Lang. Impl. Lab. &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-4206 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;voice
&lt;br&gt;Department of Computer Science &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-695-4226 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cell
&lt;br&gt;140 Governor's Drive, Room 372 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-1249 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fax
&lt;br&gt;University of Massachusetts at Amherst &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256001&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;moss@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;email
&lt;br&gt;Amherst, MA &amp;nbsp;01003-9264 &amp;nbsp;USA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+1-413-545-2746 Laurie Downey &amp;nbsp;sec'y
&lt;br&gt;==============================================================================
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dup-error-of-rsync-3.0.6-1-under-cygwin-1.7.0-62-and-63-tp26256001p26256001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26255395</id>
	<title>Hi guys</title>
	<published>2009-11-08T08:43:02Z</published>
	<updated>2009-11-08T08:43:02Z</updated>
	<author>
		<name>Nazeem</name>
	</author>
	<content type="html">I am testing samba4 Alpha8 which I can say is an awesome progress it is very stable. But I have a Windows 2000 Domain controller and I want to replicate it to Samba4 domain controller. Does anybody know hw to do this.&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hi-guys-tp26255395p26255395.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26254124</id>
	<title>Re: Desiring to set up Windows Vista and Linux Fedora Core 4</title>
	<published>2009-11-08T06:14:12Z</published>
	<updated>2009-11-08T06:14:12Z</updated>
	<author>
		<name>Michael Wood-8</name>
	</author>
	<content type="html">2009/11/7 Barry L. Bond &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254124&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bbond@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Michael and everyone else!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Something else you might like to try is backing up your smb.conf file
&lt;br&gt;&amp;gt;&amp;gt; and starting very simply based on this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2554870&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2554870&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     Here is my latest attempt at an smb.conf file, set up almost exactly as in
&lt;br&gt;&amp;gt; this web page, and I have since added just a couple of things:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;&amp;lt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; # Global parameters
&lt;br&gt;&amp;gt; [global]
&lt;br&gt;&amp;gt;   workgroup = WORKGROUP
&lt;br&gt;&amp;gt;   netbios name = BARRYCON
&lt;br&gt;&amp;gt;   interfaces = eth0
&lt;br&gt;&amp;gt;        hosts allow = 192.168.1. 192.168.2. 127.
&lt;br&gt;&amp;gt;   security = share
&lt;br&gt;&amp;gt;        printcap name = cups
&lt;br&gt;&amp;gt;   disable spoolss = Yes
&lt;br&gt;&amp;gt;   show add printer wizard = No
&lt;br&gt;&amp;gt;   printing = cups
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [printers]
&lt;br&gt;&amp;gt;        comment = All Printers
&lt;br&gt;&amp;gt;        path = /var/spool/samba
&lt;br&gt;&amp;gt;   guest ok = Yes
&lt;br&gt;&amp;gt;        printable = Yes
&lt;br&gt;&amp;gt;   use client driver = Yes
&lt;br&gt;&amp;gt;        browseable = No
&lt;br&gt;&amp;gt; &amp;lt;&amp;lt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     I don't think I'm communicating at all between the Windows Vista system
&lt;br&gt;&amp;gt; and the Linux system.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     I think I need to set up something in my Advanced portion of my D-Link
&lt;br&gt;&amp;gt; router.
&lt;/div&gt;&lt;br&gt;Most likely your D-Link router has a built in 4 port switch and does
&lt;br&gt;not control access between these 4 ports, so I doubt you need to do
&lt;br&gt;anything on the D-Link router.
&lt;br&gt;&lt;br&gt;&amp;gt;     For example, I have a GadSpot DVR set up, with the two ports mapped.  For
&lt;br&gt;&amp;gt; example, one port is 8080, so I have:
&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;My understanding is that this is to allow you to connect to your DVR
&lt;br&gt;from the Internet. &amp;nbsp;So unless you want to connect to Samba from the
&lt;br&gt;Internet, I very much doubt you need to configure anything on the
&lt;br&gt;D-Link router.
&lt;br&gt;&lt;br&gt;&amp;gt;     What port(s) should I allow for Samba?
&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;See Eero's message. &amp;nbsp;However, I think this could be leading you down
&lt;br&gt;the wrong path.
&lt;br&gt;&lt;br&gt;First make sure you can ping the Ultra 30 from the Windows box and
&lt;br&gt;vice versa. &amp;nbsp;Then make sure you can ping the Linux box from the Ultra
&lt;br&gt;30 and vice versa. &amp;nbsp;Then make sure you can ping the Linux box from the
&lt;br&gt;Window box and vice versa.
&lt;br&gt;&lt;br&gt;For the above to work, you may have to disable firewalls on the
&lt;br&gt;Windows box, the Linux box and the Ultra 30. &amp;nbsp;Of course you could also
&lt;br&gt;allow the necessary things in the firewalls instead of disabling them.
&lt;br&gt;&lt;br&gt;Also, the Ultra 30 must be configured to route traffic between its
&lt;br&gt;interfaces. &amp;nbsp;If you can connect to the Internet from the Linux box
&lt;br&gt;then this should be OK.
&lt;br&gt;&lt;br&gt;I think you should configure the Windows box to use the Linux box as a
&lt;br&gt;WINS server after making sure that your smb.conf file has &amp;quot;wins
&lt;br&gt;support = yes&amp;quot; in the global section.
&lt;br&gt;&lt;br&gt;I hope this gets you a bit further.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254124&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esiotrot@...&lt;/a&gt;&amp;gt;
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Desiring-to-set-up-Windows-Vista-and-Linux-Fedora-Core-4-tp25725792p26254124.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26254039</id>
	<title>Re: Desiring to set up Windows Vista and Linux Fedora Core 4</title>
	<published>2009-11-08T06:02:50Z</published>
	<updated>2009-11-08T06:02:50Z</updated>
	<author>
		<name>Michael Wood-8</name>
	</author>
	<content type="html">2009/10/24 Barry L. Bond &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bbond@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;[...]
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Oct 10, 2009 at 03:45:17PM +0200, Michael Wood wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     Here is my current smb.conf file:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;lt;&amp;lt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; # Samba config file created using SWAT
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; # from 127.0.0.1 (127.0.0.1)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; # Date: 2009/10/03 00:37:16
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; # Global parameters
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; [global]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;        server string = Windows in Linux - VMware
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;        interfaces = eth0, vmnet1, vmnet8
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I see you are restricting Samba to the above interfaces.  Which
&lt;br&gt;&amp;gt;&amp;gt; interface is your Windows machine plugged into?  Your hosts allow line
&lt;br&gt;&amp;gt;&amp;gt; leads me to suspect you might have another ethernet interface in the
&lt;br&gt;&amp;gt;&amp;gt; machine (unless the other 192.168.x.y network is allocated to VMware.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     The Windows box is plugged into my D-Link router, as it has one
&lt;br&gt;&amp;gt; network interface connection and I also access the Internet with it.
&lt;/div&gt;&lt;br&gt;It would be a lot easier for people to follow if you provided an ASCII
&lt;br&gt;art diagram of all the machine and routers involved, but I have drawn
&lt;br&gt;your network on a piece of paper based on your description.
&lt;br&gt;&lt;br&gt;It seems your Linux box only has one network card, right? &amp;nbsp;And are you
&lt;br&gt;trying to print from the Windows machine connected to your D-Link
&lt;br&gt;router? &amp;nbsp;Or from a Virtual machine running under VMware on the Linux
&lt;br&gt;box?
&lt;br&gt;&lt;br&gt;Your interfaces line appears to specify all possible interfaces other
&lt;br&gt;than lo anyway, so you may as well leave it out.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;        printcap name = /etc/printcap
&lt;br&gt;[...]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;        cups options = raw
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are you using cups?  The &amp;quot;printcap name&amp;quot; above leads me to believe you
&lt;br&gt;&amp;gt;&amp;gt; are not using cups.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     Yes.  :-)  Who knows... when I first set up my FC4 Linux system, I
&lt;br&gt;&amp;gt; wasn't using cups, but I installed it soon afterward.  That may have been
&lt;br&gt;&amp;gt; leftover from then, but it was working!  :-)
&lt;br&gt;&lt;br&gt;Well, if you are using CUPS, you could set up an IPP printer on the
&lt;br&gt;Windows box and bypass Samba completely. &amp;nbsp;In the &amp;quot;Add Printer Wizard&amp;quot;
&lt;br&gt;you tell it to add a network printer and on the next screen choose the
&lt;br&gt;&amp;quot;Connect to a printer on the Internet...&amp;quot; option (XP. &amp;nbsp;Not sure if
&lt;br&gt;it's the same for Vista). &amp;nbsp;The URL should be something like:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://192.168.2.1:631/printers/HP9110&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://192.168.2.1:631/printers/HP9110&lt;/a&gt;&lt;br&gt;&lt;br&gt;(depending on what name the printer has been given in CUPS.)
&lt;br&gt;&lt;br&gt;Try browsing to &lt;a href=&quot;http://127.0.0.1:631&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:631&lt;/a&gt;&amp;nbsp;on the Linux box to see if CUPS is running.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&amp;gt;     I just typed &amp;quot;\\192.168.2.1\HP9110&amp;quot; in the text box and I clicked the
&lt;br&gt;&amp;gt; [Next] button.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     The dialog box says &amp;quot;Connecting to HP9110 on 192.168.2.1&amp;quot;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     After a delay, it eventually brings up another dialog box that says
&lt;br&gt;&amp;gt; &amp;quot;Windows cannot connect to the printer.  Make sure that you have typed the
&lt;br&gt;&amp;gt; name correctly, and that the printer is connected to network.&amp;quot;
&lt;br&gt;&lt;br&gt;Perhaps you should see if you can telnet to the TCP ports mentioned by
&lt;br&gt;Eero from the Ultra 30. &amp;nbsp;It would be better to test from Vista, but
&lt;br&gt;I've been told Vista does not have a telnet client built in.
&lt;br&gt;Otherwise you could download something like PuTTY and see if you can
&lt;br&gt;connect to those ports from the Vista machine.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;     Trying the third option, &amp;quot;Add a printer using a TCP/IP address or
&lt;br&gt;&amp;gt; hostname&amp;quot;, I click the [Next] button.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     For &amp;quot;Device type&amp;quot; I have left it at &amp;quot;Autodetect&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     For Hostname or IP address, I'm using the IP of the Linux system:
&lt;br&gt;&amp;gt; 192.168.2.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     The third line is &amp;quot;Portname&amp;quot;.  (I have never done it this way
&lt;br&gt;&amp;gt; before.)  At the moment, it has &amp;quot;192.168.2.1&amp;quot; which it put there as I
&lt;br&gt;&amp;gt; typed in the IP address in the second line, and it adds a &amp;quot;_1&amp;quot;.  (So the
&lt;br&gt;&amp;gt; entire item is:  192.168.2.1_1
&lt;/div&gt;&lt;br&gt;Perhaps this is the Vista equivalent of the XP &amp;quot;Connect to a printer
&lt;br&gt;on the Internet or on a home or office network&amp;quot; option. &amp;nbsp;If so, you'll
&lt;br&gt;want to try port 631 (assuming you are running CUPS on the Linux box.)
&lt;br&gt;&amp;nbsp;I'm not sure if this is what is meant by the above, though, and there
&lt;br&gt;should be somewhere to put in /printers/HP9110 or something like that
&lt;br&gt;too if it is.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; What does the following give you:
&lt;br&gt;&amp;gt;&amp;gt; rpm -qf /usr/bin/lpstat
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; or maybe:
&lt;br&gt;&amp;gt;&amp;gt; rpm -qf /usr/sbin/lpstat
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (I haven't run an rpm-based distribution in a while...)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     The first rpm gave me &amp;quot;cups-1.1.23-15&amp;quot;.  The second one (with /sbin)
&lt;br&gt;&amp;gt; said &amp;quot;No such file or directory&amp;quot;.
&lt;/div&gt;&lt;br&gt;OK, so it seems that CUPS is installed. &amp;nbsp;Or at least part of it.
&lt;br&gt;&lt;br&gt;What does &amp;quot;rpm -qa | grep cups&amp;quot; give you?
&lt;br&gt;&lt;br&gt;&amp;gt;     Actually, most of my Fedora Core system was installed by yum, and not
&lt;br&gt;&amp;gt; rpm.  (But, though it does an automatic update sometimes that I see in the
&lt;br&gt;&amp;gt; LogWatch that runs at 4:00 every morning, I'm having difficulty running it
&lt;br&gt;&amp;gt; myself right now.)
&lt;br&gt;&lt;br&gt;yum is just a front end to rpm.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; See if the Windows box can resolve the name of the Linux box:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; C:\&amp;gt;nbtstat -a barrycon
&lt;br&gt;[...]
&lt;br&gt;&amp;gt;     It says:  &amp;quot;Local Area Connection:
&lt;br&gt;&amp;gt;                Node IpAddress:  [192.168.1.102] Scope Id:  []
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;                      Host not found.&amp;quot;
&lt;br&gt;&lt;br&gt;OK, so name resolution is not working. &amp;nbsp;This is likely because you
&lt;br&gt;have the Windows box and the Linux box on different subnets. &amp;nbsp;You
&lt;br&gt;could try configuring the Windows box to use the Linux box as a WINS
&lt;br&gt;server. &amp;nbsp;Samba would have to be running as a WINS server.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; It should show the IP address and then a &amp;quot;NetBIOS Remote Machine Name Table&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also try:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; C:\&amp;gt;nbtstat -A 192.168.x.y
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (with the IP address of the Linux machine.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     I'm typing &amp;quot;nbtstat -a 192.168.2.1&amp;quot;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     ...and it says EXACTLY the same thing, after a slight delay.
&lt;/div&gt;&lt;br&gt;Note the capital A in my command. &amp;nbsp;When you query an IP address using
&lt;br&gt;nbtstat you need -A instead of -a.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Also see if this works from the Windows box:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; C:&amp;gt;ping barrycon
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     Typing &amp;quot;ping barrycon&amp;quot; displays (after a slight delay) &amp;quot;Ping request
&lt;br&gt;&amp;gt; could not find host barrycon.  Please check the name and try again.&amp;quot;
&lt;br&gt;&lt;br&gt;I would not expect this to work if &amp;quot;nbtstat -a barrycon&amp;quot; did not work.
&lt;br&gt;&lt;br&gt;&amp;gt;     I'm typing &amp;quot;ping 192.168.2.1&amp;quot;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     It says &amp;quot;Pinging 192.168.2.1 with 32 bytes of data:
&lt;br&gt;&amp;gt;     Request timed out.
&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;OK, so either you have a firewall blocking this (e.g. on the Ultra 30
&lt;br&gt;or on Linux) or the Window box does not know how to get to the
&lt;br&gt;192.168.2.0/24 network. &amp;nbsp;If it's the latter, add a route for
&lt;br&gt;192.168.2.0 netmask 255.255.255.0 to the Windows machine's network
&lt;br&gt;settings with a gateway of 192.168.1.201 (the IP of the Ultra 30 on
&lt;br&gt;the 192.168.1.x subnet).
&lt;br&gt;&lt;br&gt;Also check that you can ping 192.168.1.201 from the Window box.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Something else you might like to try is backing up your smb.conf file
&lt;br&gt;&amp;gt;&amp;gt; and starting very simply based on this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2554870&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2554870&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; See also the other examples on that page, but do not bother with the
&lt;br&gt;&amp;gt;&amp;gt; domain member and domain server sections.  They are most likely much
&lt;br&gt;&amp;gt;&amp;gt; more complicated than is necessary for what you want to know.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Of course that does assume you're using CUPS, so you might have to
&lt;br&gt;&amp;gt;&amp;gt; modify it a bit if you're not using CUPS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     Thank you!  I see the link, and I can't work much longer this morning (it's after
&lt;br&gt;&amp;gt; 1:00 Saturday morning), but I'll keep it and try it soon, also depending on what you and
&lt;br&gt;&amp;gt; others offer as additional suggestions from this post.  :-)
&lt;/div&gt;&lt;br&gt;I still think it would be worth trying to start with the simple config
&lt;br&gt;mentioned above, but your routing and firewalling should be correct
&lt;br&gt;first.
&lt;br&gt;&lt;br&gt;&amp;gt;     I am using CUPS.  It works great.
&lt;br&gt;&lt;br&gt;Well then you might be able to ignore Samba for the printing and just
&lt;br&gt;directly use CUPS, but again your routing (and firewalling, if any)
&lt;br&gt;will need to be correct first.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254039&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;esiotrot@...&lt;/a&gt;&amp;gt;
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Desiring-to-set-up-Windows-Vista-and-Linux-Fedora-Core-4-tp25725792p26254039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253646</id>
	<title>Re: Samba + LDAP error in windows xp while ACL</title>
	<published>2009-11-08T05:09:49Z</published>
	<updated>2009-11-08T05:09:49Z</updated>
	<author>
		<name>Gaiseric Vandal</name>
	</author>
	<content type="html">Did this use to work OK?
&lt;br&gt;&lt;br&gt;It sounds like samba is not properly mapping YOURDOMAIN\username in Windows
&lt;br&gt;to the underlying unix account. &amp;nbsp; &amp;nbsp;Do you create the unix accounts first or
&lt;br&gt;does samba automatically create them? &amp;nbsp;Either way, I think your LDAP entry
&lt;br&gt;for each user should include the unix uid number as well as the samba sid.
&lt;br&gt;&lt;br&gt;&lt;br&gt;What happens if you type &amp;quot;wbinfo -s SID
&lt;br&gt;S-1-5-21-4020846335-601350461-1468625926-27594?&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also, if I am reading this correctly, the log files seem to indicate two
&lt;br&gt;domains are involved here- &amp;nbsp;*-3986255151-* and *-4020846335-*
&lt;br&gt;&lt;br&gt;I have had problems getting the SID to unix id mapping stuff working
&lt;br&gt;properly with member samba servers (not with XP clients.) &amp;nbsp;Can you try
&lt;br&gt;removing and rejoining an XP machine to the domain?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253646&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253646&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-bounces@...&lt;/a&gt;]
&lt;br&gt;On Behalf Of D.Rajan
&lt;br&gt;Sent: Sunday, November 08, 2009 7:39 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253646&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;Subject: [Samba] Samba + LDAP error in windows xp while ACL
&lt;br&gt;&lt;br&gt;Dear all,
&lt;br&gt; 
&lt;br&gt; I am using Samba + PDC LDAP in a single server. From last month onward i am
&lt;br&gt;facing problem 
&lt;br&gt;When I set manualy the acl (setfacl -m g:group:rwx the_file)
&lt;br&gt;It's ok, the other domain member see the ACL
&lt;br&gt;&lt;br&gt;But when I set the acl with a Windows Workstation, that's don't work it
&lt;br&gt;gives the furnished error :
&lt;br&gt; 
&lt;br&gt;sysadm@sangam:/var/log/samba$ tailf log.r-sys-03703
&lt;br&gt; 
&lt;br&gt;[2009/11/08 17:54:05, 0] auth/auth_util.c:create_builtin_users(758)
&lt;br&gt;create_builtin_users: Failed to create Users
&lt;br&gt;[2009/11/08 17:54:09, 0] passdb/pdb_ldap.c:ldapuser2displayentry(4211)
&lt;br&gt;sid S-1-5-21-3986255151-1643105893-2919334401-3002 does not belong to our
&lt;br&gt;domain
&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;[2009/11/08 17:54:15, 0] auth/auth_util.c:create_builtin_users(758)
&lt;br&gt;create_builtin_users: Failed to create Users
&lt;br&gt;[2009/11/08 17:54:17, 0] smbd/posix_acls.c:create_canon_ace_lists(1438)
&lt;br&gt;create_canon_ace_lists: unable to map SID
&lt;br&gt;S-1-5-21-4020846335-601350461-1468625926-27594 to uid or gid.
&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt;C U Next Mail 
&lt;br&gt;Raj 
&lt;br&gt;&lt;br&gt;Take Care 
&lt;br&gt;HAVE A NICE DAY 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
&lt;br&gt;&lt;a href=&quot;http://in.yahoo.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://in.yahoo.com/&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Samba-%2B-LDAP-error-in-windows-xp-while-ACL-tp26253386p26253646.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253386</id>
	<title>Samba + LDAP error in windows xp while ACL</title>
	<published>2009-11-08T04:38:39Z</published>
	<updated>2009-11-08T04:38:39Z</updated>
	<author>
		<name>D.Rajan</name>
	</author>
	<content type="html">Dear all,
&lt;br&gt; 
&lt;br&gt; I am using Samba + PDC LDAP in a single server. From last month onward i am facing problem 
&lt;br&gt;When I set manualy the acl (setfacl -m g:group:rwx the_file)
&lt;br&gt;It's ok, the other domain member see the ACL
&lt;br&gt;&lt;br&gt;But when I set the acl with a Windows Workstation, that's don't work it gives the furnished error :
&lt;br&gt; 
&lt;br&gt;sysadm@sangam:/var/log/samba$ tailf log.r-sys-03703
&lt;br&gt; 
&lt;br&gt;[2009/11/08 17:54:05, 0] auth/auth_util.c:create_builtin_users(758)
&lt;br&gt;create_builtin_users: Failed to create Users
&lt;br&gt;[2009/11/08 17:54:09, 0] passdb/pdb_ldap.c:ldapuser2displayentry(4211)
&lt;br&gt;sid S-1-5-21-3986255151-1643105893-2919334401-3002 does not belong to our domain
&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;.
&lt;br&gt;[2009/11/08 17:54:15, 0] auth/auth_util.c:create_builtin_users(758)
&lt;br&gt;create_builtin_users: Failed to create Users
&lt;br&gt;[2009/11/08 17:54:17, 0] smbd/posix_acls.c:create_canon_ace_lists(1438)
&lt;br&gt;create_canon_ace_lists: unable to map SID S-1-5-21-4020846335-601350461-1468625926-27594 to uid or gid.
&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; 
&lt;br&gt; 
&lt;br&gt;C U Next Mail 
&lt;br&gt;Raj 
&lt;br&gt;&lt;br&gt;Take Care 
&lt;br&gt;HAVE A NICE DAY 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. &lt;a href=&quot;http://in.yahoo.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://in.yahoo.com/&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Samba-%2B-LDAP-error-in-windows-xp-while-ACL-tp26253386p26253386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251386</id>
	<title>Re: exit status 13 in version 3.1</title>
	<published>2009-11-07T22:57:40Z</published>
	<updated>2009-11-07T22:57:40Z</updated>
	<author>
		<name>Matt McCutchen-7</name>
	</author>
	<content type="html">On Sat, 2009-11-07 at 09:38 -0800, Wayne Davison wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 4, 2009 at 8:05 PM, Matt McCutchen
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251386&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; With commit 84c11e85a4c4a12ecacba24afe9617222e4361e6, I get
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; different
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output, but still not the desired &amp;quot;No space left on device&amp;quot;:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yeah, that's the long-standing issue where a fatal error on the server
&lt;br&gt;&amp;gt; side can cause the client side to get a socket error trying to write
&lt;br&gt;&amp;gt; to the socket before it has a chance to read the error(s) from the
&lt;br&gt;&amp;gt; socket. &amp;nbsp;The latest git archive finally has a fix for this.
&lt;/div&gt;&lt;br&gt;I tested commit 2907af472d1f33b3c422cb9f601c121b242aa9c7 and, again, the
&lt;br&gt;output is different but the problem is not fixed:
&lt;br&gt;&lt;br&gt;$ rsync-dev big-file small-fs/
&lt;br&gt;rsync: connection unexpectedly closed (146 bytes received so far) [sender]
&lt;br&gt;&lt;br&gt;$ rsync-dev --msgs2stderr big-file small-fs/
&lt;br&gt;rsync: write failed on &amp;quot;/PATH/TO/small-fs/big-file&amp;quot;: No space left on device (28)
&lt;br&gt;rsync: connection unexpectedly closed (36 bytes received so far) [sender]
&lt;br&gt;rsync error: error in file IO (code 11) at io.c(181) [receiver=3.1.0dev]
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exit-status-13-in-version-3.1-tp26115092p26251386.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26250358</id>
	<title>Community Wireless in Canberra</title>
	<published>2009-11-07T17:54:48Z</published>
	<updated>2009-11-07T17:54:48Z</updated>
	<author>
		<name>Seabird</name>
	</author>
	<content type="html">Gday Canberrians,
&lt;br&gt;&lt;br&gt;I have recently moved from Adelaide to Canberra and have gained a
&lt;br&gt;permanent job here.
&lt;br&gt;&lt;br&gt;I used to run the Air-Stream-Pasadena AP, and have been involved in the
&lt;br&gt;community wireless phenomenon for years.. since about 2003.
&lt;br&gt;&lt;br&gt;I have contacted Daniel and have discussed a few things and we are
&lt;br&gt;pretty intereted in getting things going here.
&lt;br&gt;&lt;br&gt;I am getting the bits and pieces of kit required to setup an AP in the
&lt;br&gt;Campbell area ASAP. I am located on top of a hill behind Russell and
&lt;br&gt;have pretty good LoS to Civic, Parliament House, National Muesuem,
&lt;br&gt;Questacon, and the general lake area.
&lt;br&gt;&lt;br&gt;So if anyone is near by or just interested in setting something up.
&lt;br&gt;Contact me!
&lt;br&gt;&lt;br&gt;Its really annoying not having a free community network here in Canberra!!!
&lt;br&gt;&lt;br&gt;Seabird
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---wireless-f13168.html&quot; embed=&quot;fixTarget[13168]&quot; target=&quot;_top&quot; &gt;Samba - wireless&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Community-Wireless-in-Canberra-tp26250358p26250358.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248831</id>
	<title>send error in close -9</title>
	<published>2009-11-07T13:43:43Z</published>
	<updated>2009-11-07T13:43:43Z</updated>
	<author>
		<name>AwakeN</name>
	</author>
	<content type="html">i'm trying to get some help regarding this error message running debian
&lt;br&gt;lenny 5. &amp;nbsp;using CIFS and have a windows share (external HD) mounted in
&lt;br&gt;fstab, mount works when copying files to/from. &amp;nbsp;but when doing extensive
&lt;br&gt;read/writes (webserving from the mount) I get the error &amp;quot;send error in close
&lt;br&gt;= -9&amp;quot; it shows up in tty0 obviously inaccessable for a second (the mounted
&lt;br&gt;drive). &amp;nbsp;Any help would be greatly appreciated I can post whatever info is
&lt;br&gt;needed
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/send-error-in-close--9-tp26248831p26248831.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248247</id>
	<title>Re: samba &amp; unix group permissions problems</title>
	<published>2009-11-07T12:21:43Z</published>
	<updated>2009-11-07T12:21:43Z</updated>
	<author>
		<name>Mariano Absatz</name>
	</author>
	<content type="html">On Sat, Nov 7, 2009 at 07:32, vishesh kumar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248247&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linuxtovishesh@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Dear mariano
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Why you not using 'force group' parameter . This will set group owner of
&lt;br&gt;&amp;gt; newly created folder correctly.
&lt;br&gt;That I tried to no avail... it didn't work either :-(
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Mariano Absatz - El Baby
&lt;br&gt;www.clueless.com.ar
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/samba---unix-group-permissions-problems-tp26191629p26248247.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248224</id>
	<title>Re: file sorting of Linux samba directory from Windows	Vista</title>
	<published>2009-11-07T12:19:09Z</published>
	<updated>2009-11-07T12:19:09Z</updated>
	<author>
		<name>Jeremy Allison</name>
	</author>
	<content type="html">On Sat, Nov 07, 2009 at 01:31:47PM -0600, Seb wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When listing a directory from a Linux samba directory in a DOS prompt,
&lt;br&gt;&amp;gt; with the DOS command &amp;quot;dir&amp;quot; (or &amp;quot;dir /b /n&amp;quot;), the sorting is completely
&lt;br&gt;&amp;gt; messed up, compared to the same command called on a local directory. &amp;nbsp;Is
&lt;br&gt;&amp;gt; this something that is under control from samba, or is it completely
&lt;br&gt;&amp;gt; on the Windows side? &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;Samba doesn't sort directory listings (think of what
&lt;br&gt;that would cost with a 100,000 file directory).
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/file-sorting-of-Linux-samba-directory-from-Windows-Vista-tp26247850p26248224.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248213</id>
	<title>Re: [SCM] Samba Shared Repository - branch master updated</title>
	<published>2009-11-07T12:17:33Z</published>
	<updated>2009-11-07T12:17:33Z</updated>
	<author>
		<name>Jeremy Allison</name>
	</author>
	<content type="html">On Sat, Nov 07, 2009 at 04:08:07AM -0600, Volker Lendecke wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The branch, master has been updated
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;via &amp;nbsp;5cdee7a... s3: Do the printing for DEBUGLEVEL&amp;gt;=10 centrally
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; from &amp;nbsp;843be3b... ldb_init: use constant for result of &amp;quot;ldb_setup_wellknown_attributes&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - Log -----------------------------------------------------------------
&lt;br&gt;&amp;gt; commit 5cdee7ae0565c08026b8845cd3090b20d8abc472
&lt;br&gt;&amp;gt; Author: Volker Lendecke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26248213&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vl@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: &amp;nbsp; Sat Nov 7 10:28:40 2009 +0100
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; s3: Do the printing for DEBUGLEVEL&amp;gt;=10 centrally
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 12 insertions(+), 10651 deletions(-)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I think that says it all :-)
&lt;/div&gt;&lt;br&gt;Oh that's *awesome* - thanks :-).
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--SCM--Samba-Shared-Repository---branch-master-updated-tp26248213p26248213.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26247850</id>
	<title>file sorting of Linux samba directory from Windows Vista</title>
	<published>2009-11-07T11:31:47Z</published>
	<updated>2009-11-07T11:31:47Z</updated>
	<author>
		<name>Seb-28</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;When listing a directory from a Linux samba directory in a DOS prompt,
&lt;br&gt;with the DOS command &amp;quot;dir&amp;quot; (or &amp;quot;dir /b /n&amp;quot;), the sorting is completely
&lt;br&gt;messed up, compared to the same command called on a local directory. &amp;nbsp;Is
&lt;br&gt;this something that is under control from samba, or is it completely
&lt;br&gt;on the Windows side? &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Seb
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/file-sorting-of-Linux-samba-directory-from-Windows-Vista-tp26247850p26247850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26247024</id>
	<title>Ideas needed: getting error &quot;cannot set time on server ...&quot;</title>
	<published>2009-11-07T09:47:44Z</published>
	<updated>2009-11-07T09:47:44Z</updated>
	<author>
		<name>Lewis Brentano</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;Insufficient&amp;nbsp;permissions&quot;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;I am running a n rsync script on MAC OS 10.4 clients - runs OK with a Windows 2003 server but getting this error when talking to an&amp;nbsp;Apple&amp;nbsp;Server running OS X 10.5.7&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It is a&amp;nbsp;basic&amp;nbsp;rsync as follows: copying, with sync from client to server&amp;nbsp;volume&amp;nbsp;RETeensData that is mounted on the client&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;rsync -av /Users/Shared/'RE Teens Data'/ /Volumes/RETeensData/&quot;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Optima&quot;&gt;As newbie to rsync any ideas are&amp;nbsp;appreciated.&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Optima&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Optima&quot;&gt;Thanks,&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Optima&quot;&gt;Lew Brentano&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Optima&quot;&gt;Ripple&amp;nbsp;Effects, Inc&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 124.8px; text-indent: -124.9px; font: normal normal normal 12px/normal Verdana; &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ideas-needed%3A-getting-error-%22cannot-set-time-on-server-...%22-tp26247024p26247024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246908</id>
	<title>Re: exit status 13 in version 3.1</title>
	<published>2009-11-07T09:38:04Z</published>
	<updated>2009-11-07T09:38:04Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 4, 2009 at 8:05 PM, Matt McCutchen &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246908&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;With commit 84c11e85a4c4a12ecacba24afe9617222e4361e6, I get different&lt;br&gt;&lt;/div&gt;
output, but still not the desired &amp;quot;No space left on device&amp;quot;:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yeah, that&amp;#39;s the long-standing issue where a fatal error on the server side can cause the client side to get a socket error trying to write to the socket before it has a chance to read the error(s) from the socket.  The latest git archive finally has a fix for this.  It should make the exit messages much cleaner for an abnormally-exiting protocol 31 transfer, both receiving the final error from the server and exiting with the proper error code.  When an older client is talking to a new server, the error should also make it to the client, but the client will exit with the (sadly) traditional error about an unexpectedly closed connection.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;..wayne..&lt;br&gt;
&lt;br /&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exit-status-13-in-version-3.1-tp26115092p26246908.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245951</id>
	<title>Re: mount.cifs - &quot;Const&quot; warnings patch</title>
	<published>2009-11-07T07:45:45Z</published>
	<updated>2009-11-07T07:45:45Z</updated>
	<author>
		<name>Matthias Dieter Wallnöfer-3</name>
	</author>
	<content type="html">Hi Jeff!
&lt;br&gt;&lt;br&gt;Yeah, please apply! My mission of this patch(set) was to prevent &amp;quot;CONST&amp;quot; warnings. Your solution does it in a very elegant manner (I would have only introduced another discard-const macro - which is far from perfect). Therefore it should be perfectly okay!
&lt;br&gt;&lt;br&gt;Thanks for working with me on the CONST issue.
&lt;br&gt;&lt;br&gt;Matthias
&lt;br&gt;&lt;br&gt;--- Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt; schrieb am Sa, 7.11.2009:
&lt;br&gt;&lt;br&gt;Von: Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Betreff: Re: mount.cifs - &amp;quot;Const&amp;quot; warnings patch
&lt;br&gt;An: &amp;quot;Matthias Dieter Wallnöfer&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdw@...&lt;/a&gt;&amp;gt;
&lt;br&gt;CC: &amp;quot;Samba Technical Mailinglist&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-technical@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Datum: Samstag, 7. November 2009, 14:19
&lt;br&gt;&lt;br&gt;On Mon, 02 Nov 2009 21:36:19 +0100
&lt;br&gt;Matthias Dieter Wallnöfer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi Jeff,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sorry, sorry - sometimes I forget the attachments.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now it should be okay.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;No problem, I do the same thing sometimes.
&lt;br&gt;&lt;br&gt;The patch looks safe enough, but I wonder whether the problem is really
&lt;br&gt;in addmntent. Looking at a recent glibc, it doesn't look like addmntent
&lt;br&gt;ever changes any of the strings it gets passed. If any of them need to
&lt;br&gt;be reencoded, it uses alloca to get a new buffer and reencodes the
&lt;br&gt;string into that. Maybe the prototype for it should declare the struct
&lt;br&gt;as const.
&lt;br&gt;&lt;br&gt;Fixing it there though may be problematic. Assuming that not stripping
&lt;br&gt;off the const generates a warning, maybe it would be a little more
&lt;br&gt;clear to just declare a non-const variable to hold a &amp;quot;cifs&amp;quot; string and
&lt;br&gt;pass that in instead. Something like this maybe?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245951&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mount.cifs---%22Const%22-warnings-patch-tp26127804p26245951.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26245225</id>
	<title>Re: mount.cifs - &quot;Const&quot; warnings patch</title>
	<published>2009-11-07T05:19:44Z</published>
	<updated>2009-11-07T05:19:44Z</updated>
	<author>
		<name>Jeff Layton-4</name>
	</author>
	<content type="html">On Mon, 02 Nov 2009 21:36:19 +0100
&lt;br&gt;Matthias Dieter Wallnöfer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245225&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi Jeff,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sorry, sorry - sometimes I forget the attachments.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now it should be okay.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;No problem, I do the same thing sometimes.
&lt;br&gt;&lt;br&gt;The patch looks safe enough, but I wonder whether the problem is really
&lt;br&gt;in addmntent. Looking at a recent glibc, it doesn't look like addmntent
&lt;br&gt;ever changes any of the strings it gets passed. If any of them need to
&lt;br&gt;be reencoded, it uses alloca to get a new buffer and reencodes the
&lt;br&gt;string into that. Maybe the prototype for it should declare the struct
&lt;br&gt;as const.
&lt;br&gt;&lt;br&gt;Fixing it there though may be problematic. Assuming that not stripping
&lt;br&gt;off the const generates a warning, maybe it would be a little more
&lt;br&gt;clear to just declare a non-const variable to hold a &amp;quot;cifs&amp;quot; string and
&lt;br&gt;pass that in instead. Something like this maybe?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245225&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 13f490451f0bf536572a1f61cd0602410f8b1eff Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245225&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sat, 7 Nov 2009 08:15:53 -0500
&lt;br&gt;Subject: [PATCH] mount.cifs: get rid of CONST_DISCARD
&lt;br&gt;&lt;br&gt;Apparently, we need to strip the &amp;quot;const&amp;quot; attribute off of the mnt_fstype
&lt;br&gt;before passing it to addmntent to prevent a (somewhat bogus) compiler
&lt;br&gt;warning.
&lt;br&gt;&lt;br&gt;Rather than just stripping off the &amp;quot;const&amp;quot; attribute, clarify the code
&lt;br&gt;by declaring a new non-const char pointer that points to the same
&lt;br&gt;string. We can also use that same pointer in the mount(2) call too.
&lt;br&gt;&lt;br&gt;Signed-off-by: Jeff Layton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26245225&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;client/mount.cifs.c | &amp;nbsp; &amp;nbsp;7 +++----
&lt;br&gt;&amp;nbsp;1 files changed, 3 insertions(+), 4 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/client/mount.cifs.c b/client/mount.cifs.c
&lt;br&gt;index 3baaad7..a9c1827 100644
&lt;br&gt;--- a/client/mount.cifs.c
&lt;br&gt;+++ b/client/mount.cifs.c
&lt;br&gt;@@ -76,8 +76,6 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define MAX_UNC_LEN 1024
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#define CONST_DISCARD(type, ptr) &amp;nbsp; &amp;nbsp; &amp;nbsp;((type) ((void *) (ptr)))
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;#ifndef SAFE_FREE
&lt;br&gt;&amp;nbsp;#define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0)
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;@@ -123,6 +121,7 @@ static char * user_name = NULL;
&lt;br&gt;&amp;nbsp;static char * mountpassword = NULL;
&lt;br&gt;&amp;nbsp;char * domain_name = NULL;
&lt;br&gt;&amp;nbsp;char * prefixpath = NULL;
&lt;br&gt;+char *cifs_fstype = &amp;quot;cifs&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/* glibc doesn't have strlcpy, strlcat. Ensure we do. JRA. We
&lt;br&gt;&amp;nbsp; * don't link to libreplace so need them here. */
&lt;br&gt;@@ -1590,7 +1589,7 @@ mount_retry:
&lt;br&gt;&amp;nbsp;	if (verboseflag)
&lt;br&gt;&amp;nbsp;		fprintf(stderr, &amp;quot;\n&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (!fakemnt &amp;&amp; mount(dev_name, mountpoint, &amp;quot;cifs&amp;quot;, flags, options)) {
&lt;br&gt;+	if (!fakemnt &amp;&amp; mount(dev_name, mountpoint, cifs_fstype, flags, options)) {
&lt;br&gt;&amp;nbsp;		switch (errno) {
&lt;br&gt;&amp;nbsp;		case ECONNREFUSED:
&lt;br&gt;&amp;nbsp;		case EHOSTUNREACH:
&lt;br&gt;@@ -1638,7 +1637,7 @@ mount_retry:
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	mountent.mnt_fsname = dev_name;
&lt;br&gt;&amp;nbsp;	mountent.mnt_dir = mountpoint;
&lt;br&gt;-	mountent.mnt_type = CONST_DISCARD(char *,&amp;quot;cifs&amp;quot;);
&lt;br&gt;+	mountent.mnt_type = cifs_fstype;
&lt;br&gt;&amp;nbsp;	mountent.mnt_opts = (char *)malloc(220);
&lt;br&gt;&amp;nbsp;	if(mountent.mnt_opts) {
&lt;br&gt;&amp;nbsp;		char * mount_user = getusername();
&lt;br&gt;-- 
&lt;br&gt;1.6.0.6
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mount.cifs---%22Const%22-warnings-patch-tp26127804p26245225.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244583</id>
	<title>XP-machines cannot join Samba PDC with tdbsam</title>
	<published>2009-11-07T04:59:43Z</published>
	<updated>2009-11-07T04:59:43Z</updated>
	<author>
		<name>Heinz Allerberger</name>
	</author>
	<content type="html">High there ...
&lt;br&gt;&lt;br&gt;I cannot join my Samba PDC any longer with my XP-machines, I mean I'm 
&lt;br&gt;not be able to create new machine accounts.
&lt;br&gt;The existing machine-accounts in the tdb-database works properly, all 
&lt;br&gt;the existing XP-machines are joined without any problems. Only it isn't 
&lt;br&gt;possible to joint the Samba PCD with new machines...
&lt;br&gt;&lt;br&gt;My first Samba PDC-Configuration with this tdbsam as the passwd 
&lt;br&gt;backend, &amp;nbsp;with the same smb.conf as today (please have a look above) I 
&lt;br&gt;had run with an early version of Samba 3 on a 32bit Server in 2005 with 
&lt;br&gt;nearly 50 XP-machines as Domain-members. In 2006 I had the first 
&lt;br&gt;migration of a newer 64bit hardware, this was uncomplicated, all things 
&lt;br&gt;worked properly with meanwhile 150 XP-machines. Now I had a new 
&lt;br&gt;hardware-migration of a new 64bit-Server-hardware two weeks ago and I 
&lt;br&gt;run into some troubles.
&lt;br&gt;I did the migration in the same way as before. I stopped the old Server 
&lt;br&gt;and I copied the /etc/samba/smb.conf with all the scripts and the 
&lt;br&gt;/var/lib/samba with the tdb-database to the new Server-hardware.
&lt;br&gt;The new Server runs with Debian_version 5.0.3 (Lenny), before the old 
&lt;br&gt;hardware run with Debian_version 4.0 (Etch).
&lt;br&gt;The current Samba-Version is 3.2.5-4lenny7.
&lt;br&gt;&lt;br&gt;When I try to join the Domain with a XPSP3-Workstation and get the 
&lt;br&gt;demand &amp;quot;Enter the name and password of an account with permission to 
&lt;br&gt;join the domain&amp;quot; and fill in the user of the domainadmin and the 
&lt;br&gt;password, I get the answer &amp;quot;The following error occurred attempting to 
&lt;br&gt;join the domain &amp;quot;MYDOMAIN, the specified domain either does not exist or 
&lt;br&gt;could not be contacted&amp;quot;. But the Domain exists, this is a fact, all the 
&lt;br&gt;old XP-Machines, which are members &amp;nbsp;of the domain MYDOMAIN work properly.
&lt;br&gt;The user domadmin and the password are really correct, when I try login 
&lt;br&gt;on a XP-Workstation, which is an old member of the domain, then it works 
&lt;br&gt;properly, I can without problems login.
&lt;br&gt;&lt;br&gt;Have a look at my Domain-Administator rights:
&lt;br&gt;===============================
&lt;br&gt;/etc/passwd: domadmin:x:500:512:Domain Administrator 
&lt;br&gt;MYDOMAIN:/srv/data1/home1/domadmin:/bin/bash
&lt;br&gt;/etc/group domadmins:x:512:admin,domadmin
&lt;br&gt;&lt;br&gt;Unix username: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;domadmin
&lt;br&gt;NT username: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Account Flags: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[U &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;]
&lt;br&gt;User SID: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S-1-5-21-1656000120-2433418590-619812953-500
&lt;br&gt;lookup_global_sam_rid: looking up RID 512.
&lt;br&gt;pdb_getsampwrid (TDB): error looking up RID 512 by key RID_00000200.
&lt;br&gt;lookup_rids: Domain Admins:2
&lt;br&gt;Primary Group SID: &amp;nbsp; &amp;nbsp;S-1-5-21-1656000120-2433418590-619812953-512
&lt;br&gt;Full Name: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Domain Administrator MYDOMAIN
&lt;br&gt;Home Directory: &amp;nbsp; &amp;nbsp; &amp;nbsp; \\domainserver1\domadmin\win
&lt;br&gt;HomeDir Drive: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U:
&lt;br&gt;Logon Script: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon.cmd
&lt;br&gt;Profile Path: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \\domainserver1\profiles\domadmin
&lt;br&gt;Domain: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MYDOMAIN
&lt;br&gt;Account desc: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Workstations: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;Munged dial: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;Logon time: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0
&lt;br&gt;Logoff time: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;never
&lt;br&gt;Kickoff time: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; never
&lt;br&gt;Password last set: &amp;nbsp; &amp;nbsp;Fr, 06 Nov 2009 12:41:16 CET
&lt;br&gt;Password can change: &amp;nbsp;Fr, 06 Nov 2009 12:41:16 CET
&lt;br&gt;Password must change: never
&lt;br&gt;Last bad password &amp;nbsp; : 0
&lt;br&gt;Bad password count &amp;nbsp;: 0
&lt;br&gt;Logon hours &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------------------------
&lt;br&gt;domainserver1:~# net rpc rights list accounts -U domadmin -S 192.168.151.240
&lt;br&gt;Enter domadmin's password:
&lt;br&gt;MYDOMAIN\domadmin
&lt;br&gt;SeMachineAccountPrivilege
&lt;br&gt;SeTakeOwnershipPrivilege
&lt;br&gt;SeAddUsersPrivilege
&lt;br&gt;SeDiskOperatorPrivilege
&lt;br&gt;&lt;br&gt;BUILTIN\Print Operators
&lt;br&gt;No privileges assigned
&lt;br&gt;&lt;br&gt;BUILTIN\Account Operators
&lt;br&gt;No privileges assigned
&lt;br&gt;&lt;br&gt;BUILTIN\Backup Operators
&lt;br&gt;No privileges assigned
&lt;br&gt;&lt;br&gt;BUILTIN\Server Operators
&lt;br&gt;No privileges assigned
&lt;br&gt;&lt;br&gt;BUILTIN\Administrators
&lt;br&gt;SeMachineAccountPrivilege
&lt;br&gt;SeTakeOwnershipPrivilege
&lt;br&gt;SeBackupPrivilege
&lt;br&gt;SeRestorePrivilege
&lt;br&gt;SeRemoteShutdownPrivilege
&lt;br&gt;SePrintOperatorPrivilege
&lt;br&gt;SeAddUsersPrivilege
&lt;br&gt;SeDiskOperatorPrivilege
&lt;br&gt;&lt;br&gt;Everyone
&lt;br&gt;No privileges assigned
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Here are the globals of my smb.conf:
&lt;br&gt;[global]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unix charset = ISO8859-1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workgroup = MYDOMAIN
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios aliases = Server2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server string = %h
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; update encrypted = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; obey pam restrictions = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passdb backend = tdbsam
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passwd program = /usr/bin/passwd %u
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
&lt;br&gt;*Retype\snew\sUNIX\spassword:* %n\n .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; syslog = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log file = /var/log/samba/log.%m
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max log size = 1000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add user script = /usr/sbin/adduser.sh -p -u &amp;quot;%u&amp;quot; -n &amp;quot;%u&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete user script = /usr/sbin/userdel &amp;quot;%u&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add group script = /usr/local/bin/smbgrpadd.sh &amp;quot;%g&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete group script = /usr/sbin/groupdel &amp;quot;%g&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add user to group script = /usr/bin/gpasswd -a &amp;quot;%u&amp;quot; &amp;quot;%g&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete user from group script = /usr/bin/gpasswd -d &amp;quot;%u&amp;quot; &amp;quot;%g&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set primary group script = /usr/sbin/usermod -g &amp;quot;%g&amp;quot; &amp;quot;%u&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add machine script = /usr/sbin/addmachine.sh -u %u
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon script = logon.cmd
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon path = \\%N\profiles\%U
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon drive = U:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon home = \\%N\%U\win
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; domain logons = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; os level = 65
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preferred master = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; domain master = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dns proxy = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap ssl = no
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; panic action = /usr/share/samba/panic-action %d
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; invalid users = root
&lt;br&gt;---------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Here are some debug-information from the samba-log:
&lt;br&gt;[2009/11/06 14:34:59, &amp;nbsp;5] 
&lt;br&gt;passdb/secrets.c:secrets_fetch_trusted_domain_password(644)
&lt;br&gt;&amp;nbsp; secrets_fetch failed!
&lt;br&gt;[2009/11/06 14:34:59, &amp;nbsp;5] passdb/pdb_tdb.c:tdbsam_getsampwnam(911)
&lt;br&gt;&amp;nbsp; pdb_getsampwnam (TDB): error fetching database.
&lt;br&gt;&amp;nbsp; &amp;nbsp;Key: USER_root
&lt;br&gt;-------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Please help, I'm really desperate.
&lt;br&gt;&lt;br&gt;Heinz Allerberger
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XP-machines-cannot-join-Samba-PDC-with-tdbsam-tp26244583p26244583.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244547</id>
	<title>Re: rsync, excluding files w/certain characteristics</title>
	<published>2009-11-07T04:54:50Z</published>
	<updated>2009-11-07T04:54:50Z</updated>
	<author>
		<name>Carlos Carvalho-3</name>
	</author>
	<content type="html">Edward Peschko (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26244547&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;horos11@...&lt;/a&gt;) wrote on 6 November 2009 18:46:
&lt;br&gt;&amp;nbsp;&amp;gt;I was wondering - is there an option to rsync which allows you to
&lt;br&gt;&amp;nbsp;&amp;gt;exclude transfers of files with a certain size or other
&lt;br&gt;&amp;nbsp;&amp;gt;characteristics?
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;gt;I want to setup a 'partial' rsync mirror where I only pull files under
&lt;br&gt;&amp;nbsp;&amp;gt;5M, for example.. I see the option for including/excluding file names
&lt;br&gt;&amp;nbsp;&amp;gt;in the usage, but not file sizes..
&lt;br&gt;&lt;br&gt;They exist. See options --max-size and --min-size in the manual.
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync%2C-excluding-files-w-certain-characteristics-tp26241671p26244547.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243720</id>
	<title>Re: LDB: Patch for fixing counter variables</title>
	<published>2009-11-07T02:52:02Z</published>
	<updated>2009-11-07T02:52:02Z</updated>
	<author>
		<name>Matthias Dieter Wallnöfer-3</name>
	</author>
	<content type="html">Thanks Jelmer, for your clear explaination. I will drop the python part. To be honest I wasn't very about it.
&lt;br&gt;&lt;br&gt;Matthias
&lt;br&gt;&lt;br&gt;--- Jelmer Vernooij &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jelmer@...&lt;/a&gt;&amp;gt; schrieb am Sa, 7.11.2009:
&lt;br&gt;&lt;br&gt;Von: Jelmer Vernooij &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jelmer@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Betreff: Re: LDB: Patch for fixing counter variables
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdw@...&lt;/a&gt;
&lt;br&gt;CC: &amp;quot;Andrew Bartlett&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;&amp;gt;, &amp;quot;Samba Technical Mailinglist&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-technical@...&lt;/a&gt;&amp;gt;, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;idra@...&lt;/a&gt;
&lt;br&gt;Datum: Samstag, 7. November 2009, 11:02
&lt;br&gt;&lt;br&gt;Hi matthias,
&lt;br&gt;&lt;br&gt;On Sat, 2009-11-07 at 09:24 +0000, Matthias Dieter Wallnöfer wrote:
&lt;br&gt;&amp;gt; I don't have much time to chat now, so I submit you a new version of the patch: divided in C and python bindings.
&lt;br&gt;The Python binding changes are pointless. PyList_SetItem() takes an
&lt;br&gt;integer (not an unsigned integer), so changing this doesn't fix
&lt;br&gt;anything. If we really suspect we're going to run into ldb results or
&lt;br&gt;messages with more than billions of elements, we should just raise an
&lt;br&gt;exception if they don't fit in a Python list.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Jelmer
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- Andrew Bartlett &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;&amp;gt; schrieb am Sa, 7.11.2009:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Von: Andrew Bartlett &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Betreff: Re: LDB: Patch for fixing counter variables
&lt;br&gt;&amp;gt; An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdw@...&lt;/a&gt;
&lt;br&gt;&amp;gt; CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;idra@...&lt;/a&gt;, &amp;quot;Samba Technical Mailinglist&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-technical@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Datum: Samstag, 7. November 2009, 1:37
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Fri, 2009-11-06 at 21:19 +0000, Matthias Dieter Wallnöfer wrote:
&lt;br&gt;&amp;gt; &amp;gt; Most of our LDB objects are stored in structures containing a dynamic
&lt;br&gt;&amp;gt; &amp;gt; array and a counter. The counter variable is typically an &amp;quot;unsigned
&lt;br&gt;&amp;gt; &amp;gt; integer&amp;quot;. Until here it's all okay. But with the major part of the
&lt;br&gt;&amp;gt; &amp;gt; counter variables (i, j...) it's not: since they're &amp;quot;signed&amp;quot;. Well,
&lt;br&gt;&amp;gt; &amp;gt; this doesn't give problems till we don't break the ~ 2,1 * 10^9
&lt;br&gt;&amp;gt; &amp;gt; barrier - but the API is fine to go beyond: with the possible result
&lt;br&gt;&amp;gt; &amp;gt; of infinite loops (since we are never able to reach the maximum).
&lt;br&gt;&amp;gt; &amp;gt; Now you can argue: &amp;quot;this does happen very rarely&amp;quot; - where I'm also
&lt;br&gt;&amp;gt; &amp;gt; with you. But that doesn't mean that those counters aren't buggy.
&lt;br&gt;&amp;gt; &amp;gt; Since the LDB is a public library for  LDAP-like directories I would
&lt;br&gt;&amp;gt; &amp;gt; be very pleased to see this fixed.
&lt;br&gt;&amp;gt; &amp;gt; To achieve this I prepared a patch which changes &amp;quot;signed&amp;quot; types to
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;unsigned&amp;quot; ones which fix the problem. It passes &amp;quot;make test&amp;quot; and
&lt;br&gt;&amp;gt; &amp;gt; doesn't seem to give problems. The only thing I would like to ask you
&lt;br&gt;&amp;gt; &amp;gt; is to review it, so I could push it soon.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matthias, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As you may have come to expect, my first request is that you split the
&lt;br&gt;&amp;gt; patch up.  There are parts of this that look safe, and many parts that
&lt;br&gt;&amp;gt; need to looked at more carefully.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The changes the the Python look most dubious, as you are changing the
&lt;br&gt;&amp;gt; type of something that is then interpreted as an integer in the python.
&lt;br&gt;&amp;gt; (so please remove all the Python changes). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You also have typo fixes and changes to use LDB_SUCCESS mixed in the
&lt;br&gt;&amp;gt; same patch.  
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Once you do that, I'll take another look, and we can see if some of
&lt;br&gt;&amp;gt; these can be easily merged.   Perhaps also produce the patches with more
&lt;br&gt;&amp;gt; context?  It's hard to tell from the changed declaration what the effect
&lt;br&gt;&amp;gt; would be (otherwise I'll have to do the review in gitk). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Andrew Bartlett
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Andrew Bartlett                                &lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;&amp;gt; Authentication Developer, Samba Team           &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;&amp;gt; Samba Developer, Cisco Inc.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;       
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jelmer Vernooij &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jelmer@...&lt;/a&gt;&amp;gt; - &lt;a href=&quot;http://samba.org/~jelmer/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~jelmer/&lt;/a&gt;&lt;br&gt;Jabber: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243720&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jelmer@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LDB%3A-Patch-for-fixing-counter-variables-tp26238773p26243720.html" />
</entry>

</feed>
