<?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-12-23T12:29:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Samba-f13150.xml;http://www.blogthings.com/images/icon_small_blog.gif;http://www.blogthings.com/whatsyourbeerpersonalityquiz/&quot" />
	<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-26907025</id>
	<title>Re: share CUPS printer/scanner in Debian	system	with	Windows computers in home network</title>
	<published>2009-12-23T12:29:31Z</published>
	<updated>2009-12-23T12:29:31Z</updated>
	<author>
		<name>Ryan Suarez</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; (2) map a network drive and provide &amp;quot;\\kolob\sluque&amp;quot;,
&lt;br&gt;&amp;gt; but it tells me it can't access the server,
&lt;br&gt;&lt;br&gt;Ok, add 'log level=3' &amp;nbsp;and remove 'syslog=0' in smb.conf. &amp;nbsp;Go to 
&lt;br&gt;start-&amp;gt;run-&amp;gt;\\kolob and post the contents of 
&lt;br&gt;/var/log/samba/log.[windows-client-machine] after it errors out.
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26907025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906958</id>
	<title>Re: of SupportedEncTypes and msDS-SupportedEncryptionTypes</title>
	<published>2009-12-23T12:23:09Z</published>
	<updated>2009-12-23T12:23:09Z</updated>
	<author>
		<name>Bill Wesse</name>
	</author>
	<content type="html">Good afternoon Matthieu - here are my test results to date; I am currently setting up a 2008 server (not R2), to make sure I profile the behavior of all Windows versions from Windows 2000 through Windows 7. Once that is done, I will proceed to file change requests for the documents ([MS-ADTS], [MS-KILE] and [MS-NRPC] as indicated by the results).
&lt;br&gt;&lt;br&gt;I will also provide you with the network captures and AD computer account object data for all versions of Windows I am testing with when I am done collecting same.
&lt;br&gt;&lt;br&gt;One thing I do need to dig further into is the impact of setting ADS_UF_USE_DES_KEY_ONLY, since that impacts the computer account - so the SMB2 negotiation / session setup falls back to NTLMV2 for the initial IPC$ tree connect, since the Kerberos AS Request fails. Please see the attached capture 'Win7_BootAfterJoin_DES_ONLY.pcap'. I have not completed analysis on this, FYI.
&lt;br&gt;&lt;br&gt;Windows clients (2008 R2 &amp; Windows 7):
&lt;br&gt;&lt;br&gt;1. If ADS_UF_USE_DES_KEY_ONLY is not set in userAccountControl:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;a. The client updates msDS-SupportedEncryptionTypes during the first reboot
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; after joining the domain.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Vista:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x1F = ( DES_CBC_CRC | DES_CBC_MD5 | RC4_HMAC_MD5 | AES128_CTS_HMAC_SHA1_96 | AES256_CTS_HMAC_SHA1_96 );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2008R2, Windows 7:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x1C = ( RC4_HMAC_MD5 | AES128_CTS_HMAC_SHA1_96 | AES256_CTS_HMAC_SHA1_96 );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;b. The AS &amp; TGS requests will be satisfied with the first AES EType:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Kerberos: AS Request Cname: Administrator Realm: 2008R2DOMAIN Sname: krbtgt/2008R2DOMAIN
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Kerberos: TGS Request Realm: 2008R2DOMAIN.COM Sname: ldap/2008r2vmdc1.2008r2domain.com
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Etype: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ SequenceOfHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: aes256-cts-hmac-sha1-96 (18)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: aes128-cts-hmac-sha1-96 (17)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: rc4-hmac (23)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: des-cbc-md5 (3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: des-cbc-crc (1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: rc4-hmac-exp (24)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: rc4 hmac old exp (0xff79)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;- Kerberos: AS Response Ticket[Realm: 2008R2DOMAIN.COM, Sname: krbtgt/2008R2DOMAIN.COM]
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Kerberos: TGS Response Cname: WINDOWS7VM1$ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - EType: aes256-cts-hmac-sha1-96 (18)
&lt;br&gt;&lt;br&gt;2. If ADS_UF_USE_DES_KEY_ONLY is set in userAccountControl:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;a. The client updates msDS-SupportedEncryptionTypes during the first reboot
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; after joining the domain.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Vista: value is not updated
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2008R2, Windows 7:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x1C = ( RC4_HMAC_MD5 | AES128_CTS_HMAC_SHA1_96 | AES256_CTS_HMAC_SHA1_96 );
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;b. Client AS Requests for the computername$ account will fail:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Kerberos: AS Request Cname: computername$ Realm: 2008R2DOMAIN.COM
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sname: krbtgt/2008R2DOMAIN.COM 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Kerberos: KRB_ERROR &amp;nbsp;- KDC_ERR_ETYPE_NOSUPP (14)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;c. The AS &amp; TGS Requests will be satisfied with the first EType that is not AES:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Kerberos: AS Request Cname: Administrator Realm: 2008R2DOMAIN.COM Sname: krbtgt/2008R2DOMAIN.COM 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Etype: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + SequenceOfHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: aes256-cts-hmac-sha1-96 (18)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: aes128-cts-hmac-sha1-96 (17)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: rc4-hmac (23)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: rc4-hmac-exp (24)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: rc4 hmac old exp (0xff79)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EType: des-cbc-md5 (3)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Kerberos: AS Response Ticket[Realm: 2008R2DOMAIN.COM, Sname: krbtgt/2008R2DOMAIN.COM] 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ EType: rc4-hmac (23)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Bill Wesse
&lt;br&gt;MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
&lt;br&gt;8055 Microsoft Way
&lt;br&gt;Charlotte, NC 28273
&lt;br&gt;TEL:  +1(980) 776-8200
&lt;br&gt;CELL: +1(704) 661-5438
&lt;br&gt;FAX:  +1(704) 665-9606
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Bill Wesse 
&lt;br&gt;Sent: Monday, December 21, 2009 1:12 PM
&lt;br&gt;To: 'Matthieu Patou'
&lt;br&gt;Cc: '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cifs-protocol@...&lt;/a&gt;'; '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;'; Sebastian Canevari
&lt;br&gt;Subject: RE: of SupportedEncTypes and msDS-SupportedEncryptionTypes
&lt;br&gt;&lt;br&gt;Matthieu - I am currently profiling the precise nature of how ADS_UF_USE_DES_KEY_ONLY interacts with Kerberos encryption negotiation.
&lt;br&gt;&lt;br&gt;The short answer is that ADS_UF_USE_DES_KEY_ONLY causes Windows 2008 / 7 clients to downgrade the AS request realm/SName to NetBIOS DOMAIN from DNS DOMAIN.NAME (after numerous KRB_ERROR &amp;nbsp;- KDC_ERR_ETYPE_NOSUPP (14) responses), whereupon the (2008 R2) KDC accepts the encryption types offer (returning EType: rc4-hmac (23) &amp;nbsp;circa Frames 957-994 in the attached Wireshark tcpdump) - this is not trivial behavior, and I expect it will take me a day or so to untangle the why's and wherefore's to a point where I can describe Windows behavior with clarity and brevity.
&lt;br&gt;&lt;br&gt;BTW - userAccountControl indeed is set to 'USER_WORKSTATION_TRUST_ACCOUNT*' for Windows 2000 through Windows 7 computer accounts (with the additional value 'USER_PASSWORD_NOT_REQUIRED*' or'd in if the account is precreated through ADU&amp;C).
&lt;br&gt;&lt;br&gt;I will keep Sebastian in the loop so we can ensure the blog entry is updated accordingly.
&lt;br&gt;&lt;br&gt;Last (but certainly not least), I expect to submit appropriate TDI's to request the MS-LSAD / MS-NRPC cross references to NETLOGON_DOMAIN_INFO, and the various Windows behaviors not yet documented all taken care of.
&lt;br&gt;&lt;br&gt;* [MS-SAMR] 2.2.1.12 USER_ACCOUNT Codes
&lt;br&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cc245514(PROT.13).aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/cc245514(PROT.13).aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Bill Wesse
&lt;br&gt;MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
&lt;br&gt;8055 Microsoft Way
&lt;br&gt;Charlotte, NC 28273
&lt;br&gt;TEL:  +1(980) 776-8200
&lt;br&gt;CELL: +1(704) 661-5438
&lt;br&gt;FAX:  +1(704) 665-9606
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Bill Wesse
&lt;br&gt;Sent: Monday, December 21, 2009 11:36 AM
&lt;br&gt;To: 'Matthieu Patou'
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cifs-protocol@...&lt;/a&gt;; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;; Sebastian Canevari
&lt;br&gt;Subject: RE: of SupportedEncTypes and msDS-SupportedEncryptionTypes
&lt;br&gt;&lt;br&gt;I agree with you - the blog entry is wrong, and your statement is correct - the network capture frame details below illustrate this (a Windows 2008 client joining a 2008 domain). I am cc'ing Sebastian, since he owns the blog entry.
&lt;br&gt;&lt;br&gt;In fact that's not only w2k/xp/w2k3 it's the whole range. My assumption is that this phrase :&amp;quot;Although this attribute is present in all the computer objects of the domain regardless of the version of the OS the physical machines have installed&amp;quot; is false and that when the computer object is created it is created without this attribute and then systems newer or equal to vista/windows 2k8 are modifying this attribute to set it to the exact value that they support.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; Frame: Number = 634, Captured Frame Length = 254, MediaType = ETHERNET
&lt;br&gt;+ Ethernet: Etype = Internet IP 
&lt;br&gt;+ (IPv4),DestinationAddress:[00-15-5D-04-7B-09],SourceAddress:[00-15-5D-
&lt;br&gt;+ 04-7B-14]
&lt;br&gt;+ Ipv4: Src = 192.168.0.11, Dest = 192.168.0.10, Next Protocol = TCP, 
&lt;br&gt;+ Packet ID = 102, Total IP Length = 240
&lt;br&gt;+ Tcp: Flags=...AP..., SrcPort=49166, DstPort=LDAP(389), PayloadLen=200, 
&lt;br&gt;+ Seq=4221789663 - 4221789863, Ack=3194344992, Win=512 (scale factor 
&lt;br&gt;+ 0x8) = 131072
&lt;br&gt;- Ldap: Modify Request, MessageID: 5, Object: CN=2008R2VMDC2,CN=Computers,DC=2008R2DOMAIN,DC=COM
&lt;br&gt;&amp;nbsp; + SASLBuffer: 
&lt;br&gt;&amp;nbsp; - Parser: Modify Request, MessageID: 5
&lt;br&gt;&amp;nbsp; &amp;nbsp;+ ParserHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp;+ MessageID: 5
&lt;br&gt;&amp;nbsp; &amp;nbsp;+ OperationHeader: Modify Request, 6(0x6)
&lt;br&gt;&amp;nbsp; &amp;nbsp;- ModifyRequest: Object: CN=2008R2VMDC2,CN=Computers,DC=2008R2DOMAIN,DC=COM
&lt;br&gt;&amp;nbsp; &amp;nbsp; + Object: CN=2008R2VMDC2,CN=Computers,DC=2008R2DOMAIN,DC=COM
&lt;br&gt;&amp;nbsp; &amp;nbsp; - LoopSeq: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;+ OuterSequenceHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- Modification: &amp;lt;Replace&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; + InnerSequence: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; + Operation: Replace, 2(0x2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - Modification: msDS-SupportedEncryptionTypes=( 28 )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ PartialAttributeHeader: 0x1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ Type: msDS-SupportedEncryptionTypes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ AttributeValuesHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- Attribute: 28
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + AsnOctetStringHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OctetStream: 28
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Controls: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; + ControlsHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; + ControlHeader: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; + ControlType: 1.2.840.113556.1.4.1413 (LDAP_SERVER_PERMISSIVE_MODIFY_OID)
&lt;br&gt;&amp;nbsp; &amp;nbsp; + ControlValueHeader:
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Bill Wesse
&lt;br&gt;MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
&lt;br&gt;8055 Microsoft Way
&lt;br&gt;Charlotte, NC 28273
&lt;br&gt;TEL:  +1(980) 776-8200
&lt;br&gt;CELL: +1(704) 661-5438
&lt;br&gt;FAX:  +1(704) 665-9606
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Matthieu Patou [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mat+Informatique.Samba@...&lt;/a&gt;]
&lt;br&gt;Sent: Monday, December 21, 2009 11:22 AM
&lt;br&gt;To: Bill Wesse
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cifs-protocol@...&lt;/a&gt;; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;
&lt;br&gt;Subject: Re: of SupportedEncTypes and msDS-SupportedEncryptionTypes
&lt;br&gt;&lt;br&gt;Hello bill
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Good morning Matthieu - We have created the below case to track our work against your questions:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; SRX091220600031 [MS-ADTS] 7.1.6.7.3 msDs-supportedEncryptionTypes 
&lt;br&gt;&amp;gt; usage
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I will begin my investigation this morning, and will advise you of my progress by close of business tomorrow (Tuesday Dec 22 GMT-5) at the latest.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I confirm the msDS-SupportedEncryptionTypes attribute is not set when a Windows 2000 or Windows XP client joins a Windows 2008 domain.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I will next check the msDS-SupportedEncryptionTypes attribute with a Windows 2003 server on a 2008 domain, and expect to verify the behavior within several hours (once my virtual machine has completed installation).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;In fact that's not only w2k/xp/w2k3 it's the whole range. My assumption is that this phrase :&amp;quot;Although this attribute is present in all the computer objects of the domain regardless of the version of the OS the physical machines have installed&amp;quot; is false and that when the computer object is created it is created without this attribute and then systems newer or equal to vista/windows 2k8 are modifying this attribute to set it to the exact value that they support.
&lt;/div&gt;&lt;br&gt;Matthieu.
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Bill Wesse
&lt;br&gt;&amp;gt; MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
&lt;br&gt;&amp;gt; 8055 Microsoft Way
&lt;br&gt;&amp;gt; Charlotte, NC 28273
&lt;br&gt;&amp;gt; TEL: &amp;nbsp;+1(980) 776-8200
&lt;br&gt;&amp;gt; CELL: +1(704) 661-5438
&lt;br&gt;&amp;gt; FAX: &amp;nbsp;+1(704) 665-9606
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Matthieu Patou [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mat+Informatique.Samba@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Sunday, December 20, 2009 7:01 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cifs-protocol@...&lt;/a&gt;; Interoperability Documentation Help; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: of SupportedEncTypes and msDS-SupportedEncryptionTypes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Back in august and september we discuss in case SRX090808600017 about 
&lt;br&gt;&amp;gt; supportedEncTypes and I was quite happy with your answer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm coming back on this subject for two details:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * this blog entry (of msdn)
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blogs.msdn.com/openspecification/archive/2009/09/12/msds-suppor&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.msdn.com/openspecification/archive/2009/09/12/msds-suppor&lt;/a&gt;&lt;br&gt;&amp;gt; tedencryptiontypes-episode-1-computer-accounts.aspx
&lt;br&gt;&amp;gt; says :&amp;quot; Although this attribute is present in all the computer objects 
&lt;br&gt;&amp;gt; of the domain regardless of the version of the OS the physical 
&lt;br&gt;&amp;gt; machines have installed, not all of them are aware of its existence 
&lt;br&gt;&amp;gt; hence, older versions (2003 and earlier) do not populate it at any 
&lt;br&gt;&amp;gt; time.&amp;quot; &amp;nbsp;It means that when I join a w2k8 domain with a XP workstation 
&lt;br&gt;&amp;gt; that the DC will create a computer object for this XP workstation and 
&lt;br&gt;&amp;gt; set the msDS-SupportedEncryptionTypes attribute ? if so to which value 
&lt;br&gt;&amp;gt; ? On my tests when I join a w2k3 server to a w2k8 domain the attribute 
&lt;br&gt;&amp;gt; SupportedEncryptionTypes is not set. Can this point be clarified and 
&lt;br&gt;&amp;gt; if possible written in a formal document
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This entry also state: &amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When the KDC checks the attribute to decide what encryption algorithm 
&lt;br&gt;&amp;gt; to use in order to encrypt the ticket, it could find basically two scenarios:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) &amp;nbsp; &amp;nbsp; &amp;nbsp;The attribute is populated
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) &amp;nbsp; &amp;nbsp; &amp;nbsp;The attribute is empty
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the attribute is populated, then the deal is done since the KDC can 
&lt;br&gt;&amp;gt; determine the best common algorithm to encrypt the ticket with the 
&lt;br&gt;&amp;gt; value present.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, if the attribute is empty then the KDC will have to work 
&lt;br&gt;&amp;gt; harder being the next step to check another attribute. This attribute 
&lt;br&gt;&amp;gt; is defined in MS-ADA3 (section 2.341) and described in MS-ADTS 
&lt;br&gt;&amp;gt; (section
&lt;br&gt;&amp;gt; 2.2.15) and it's called userAccountControl. This attribute is also a 4 
&lt;br&gt;&amp;gt; byte Bit Mask that defines many aspects of the account but the only 
&lt;br&gt;&amp;gt; one the KDC is interested in is the DK (ADS_UF_USE_DES_KEY_ONLY ) bit.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This bit defines what legacy encryption method will be used:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) &amp;nbsp; &amp;nbsp; &amp;nbsp;If the bit is set, then only DES will be used
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) &amp;nbsp; &amp;nbsp; &amp;nbsp;If the bit is NOT set, then DES and RC4 can be used
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This check is especially relevant in domains that have Win7 and 
&lt;br&gt;&amp;gt; Windows Server 2008 R2 machines joined because those two newer OSs 
&lt;br&gt;&amp;gt; disable their bit by default so older DES is not an option for them.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * What is the exact meaning of ADS_UF_USE_DES_KEY_ONLY ? if a w2k8 
&lt;br&gt;&amp;gt; server acting as a domain member within a w2k8 domain has this DK bit 
&lt;br&gt;&amp;gt; set, will the DC not use AES but only DES with it ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * &amp;quot;This check is especially relevant in domains that have Win7 and 
&lt;br&gt;&amp;gt; Windows Server 2008 R2 machines joined because those two newer OSs 
&lt;br&gt;&amp;gt; disable their bit by default so older DES is not an option for them.&amp;quot;, 
&lt;br&gt;&amp;gt; well it seems that a w2k3 server member of w2k8 domain do not have 
&lt;br&gt;&amp;gt; this bit set also (userAccountControl=4096 =&amp;gt; &amp;nbsp;only WT flag set).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Also neither MS-LSAD nor MS-NRPC talk about the link between the 
&lt;br&gt;&amp;gt; attribute msDS-SupportedEncryptionTypes stored in the AD and the fact 
&lt;br&gt;&amp;gt; that it's returned as SupportedEncTypes in NETLOGON_DOMAIN_INFO &amp;nbsp;call.
&lt;br&gt;&amp;gt; I can understand that it can be called &amp;quot;secret&amp;quot; of implementation but 
&lt;br&gt;&amp;gt; when after a workstation tries to update this attribute to let the DC 
&lt;br&gt;&amp;gt; know what are the supported encoding it's better to clarify the link.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for help with clarifying those points.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matthieu.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;cifs-protocol mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906958&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cifs-protocol@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/cifs-protocol&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/cifs-protocol&lt;/a&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;Win7_BootAfterJoin_DES_ONLY.pcap&lt;/strong&gt; (225K) &lt;a href=&quot;http://old.nabble.com/attachment/26906958/0/Win7_BootAfterJoin_DES_ONLY.pcap&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---cifs-protocol-f13152.html&quot; embed=&quot;fixTarget[13152]&quot; target=&quot;_top&quot; &gt;Samba - cifs-protocol&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/of-SupportedEncTypes-and-msDS-SupportedEncryptionTypes-tp26862794p26906958.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906903</id>
	<title>Re: [PATCH] DsReplGetInfo() - infoType == DS_REPL_INFO_NEIGHBORS</title>
	<published>2009-12-23T12:19:38Z</published>
	<updated>2009-12-23T12:19:38Z</updated>
	<author>
		<name>hzine</name>
	</author>
	<content type="html">&lt;br&gt;Hi Tridge,
&lt;br&gt;&lt;br&gt;Thanks for the advices, I will follow them from now on.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks. For this sort of patch, it is best to split it up into logical
&lt;br&gt;&amp;gt; pieces. In this case I think your smbtorture work should be a separate
&lt;br&gt;&amp;gt; patch from your dsdb/kcc work, and your two dsdb/kcc changes could
&lt;br&gt;&amp;gt; also be better split. I think one patch adding the framework for the
&lt;br&gt;&amp;gt; kccdrs_replica_get_info call, and one for each of the info levels
&lt;br&gt;&amp;gt; would make sense. If you are not sure how to split up patches, then
&lt;br&gt;&amp;gt; perhaps the easiest is to take the code as a whole and use &amp;quot;git add
&lt;br&gt;&amp;gt; --patch&amp;quot; then follow the prompts for what you want to include in the
&lt;br&gt;&amp;gt; current commit. After you've included what you want in a commit then
&lt;br&gt;&amp;gt; use &amp;quot;git commit&amp;quot; to add it.
&lt;/div&gt;&lt;/div&gt;I split my patch in two: one for the dsdb/kcc work and another for the
&lt;br&gt;torture. I didn't make the split of dsdb/kcc on framework and infoLevel
&lt;br&gt;because that would take some work to reedit the files extracting what
&lt;br&gt;was specific for the DS_REPL_INFO_NEIGHBORS infolevel, remaining only
&lt;br&gt;the patch for the framework, and then applying the infolevel specific
&lt;br&gt;code and creating another patch.
&lt;br&gt;I think the code is clear enough to understand where the code for each
&lt;br&gt;info level must be placed, so I think this is not a major issue. 
&lt;br&gt;For the next patches, i will follow your advice and write the code with
&lt;br&gt;small patches in mind, from the beginning.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;- the patch puts in a lot of debug code at a low logging level. It is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;useful to have this while developing the code, but its a bit too
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;verbose for production code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- the big repsFromTo1 comment at the top of kcc_drs_replica_info.c is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;not really appropriate in a patch 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- you need to check for more failures, for example memory allocation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;failures, and return an appropriate error code
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- some of your line lengths are far too long, and the indentation is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;very bad (eg. in the function header of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;kccdrs_replica_get_info_neighbours()) (see the samba coding guide
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for details)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- rather than including pieces of the MS-DRSR doc, please just use a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;reference to the section number and doc name
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- please make functions static when they are used only by one file
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;(eg. get_master_ncs)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- in torture/rpc/dsgetinfo.c, please put your own copyright at the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;top, but say which other file the code is based on
&lt;/div&gt;&lt;/div&gt;I made the above changes. About the line lengths, the larger ones are
&lt;br&gt;much smaller now, but there are some above the 80 characters limit
&lt;br&gt;because I didn't find an elegant way to split them. I think their
&lt;br&gt;lengths are now coherent with other parts of samba.
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;Erick Nogueira do Nascimento
&lt;br&gt;&lt;br&gt;On Mon, 21 Dec 2009 21:56:23 +1100
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906903&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tridge@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Erick,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the patch!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; This is the patch for the implementation of the DsGetReplInfo()
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; MS-DRSR 4.1.13) for the case infoType == DS_REPL_INFO_NEIGHBORS
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; (request information about the repsFrom neighbors of the target
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; DC). There is also a torture test for this call.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks. For this sort of patch, it is best to split it up into logical
&lt;br&gt;&amp;gt; pieces. In this case I think your smbtorture work should be a separate
&lt;br&gt;&amp;gt; patch from your dsdb/kcc work, and your two dsdb/kcc changes could
&lt;br&gt;&amp;gt; also be better split. I think one patch adding the framework for the
&lt;br&gt;&amp;gt; kccdrs_replica_get_info call, and one for each of the info levels
&lt;br&gt;&amp;gt; would make sense. If you are not sure how to split up patches, then
&lt;br&gt;&amp;gt; perhaps the easiest is to take the code as a whole and use &amp;quot;git add
&lt;br&gt;&amp;gt; --patch&amp;quot; then follow the prompts for what you want to include in the
&lt;br&gt;&amp;gt; current commit. After you've included what you want in a commit then
&lt;br&gt;&amp;gt; use &amp;quot;git commit&amp;quot; to add it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; On the tests I made using smbtorture (with RPC-DSGETINFO test) it
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; looks like the values on the fields of the reply message are
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; consistent with what Windows 2008 fill in those fields.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; good!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I'm planning to send one patch for each of the infoTypes. I can't
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; implement some of them now, because the information needed is
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; not available yet on drs. The next patch will be for infoType
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; DS_REPL_INFO_REPSTO.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; that sounds good, but please also do a bit of cleanup of your current
&lt;br&gt;&amp;gt; patches so they can be included. Apart from the patch reorganisation I
&lt;br&gt;&amp;gt; mentioned above, I think the following things could be improved:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- the patch puts in a lot of debug code at a low logging level. It is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;useful to have this while developing the code, but its a bit too
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;verbose for production code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- the big repsFromTo1 comment at the top of kcc_drs_replica_info.c is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;not really appropriate in a patch 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- you need to check for more failures, for example memory allocation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;failures, and return an appropriate error code
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- some of your line lengths are far too long, and the indentation is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;very bad (eg. in the function header of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;kccdrs_replica_get_info_neighbours()) (see the samba coding guide
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for details)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- rather than including pieces of the MS-DRSR doc, please just use a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;reference to the section number and doc name
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- please make functions static when they are used only by one file
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;(eg. get_master_ncs)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- in torture/rpc/dsgetinfo.c, please put your own copyright at the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;top, but say which other file the code is based on
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; These may all seem like minor things, but it helps us to keep the code
&lt;br&gt;&amp;gt; base a bit neater and easier for others to follow. Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers, Tridge
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[0001-s4-drs-framework-for-DsGetReplInfo-includes-the.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 446e9295e82edebf39b6dfd5ae3c46bb004089f9 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Erick Nogueira do Nascimento &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906903&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erick.nogueira.nascimento@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Wed, 23 Dec 2009 17:51:46 -0200
&lt;br&gt;Subject: [PATCH] s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS infoType.
&lt;br&gt;&lt;br&gt;This patch includes the framework for the implementation of all infoTypes of
&lt;br&gt;the DsGetReplInfo() call, and includes the implementation for the first one,
&lt;br&gt;the DS_REPL_INFO_NEIGHBORS.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/dsdb/config.mk &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;4 +-
&lt;br&gt;&amp;nbsp;source4/dsdb/kcc/kcc_drs_replica_info.c &amp;nbsp; &amp;nbsp; | &amp;nbsp;496 +++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;source4/dsdb/kcc/kcc_service.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 10 +-
&lt;br&gt;&amp;nbsp;source4/rpc_server/drsuapi/dcesrv_drsuapi.c | &amp;nbsp; 12 +-
&lt;br&gt;&amp;nbsp;4 files changed, 518 insertions(+), 4 deletions(-)
&lt;br&gt;&amp;nbsp;create mode 100644 source4/dsdb/kcc/kcc_drs_replica_info.c
&lt;br&gt;&lt;br&gt;diff --git a/source4/dsdb/config.mk b/source4/dsdb/config.mk
&lt;br&gt;index dfc5def..19dba16 100644
&lt;br&gt;--- a/source4/dsdb/config.mk
&lt;br&gt;+++ b/source4/dsdb/config.mk
&lt;br&gt;@@ -83,6 +83,8 @@ PRIVATE_DEPENDENCIES = \
&lt;br&gt;&amp;nbsp;KCC_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/kcc/, \
&lt;br&gt;&amp;nbsp;		kcc_service.o \
&lt;br&gt;&amp;nbsp;		kcc_connection.o \
&lt;br&gt;-		kcc_periodic.o)
&lt;br&gt;+		kcc_periodic.o \
&lt;br&gt;+		kcc_drs_replica_info.o)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$(eval $(call proto_header_template,$(dsdbsrcdir)/kcc/kcc_service_proto.h,$(KCC_SRV_OBJ_FILES:.o=.c)))
&lt;br&gt;+
&lt;br&gt;diff --git a/source4/dsdb/kcc/kcc_drs_replica_info.c b/source4/dsdb/kcc/kcc_drs_replica_info.c
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..1f8b3d6
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/source4/dsdb/kcc/kcc_drs_replica_info.c
&lt;br&gt;@@ -0,0 +1,496 @@
&lt;br&gt;+/*
&lt;br&gt;+ Unix SMB/CIFS implementation.
&lt;br&gt;+
&lt;br&gt;+ DRS Replica Information
&lt;br&gt;+
&lt;br&gt;+ Copyright (C) Erick Nogueira do Nascimento 2009
&lt;br&gt;+
&lt;br&gt;+ This program is free software; you can redistribute it and/or modify
&lt;br&gt;+ it under the terms of the GNU General Public License as published by
&lt;br&gt;+ the Free Software Foundation; either version 3 of the License, or
&lt;br&gt;+ (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ This program is distributed in the hope that it will be useful,
&lt;br&gt;+ but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the
&lt;br&gt;+ GNU General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ You should have received a copy of the GNU General Public License
&lt;br&gt;+ along with this program. &amp;nbsp;If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.
&lt;br&gt;+
&lt;br&gt;+ */
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;includes.h&amp;quot;
&lt;br&gt;+#include &amp;quot;dsdb/samdb/samdb.h&amp;quot;
&lt;br&gt;+#include &amp;quot;auth/auth.h&amp;quot;
&lt;br&gt;+#include &amp;quot;smbd/service.h&amp;quot;
&lt;br&gt;+#include &amp;quot;lib/events/events.h&amp;quot;
&lt;br&gt;+#include &amp;quot;lib/messaging/irpc.h&amp;quot;
&lt;br&gt;+#include &amp;quot;dsdb/kcc/kcc_service.h&amp;quot;
&lt;br&gt;+#include &amp;quot;lib/ldb/include/ldb_errors.h&amp;quot;
&lt;br&gt;+#include &amp;quot;../lib/util/dlinklist.h&amp;quot;
&lt;br&gt;+#include &amp;quot;librpc/gen_ndr/ndr_misc.h&amp;quot;
&lt;br&gt;+#include &amp;quot;librpc/gen_ndr/ndr_drsuapi.h&amp;quot;
&lt;br&gt;+#include &amp;quot;librpc/gen_ndr/ndr_drsblobs.h&amp;quot;
&lt;br&gt;+#include &amp;quot;param/param.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+struct ncList {
&lt;br&gt;+	struct ldb_dn *dn;
&lt;br&gt;+	struct ncList *prev, *next;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+struct neighList {
&lt;br&gt;+	struct drsuapi_DsReplicaNeighbour *neigh;
&lt;br&gt;+	struct neighList *prev, *next;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+static WERROR copy_repsfrom_1_to_2(TALLOC_CTX *mem_ctx,
&lt;br&gt;+				 struct repsFromTo2 **reps2,
&lt;br&gt;+				 struct repsFromTo1 *reps1)
&lt;br&gt;+{
&lt;br&gt;+	struct repsFromTo2* reps;
&lt;br&gt;+
&lt;br&gt;+	reps = talloc_zero(mem_ctx, struct repsFromTo2);
&lt;br&gt;+	W_ERROR_HAVE_NO_MEMORY(reps);
&lt;br&gt;+
&lt;br&gt;+	reps-&amp;gt;blobsize = reps1-&amp;gt;blobsize;
&lt;br&gt;+	reps-&amp;gt;consecutive_sync_failures = reps1-&amp;gt;consecutive_sync_failures;
&lt;br&gt;+	reps-&amp;gt;last_attempt = reps1-&amp;gt;last_attempt;
&lt;br&gt;+	reps-&amp;gt;last_success = reps1-&amp;gt;last_success;
&lt;br&gt;+	reps-&amp;gt;other_info = talloc_zero(mem_ctx, struct repsFromTo2OtherInfo);
&lt;br&gt;+	W_ERROR_HAVE_NO_MEMORY(reps-&amp;gt;other_info);
&lt;br&gt;+	reps-&amp;gt;other_info-&amp;gt;dns_name1 = reps1-&amp;gt;other_info-&amp;gt;dns_name;
&lt;br&gt;+	reps-&amp;gt;replica_flags = reps1-&amp;gt;replica_flags;
&lt;br&gt;+	memcpy(reps-&amp;gt;schedule, reps1-&amp;gt;schedule, sizeof(reps1-&amp;gt;schedule));
&lt;br&gt;+	reps-&amp;gt;reserved = reps1-&amp;gt;reserved;
&lt;br&gt;+	reps-&amp;gt;highwatermark = reps1-&amp;gt;highwatermark;
&lt;br&gt;+	reps-&amp;gt;source_dsa_obj_guid = reps1-&amp;gt;source_dsa_obj_guid;
&lt;br&gt;+	reps-&amp;gt;source_dsa_invocation_id = reps1-&amp;gt;source_dsa_invocation_id;
&lt;br&gt;+	reps-&amp;gt;transport_guid = reps1-&amp;gt;transport_guid;
&lt;br&gt;+
&lt;br&gt;+	*reps2 = reps;
&lt;br&gt;+	return WERR_OK;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static WERROR fill_neighbor_from_repsFrom(TALLOC_CTX *mem_ctx,
&lt;br&gt;+					 &amp;nbsp;struct ldb_context *samdb,
&lt;br&gt;+					 &amp;nbsp;struct ldb_dn *nc_dn,
&lt;br&gt;+					 &amp;nbsp;struct drsuapi_DsReplicaNeighbour *neigh,
&lt;br&gt;+					 &amp;nbsp;struct repsFromTo2 *reps_from)
&lt;br&gt;+{
&lt;br&gt;+	WERROR status;
&lt;br&gt;+	struct ldb_dn *source_dsa_dn;
&lt;br&gt;+	int ret;
&lt;br&gt;+	char *dsa_guid_str;
&lt;br&gt;+	struct ldb_dn *transport_obj_dn = NULL;
&lt;br&gt;+
&lt;br&gt;+	neigh-&amp;gt;source_dsa_address = reps_from-&amp;gt;other_info-&amp;gt;dns_name1;
&lt;br&gt;+	neigh-&amp;gt;replica_flags = reps_from-&amp;gt;replica_flags;
&lt;br&gt;+	neigh-&amp;gt;last_attempt = reps_from-&amp;gt;last_attempt;
&lt;br&gt;+	neigh-&amp;gt;source_dsa_obj_guid = reps_from-&amp;gt;source_dsa_obj_guid;
&lt;br&gt;+
&lt;br&gt;+	dsa_guid_str = GUID_string(mem_ctx, &amp;reps_from-&amp;gt;source_dsa_obj_guid);
&lt;br&gt;+	W_ERROR_HAVE_NO_MEMORY(dsa_guid_str);
&lt;br&gt;+	ret = dsdb_find_dn_by_guid(samdb, mem_ctx, dsa_guid_str, &amp;source_dsa_dn);
&lt;br&gt;+
&lt;br&gt;+	if (ret != LDB_SUCCESS) {
&lt;br&gt;+		DEBUG(0,(__location__ &amp;quot;: Failed to find DN for neighbor GUID %s\n&amp;quot;,
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp; &amp;nbsp;dsa_guid_str));
&lt;br&gt;+		status = WERR_DS_DRA_INTERNAL_ERROR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	neigh-&amp;gt;source_dsa_obj_dn = ldb_dn_get_linearized(source_dsa_dn);
&lt;br&gt;+	neigh-&amp;gt;naming_context_dn = ldb_dn_get_linearized(nc_dn);
&lt;br&gt;+
&lt;br&gt;+	if (dsdb_find_guid_by_dn(samdb, nc_dn, &amp;neigh-&amp;gt;naming_context_obj_guid)
&lt;br&gt;+			!= LDB_SUCCESS) {
&lt;br&gt;+		status = WERR_DS_DRA_INTERNAL_ERROR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	if (!GUID_all_zero(&amp;reps_from-&amp;gt;transport_guid)) {
&lt;br&gt;+		char *transp_guid_str = GUID_string(mem_ctx, &amp;reps_from-&amp;gt;transport_guid);
&lt;br&gt;+		W_ERROR_HAVE_NO_MEMORY(transp_guid_str);
&lt;br&gt;+		if (dsdb_find_dn_by_guid(samdb, mem_ctx, transp_guid_str,
&lt;br&gt;+					 &amp;transport_obj_dn) != LDB_SUCCESS)
&lt;br&gt;+		{
&lt;br&gt;+			status = WERR_DS_DRA_INTERNAL_ERROR;
&lt;br&gt;+			goto DONE;
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	neigh-&amp;gt;transport_obj_dn = ldb_dn_get_linearized(transport_obj_dn);
&lt;br&gt;+	neigh-&amp;gt;source_dsa_invocation_id = reps_from-&amp;gt;source_dsa_invocation_id;
&lt;br&gt;+	neigh-&amp;gt;transport_obj_guid = reps_from-&amp;gt;transport_guid;
&lt;br&gt;+	neigh-&amp;gt;highest_usn = reps_from-&amp;gt;highwatermark.highest_usn;
&lt;br&gt;+	neigh-&amp;gt;tmp_highest_usn = reps_from-&amp;gt;highwatermark.tmp_highest_usn;
&lt;br&gt;+	neigh-&amp;gt;last_success = reps_from-&amp;gt;last_success;
&lt;br&gt;+	neigh-&amp;gt;result_last_attempt = reps_from-&amp;gt;result_last_attempt;
&lt;br&gt;+	neigh-&amp;gt;consecutive_sync_failures = reps_from-&amp;gt;consecutive_sync_failures;
&lt;br&gt;+	neigh-&amp;gt;reserved = 0; /* Unused. MUST be 0. */
&lt;br&gt;+
&lt;br&gt;+	/* If everything went fine so far, set the status to OK */
&lt;br&gt;+	status = WERR_OK;
&lt;br&gt;+DONE:
&lt;br&gt;+	return status;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+/*
&lt;br&gt;+ * See details on MS-DRSR 4.1.13.3, for infoType DS_REPL_INFO_NEIGHBORS
&lt;br&gt;+ * */
&lt;br&gt;+static WERROR kccdrs_replica_get_info_neighbours(TALLOC_CTX *mem_ctx,
&lt;br&gt;+						 struct ldb_context *samdb,
&lt;br&gt;+						 struct drsuapi_DsReplicaGetInfo *r,
&lt;br&gt;+						 union drsuapi_DsReplicaInfo *reply,
&lt;br&gt;+						 int base_index,
&lt;br&gt;+						 struct GUID req_src_dsa_guid,
&lt;br&gt;+						 struct ncList *nc_list)
&lt;br&gt;+{
&lt;br&gt;+	WERROR status;
&lt;br&gt;+
&lt;br&gt;+	int i, j, k;
&lt;br&gt;+	struct ldb_dn *nc_dn = NULL;
&lt;br&gt;+	struct ncList *p_nc_list = NULL;
&lt;br&gt;+
&lt;br&gt;+	struct repsFromToBlob *reps_from_blob = NULL;
&lt;br&gt;+	struct repsFromTo2 *reps_from = NULL;
&lt;br&gt;+	uint32_t c_reps_from;
&lt;br&gt;+
&lt;br&gt;+	int i_rep;
&lt;br&gt;+
&lt;br&gt;+	struct neighList *neigh_list = NULL;
&lt;br&gt;+	struct neighList *neigh_elem = NULL;
&lt;br&gt;+
&lt;br&gt;+	struct drsuapi_DsReplicaNeighbour *neigh = NULL;
&lt;br&gt;+
&lt;br&gt;+	i = j = 0;
&lt;br&gt;+	neigh_list = NULL;
&lt;br&gt;+
&lt;br&gt;+	/* foreach nc in ncs */
&lt;br&gt;+	for (p_nc_list = nc_list; p_nc_list != NULL; p_nc_list = p_nc_list-&amp;gt;next) {
&lt;br&gt;+
&lt;br&gt;+		nc_dn = p_nc_list-&amp;gt;dn;
&lt;br&gt;+
&lt;br&gt;+		/* load the nc's repsFromTo blob */
&lt;br&gt;+		status = dsdb_loadreps(samdb, mem_ctx, nc_dn, &amp;quot;repsFrom&amp;quot;,
&lt;br&gt;+				&amp;reps_from_blob, &amp;c_reps_from);
&lt;br&gt;+		if (!W_ERROR_IS_OK(status)) {
&lt;br&gt;+			status = WERR_DS_DRA_INTERNAL_ERROR;
&lt;br&gt;+			goto DONE;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		/* foreach r in nc!repsFrom */
&lt;br&gt;+		for (i_rep = 0; i_rep &amp;lt; c_reps_from; i_rep++) {
&lt;br&gt;+
&lt;br&gt;+			/* put all info on reps_from */
&lt;br&gt;+			if (reps_from_blob[i_rep].version == 1) {
&lt;br&gt;+				status = copy_repsfrom_1_to_2(mem_ctx, &amp;reps_from,
&lt;br&gt;+							 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;reps_from_blob[i_rep].ctr.ctr1);
&lt;br&gt;+				if (!W_ERROR_IS_OK(status)) {
&lt;br&gt;+					goto DONE;
&lt;br&gt;+				}
&lt;br&gt;+			} else { /* reps_from-&amp;gt;version == 2 */
&lt;br&gt;+				reps_from = &amp;reps_from_blob[i_rep].ctr.ctr2;
&lt;br&gt;+			}
&lt;br&gt;+
&lt;br&gt;+			if (GUID_all_zero(&amp;req_src_dsa_guid) ||
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp;GUID_compare(&amp;req_src_dsa_guid, &amp;reps_from-&amp;gt;source_dsa_obj_guid) == 0)
&lt;br&gt;+			{
&lt;br&gt;+
&lt;br&gt;+				if (i &amp;gt;= base_index) {
&lt;br&gt;+					neigh = talloc_zero(mem_ctx, struct drsuapi_DsReplicaNeighbour);
&lt;br&gt;+					W_ERROR_HAVE_NO_MEMORY(neigh);
&lt;br&gt;+
&lt;br&gt;+					status = fill_neighbor_from_repsFrom(mem_ctx, samdb,
&lt;br&gt;+									 &amp;nbsp; &amp;nbsp; nc_dn, neigh,
&lt;br&gt;+									 &amp;nbsp; &amp;nbsp; reps_from);
&lt;br&gt;+					if (!W_ERROR_IS_OK(status)) {
&lt;br&gt;+						goto DONE;
&lt;br&gt;+					}
&lt;br&gt;+
&lt;br&gt;+					/* append the neighbor to neigh_list */
&lt;br&gt;+					neigh_elem = talloc_zero(mem_ctx, struct neighList);
&lt;br&gt;+					W_ERROR_HAVE_NO_MEMORY(neigh_elem);
&lt;br&gt;+					neigh_elem-&amp;gt;neigh = neigh;
&lt;br&gt;+					DLIST_ADD_END(neigh_list, neigh_elem, struct neighList*);
&lt;br&gt;+
&lt;br&gt;+					j++;
&lt;br&gt;+				}
&lt;br&gt;+
&lt;br&gt;+				i++;
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* put all neighbours on neigh_list on reply-&amp;gt;neighbours-&amp;gt;array */
&lt;br&gt;+	reply-&amp;gt;neighbours = talloc_zero(mem_ctx, struct drsuapi_DsReplicaNeighbourCtr);
&lt;br&gt;+	W_ERROR_HAVE_NO_MEMORY(reply-&amp;gt;neighbours);
&lt;br&gt;+
&lt;br&gt;+	reply-&amp;gt;neighbours-&amp;gt;count = j;
&lt;br&gt;+	reply-&amp;gt;neighbours-&amp;gt;reserved = 0;
&lt;br&gt;+	reply-&amp;gt;neighbours-&amp;gt;array = talloc_array(mem_ctx, struct drsuapi_DsReplicaNeighbour, j);
&lt;br&gt;+	W_ERROR_HAVE_NO_MEMORY(reply-&amp;gt;neighbours-&amp;gt;array);
&lt;br&gt;+
&lt;br&gt;+	for (k = 0; neigh_list != NULL; neigh_list = neigh_list-&amp;gt;next, k++) {
&lt;br&gt;+		reply-&amp;gt;neighbours-&amp;gt;array[k] = *neigh_list-&amp;gt;neigh;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* If everything went fine so far, set the status to OK */
&lt;br&gt;+	status = WERR_OK;
&lt;br&gt;+DONE:
&lt;br&gt;+	return status;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static WERROR get_master_ncs(TALLOC_CTX *mem_ctx, struct ldb_context *samdb,
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; const char *ntds_guid_str, struct ncList **master_nc_list)
&lt;br&gt;+{
&lt;br&gt;+	WERROR status;
&lt;br&gt;+	const char *attrs[] = { &amp;quot;hasMasterNCs&amp;quot;, NULL };
&lt;br&gt;+	struct ldb_result *res;
&lt;br&gt;+	struct ncList *nc_list = NULL;
&lt;br&gt;+	struct ncList *nc_list_elem;
&lt;br&gt;+	int ret;
&lt;br&gt;+	int i;
&lt;br&gt;+	char *nc_str;
&lt;br&gt;+
&lt;br&gt;+	ret = ldb_search(samdb, mem_ctx, &amp;res, ldb_get_config_basedn(samdb),
&lt;br&gt;+			LDB_SCOPE_DEFAULT, attrs, &amp;quot;(objectguid=%s)&amp;quot;, ntds_guid_str);
&lt;br&gt;+
&lt;br&gt;+	if (ret != LDB_SUCCESS) {
&lt;br&gt;+		DEBUG(0,(__location__ &amp;quot;: Failed objectguid search - %s\n&amp;quot;, ldb_errstring(samdb)));
&lt;br&gt;+		status = WERR_INTERNAL_ERROR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	if (res-&amp;gt;count == 0) {
&lt;br&gt;+		DEBUG(0,(__location__ &amp;quot;: Failed: objectguid=%s not found\n&amp;quot;, ntds_guid_str));
&lt;br&gt;+		status = WERR_INTERNAL_ERROR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; res-&amp;gt;count; i++) {
&lt;br&gt;+
&lt;br&gt;+		struct ldb_message_element *msg_elem = ldb_msg_find_element(
&lt;br&gt;+				res-&amp;gt;msgs[i], &amp;quot;hasMasterNCs&amp;quot;);
&lt;br&gt;+		int k;
&lt;br&gt;+
&lt;br&gt;+		if (!msg_elem || msg_elem-&amp;gt;num_values == 0) {
&lt;br&gt;+			DEBUG(0,(__location__ &amp;quot;: Failed: Attribute hasMasterNCs not found - %s\n&amp;quot;,
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; &amp;nbsp;ldb_errstring(samdb)));
&lt;br&gt;+			status = WERR_INTERNAL_ERROR;
&lt;br&gt;+			goto DONE;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		for (k = 0; k &amp;lt; msg_elem-&amp;gt;num_values; k++) {
&lt;br&gt;+			int len = msg_elem-&amp;gt;values[k].length;
&lt;br&gt;+
&lt;br&gt;+			/* copy the string on msg_elem-&amp;gt;values[k]-&amp;gt;data to nc_str */
&lt;br&gt;+			nc_str = talloc_array(mem_ctx, char, len);
&lt;br&gt;+			W_ERROR_HAVE_NO_MEMORY(nc_str);
&lt;br&gt;+			memcpy(nc_str, msg_elem-&amp;gt;values[k].data, len);
&lt;br&gt;+			nc_str[len] = '\0';
&lt;br&gt;+
&lt;br&gt;+			nc_list_elem = talloc_zero(mem_ctx, struct ncList);
&lt;br&gt;+			W_ERROR_HAVE_NO_MEMORY(nc_list_elem);
&lt;br&gt;+			nc_list_elem-&amp;gt;dn = ldb_dn_new(mem_ctx, samdb, nc_str);
&lt;br&gt;+			W_ERROR_HAVE_NO_MEMORY(nc_list_elem);
&lt;br&gt;+			DLIST_ADD(nc_list, nc_list_elem);
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	*master_nc_list = nc_list;
&lt;br&gt;+	/* If everything went fine so far, set the status to OK */
&lt;br&gt;+	status = WERR_OK;
&lt;br&gt;+DONE:
&lt;br&gt;+	return status;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg,
&lt;br&gt;+				 struct drsuapi_DsReplicaGetInfo *req)
&lt;br&gt;+{
&lt;br&gt;+	WERROR status;
&lt;br&gt;+
&lt;br&gt;+	struct drsuapi_DsReplicaGetInfoRequest1 *req1;
&lt;br&gt;+	struct drsuapi_DsReplicaGetInfoRequest2 *req2;
&lt;br&gt;+	enum drsuapi_DsReplicaInfoType info_type, *tmp_p_info_type;
&lt;br&gt;+
&lt;br&gt;+	int base_index;
&lt;br&gt;+	union drsuapi_DsReplicaInfo *reply;
&lt;br&gt;+
&lt;br&gt;+	struct GUID req_src_dsa_guid;
&lt;br&gt;+	const char *object_dn = NULL;
&lt;br&gt;+	struct ldb_dn *nc_dn = NULL;
&lt;br&gt;+	struct ncList *nc_list = NULL, *nc_list_elem = NULL;
&lt;br&gt;+
&lt;br&gt;+	struct kccsrv_service *service;
&lt;br&gt;+	struct ldb_context *samdb;
&lt;br&gt;+	TALLOC_CTX *mem_ctx;
&lt;br&gt;+
&lt;br&gt;+	service = talloc_get_type(msg-&amp;gt;private_data, struct kccsrv_service);
&lt;br&gt;+	samdb = service-&amp;gt;samdb;
&lt;br&gt;+	mem_ctx = talloc_new(msg);
&lt;br&gt;+	NT_STATUS_HAVE_NO_MEMORY(mem_ctx);
&lt;br&gt;+
&lt;br&gt;+	NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaGetInfo, req);
&lt;br&gt;+
&lt;br&gt;+	/* check request version */
&lt;br&gt;+	if (req-&amp;gt;in.level != DRSUAPI_DS_REPLICA_GET_INFO &amp;&amp;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;req-&amp;gt;in.level != DRSUAPI_DS_REPLICA_GET_INFO2)
&lt;br&gt;+	{
&lt;br&gt;+		status = WERR_REVISION_MISMATCH;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	if (req-&amp;gt;in.level == DRSUAPI_DS_REPLICA_GET_INFO) {
&lt;br&gt;+		req1 = &amp;req-&amp;gt;in.req-&amp;gt;req1;
&lt;br&gt;+		base_index = 0;
&lt;br&gt;+		info_type = req1-&amp;gt;info_type;
&lt;br&gt;+		object_dn = req1-&amp;gt;object_dn;
&lt;br&gt;+		req_src_dsa_guid = req1-&amp;gt;guid1;
&lt;br&gt;+
&lt;br&gt;+	} else { /* r-&amp;gt;in.level == DRSUAPI_DS_REPLICA_GET_INFO2 */
&lt;br&gt;+		req2 = &amp;req-&amp;gt;in.req-&amp;gt;req2;
&lt;br&gt;+		if (req2-&amp;gt;unknown2 == 0xffffffff) {
&lt;br&gt;+			/* no more data is available */
&lt;br&gt;+			status = WERR_NO_MORE_ITEMS; /* on MS-DRSR it is ERROR_NO_MORE_ITEMS */
&lt;br&gt;+			goto DONE;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		base_index = req2-&amp;gt;unknown2; /* Note: This is dwEnumerationContext on MS-DRSR 4.1.13.1.3 */
&lt;br&gt;+		info_type = req2-&amp;gt;info_type;
&lt;br&gt;+		object_dn = req2-&amp;gt;object_dn;
&lt;br&gt;+		req_src_dsa_guid = req2-&amp;gt;guid1;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* TODO: Perform the necessary access permission checking here according to the infoType requested */
&lt;br&gt;+
&lt;br&gt;+	switch (info_type) {
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS05:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_06:
&lt;br&gt;+		break;
&lt;br&gt;+	default:
&lt;br&gt;+		DEBUG(0,(__location__ &amp;quot;: infoType requested is invalid.&amp;quot;));
&lt;br&gt;+		status = WERR_INVALID_PARAMETER; /* infoType is invalid */
&lt;br&gt;+		goto DONE;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	/* allocate the reply and fill in some fields */
&lt;br&gt;+	reply = talloc_zero(mem_ctx, union drsuapi_DsReplicaInfo);
&lt;br&gt;+	NT_STATUS_HAVE_NO_MEMORY(reply);
&lt;br&gt;+	req-&amp;gt;out.info = reply;
&lt;br&gt;+	tmp_p_info_type = talloc(mem_ctx, enum drsuapi_DsReplicaInfoType);
&lt;br&gt;+	NT_STATUS_HAVE_NO_MEMORY(tmp_p_info_type);
&lt;br&gt;+	*tmp_p_info_type = info_type;
&lt;br&gt;+	req-&amp;gt;out.info_type = tmp_p_info_type;
&lt;br&gt;+
&lt;br&gt;+	/* Based on the infoType requested, retrieve the corresponding information and construct the response message */
&lt;br&gt;+	switch (info_type) {
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02: /* DS_REPL_INFO_REPSTO */
&lt;br&gt;+		if (object_dn != NULL) { /* ncs := { object_dn } */
&lt;br&gt;+			nc_list = NULL;
&lt;br&gt;+			nc_dn = ldb_dn_new(mem_ctx, samdb, object_dn);
&lt;br&gt;+			nc_list_elem = talloc_zero(mem_ctx, struct ncList);
&lt;br&gt;+			NT_STATUS_HAVE_NO_MEMORY(nc_list_elem);
&lt;br&gt;+			nc_list_elem-&amp;gt;dn = nc_dn;
&lt;br&gt;+			DLIST_ADD_END(nc_list, nc_list_elem, struct ncList*);
&lt;br&gt;+
&lt;br&gt;+		} else {
&lt;br&gt;+			/* ncs := getNCs() from ldb database.
&lt;br&gt;+			 * getNCs() must return an array containing the DSNames of all NCs hosted by this server.
&lt;br&gt;+			 */
&lt;br&gt;+			char *ntds_guid_str = GUID_string(mem_ctx, &amp;service-&amp;gt;ntds_guid);
&lt;br&gt;+			NT_STATUS_HAVE_NO_MEMORY(ntds_guid_str);
&lt;br&gt;+			status = get_master_ncs(mem_ctx, samdb, ntds_guid_str, &amp;nc_list);
&lt;br&gt;+			if (!W_ERROR_IS_OK(status)) {
&lt;br&gt;+				goto DONE;
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		if (info_type == DRSUAPI_DS_REPLICA_INFO_NEIGHBORS) {
&lt;br&gt;+			status = kccdrs_replica_get_info_neighbours(mem_ctx, samdb, req,
&lt;br&gt;+								 &amp;nbsp; &amp;nbsp;reply, base_index,
&lt;br&gt;+								 &amp;nbsp; &amp;nbsp;req_src_dsa_guid, nc_list);
&lt;br&gt;+
&lt;br&gt;+		} else { /* info_type == DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02 */
&lt;br&gt;+			status = WERR_FOOBAR;
&lt;br&gt;+			goto DONE;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA: /* On MS-DRSR it is DS_REPL_INFO_METADATA_FOR_OBJ */
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2: /* On MS-DRSR it is DS_REPL_INFO_METADATA_FOR_OBJ */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS: /* On MS-DRSR it is DS_REPL_INFO_CURSORS_FOR_NC */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS2: /* On MS-DRSR it is DS_REPL_INFO_CURSORS_2_FOR_NC */
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS3: /* On MS-DRSR it is DS_REPL_INFO_CURSORS_3_FOR_NC */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CURSORS05: /* On MS-DRSR it is DS_REPL_INFO_UPTODATE_VECTOR_V1 */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA: /* On MS-DRSR it is DS_REPL_INFO_METADATA_FOR_ATTR_VALUE */
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2: /* On MS-DRSR it is DS_REPL_INFO_METADATA_2_FOR_ATTR_VALUE */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES: /* On MS-DRSR it is DS_REPL_INFO_KCC_DSA_CONNECT_FAILURES */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES: /* On MS-DRSR it is DS_REPL_INFO_KCC_LINK_FAILURES */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS: /* On MS-DRSR it is DS_REPL_INFO_PENDING_OPS */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04: /* On MS-DRSR it is DS_REPL_INFO_CLIENT_CONTEXTS */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+
&lt;br&gt;+	case DRSUAPI_DS_REPLICA_INFO_06: /* On MS-DRSR it is DS_REPL_INFO_SERVER_OUTGOING_CALLS */
&lt;br&gt;+		status = WERR_FOOBAR;
&lt;br&gt;+		goto DONE;
&lt;br&gt;+		break;
&lt;br&gt;+	}
&lt;br&gt;+DONE:
&lt;br&gt;+	/* put the status on the result field of the reply */
&lt;br&gt;+	req-&amp;gt;out.result = status;
&lt;br&gt;+	NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaGetInfo, req);
&lt;br&gt;+	return NT_STATUS_OK;
&lt;br&gt;+}
&lt;br&gt;diff --git a/source4/dsdb/kcc/kcc_service.c b/source4/dsdb/kcc/kcc_service.c
&lt;br&gt;index 4196eb8..a076d20 100644
&lt;br&gt;--- a/source4/dsdb/kcc/kcc_service.c
&lt;br&gt;+++ b/source4/dsdb/kcc/kcc_service.c
&lt;br&gt;@@ -136,8 +136,7 @@ static WERROR kccsrv_load_partitions(struct kccsrv_service *s)
&lt;br&gt;&amp;nbsp;	return WERR_OK;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-static NTSTATUS kccsrv_execute_kcc(struct irpc_message *msg,
&lt;br&gt;-					struct drsuapi_DsExecuteKCC *r)
&lt;br&gt;+static NTSTATUS kccsrv_execute_kcc(struct irpc_message *msg, struct drsuapi_DsExecuteKCC *r)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	TALLOC_CTX *mem_ctx;
&lt;br&gt;&amp;nbsp;	NTSTATUS status;
&lt;br&gt;@@ -156,6 +155,11 @@ static NTSTATUS kccsrv_execute_kcc(struct irpc_message *msg,
&lt;br&gt;&amp;nbsp;	return NT_STATUS_OK;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static NTSTATUS kccsrv_replica_get_info(struct irpc_message *msg, struct drsuapi_DsReplicaGetInfo *r)
&lt;br&gt;+{
&lt;br&gt;+	return kccdrs_replica_get_info(msg, r);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp;startup the kcc service task
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;@@ -227,7 +231,9 @@ static void kccsrv_task_init(struct task_server *task)
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	irpc_add_name(task-&amp;gt;msg_ctx, &amp;quot;kccsrv&amp;quot;);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	IRPC_REGISTER(task-&amp;gt;msg_ctx, drsuapi, DRSUAPI_DSEXECUTEKCC, kccsrv_execute_kcc, service);
&lt;br&gt;+	IRPC_REGISTER(task-&amp;gt;msg_ctx, drsuapi, DRSUAPI_DSREPLICAGETINFO, kccsrv_replica_get_info, service);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
&lt;br&gt;index 3d92880..b1303ca 100644
&lt;br&gt;--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
&lt;br&gt;+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c
&lt;br&gt;@@ -815,7 +815,17 @@ static WERROR dcesrv_drsuapi_DsExecuteKCC(struct dcesrv_call_state *dce_call, TA
&lt;br&gt;&amp;nbsp;static WERROR dcesrv_drsuapi_DsReplicaGetInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; &amp;nbsp; struct drsuapi_DsReplicaGetInfo *r)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-	DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
&lt;br&gt;+	WERROR status;
&lt;br&gt;+	status = drs_security_level_check(dce_call, &amp;quot;DsReplicaGetInfo&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	if (!W_ERROR_IS_OK(status)) {
&lt;br&gt;+		return status;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	dcesrv_irpc_forward_rpc_call(dce_call, mem_ctx, r, NDR_DRSUAPI_DSREPLICAGETINFO,
&lt;br&gt;+								&amp;ndr_table_drsuapi, &amp;quot;kccsrv&amp;quot;, &amp;quot;DsReplicaGetInfo&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	return WERR_OK;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.6.0.4
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[0001-s4-drs-torture-test-for-DsGetReplInfo-RPC-DSGETI.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From af204d5f82079ec9079807c1cc2d6545b24e954d Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Erick Nogueira do Nascimento &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906903&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erick.nogueira.nascimento@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Wed, 23 Dec 2009 17:54:30 -0200
&lt;br&gt;Subject: [PATCH] s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/torture/config.mk &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;source4/torture/rpc/dsgetinfo.c | &amp;nbsp;350 +++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;source4/torture/rpc/rpc.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;3 files changed, 352 insertions(+), 1 deletions(-)
&lt;br&gt;&amp;nbsp;create mode 100644 source4/torture/rpc/dsgetinfo.c
&lt;br&gt;&lt;br&gt;diff --git a/source4/torture/config.mk b/source4/torture/config.mk
&lt;br&gt;index 7976df2..a8ef9b1 100644
&lt;br&gt;--- a/source4/torture/config.mk
&lt;br&gt;+++ b/source4/torture/config.mk
&lt;br&gt;@@ -116,7 +116,7 @@ PRIVATE_DEPENDENCIES = \
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;torture_rpc_OBJ_FILES = $(addprefix $(torturesrcdir)/rpc/, \
&lt;br&gt;&amp;nbsp;		join.o lsa.o lsa_lookup.o session_key.o echo.o dfs.o drsuapi.o \
&lt;br&gt;-		drsuapi_cracknames.o dssync.o spoolss.o spoolss_notify.o spoolss_win.o \
&lt;br&gt;+		drsuapi_cracknames.o dssync.o dsgetinfo.o spoolss.o spoolss_notify.o spoolss_win.o \
&lt;br&gt;&amp;nbsp;		unixinfo.o samr.o samr_accessmask.o wkssvc.o srvsvc.o svcctl.o atsvc.o \
&lt;br&gt;&amp;nbsp;		eventlog.o epmapper.o winreg.o initshutdown.o oxidresolve.o remact.o mgmt.o \
&lt;br&gt;&amp;nbsp;		scanner.o autoidl.o countcalls.o testjoin.o schannel.o netlogon.o remote_pac.o samlogon.o \
&lt;br&gt;diff --git a/source4/torture/rpc/dsgetinfo.c b/source4/torture/rpc/dsgetinfo.c
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..4e4b459
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/source4/torture/rpc/dsgetinfo.c
&lt;br&gt;@@ -0,0 +1,350 @@
&lt;br&gt;+/* 
&lt;br&gt;+ &amp;nbsp; Unix SMB/CIFS implementation.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; DsGetReplInfo test. Based on code from dssync.c
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; Copyright (C) Erick Nogueira do Nascimento 2009
&lt;br&gt;+ &amp;nbsp; 
&lt;br&gt;+ &amp;nbsp; This program is free software; you can redistribute it and/or modify
&lt;br&gt;+ &amp;nbsp; it under the terms of the GNU General Public License as published by
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation; either version 3 of the License, or
&lt;br&gt;+ &amp;nbsp; (at your option) any later version.
&lt;br&gt;+ &amp;nbsp; 
&lt;br&gt;+ &amp;nbsp; This program is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the
&lt;br&gt;+ &amp;nbsp; GNU General Public License for more details.
&lt;br&gt;+ &amp;nbsp; 
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU General Public License
&lt;br&gt;+ &amp;nbsp; along with this program. &amp;nbsp;If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;includes.h&amp;quot;
&lt;br&gt;+#include &amp;quot;lib/cmdline/popt_common.h&amp;quot;
&lt;br&gt;+#include &amp;quot;librpc/gen_ndr/ndr_drsuapi_c.h&amp;quot;
&lt;br&gt;+#include &amp;quot;librpc/gen_ndr/ndr_drsblobs.h&amp;quot;
&lt;br&gt;+#include &amp;quot;libcli/cldap/cldap.h&amp;quot;
&lt;br&gt;+#include &amp;quot;torture/torture.h&amp;quot;
&lt;br&gt;+#include &amp;quot;../libcli/drsuapi/drsuapi.h&amp;quot;
&lt;br&gt;+#include &amp;quot;auth/gensec/gensec.h&amp;quot;
&lt;br&gt;+#include &amp;quot;param/param.h&amp;quot;
&lt;br&gt;+#include &amp;quot;dsdb/samdb/samdb.h&amp;quot;
&lt;br&gt;+#include &amp;quot;lib/ldb_wrap.h&amp;quot;
&lt;br&gt;+#include &amp;quot;torture/rpc/rpc.h&amp;quot;
&lt;br&gt;+#include &amp;quot;torture/drs/proto.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+struct DsGetinfoBindInfo {
&lt;br&gt;+	struct dcerpc_pipe *drs_pipe;
&lt;br&gt;+	struct drsuapi_DsBind req;
&lt;br&gt;+	struct GUID bind_guid;
&lt;br&gt;+	struct drsuapi_DsBindInfoCtr our_bind_info_ctr;
&lt;br&gt;+	struct drsuapi_DsBindInfo28 our_bind_info28;
&lt;br&gt;+	struct drsuapi_DsBindInfo28 peer_bind_info28;
&lt;br&gt;+	struct policy_handle bind_handle;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+struct DsGetinfoTest {
&lt;br&gt;+	struct dcerpc_binding *drsuapi_binding;
&lt;br&gt;+	
&lt;br&gt;+	const char *ldap_url;
&lt;br&gt;+	const char *site_name;
&lt;br&gt;+	
&lt;br&gt;+	const char *domain_dn;
&lt;br&gt;+
&lt;br&gt;+	/* what we need to do as 'Administrator' */
&lt;br&gt;+	struct {
&lt;br&gt;+		struct cli_credentials *credentials;
&lt;br&gt;+		struct DsGetinfoBindInfo drsuapi;
&lt;br&gt;+	} admin;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+static struct DsGetinfoTest *test_create_context(struct torture_context *tctx)
&lt;br&gt;+{
&lt;br&gt;+	NTSTATUS status;
&lt;br&gt;+	struct DsGetinfoTest *ctx;
&lt;br&gt;+	struct drsuapi_DsBindInfo28 *our_bind_info28;
&lt;br&gt;+	struct drsuapi_DsBindInfoCtr *our_bind_info_ctr;
&lt;br&gt;+	const char *binding = torture_setting_string(tctx, &amp;quot;binding&amp;quot;, NULL);
&lt;br&gt;+	ctx = talloc_zero(tctx, struct DsGetinfoTest);
&lt;br&gt;+	if (!ctx) return NULL;
&lt;br&gt;+
&lt;br&gt;+	status = dcerpc_parse_binding(ctx, binding, &amp;ctx-&amp;gt;drsuapi_binding);
&lt;br&gt;+	if (!NT_STATUS_IS_OK(status)) {
&lt;br&gt;+		printf(&amp;quot;Bad binding string %s\n&amp;quot;, binding);
&lt;br&gt;+		return NULL;
&lt;br&gt;+	}
&lt;br&gt;+	ctx-&amp;gt;drsuapi_binding-&amp;gt;flags |= DCERPC_SIGN | DCERPC_SEAL;
&lt;br&gt;+
&lt;br&gt;+	/* ctx-&amp;gt;admin ...*/
&lt;br&gt;+	ctx-&amp;gt;admin.credentials				= cmdline_credentials;
&lt;br&gt;+
&lt;br&gt;+	our_bind_info28				= &amp;ctx-&amp;gt;admin.drsuapi.our_bind_info28;
&lt;br&gt;+	our_bind_info28-&amp;gt;supported_extensions	= 0xFFFFFFFF;
&lt;br&gt;+	our_bind_info28-&amp;gt;supported_extensions	|= DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3;
&lt;br&gt;+	our_bind_info28-&amp;gt;site_guid		= GUID_zero();
&lt;br&gt;+	our_bind_info28-&amp;gt;pid			= 0;
&lt;br&gt;+	our_bind_info28-&amp;gt;repl_epoch		= 1;
&lt;br&gt;+
&lt;br&gt;+	our_bind_info_ctr			= &amp;ctx-&amp;gt;admin.drsuapi.our_bind_info_ctr;
&lt;br&gt;+	our_bind_info_ctr-&amp;gt;length		= 28;
&lt;br&gt;+	our_bind_info_ctr-&amp;gt;info.info28		= *our_bind_info28;
&lt;br&gt;+
&lt;br&gt;+	GUID_from_string(DRSUAPI_DS_BIND_GUID, &amp;ctx-&amp;gt;admin.drsuapi.bind_guid);
&lt;br&gt;+
&lt;br&gt;+	ctx-&amp;gt;admin.drsuapi.req.in.bind_guid		= &amp;ctx-&amp;gt;admin.drsuapi.bind_guid;
&lt;br&gt;+	ctx-&amp;gt;admin.drsuapi.req.in.bind_info		= our_bind_info_ctr;
&lt;br&gt;+	ctx-&amp;gt;admin.drsuapi.req.out.bind_handle		= &amp;ctx-&amp;gt;admin.drsuapi.bind_handle;
&lt;br&gt;+
&lt;br&gt;+	return ctx;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static bool _test_DsBind(struct torture_context *tctx,
&lt;br&gt;+			 struct DsGetinfoTest *ctx, struct cli_credentials *credentials, struct DsGetinfoBindInfo *b)
&lt;br&gt;+{
&lt;br&gt;+	NTSTATUS status;
&lt;br&gt;+	bool ret = true;
&lt;br&gt;+
&lt;br&gt;+	status = dcerpc_pipe_connect_b(ctx,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;b-&amp;gt;drs_pipe, ctx-&amp;gt;drsuapi_binding,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;ndr_table_drsuapi,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; credentials, tctx-&amp;gt;ev, tctx-&amp;gt;lp_ctx);
&lt;br&gt;+	
&lt;br&gt;+	if (!NT_STATUS_IS_OK(status)) {
&lt;br&gt;+		printf(&amp;quot;Failed to connect to server as a BDC: %s\n&amp;quot;, nt_errstr(status));
&lt;br&gt;+		return false;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	status = dcerpc_drsuapi_DsBind(b-&amp;gt;drs_pipe, ctx, &amp;b-&amp;gt;req);
&lt;br&gt;+	if (!NT_STATUS_IS_OK(status)) {
&lt;br&gt;+		const char *errstr = nt_errstr(status);
&lt;br&gt;+		if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) {
&lt;br&gt;+			errstr = dcerpc_errstr(ctx, b-&amp;gt;drs_pipe-&amp;gt;last_fault_code);
&lt;br&gt;+		}
&lt;br&gt;+		printf(&amp;quot;dcerpc_drsuapi_DsBind failed - %s\n&amp;quot;, errstr);
&lt;br&gt;+		ret = false;
&lt;br&gt;+	} else if (!W_ERROR_IS_OK(b-&amp;gt;req.out.result)) {
&lt;br&gt;+		printf(&amp;quot;DsBind failed - %s\n&amp;quot;, win_errstr(b-&amp;gt;req.out.result));
&lt;br&gt;+		ret = false;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	ZERO_STRUCT(b-&amp;gt;peer_bind_info28);
&lt;br&gt;+	if (b-&amp;gt;req.out.bind_info) {
&lt;br&gt;+		switch (b-&amp;gt;req.out.bind_info-&amp;gt;length) {
&lt;br&gt;+		case 24: {
&lt;br&gt;+			struct drsuapi_DsBindInfo24 *info24;
&lt;br&gt;+			info24 = &amp;b-&amp;gt;req.out.bind_info-&amp;gt;info.info24;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.supported_extensions= info24-&amp;gt;supported_extensions;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.site_guid		= info24-&amp;gt;site_guid;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.pid			= info24-&amp;gt;pid;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.repl_epoch		= 0;
&lt;br&gt;+			break;
&lt;br&gt;+		}
&lt;br&gt;+		case 48: {
&lt;br&gt;+			struct drsuapi_DsBindInfo48 *info48;
&lt;br&gt;+			info48 = &amp;b-&amp;gt;req.out.bind_info-&amp;gt;info.info48;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.supported_extensions= info48-&amp;gt;supported_extensions;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.site_guid		= info48-&amp;gt;site_guid;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.pid			= info48-&amp;gt;pid;
&lt;br&gt;+			b-&amp;gt;peer_bind_info28.repl_epoch		= info48-&amp;gt;repl_epoch;
&lt;br&gt;+			break;
&lt;br&gt;+		}
&lt;br&gt;+		case 28:
&lt;br&gt;+			b-&amp;gt;peer_bind_info28 = b-&amp;gt;req.out.bind_info-&amp;gt;info.info28;
&lt;br&gt;+			break;
&lt;br&gt;+		default:
&lt;br&gt;+			printf(&amp;quot;DsBind - warning: unknown BindInfo length: %u\n&amp;quot;,
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; &amp;nbsp; b-&amp;gt;req.out.bind_info-&amp;gt;length);
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	return ret;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+static bool test_getinfo(struct torture_context *tctx, 
&lt;br&gt;+			 struct DsGetinfoTest *ctx)
&lt;br&gt;+{
&lt;br&gt;+	NTSTATUS status;
&lt;br&gt;+	struct dcerpc_pipe *p = ctx-&amp;gt;admin.drsuapi.drs_pipe;
&lt;br&gt;+	struct drsuapi_DsReplicaGetInfo r;
&lt;br&gt;+	union drsuapi_DsReplicaGetInfoRequest req;
&lt;br&gt;+	union drsuapi_DsReplicaInfo info;
&lt;br&gt;+	enum drsuapi_DsReplicaInfoType info_type;
&lt;br&gt;+	int i;
&lt;br&gt;+	struct {
&lt;br&gt;+		int32_t level;
&lt;br&gt;+		int32_t infotype;
&lt;br&gt;+		const char *obj_dn;
&lt;br&gt;+	} array[] = {
&lt;br&gt;+		{	
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_NEIGHBORS,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_CURSORS,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_PENDING_OPS,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_CURSORS2,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_CURSORS3,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04,
&lt;br&gt;+			&amp;quot;__IGNORED__&amp;quot;
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_CURSORS05,
&lt;br&gt;+			NULL
&lt;br&gt;+		},{
&lt;br&gt;+			DRSUAPI_DS_REPLICA_GET_INFO2,
&lt;br&gt;+			DRSUAPI_DS_REPLICA_INFO_06,
&lt;br&gt;+			NULL
&lt;br&gt;+		}
&lt;br&gt;+	};
&lt;br&gt;+
&lt;br&gt;+	if (torture_setting_bool(tctx, &amp;quot;samba4&amp;quot;, false)) {
&lt;br&gt;+		torture_comment(tctx, &amp;quot;skipping DsReplicaGetInfo test against Samba4\n&amp;quot;);
&lt;br&gt;+		return true;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	r.in.bind_handle	= &amp;ctx-&amp;gt;admin.drsuapi.bind_handle;
&lt;br&gt;+	r.in.req		= &amp;req;
&lt;br&gt;+
&lt;br&gt;+	for (i=0; i &amp;lt; ARRAY_SIZE(array); i++) {
&lt;br&gt;+		const char *object_dn;
&lt;br&gt;+
&lt;br&gt;+		torture_comment(tctx, &amp;quot;testing DsReplicaGetInfo level %d infotype %d\n&amp;quot;,
&lt;br&gt;+				array[i].level, array[i].infotype);
&lt;br&gt;+
&lt;br&gt;+		object_dn = (array[i].obj_dn ? array[i].obj_dn : ctx-&amp;gt;domain_dn);
&lt;br&gt;+
&lt;br&gt;+		r.in.level = array[i].level;
&lt;br&gt;+		switch(r.in.level) {
&lt;br&gt;+		case DRSUAPI_DS_REPLICA_GET_INFO:
&lt;br&gt;+			r.in.req-&amp;gt;req1.info_type	= array[i].infotype;
&lt;br&gt;+			r.in.req-&amp;gt;req1.object_dn	= object_dn;
&lt;br&gt;+			ZERO_STRUCT(r.in.req-&amp;gt;req1.guid1);
&lt;br&gt;+			break;
&lt;br&gt;+		case DRSUAPI_DS_REPLICA_GET_INFO2:
&lt;br&gt;+			r.in.req-&amp;gt;req2.info_type	= array[i].infotype;
&lt;br&gt;+			r.in.req-&amp;gt;req2.object_dn	= object_dn;
&lt;br&gt;+			ZERO_STRUCT(r.in.req-&amp;gt;req2.guid1);
&lt;br&gt;+			r.in.req-&amp;gt;req2.unknown1	= 0;
&lt;br&gt;+			r.in.req-&amp;gt;req2.string1	= NULL;
&lt;br&gt;+			r.in.req-&amp;gt;req2.string2	= NULL;
&lt;br&gt;+			r.in.req-&amp;gt;req2.unknown2	= 0;
&lt;br&gt;+			break;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		r.out.info		= &amp;info;
&lt;br&gt;+		r.out.info_type		= &amp;info_type;
&lt;br&gt;+
&lt;br&gt;+		status = dcerpc_drsuapi_DsReplicaGetInfo(p, tctx, &amp;r);
&lt;br&gt;+		torture_drsuapi_assert_call(tctx, p, status, &amp;r, &amp;quot;dcerpc_drsuapi_DsReplicaGetInfo&amp;quot;);
&lt;br&gt;+		if (!NT_STATUS_IS_OK(status) &amp;&amp; p-&amp;gt;last_fault_code == DCERPC_FAULT_INVALID_TAG) {
&lt;br&gt;+			torture_comment(tctx,
&lt;br&gt;+					&amp;quot;DsReplicaGetInfo level %d and/or infotype %d not supported by server\n&amp;quot;,
&lt;br&gt;+					array[i].level, array[i].infotype);
&lt;br&gt;+		} else {
&lt;br&gt;+			torture_drsuapi_assert_call(tctx, p, status, &amp;r, &amp;quot;dcerpc_drsuapi_DsReplicaGetInfo&amp;quot;);
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	return true;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ * DSGETINFO test case setup
&lt;br&gt;+ */
&lt;br&gt;+static bool torture_dsgetinfo_tcase_setup(struct torture_context *tctx, void **data)
&lt;br&gt;+{
&lt;br&gt;+	bool bret;
&lt;br&gt;+	struct DsGetinfoTest *ctx;
&lt;br&gt;+
&lt;br&gt;+	*data = ctx = test_create_context(tctx);
&lt;br&gt;+	torture_assert(tctx, ctx, &amp;quot;test_create_context() failed&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	bret = _test_DsBind(tctx, ctx, ctx-&amp;gt;admin.credentials, &amp;ctx-&amp;gt;admin.drsuapi);
&lt;br&gt;+	torture_assert(tctx, bret, &amp;quot;_test_DsBind() failed&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	return true;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ * DSGETINFO test case cleanup
&lt;br&gt;+ */
&lt;br&gt;+static bool torture_dsgetinfo_tcase_teardown(struct torture_context *tctx, void *data)
&lt;br&gt;+{
&lt;br&gt;+	struct DsGetinfoTest *ctx;
&lt;br&gt;+	struct drsuapi_DsUnbind r;
&lt;br&gt;+	struct policy_handle bind_handle;
&lt;br&gt;+
&lt;br&gt;+	ctx = talloc_get_type(data, struct DsGetinfoTest);
&lt;br&gt;+
&lt;br&gt;+	ZERO_STRUCT(r);
&lt;br&gt;+	r.out.bind_handle = &amp;bind_handle;
&lt;br&gt;+
&lt;br&gt;+	/* Unbing admin handle */
&lt;br&gt;+	r.in.bind_handle = &amp;ctx-&amp;gt;admin.drsuapi.bind_handle;
&lt;br&gt;+	dcerpc_drsuapi_DsUnbind(ctx-&amp;gt;admin.drsuapi.drs_pipe, ctx, &amp;r);
&lt;br&gt;+
&lt;br&gt;+	talloc_free(ctx);
&lt;br&gt;+
&lt;br&gt;+	return true;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ * DSGETINFO test case implementation
&lt;br&gt;+ */
&lt;br&gt;+void torture_drs_rpc_dsgetinfo_tcase(struct torture_suite *suite)
&lt;br&gt;+{
&lt;br&gt;+	typedef bool (*run_func) (struct torture_context *test, void *tcase_data);
&lt;br&gt;+
&lt;br&gt;+	struct torture_test *test;
&lt;br&gt;+	struct torture_tcase *tcase = torture_suite_add_tcase(suite, &amp;quot;DSGETINFO&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	torture_tcase_set_fixture(tcase,
&lt;br&gt;+				 &amp;nbsp;torture_dsgetinfo_tcase_setup,
&lt;br&gt;+				 &amp;nbsp;torture_dsgetinfo_tcase_teardown);
&lt;br&gt;+
&lt;br&gt;+	test = torture_tcase_add_simple_test(tcase, &amp;quot;DsGetReplicaInfo&amp;quot;, (run_func)test_getinfo);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
&lt;br&gt;index 3362bad..c4fc6b3 100644
&lt;br&gt;--- a/source4/torture/rpc/rpc.c
&lt;br&gt;+++ b/source4/torture/rpc/rpc.c
&lt;br&gt;@@ -498,6 +498,7 @@ NTSTATUS torture_rpc_init(void)
&lt;br&gt;&amp;nbsp;	torture_suite_add_simple_test(suite, &amp;quot;ALTERCONTEXT&amp;quot;, torture_rpc_alter_context);
&lt;br&gt;&amp;nbsp;	torture_suite_add_simple_test(suite, &amp;quot;JOIN&amp;quot;, torture_rpc_join);
&lt;br&gt;&amp;nbsp;	torture_drs_rpc_dssync_tcase(suite);
&lt;br&gt;+	torture_drs_rpc_dsgetinfo_tcase(suite);
&lt;br&gt;&amp;nbsp;	torture_suite_add_simple_test(suite, &amp;quot;BENCH-RPC&amp;quot;, torture_bench_rpc);
&lt;br&gt;&amp;nbsp;	torture_suite_add_simple_test(suite, &amp;quot;ASYNCBIND&amp;quot;, torture_async_bind);
&lt;br&gt;&amp;nbsp;	torture_suite_add_suite(suite, torture_rpc_ntsvcs(suite));
&lt;br&gt;-- 
&lt;br&gt;1.6.0.4
&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/-PATCH--DsReplGetInfo%28%29---infoType-%3D%3D-DS_REPL_INFO_NEIGHBORS-tp26851305p26906903.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906770</id>
	<title>Re: Rsync 3.0.7pre1 released</title>
	<published>2009-12-23T12:09:00Z</published>
	<updated>2009-12-23T12:09:00Z</updated>
	<author>
		<name>Wayne Davison-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 23, 2009 at 12:19 AM, Max Arnold &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906770&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lwarxx@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;if overall transfer time is greater than --timeout parameter, rsync exits.&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Thanks for pointing that out.  I have checked in a change into the b3.0.x branch that should fix this up.&lt;br clear=&quot;all&quot;&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/Rsync-3.0.7pre1-released-tp26883395p26906770.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906767</id>
	<title>PPTP ntlm_auth-helper problem?</title>
	<published>2009-12-23T12:08:58Z</published>
	<updated>2009-12-23T12:08:58Z</updated>
	<author>
		<name>Robert LeBlanc</name>
	</author>
	<content type="html">I wonder if I am seeing the problem mentioned here
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/samba-3.2-breaks-ppp-winbind-plugin-td18715806.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/samba-3.2-breaks-ppp-winbind-plugin-td18715806.html&lt;/a&gt;. I
&lt;br&gt;can connect a WIndows PPTP client just fine if using chap-secrets, but when
&lt;br&gt;I use the winbind plugin, the client says that it can not authenticate the
&lt;br&gt;server (both are on the same domain). They said it was resolved in 3.2, but
&lt;br&gt;we are using 3.4.3. Is it possible this bug reappeared?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Robert LeBlanc
&lt;br&gt;Life Sciences &amp; Undergraduate Education Computer Support
&lt;br&gt;Brigham Young University
&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/PPTP-ntlm_auth-helper-problem--tp26906767p26906767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906764</id>
	<title>Re: share CUPS printer/scanner in Debian system	with	Windows computers in home network</title>
	<published>2009-12-23T12:08:26Z</published>
	<updated>2009-12-23T12:08:26Z</updated>
	<author>
		<name>Seb-28</name>
	</author>
	<content type="html">On Wed, 23 Dec 2009 14:54:24 -0500,
&lt;br&gt;Ryan Suarez &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906764&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryan.suarez@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; How are you trying to connect to the samba server from windows?
&lt;br&gt;&lt;br&gt;I tried (1) going to &amp;quot;Network&amp;quot;, but I only see the local Windows machine
&lt;br&gt;and the router, (2) map a network drive and provide &amp;quot;\\kolob\sluque&amp;quot;,
&lt;br&gt;but it tells me it can't access the server, and (3) adding a &amp;quot;network
&lt;br&gt;printer&amp;quot; and choosing to browse for a printer, but the server isn't even
&lt;br&gt;listed, and if I just give the address &amp;quot;\\kolob\ML-1740&amp;quot; it also tells
&lt;br&gt;me that the server can't be accessed.
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26906764.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906619</id>
	<title>Re: share CUPS printer/scanner in Debian system	with	Windows computers in home network</title>
	<published>2009-12-23T11:54:24Z</published>
	<updated>2009-12-23T11:54:24Z</updated>
	<author>
		<name>Ryan Suarez</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; The latter: I can't see the server at all from a Windows (XP or Vista)
&lt;br&gt;&amp;gt; client, yet it's certainly visible and its printers readily available to
&lt;br&gt;&amp;gt; any GNU/Linux systems in the network. &amp;nbsp;Some people have reported that a
&lt;br&gt;&amp;gt; registry key
&lt;br&gt;&amp;gt; (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel)
&lt;br&gt;&amp;gt; needs to be set to 1. &amp;nbsp;I did that, rebooted Windows, but nothing
&lt;br&gt;&amp;gt; changed. &amp;nbsp;I also turned off the firewall in Windows to no avail. &amp;nbsp;Quite
&lt;br&gt;&amp;gt; frustrating.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;How are you trying to connect to the samba server from windows?
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26906619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26906481</id>
	<title>Re: share CUPS printer/scanner in Debian system with	Windows computers in home network</title>
	<published>2009-12-23T11:41:18Z</published>
	<updated>2009-12-23T11:41:18Z</updated>
	<author>
		<name>Seb-28</name>
	</author>
	<content type="html">On Wed, 23 Dec 2009 13:36:34 -0500,
&lt;br&gt;Ryan Suarez &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26906481&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryan.suarez@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Can you elaborate on what you mean by this?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;However, I cannot even see this computer from other Windows
&lt;br&gt;&amp;gt; machines in the network&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;gt; Are you saying you can't see the list of printers or you can't even
&lt;br&gt;&amp;gt; connect to the samba server from a windows client?
&lt;br&gt;&lt;br&gt;The latter: I can't see the server at all from a Windows (XP or Vista)
&lt;br&gt;client, yet it's certainly visible and its printers readily available to
&lt;br&gt;any GNU/Linux systems in the network. &amp;nbsp;Some people have reported that a
&lt;br&gt;registry key
&lt;br&gt;(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel)
&lt;br&gt;needs to be set to 1. &amp;nbsp;I did that, rebooted Windows, but nothing
&lt;br&gt;changed. &amp;nbsp;I also turned off the firewall in Windows to no avail. &amp;nbsp;Quite
&lt;br&gt;frustrating.
&lt;br&gt;&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26906481.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26905765</id>
	<title>Re: share CUPS printer/scanner in Debian system with	Windows computers in home network</title>
	<published>2009-12-23T10:36:34Z</published>
	<updated>2009-12-23T10:36:34Z</updated>
	<author>
		<name>Ryan Suarez</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ---&amp;lt;--------------------cut here---------------start-------------------&amp;gt;---
&lt;br&gt;&amp;gt; $ smbclient -L localhost
&lt;br&gt;&amp;gt; Enter sluque's password:
&lt;br&gt;&amp;gt; Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.3]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sharename &amp;nbsp; &amp;nbsp; &amp;nbsp; Type &amp;nbsp; &amp;nbsp; &amp;nbsp;Comment
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ---- &amp;nbsp; &amp;nbsp; &amp;nbsp;-------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IPC$ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPC &amp;nbsp; &amp;nbsp; &amp;nbsp; IPC Service (kolob server)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print$ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Disk &amp;nbsp; &amp;nbsp; &amp;nbsp;Printer Drivers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MP150 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Printer &amp;nbsp; Canon MP150
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ML-1740 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Printer &amp;nbsp; Samsung ML-1740
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sluque &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Disk &amp;nbsp; &amp;nbsp; &amp;nbsp;Home Directories
&lt;br&gt;&amp;gt; Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.3]
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Looks like smbclient can see the printers fine.
&lt;br&gt;&lt;br&gt;Can you elaborate on what you mean by this?
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;quot;However, I cannot even see this computer from other Windows 
&lt;br&gt;machines in the network&amp;quot;
&lt;br&gt;&lt;br&gt;Are you saying you can't see the list of printers or you can't even 
&lt;br&gt;connect to the samba server from a windows client?
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26905765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26905778</id>
	<title>samba vfs: recycle bin doesn't work with osx machines</title>
	<published>2009-12-23T10:13:23Z</published>
	<updated>2009-12-23T10:13:23Z</updated>
	<author>
		<name>Harondel J. Sibble</name>
	</author>
	<content type="html">Anyone here running a mixed network with windows and/or linux and Mac OSX 
&lt;br&gt;(10.5) machines and also using the VFS Recycle Bin module in their smb.conf?
&lt;br&gt;&lt;br&gt;Running Debian 5 with all latest updates on a Intel based server.
&lt;br&gt;&lt;br&gt;I've got a network with all the oses above and the recycle bin works fine for 
&lt;br&gt;the windows and linux clients, however anything deleted by the mac clients 
&lt;br&gt;doesn't end up in the recycle bin.
&lt;br&gt;&lt;br&gt;I haven't done any checking of the logs or sniffing of traffic yet. &amp;nbsp;Googling 
&lt;br&gt;has found me sqaut so far.
&lt;br&gt;&lt;br&gt;According to this, the functionality is supported when running Samba 3.x on a 
&lt;br&gt;Mac
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man8/vfs_recycle.8.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man8/vfs_recycle.8.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Any ideas before I go sniffing? Or suggestions on what specifically to look 
&lt;br&gt;at?
&lt;br&gt;-- 
&lt;br&gt;Harondel J. Sibble 
&lt;br&gt;Sibble Computer Consulting
&lt;br&gt;Creating Solutions for the small and medium business computer user.
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26905778&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help@...&lt;/a&gt; (use pgp keyid 0x3AD5C11D) &lt;a href=&quot;http://www.pdscc.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pdscc.com&lt;/a&gt;&lt;br&gt;(604) 739-3709 (voice)
&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-vfs%3A-recycle-bin-doesn%27t-work-with-osx-machines-tp26905778p26905778.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26905201</id>
	<title>Re: share CUPS printer/scanner in Debian system with Windows computers in home network</title>
	<published>2009-12-23T09:44:45Z</published>
	<updated>2009-12-23T09:44:45Z</updated>
	<author>
		<name>Seb-28</name>
	</author>
	<content type="html">On Wed, 23 Dec 2009 12:34:54 -0500,
&lt;br&gt;Ryan Suarez &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26905201&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ryan.suarez@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;&amp;gt; On the samba server what does 'smbclient -L localhost' output?
&lt;br&gt;&lt;br&gt;---&amp;lt;--------------------cut here---------------start-------------------&amp;gt;---
&lt;br&gt;$ smbclient -L localhost
&lt;br&gt;Enter sluque's password:
&lt;br&gt;Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.3]
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sharename &amp;nbsp; &amp;nbsp; &amp;nbsp; Type &amp;nbsp; &amp;nbsp; &amp;nbsp;Comment
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ---- &amp;nbsp; &amp;nbsp; &amp;nbsp;-------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IPC$ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPC &amp;nbsp; &amp;nbsp; &amp;nbsp; IPC Service (kolob server)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print$ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Disk &amp;nbsp; &amp;nbsp; &amp;nbsp;Printer Drivers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MP150 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Printer &amp;nbsp; Canon MP150
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ML-1740 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Printer &amp;nbsp; Samsung ML-1740
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sluque &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Disk &amp;nbsp; &amp;nbsp; &amp;nbsp;Home Directories
&lt;br&gt;Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.3]
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Server &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Comment
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HISPIDA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hispida server
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KOLOB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kolob server
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MAGALY-PC
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Workgroup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Master
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WORKGROUP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HISPIDA
&lt;br&gt;---&amp;lt;--------------------cut here---------------end---------------------&amp;gt;---
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Also, post the results of 'testparm -v'
&lt;br&gt;&lt;br&gt;---&amp;lt;--------------------cut here---------------start-------------------&amp;gt;---
&lt;br&gt;$ testparm -v
&lt;br&gt;Load smb config files from /etc/samba/smb.conf
&lt;br&gt;Processing section &amp;quot;[homes]&amp;quot;
&lt;br&gt;Processing section &amp;quot;[printers]&amp;quot;
&lt;br&gt;Processing section &amp;quot;[print$]&amp;quot;
&lt;br&gt;Loaded services file OK.
&lt;br&gt;Server role: ROLE_STANDALONE
&lt;br&gt;Press enter to see a dump of your service definitions
&lt;br&gt;&lt;br&gt;[global]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dos charset = CP850
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unix charset = UTF-8
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display charset = LOCALE
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workgroup = WORKGROUP
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; realm =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios name = KOLOB
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios aliases =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; netbios scope =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server string = %h server
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; interfaces =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bind interfaces only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; security = USER
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auth methods =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encrypt passwords = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; update encrypted = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client schannel = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server schannel = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; allow trusted domains = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map to guest = Never
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null passwords = No
&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; password server = *
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smb passwd file = /etc/samba/smbpasswd
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private dir = /etc/samba
&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; algorithmic rid base = 1000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root directory =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; guest account = nobody
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enable privileges = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pam password change = Yes
&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\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passwd chat debug = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passwd chat timeout = 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; check password script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; username map =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; password level = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; username level = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unix password sync = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; restrict anonymous = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lanman auth = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ntlm auth = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client NTLMv2 auth = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client lanman auth = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client plaintext auth = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preload modules =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dedicated keytab file =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kerberos method = default
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map untrusted to domain = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log level = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; syslog = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; syslog only = No
&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; debug timestamp = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug prefix timestamp = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug hires timestamp = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug pid = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug uid = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug class = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enable core files = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smb ports = 445 139
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; large readwrite = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max protocol = NT1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min protocol = CORE
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min receivefile size = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read raw = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write raw = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; disable netbios = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reset on zero vc = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acl compatibility = auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; defer sharing violations = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nt pipe support = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nt status support = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; announce version = 4.9
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; announce as = NT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max mux = 50
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max xmit = 16644
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name resolve order = lmhosts wins host bcast
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max ttl = 259200
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max wins ttl = 518400
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min wins ttl = 21600
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; time server = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unix extensions = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use spnego = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client signing = auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server signing = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client use spnego = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client ldap sasl wrapping = plain
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enable asu support = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; svcctl list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; deadtime = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getwd cache = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; keepalive = 300
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lpq cache time = 30
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max smbd processes = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paranoid server security = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max disk size = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max open files = 1024
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket options = TCP_NODELAY
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use mmap = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hostname lookups = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name cache timeout = 660
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ctdbd socket =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cluster addresses =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clustering = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; load printers = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printcap cache time = 750
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printcap name = cups
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cups server =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cups connection timeout = 30
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iprint server =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; disable spoolss = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addport command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enumports command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addprinter command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; deleteprinter command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; show add printer wizard = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; os2 driver map =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mangling method = hash2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mangle prefix = 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max stat cache size = 256
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stat cache = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; machine password timeout = 604800
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add user script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rename user script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete user script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add group script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete group script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add user to group script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete user from group script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set primary group script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add machine script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shutdown script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abort shutdown script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; username map script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon path = \\%N\%U\profile
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon drive =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logon home = \\%N\%U
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; domain logons = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init logon delayed hosts =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init logon delay = 100
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; os level = 20
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lm announce = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lm interval = 60
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preferred master = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; local master = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; domain master = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browse list = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enhanced browsing = 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; wins proxy = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wins server =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wins support = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wins hook =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kernel oplocks = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lock spin time = 200
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oplock break wait time = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap admin dn =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap delete dn = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap group suffix =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap idmap suffix =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap machine suffix =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap passwd sync = no
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap replication sleep = 1000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap suffix =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap ssl = start tls
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap ssl ads = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap timeout = 15
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap connection timeout = 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap page size = 1024
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap user suffix =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap debug level = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap debug threshold = 10
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eventlog list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add share command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; change share command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete share command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preload =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lock directory = /var/run/samba
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state directory = /var/lib/samba
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cache directory = /var/cache/samba
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pid directory = /var/run/samba
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; utmp directory =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wtmp directory =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; utmp = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default service =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; message command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get quota command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set quota command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remote announce =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remote browse sync =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket address = 0.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; homedir map = auto.home
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; afs username map =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; afs token lifetime = 604800
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log nt token command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; time offset = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIS homedir = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; registry shares = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare allow guests = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare max shares = 100
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare owner only = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare path = /var/lib/samba/usershares
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare prefix allow list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare prefix deny list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usershare template share =
&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; perfcount module =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host msdfs = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passdb expand explicit = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap backend = tdb
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap alloc backend =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap cache time = 604800
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap negative cache time = 120
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap uid =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap gid =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; template homedir = /home/%D/%U
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; template shell = /bin/false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind separator = \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind cache time = 300
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind reconnect delay = 30
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind enum users = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind enum groups = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind use default domain = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind trusted domains only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind nested groups = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind expand groups = 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind nss info = template
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind refresh tickets = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind offline logon = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind normalize names = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind rpc only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comment =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; username =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; invalid users =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; valid users =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; admin users =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write list =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printer admin =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force user =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force group =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read only = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acl check permissions = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acl group control = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acl map full control = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; create mask = 0744
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force create mode = 00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; security mask = 0777
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force security mode = 00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; directory mask = 0755
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force directory mode = 00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; directory security mask = 0777
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force directory security mode = 00
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force unknown acl user = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inherit permissions = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inherit acls = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; inherit owner = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; guest only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; administrative share = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; guest ok = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; only user = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hosts allow =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hosts deny =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; allocation roundup size = 1048576
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aio read size = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aio write size = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aio write behind =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ea support = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nt acl support = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; profile acls = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map acl inherit = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; afs share = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; smb encrypt = auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; block size = 1024
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; change notify = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; directory name cache size = 100
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kernel change notify = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max connections = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; min print space = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strict allocate = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strict sync = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sync always = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use sendfile = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; write cache size = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max reported print jobs = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max print jobs = 1000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printable = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printing = cups
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cups options =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lpq command = %p
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lprm command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lppause command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lpresume command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; queuepause command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; queueresume command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printer name =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; use client driver = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default devmode = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; force printername = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printjob username = %U
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default case = lower
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case sensitive = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preserve case = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; short preserve case = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mangling char = ~
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hide dot files = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hide special files = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hide unreadable = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hide unwriteable files = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete veto files = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; veto files =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hide files =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; veto oplock files =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map archive = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map hidden = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map system = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map readonly = yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mangled names = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; store dos attributes = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dmapi support = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browseable = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; access based share enum = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browsable = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; blocking locks = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csc policy = manual
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fake oplocks = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; locking = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oplocks = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; level2 oplocks = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oplock contention limit = 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; posix locking = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strict locking = Auto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; share modes = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dfree cache time = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dfree command =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; copy =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preexec =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; preexec close = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; postexec =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root preexec =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root preexec close = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root postexec =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; available = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; volume =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fstype = NTFS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set directory = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; wide links = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; follow symlinks = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dont descend =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; magic script =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; magic output =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delete readonly = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dos filemode = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dos filetimes = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dos filetime resolution = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fake directory create times = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vfs objects =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msdfs root = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msdfs proxy =
&lt;br&gt;&lt;br&gt;[homes]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comment = Home Directories
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; valid users = %S
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; read only = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; create mask = 0700
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; directory mask = 0700
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browseable = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browsable = No
&lt;br&gt;&lt;br&gt;[printers]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comment = All Printers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path = /var/spool/samba
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; create mask = 0700
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; guest ok = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printable = Yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browseable = No
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; browsable = No
&lt;br&gt;&lt;br&gt;[print$]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comment = Printer Drivers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path = /var/lib/samba/printers
&lt;br&gt;---&amp;lt;--------------------cut here---------------end---------------------&amp;gt;---
&lt;br&gt;&lt;br&gt;Thanks so much for your help with this.
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26905201.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26905074</id>
	<title>Re: share CUPS printer/scanner in Debian system with Windows computers in home network</title>
	<published>2009-12-23T09:34:54Z</published>
	<updated>2009-12-23T09:34:54Z</updated>
	<author>
		<name>Ryan Suarez</name>
	</author>
	<content type="html">Seb wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been trying to fix this for many months and cannot do it. &amp;nbsp;I have a
&lt;br&gt;&amp;gt; printer (Samsung ML-1740) and a printer/scanner (Canon MP-150), both
&lt;br&gt;&amp;gt; installed in a Debian AMD64 system via CUPS. &amp;nbsp;I have enabled sharing all
&lt;br&gt;&amp;gt; printers in this machine in CUPS, and can print to them fine from other
&lt;br&gt;&amp;gt; GNU/Linux systems in the network. &amp;nbsp;However, I cannot even see this
&lt;br&gt;&amp;gt; computer from other Windows machines in the network, even though I have
&lt;br&gt;&amp;gt; the following in /etc/samba/smb.conf:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;On the samba server what does 'smbclient -L localhost' output?
&lt;br&gt;Also, post the results of 'testparm -v'.
&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/share-CUPS-printer-scanner-in-Debian-system-with-Windows-computers-in-home-network-tp26895974p26905074.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26904960</id>
	<title>Re: strange issue with xerox printer: unable to configure driver</title>
	<published>2009-12-23T09:23:28Z</published>
	<updated>2009-12-23T09:23:28Z</updated>
	<author>
		<name>Ryan Suarez</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Still working this out with the vendor.
&lt;br&gt;&lt;br&gt;Could you guys try this driver with the Xerox 7xxx model and let me know 
&lt;br&gt;if it plays nicer with samba?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.support.xerox.com/go/getfile.asp?Xlang=fr_FR&amp;XCntry=FRA&amp;objid=55425&amp;EULA=1&amp;prodID=WC7228_WC7235_WC7245&amp;Family=WorkCentre&amp;ripId=&amp;langs=English%20(US)&amp;plats=Windows%20XP&amp;Xtype=download&amp;uType=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.support.xerox.com/go/getfile.asp?Xlang=fr_FR&amp;XCntry=FRA&amp;objid=55425&amp;EULA=1&amp;prodID=WC7228_WC7235_WC7245&amp;Family=WorkCentre&amp;ripId=&amp;langs=English%20(US)&amp;plats=Windows%20XP&amp;Xtype=download&amp;uType=&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Their thoughts is the device mode issue which we're all familiar with:
&lt;br&gt;&amp;quot;Be aware that a valid device mode can only be initiated by a _printer 
&lt;br&gt;admin_ 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html&lt;/a&gt;&amp;gt; 
&lt;br&gt;or root (the reason should be obvious). Device modes can be correctly 
&lt;br&gt;set only by executing the printer driver program itself. Since Samba 
&lt;br&gt;cannot execute this Win32 platform driver code, it sets this field 
&lt;br&gt;initially to NULL (which is not a valid setting for clients to use). 
&lt;br&gt;Fortunately, most drivers automatically generate the printer driver data 
&lt;br&gt;that is needed when they are uploaded to the/ [print$]/ share with the 
&lt;br&gt;help of the APW or rpcclient. &amp;quot;
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nabil@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey Ryan, 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am having the same problem. A client bought two of the bigger xerox printers, a 7655 and a 5225. We would much prefer to run them through Samba. I was wondering if you and the engineers were able to come up with something. Any help would be hugely appreciated. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _Nabil 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ryan Suarez wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm having the same problem w/ samba v3.3.9 and Xerox 7346 drivers.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When I try to edit default driver properties I get function errors and 
&lt;br&gt;&amp;gt;&amp;gt; operation could not be completed (screenshots attached).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm currently working with Xerox 2nd level engineering on this. &amp;nbsp;I'll 
&lt;br&gt;&amp;gt;&amp;gt; let you know if anything comes of it although I'm not feeling 
&lt;br&gt;&amp;gt;&amp;gt; particularly optimistic.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt; Ryan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Guillaume Rousse wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello list.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've a strange issue with a samba 3.4.3 print server. Everything is 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fine with most printers, meaning drivers are assigned on server side 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and automatically distributed to the clients as expected. However, I 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fail to configure a Xerox document center 7435 the same way.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When I attempt to assign a driver to the printer, from a windows 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; client with admin privileges, &amp;nbsp;I get an 'unexpected error occured in 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the print driver, close this windows and retry' error message, twice. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; More precisely, I can see initial renaming of the printer according to 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the driver name, then the error occurs, then the printer get renamed 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to '' (which is a bit painful :P)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I previously had a slightly different model (document center pro 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; c2636) which was working fine. The other working printers are not 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; xerox ones.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The driver is OK: it works fine when accessing the printer directly, 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and also when used from a windows print server. Also, I tried other 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; variants (such as PCL driver instead of PS one), without success.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When configuring the same printer from a Windows system, I had to 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; configure it with raw socket connection, because IPP connection didn't 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; allowed me to share it at all, and CIFS connection to the print queue 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; caused me some troubles (the printer didn't appeared in the 'fax and 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; printers list' of the server from remote hosts).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The underlying printing system, cups, works perfectly. I've tried to 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; switch from IPP to raw socket connection, because of the behaviour 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; changes found with windows server, it didn't change anything.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I performed a network capture both on server and client side while 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; triggering the error. The result is available as:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.zarb.org/~guillomovitch/server.pcap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zarb.org/~guillomovitch/server.pcap&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.zarb.org/~guillomovitch/client.pcap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zarb.org/~guillomovitch/client.pcap&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I can see some suspicious messages such as:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; WINREG &amp;nbsp; &amp;nbsp;OpenKey response, Error: WERR_BADFILE
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SPOOLSS &amp;nbsp; &amp;nbsp;GetPrinterData response, PrintProcCaps_NT EMF 1.008, File 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not found (pathname error)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SPOOLSS &amp;nbsp; &amp;nbsp;SetPrinterDataEx response, Access denied
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; But nothing really useful.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm joining my samba configuration file. I'm using mandriva 2009.0 as 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; server, and windows XP enterprise as client.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Any hint appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list go to the following URL and read the
&lt;br&gt;&amp;gt;&amp;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;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Quoted from: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/strange-issue-with-xerox-printer%3A-unable-to-configure-driver-tp26545715p26576396.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/strange-issue-with-xerox-printer%3A-unable-to-configure-driver-tp26545715p26576396.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&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-strange-issue-with-xerox-printer%3A-unable-to-configure-driver-tp26904960p26904960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26904592</id>
	<title>Re: [linux-cifs-client] [PATCH] doc: update mount.cifs man page with nounix option</title>
	<published>2009-12-23T08:49:51Z</published>
	<updated>2009-12-23T08:49:51Z</updated>
	<author>
		<name>Jeff Layton-2</name>
	</author>
	<content type="html">On Tue, 22 Dec 2009 20:16:41 +0530
&lt;br&gt;Suresh Jayaraman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjayaraman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Change since last post:
&lt;br&gt;&amp;gt; 	- fix build error due to superfluous &amp;lt;/para&amp;gt; tag.
&lt;br&gt;&amp;gt; 	- ensure it builds fine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also add a section on INODE NUMBERS that discusses inode numbers more
&lt;br&gt;&amp;gt; thoroughly and add reference to it in &amp;quot;nounix&amp;quot; and &amp;quot;noserverino&amp;quot;
&lt;br&gt;&amp;gt; options.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks to Jeff Layton for explaining those details.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Suresh Jayaraman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904592&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjayaraman@...&lt;/a&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Looks good. Pushed to samba master and v3-5-test branches.
&lt;br&gt;&lt;br&gt;Thanks,
&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=26904592&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;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/Re%3A--linux-cifs-client---PATCH--doc%3A-update-mount.cifs-man-page-with-nounix-option-tp26904592p26904592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26904591</id>
	<title>Re: [PATCH] doc: update mount.cifs man page with nounix option</title>
	<published>2009-12-23T08:49:51Z</published>
	<updated>2009-12-23T08:49:51Z</updated>
	<author>
		<name>Jeff Layton-2</name>
	</author>
	<content type="html">On Tue, 22 Dec 2009 20:16:41 +0530
&lt;br&gt;Suresh Jayaraman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904591&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjayaraman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Change since last post:
&lt;br&gt;&amp;gt; 	- fix build error due to superfluous &amp;lt;/para&amp;gt; tag.
&lt;br&gt;&amp;gt; 	- ensure it builds fine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also add a section on INODE NUMBERS that discusses inode numbers more
&lt;br&gt;&amp;gt; thoroughly and add reference to it in &amp;quot;nounix&amp;quot; and &amp;quot;noserverino&amp;quot;
&lt;br&gt;&amp;gt; options.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks to Jeff Layton for explaining those details.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Suresh Jayaraman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904591&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjayaraman@...&lt;/a&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Looks good. Pushed to samba master and v3-5-test branches.
&lt;br&gt;&lt;br&gt;Thanks,
&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=26904591&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jlayton@...&lt;/a&gt;&amp;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=26904591&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--doc%3A-update-mount.cifs-man-page-with-nounix-option-tp26889464p26904591.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26904514</id>
	<title>Re: Looking for Windows port</title>
	<published>2009-12-23T08:43:11Z</published>
	<updated>2009-12-23T08:43:11Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Wed, Dec 23, 2009 at 10:19:19AM -0600, Pitr Tend wrote:
&lt;br&gt;&amp;gt; If the question is so stupid then why did did Ross Smith try it with Cygwin
&lt;br&gt;&amp;gt; and succeed?
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://smithii.com/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smithii.com/samba&lt;/a&gt;&lt;br&gt;&lt;br&gt;Samba has two general components: A client and a server
&lt;br&gt;side. It could make sense to use the client side on Windows,
&lt;br&gt;I don't see much point in getting the server side to run.
&lt;br&gt;&lt;br&gt;If you need the client utils, you might be lucky to make it
&lt;br&gt;run, but this is nothing the Samba Team actively pursues at
&lt;br&gt;this moment. Feel free to send in patches to make it work,
&lt;br&gt;we will review them and if they are good include them.
&lt;br&gt;&lt;br&gt;Volker
&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/Looking-for-Windows-port-tp26879444p26904514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26904178</id>
	<title>Re: Looking for Windows port</title>
	<published>2009-12-23T08:19:19Z</published>
	<updated>2009-12-23T08:19:19Z</updated>
	<author>
		<name>P Tend</name>
	</author>
	<content type="html">If the question is so stupid then why did did Ross Smith try it with Cygwin
&lt;br&gt;and succeed?
&lt;br&gt;&lt;a href=&quot;http://smithii.com/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smithii.com/samba&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks for your consideration.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 21, 2009 at 2:50 PM, Brian Cowan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904178&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brcowan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Dec 21, 2009 at 3:18 PM, P Tend &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26904178&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acme1959@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Samba has been around for several years and seems mature but I cannot find
&lt;br&gt;&amp;gt;&amp;gt; a
&lt;br&gt;&amp;gt;&amp;gt; Windows port anywhere?
&lt;br&gt;&amp;gt;&amp;gt; I want to write code once and run same on Linux and Windows but this gap
&lt;br&gt;&amp;gt;&amp;gt; prevents me.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Has anybody tried?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Stupid question: Why would you want to port the *emulator* back to the
&lt;br&gt;&amp;gt; platform it is supposed to emulate? This request makes no logical sense.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for your consideration.
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list go to the following URL and read the
&lt;br&gt;&amp;gt;&amp;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;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&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/Looking-for-Windows-port-tp26879444p26904178.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903847</id>
	<title>rsync stuck in infinite loop? (was How do I make rsync ignore unreadable files (damaged sectors)?)</title>
	<published>2009-12-23T07:52:09Z</published>
	<updated>2009-12-23T07:52:09Z</updated>
	<author>
		<name>Carlos Carvalho-3</name>
	</author>
	<content type="html">Wayne Davison (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26903847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wayned@...&lt;/a&gt;) wrote on 22 December 2009 08:02:
&lt;br&gt;&amp;nbsp;&amp;gt;On Tue, Dec 22, 2009 at 4:18 AM, Tomas Gustavsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26903847&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomplast@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; Still, I do think that rsync should give up after a long time, but it doesn't.
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;gt;Yeah, if it gets a read error for a part of a file, it substitutes
&lt;br&gt;&amp;nbsp;&amp;gt;zeros for the data and keeps trying to read the file. &amp;nbsp;That could make
&lt;br&gt;&amp;nbsp;&amp;gt;it take an eternity for a large file that is entirely unreadable. &amp;nbsp;It
&lt;br&gt;&amp;nbsp;&amp;gt;would also mark the file bad, and retry sending it, so expect double
&lt;br&gt;&amp;nbsp;&amp;gt;the fun.
&lt;br&gt;&lt;br&gt;About a month ago something very strange happened here: rsync
&lt;br&gt;apparently got stuck in an infinite loop, consuming a lot of cpu but
&lt;br&gt;doing no I/O. Total cpu times ranged from about 40min to over 2h when
&lt;br&gt;I killed them manually. It was on the destination machine, I don't
&lt;br&gt;know if it was the receiver or generator. It happened a few times,
&lt;br&gt;with both 3.1 and 3.0.6, and with 2 origin machines; one of them runs
&lt;br&gt;protocol 29 and the other 30. It was a standard recursive/delete run,
&lt;br&gt;on a repository with about 800,000 files. The problem disappeared
&lt;br&gt;magically and never happened again.
&lt;br&gt;&lt;br&gt;Are there situations where rsync may get trapped in infinite loops?
&lt;br&gt;Might it have any relation to the above issue?
&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/How-do-I-make-rsync-ignore-unreadable-files-%28damaged-sectors%29--tp26886664p26903847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903683</id>
	<title>Re: [PATCH] make --control effectivly work in ldbadd/ldbmodify/ldbdelete</title>
	<published>2009-12-23T07:37:09Z</published>
	<updated>2009-12-23T07:37:09Z</updated>
	<author>
		<name>simo-7</name>
	</author>
	<content type="html">On Wed, 2009-12-23 at 16:16 +0100, Stefan (metze) Metzmacher wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And also there's a variable declaration after code in ldbdel.c
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please fix or revert the changes, thanks:-)
&lt;br&gt;&lt;br&gt;Thanks Metze,
&lt;br&gt;pushed patches to fix this.
&lt;br&gt;&lt;br&gt;Matthieu,
&lt;br&gt;it would be nice if you'd actually at least compile once before
&lt;br&gt;submitting patches.
&lt;br&gt;&lt;br&gt;Simo.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simo Sorce
&lt;br&gt;Samba Team GPL Compliance Officer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26903683&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Principal Software Engineer at Red Hat, Inc. &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26903683&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simo@...&lt;/a&gt;&amp;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/-PATCH--make---control-effectivly-work-in-ldbadd-ldbmodify-ldbdelete-tp26895178p26903683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903666</id>
	<title>possible incompatibility in 3.1 with 3.0.6</title>
	<published>2009-12-23T07:35:38Z</published>
	<updated>2009-12-23T07:35:38Z</updated>
	<author>
		<name>Carlos Carvalho-3</name>
	</author>
	<content type="html">Got this strange error:
&lt;br&gt;&lt;br&gt;receiving incremental file list
&lt;br&gt;rsync: opendir &amp;quot;/.~tmp~&amp;quot; (in &amp;lt;sender-module&amp;gt;) failed: Permission denied (13)
&lt;br&gt;IO error encountered -- skipping file deletion
&lt;br&gt;rsync: opendir &amp;quot;/path/.~tmp~&amp;quot; (in &amp;lt;sender-module&amp;gt;) failed: Permission denied (13)
&lt;br&gt;invalid multi-message 22:4 [sender/inc]
&lt;br&gt;***************************************
&lt;br&gt;rsync: connection unexpectedly closed (34741 bytes received so far) [receiver]
&lt;br&gt;&lt;br&gt;What I find strange is the &amp;quot;invalid multi-message&amp;quot; line. The
&lt;br&gt;origin/sender is 3.1 HEAD-20091127-0430GMT and the receiver is 3.0.6
&lt;br&gt;(which produced the above log). Is it an incompatibility? It *seems*
&lt;br&gt;to happen only when there are permission denied cases.
&lt;br&gt;&lt;br&gt;Anyway, the receiver shouldn't have aborted.
&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/possible-incompatibility-in-3.1-with-3.0.6-tp26903666p26903666.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903621</id>
	<title>strange error code with 3.1</title>
	<published>2009-12-23T07:25:34Z</published>
	<updated>2009-12-23T07:25:34Z</updated>
	<author>
		<name>Carlos Carvalho-3</name>
	</author>
	<content type="html">Got this with
&lt;br&gt;rsync --list-only --files-from=list directory dummy &amp;gt; output 2&amp;gt; errors
&lt;br&gt;to get a local file list:
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;rsync: link_stat &amp;quot;file-name&amp;quot; failed: No such file or directory (2)
&lt;br&gt;rsync: link_stat &amp;quot;file-name&amp;quot; failed: No such file or directory (2)
&lt;br&gt;rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1141) [sender=3.1.0dev]
&lt;br&gt;rsync: [sender] write error: Broken pipe (32)
&lt;br&gt;&lt;br&gt;Everything is normal except the last line. I don't understand the code
&lt;br&gt;32 return value, I think it should be 23.
&lt;br&gt;&lt;br&gt;This happened with HEAD-20091127-0430GMT.
&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/strange-error-code-with-3.1-tp26903621p26903621.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903438</id>
	<title>Re: [PATCH] make --control effectivly work in	ldbadd/ldbmodify/ldbdelete</title>
	<published>2009-12-23T07:16:40Z</published>
	<updated>2009-12-23T07:16:40Z</updated>
	<author>
		<name>Stefan (metze) Metzmacher</name>
	</author>
	<content type="html">simo schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 2009-12-23 at 01:45 +0300, Matthieu Patou wrote:
&lt;br&gt;&amp;gt;&amp;gt; The same but with a proper ldbutil.h instead of #include ldbutil.c
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 23/12/2009 01:16, Matthieu Patou wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Find attached 2 patches:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; * 1 for effectively passing the controls to the ldb subsystem in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ldbadd/ldbmodify/ldbdelete
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; * 1 for testing that behavior
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It's also available in the branch misc at
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://repo.or.cz/w/Samba/ekacnet.git&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.or.cz/w/Samba/ekacnet.git&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Matthieu.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Pushed to master.
&lt;/div&gt;&lt;/div&gt;I'm getting this now:
&lt;br&gt;&lt;br&gt;Compiling lib/ldb/tools/ldbutil.c
&lt;br&gt;lib/ldb/tools/ldbutil.c: In function 'ldb_do_autotransaction':
&lt;br&gt;lib/ldb/tools/ldbutil.c:57: error: implicit declaration of function
&lt;br&gt;'ldb_asprintf_errstring'
&lt;br&gt;lib/ldb/tools/ldbutil.c: At top level:
&lt;br&gt;lib/ldb/tools/ldbutil.c:65: warning: no previous prototype for
&lt;br&gt;'ldb_add_ctrl'
&lt;br&gt;lib/ldb/tools/ldbutil.c:96: warning: no previous prototype for
&lt;br&gt;'ldb_delete_ctrl'
&lt;br&gt;lib/ldb/tools/ldbutil.c:122: warning: no previous prototype for
&lt;br&gt;'ldb_modify_ctrl'
&lt;br&gt;The following command failed:
&lt;br&gt;ccache gcc -Wc++-compat -fstrict-aliasing -Wstrict-aliasing=2
&lt;br&gt;-fstrict-overflow -Wstrict-overflow=5 -Wmissing-prototypes -g
&lt;br&gt;-DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow
&lt;br&gt;-Werror-implicit-function-declaration -Wstrict-prototypes
&lt;br&gt;-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
&lt;br&gt;-Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement
&lt;br&gt;-Wunused-macros -Wno-format-y2k -Wno-unused-parameter -Ilib/ldb
&lt;br&gt;-Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include
&lt;br&gt;-Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include
&lt;br&gt;-Iheimdal/../heimdal_build -Iheimdal/lib/hdb -Iheimdal_build
&lt;br&gt;-Iheimdal/lib/roken -Iheimdal/lib/hdb -Ilib/ldb/include
&lt;br&gt;-Ilib/ldb/include -Ilib/ldb/ldb_tdb -Ilib/ldb/include -Ilib/ldb/include
&lt;br&gt;&amp;nbsp; &amp;nbsp; -Iheimdal/../heimdal_build -Iheimdal/lib/gssapi
&lt;br&gt;-Iheimdal/lib/gssapi/gssapi -Iheimdal/lib/gssapi/spnego
&lt;br&gt;-Iheimdal/lib/gssapi/krb5 -Iheimdal/lib/gssapi/mech -Iheimdal/lib/gssapi
&lt;br&gt;-Iheimdal/lib/gssapi &amp;nbsp; &amp;nbsp; -I../lib/tdb/include &amp;nbsp;-I./../lib/talloc
&lt;br&gt;-Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1
&lt;br&gt;-Iheimdal/lib/com_err &amp;nbsp; -Iheimdal/../heimdal_build -Iheimdal/lib/hx509
&lt;br&gt;-Iheimdal/lib/hx509 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1
&lt;br&gt;-Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/../heimdal_build
&lt;br&gt;-Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/../heimdal_build
&lt;br&gt;-Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build
&lt;br&gt;-Iheimdal/lib/wind -Iheimdal/lib/asn1 -Iheimdal/lib/asn1
&lt;br&gt;-Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build
&lt;br&gt;-Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/com_err
&lt;br&gt;-Iheimdal/../heimdal_build -Iheimdal/lib/roken -Iheimdal/include
&lt;br&gt;-I../lib/socket_wrapper &amp;nbsp; -Ilib/events &amp;nbsp;-Wc++-compat -fstrict-aliasing
&lt;br&gt;-Wstrict-aliasing=2 -fstrict-overflow -Wstrict-overflow=5
&lt;br&gt;-Wmissing-prototypes -g &amp;nbsp; -I../lib/tevent &amp;nbsp; -I../lib/talloc
&lt;br&gt;-Ilib/replace &amp;nbsp; &amp;nbsp; -fPIC -I./include -I. -I./lib -I./../lib/replace
&lt;br&gt;-I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H &amp;nbsp;-c
&lt;br&gt;lib/ldb/tools/ldbutil.c -o lib/ldb/tools/ldbutil.o
&lt;br&gt;make: *** [lib/ldb/tools/ldbutil.o] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;And also there's a variable declaration after code in ldbdel.c
&lt;br&gt;&lt;br&gt;Please fix or revert the changes, thanks:-)
&lt;br&gt;&lt;br&gt;metze
&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; (268 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26903438/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/-PATCH--make---control-effectivly-work-in-ldbadd-ldbmodify-ldbdelete-tp26895178p26903438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903056</id>
	<title>Re :Re: dns lookups for SRV kerberos</title>
	<published>2009-12-23T06:41:03Z</published>
	<updated>2009-12-23T06:41:03Z</updated>
	<author>
		<name>aplist</name>
	</author>
	<content type="html">I forgot to mention the ultimate goal is to have wbinfo respond as quickly as possible when dcserver1 (==dns1+ads1) has gone down. 
&lt;br&gt;&lt;br&gt;for the moment, times are (with 1s DNS timeout) : 
&lt;br&gt;first wbinfo after dcserver failure : &amp;nbsp;between 13 and 42 seconds 
&lt;br&gt;subsequent wbinfo's : &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 seconds
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Andrew
&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/Re-%3ARe%3A-dns-lookups-for-SRV-kerberos-tp26903056p26903056.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26902917</id>
	<title>encrypted destination</title>
	<published>2009-12-23T06:30:25Z</published>
	<updated>2009-12-23T06:30:25Z</updated>
	<author>
		<name>Michael-345</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;I am looking for a method/feature to rsync my files and store them
&lt;br&gt;encrypted. While searching for a solution I found some postings about
&lt;br&gt;--source-filter and --dest-filter options but these seem to to be
&lt;br&gt;implemented.
&lt;br&gt;Of cause I could encrypt and them rsync but this costs double of space
&lt;br&gt;and a lot of CPU Power. So my questions is how do the experts this?
&lt;br&gt;a) is there an option to encrypt the destination file
&lt;br&gt;b) if not what would be a professional approach to &amp;quot;store&amp;quot; data
&lt;br&gt;encrypted on an external space?
&lt;br&gt;&lt;br&gt;Thanks a lot
&lt;br&gt;Michael
&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/encrypted-destination-tp26902917p26902917.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26902466</id>
	<title>Samba in win neighborhood Update</title>
	<published>2009-12-23T05:53:10Z</published>
	<updated>2009-12-23T05:53:10Z</updated>
	<author>
		<name>Matias Morawicki</name>
	</author>
	<content type="html">Hi again, I´ve made some advances in the quest to see the samba server in
&lt;br&gt;win network neighborhood.
&lt;br&gt;&lt;br&gt;As I said in my last email we have a fresh Debian install running side by
&lt;br&gt;side with a ubuntu box with the same smb.conf (simple share) and the ubuntu
&lt;br&gt;would show up in the neighborhood while the debian wouldn´t...
&lt;br&gt;&lt;br&gt;So, I started wondering whether it could be a hardware issue. Swaped nics
&lt;br&gt;and nothing new... so, what is different in this 2 basic sambas... the
&lt;br&gt;debian has fixed IP and is the DHCP server, and the ubuntu, as well as the
&lt;br&gt;win clients, gets its IP from the debian DHCPd...
&lt;br&gt;&lt;br&gt;so, for the sake of debuging, plugged a TPlink router with DHCP server and
&lt;br&gt;changed the debian box to get its IP from DHCP, same as the others... and
&lt;br&gt;voila! they are all in the neighborhood!!!
&lt;br&gt;&lt;br&gt;so, can anyone point me into a specific chapter of samba docs to sort this
&lt;br&gt;out???
&lt;br&gt;what is it with fixed IP? is it a name resolution issue?
&lt;br&gt;&lt;br&gt;thanx a million for any tips!!!
&lt;br&gt;&lt;br&gt;Matias
&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-in-win-neighborhood-Update-tp26902466p26902466.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26902394</id>
	<title>assistance with setting up a samba share.</title>
	<published>2009-12-23T05:47:02Z</published>
	<updated>2009-12-23T05:47:02Z</updated>
	<author>
		<name>alex wallis</name>
	</author>
	<content type="html">Hi list.
&lt;br&gt;I am very new to the world of linux and to that of samba.
&lt;br&gt;&lt;br&gt;For some time now I have been investigating how I should go about sharing a 
&lt;br&gt;windows folder between windows and my linux system.
&lt;br&gt;&lt;br&gt;However I have been having a few problems and I hope that someone on this 
&lt;br&gt;list might be kind enough to help me.
&lt;br&gt;&lt;br&gt;&lt;br&gt;At first, I was trying to get smbfs working to share the folder, but I 
&lt;br&gt;understand this has now largely been replaced by cifs.
&lt;br&gt;&lt;br&gt;The system I am running is a virtual machine with vmware work station and it 
&lt;br&gt;is debian based.
&lt;br&gt;&lt;br&gt;I am using a command line interface with no gui.
&lt;br&gt;&lt;br&gt;the share I want to set up is as follows.
&lt;br&gt;&lt;br&gt;I want to share a folder called rockbox which is in the root of my windows 
&lt;br&gt;machine, I want to set it so that its files are displayed in a folder called 
&lt;br&gt;rockbox on my linux virtual machine, and I want linux to have read and write 
&lt;br&gt;access on this folder, and all sub folders and there files under rockbox.
&lt;br&gt;&lt;br&gt;My windows machine has no password on it, and several tutorials i have tried 
&lt;br&gt;to follow say I should set the user name as guest in this event.
&lt;br&gt;&lt;br&gt;I was wondering if someone could please tell me exactly how I should go 
&lt;br&gt;about setting up my share so that it mounts every time i boot the virtual 
&lt;br&gt;machine, and exactly what commands I need to enter.
&lt;br&gt;&lt;br&gt;as each time I try to set the share up i get an error about not being able 
&lt;br&gt;to change to the target directory.
&lt;br&gt;I have smbfs installed, and I have made sure the rockbox folder is shared 
&lt;br&gt;under windows, the windows i am running is windows xp pro with sp3.
&lt;br&gt;Any help would be very appreciated.
&lt;br&gt;Alex. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;__________ Information from ESET Smart Security, version of virus signature database 4711 (20091223) __________
&lt;br&gt;&lt;br&gt;The message was checked by ESET Smart Security.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eset.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eset.com&lt;/a&gt;&lt;br&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/assistance-with-setting-up-a-samba-share.-tp26902394p26902394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26903004</id>
	<title>Un message de Frédéric Bigey t'attend...</title>
	<published>2009-12-23T05:37:51Z</published>
	<updated>2009-12-23T05:37:51Z</updated>
	<author>
		<name>Badoo-3</name>
	</author>
	<content type="html">Un message de Frédéric Bigey t'attend...
&lt;br&gt;&lt;br&gt;L'expéditeur et le contenu seront visibles seulement par toi et tu peux le supprimer à tout moment. Tu peux aussi y répondre directement au travers du messenger. Pour découvrir qui ton message, suis ce lien:
&lt;br&gt;&lt;a href=&quot;http://eu1.badoo.com/0158924640/in/5YvhYKAbhOg/?lang_id=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eu1.badoo.com/0158924640/in/5YvhYKAbhOg/?lang_id=6&lt;/a&gt;&lt;br&gt;&lt;br&gt;D'autres personnes sont aussi présentes:
&lt;br&gt;Nestor (Madrid, Espagne)
&lt;br&gt;Sofia Hernandez (Valencia, Espagne)
&lt;br&gt;David (Lome, Togo)
&lt;br&gt;Chechu (Santander, Espagne)
&lt;br&gt;David Molina (Valencia, Espagne)
&lt;br&gt;...Qui d'autre?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://eu1.badoo.com/0158924640/in/5YvhYKAbhOg/?lang_id=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eu1.badoo.com/0158924640/in/5YvhYKAbhOg/?lang_id=6&lt;/a&gt;&lt;br&gt;&lt;br&gt;Les liens ne fonctionnent pas dans ce message? Copie les dans la barre d'adresse de ton navigateur.
&lt;br&gt;&lt;br&gt;Tu as reçu cet email suite à une requête de Frédéric Bigey sur notre système. S'il s'agit d'une erreur, ignore simplement cet email. La requête sera alors effacée du système.
&lt;br&gt;&lt;br&gt;Merci,
&lt;br&gt;L'équipe Badoo
&lt;br&gt;&lt;br&gt;&lt;br&gt;Courrier automatique de Badoo suite à l'envoi d'un message à ton attention sur Badoo. Les réponses ne sont ni stockées, ni traitées. Si tu ne veux plus recevoir de message de Badoo, fais-le nous savoir:
&lt;br&gt;&lt;a href=&quot;http://eu1.badoo.com/impersonation.phtml?lang_id=6&amp;mail_code=21&amp;email=samba%40lists.samba.org&amp;secret=&amp;invite_id=441091&amp;user_id=158924640&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eu1.badoo.com/impersonation.phtml?lang_id=6&amp;mail_code=21&amp;email=samba%40lists.samba.org&amp;secret=&amp;invite_id=441091&amp;user_id=158924640&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;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/Un-message-de-Fr%C3%A9d%C3%A9ric-Bigey-t%27attend...-tp26903004p26903004.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901862</id>
	<title>Re: [PATCH] make --control effectivly work in ldbadd/ldbmodify/ldbdelete</title>
	<published>2009-12-23T05:10:07Z</published>
	<updated>2009-12-23T05:10:07Z</updated>
	<author>
		<name>simo-7</name>
	</author>
	<content type="html">On Wed, 2009-12-23 at 01:45 +0300, Matthieu Patou wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The same but with a proper ldbutil.h instead of #include ldbutil.c
&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; On 23/12/2009 01:16, Matthieu Patou wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Find attached 2 patches:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; * 1 for effectively passing the controls to the ldb subsystem in
&lt;br&gt;&amp;gt; &amp;gt; ldbadd/ldbmodify/ldbdelete
&lt;br&gt;&amp;gt; &amp;gt; * 1 for testing that behavior
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It's also available in the branch misc at
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://repo.or.cz/w/Samba/ekacnet.git&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo.or.cz/w/Samba/ekacnet.git&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Matthieu.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Pushed to master.
&lt;br&gt;&lt;br&gt;Simo.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simo Sorce
&lt;br&gt;Samba Team GPL Compliance Officer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901862&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simo@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Principal Software Engineer at Red Hat, Inc. &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901862&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simo@...&lt;/a&gt;&amp;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/-PATCH--make---control-effectivly-work-in-ldbadd-ldbmodify-ldbdelete-tp26895178p26901862.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901498</id>
	<title>Re: Issue Joining Win7 to Samba Domain (tried	wiki	instructions)</title>
	<published>2009-12-23T04:35:16Z</published>
	<updated>2009-12-23T04:35:16Z</updated>
	<author>
		<name>Moray Henderson</name>
	</author>
	<content type="html">Linda Walsh wrote:
&lt;br&gt;&amp;gt;Moray Henderson wrote:
&lt;br&gt;&amp;gt;&amp;gt; The server string is Ishtar, but that is not the server name; you
&lt;br&gt;need
&lt;br&gt;&amp;gt;&amp;gt; to set &amp;quot;netbios name&amp;quot; for that.
&lt;br&gt;&amp;gt;----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;Wouldn't the hostname take care of that? &amp;nbsp;That's the name of the
&lt;br&gt;&amp;gt; &amp;nbsp;machine.
&lt;br&gt;&lt;br&gt;Yes, if netbios name is not set it does pick up the host name. &amp;nbsp;I would
&lt;br&gt;still recommend removing &amp;quot;Bliss&amp;quot; from netbios aliases.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; nmblookup &amp;quot;BLISS#1C&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; should list the IP address of the Domain Controllers of Bliss.
&lt;br&gt;&amp;gt;---
&lt;br&gt;&amp;gt; &amp;nbsp;And it's loopback address. &amp;nbsp;Those are the two I get.
&lt;br&gt;&lt;br&gt;Hmm... running out of ideas here. &amp;nbsp;I only have Samba listening on the
&lt;br&gt;main interface, not loopback, and the default is &amp;quot;all active interfaces
&lt;br&gt;that are broadcast capable except the loopback adaptor&amp;quot;.
&lt;br&gt;&lt;br&gt;Someone who actually knows what server signing is should probably
&lt;br&gt;comment on that option.
&lt;br&gt;&lt;br&gt;If fiddling with aliases or interfaces doesn’t work, I would...
&lt;br&gt;double-check the HKLM\System\CCS\Services\LanmanWorkstation\Parameters 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DWORD &amp;nbsp;DomainCompatibilityMode = 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DWORD &amp;nbsp;DNSNameResolutionRequired = 0
&lt;br&gt;and 
&lt;br&gt;HKLM\System\CCS\Services\Netlogon\Parameters 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DWORD &amp;nbsp;RequireSignOrSeal = 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DWORD &amp;nbsp;RequireStrongKey = 1
&lt;br&gt;registry keys in Win7
&lt;br&gt;&lt;br&gt;Then configure Samba with an absolute bare-minimum smb.conf file:
&lt;br&gt;workgroup name, security, domain master, add machine script, and as
&lt;br&gt;little else as you can get away with. &amp;nbsp;Maybe even move the .tdb files*
&lt;br&gt;(including the private ones) somewhere safe, and let Samba rebuild clean
&lt;br&gt;copies. &amp;nbsp;Since you are working with such a small network, you can
&lt;br&gt;probably get away with that.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Moray.
&lt;br&gt;&amp;quot;To err is human.  To purr, feline&amp;quot;
&lt;br&gt;&lt;br&gt;* see &lt;a href=&quot;http://wiki.samba.org/index.php/Frequently_Asked_Questions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.samba.org/index.php/Frequently_Asked_Questions&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/Issue-Joining-Win7-to-Samba-Domain-%28tried-wiki-instructions%29-tp26813033p26901498.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901428</id>
	<title>Re: Absolute path of file transferred using samba</title>
	<published>2009-12-23T04:27:54Z</published>
	<updated>2009-12-23T04:27:54Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Wed, Dec 23, 2009 at 04:12:43AM -0800, HariK wrote:
&lt;br&gt;&amp;gt; Thanks Volker. Can you provide me any resource link that provides some
&lt;br&gt;&amp;gt; tutorial on VFS? I shall google and find out but you might know some better
&lt;br&gt;&amp;gt; resources. 
&lt;br&gt;&lt;br&gt;Sorry, there's no real tutorial on how to write a VFS
&lt;br&gt;module. The best is to start with a simple one that is
&lt;br&gt;already there and ask questions here on this mailing list or
&lt;br&gt;on the #samba-technical channel on irc.freenode.net.
&lt;br&gt;&lt;br&gt;Volker
&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;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/26901428/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---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/Absolute-path-of-file-transferred-using-samba-tp26883560p26901428.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901303</id>
	<title>Re: Absolute path of file transferred using samba</title>
	<published>2009-12-23T04:12:43Z</published>
	<updated>2009-12-23T04:12:43Z</updated>
	<author>
		<name>HariK</name>
	</author>
	<content type="html">Thanks Volker. Can you provide me any resource link that provides some tutorial on VFS? I shall google and find out but you might know some better resources. 
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Volker Lendecke wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Tue, Dec 22, 2009 at 08:36:40PM -0800, HariK wrote:
&lt;br&gt;&amp;gt; My interest is not in the audit module as such. I have a custom application
&lt;br&gt;&amp;gt; running in uclinux that maintains a database for all entries in a directory
&lt;br&gt;&amp;gt; say /mydir. When I add files or folders into the directory mydir using
&lt;br&gt;&amp;gt; samba, I want my database to get updated correspondingly. My idea is to
&lt;br&gt;&amp;gt; establish a message queue between my application and smbd, smbd will post
&lt;br&gt;&amp;gt; messages with the file or folder path in the message.
&lt;br&gt;&lt;br&gt;Does uclinux support inotify? Then that might be the best
&lt;br&gt;API to use.
&lt;br&gt;&lt;br&gt;&amp;gt; Could you please let me know in which file(s) of samba's source can I do the
&lt;br&gt;&amp;gt; changes to hook the message queue creation and message posting stuff. It
&lt;br&gt;&amp;gt; should be in the sources wherein the absolute destination path of the file
&lt;br&gt;&amp;gt; or folder that is copied from windows using samba is visible.
&lt;br&gt;&lt;br&gt;You might want to write a VFS module that hooks into the
&lt;br&gt;open call. That has access to both the absolute share path
&lt;br&gt;(via &amp;quot;handle-&amp;gt;conn-&amp;gt;connectpath&amp;quot;) and the relative file
&lt;br&gt;name. From that you can calculate the absolute share path.
&lt;br&gt;To set up the messaging path to your database daemon, you
&lt;br&gt;want to hook into the VFS connect call.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&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;/div&gt;
&lt;/div&gt;&lt;/blockquote&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/Absolute-path-of-file-transferred-using-samba-tp26883560p26901303.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901215</id>
	<title>Re: Fw: W2KSP4 Problem</title>
	<published>2009-12-23T04:05:23Z</published>
	<updated>2009-12-23T04:05:23Z</updated>
	<author>
		<name>Javier Colella</name>
	</author>
	<content type="html">Yes approval = test/prueba anda host-seeking ignore it.
&lt;br&gt;&lt;br&gt;A enviroment test was gone.
&lt;br&gt;&lt;br&gt;Yes it the same name and SID.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Sorry for my English
&lt;br&gt;&lt;br&gt;&amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&lt;br&gt;De: Zoolook [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nbensa@...&lt;/a&gt;] 
&lt;br&gt;Enviado el: Miércoles, 23 de Diciembre de 2009 00:31
&lt;br&gt;Para: Colella Javier Anibal
&lt;br&gt;CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901215&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba@...&lt;/a&gt;
&lt;br&gt;Asunto: Re: [Samba] Fw: W2KSP4 Problem
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;2009/12/22 Javier Colella &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901215&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jacolella@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Approval by host-seeking was gone (samba + ldap approval) when we try to
&lt;br&gt;&amp;gt; pass it on to production and did not work. then tested the following mix-:
&lt;br&gt;&amp;gt; Samba (approval) + ldap (production), did not work
&lt;br&gt;&amp;gt; Samba (production) + ldap (approval), did not work
&lt;br&gt;&amp;gt; Samba + ldap (production) did not work
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm having some trouble trying to understand your message.
&lt;br&gt;&lt;br&gt;approval = test/prueba ?
&lt;br&gt;host-seeking... Perhaps network browsing?
&lt;br&gt;&lt;br&gt;If I take into account those assumptions, then:
&lt;br&gt;&lt;br&gt;samba+ldap in &amp;quot;prueba&amp;quot; was working. Then you moved from &amp;quot;prueba&amp;quot; into
&lt;br&gt;production but it didn't work.
&lt;br&gt;&lt;br&gt;Was it the same domain (name)? If so, had it the same SID?
&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/Fw%3A-W2KSP4-Problem-tp26876654p26901215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901184</id>
	<title>Re: getent passwd problem</title>
	<published>2009-12-23T04:02:39Z</published>
	<updated>2009-12-23T04:02:39Z</updated>
	<author>
		<name>Moray Henderson</name>
	</author>
	<content type="html">Wasim Bashir wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;I am having a weird issue with samba where once a week approximately at
&lt;br&gt;&amp;gt;the
&lt;br&gt;&amp;gt;same time users will lose connectivity,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;if i run
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;wbinfo -u &amp;nbsp;all users are displayed
&lt;br&gt;&amp;gt;wbinfo -g all groups are displayed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;However running getent passwd only shows local-users, no remote users
&lt;/div&gt;are
&lt;br&gt;&amp;gt;shown..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;To fix the issue I have to change the name of my idmap config and
&lt;br&gt;restart
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;samba and winbind and everything works fine for a week...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Am I missing something obvious here ? I have attached my config below :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;[global]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;security = ads
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max mux = 16384
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;log file &amp;nbsp;= /home/sites/samba-log/log.%m
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap timeout = 45
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap connection timeout = 30
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;max open files = 100000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;realm = &amp;nbsp;merlin.internaloffice.co.uk
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password server = 10.0.9.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;workgroup = WEBHOSTING
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap backend = tdb
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap uid = 500-2000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap gid = 500-2000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind enum users = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind enum groups = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;template homedir = /home/sites/%U
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;template shell = /bin/bash
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;client use spnego = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;client ntlmv2 auth = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;encrypt passwords = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind use default domain = yes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;winbind nss info = template rfc2307
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;restrict anonymous = 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap config WEBHOSTING : schema_mode = rfc2307
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap config WEBHOSTING : backend &amp;nbsp; &amp;nbsp; &amp;nbsp;= ad
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;idmap config WEBHOSTING : range &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 500 -
&lt;/div&gt;300000000
&lt;div class='shrinkable-quote'&gt;&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;[home]
&lt;br&gt;&amp;gt;hide dot files = no
&lt;br&gt;&amp;gt;path = /home/sites
&lt;br&gt;&amp;gt;read only = no
&lt;br&gt;&amp;gt;dos filetime resolution = yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I am using samba 3.3.9, do we know whether this issue has been fixed in
&lt;br&gt;&amp;gt;samba 3.4.x ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Any help greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Wasim
&lt;/div&gt;&lt;br&gt;Could it be a network issue rather than Samba itself - a switch being
&lt;br&gt;turned off briefly, IP address being refreshed, DNS issue - that breaks
&lt;br&gt;the communication with kerberos or PDC?
&lt;br&gt;&lt;br&gt;I heard of one site whose network was interrupted at the same time each
&lt;br&gt;day, which they eventually traced to a heavy delivery lorry crushing a
&lt;br&gt;badly-installed underground cable.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Moray.
&lt;br&gt;&amp;quot;To err is human.  To purr, feline&amp;quot;
&lt;br&gt;&lt;br&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/getent-passwd-problem-tp26890232p26901184.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901146</id>
	<title>Re: getent passwd problem</title>
	<published>2009-12-23T03:58:24Z</published>
	<updated>2009-12-23T03:58:24Z</updated>
	<author>
		<name>Wasim Bashir</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have replicated this on a test box, if you do a net cache flush, then
&lt;br&gt;restart samba and winbind,
&lt;br&gt;&lt;br&gt;run getent passwd (only displays local users)
&lt;br&gt;then net cache list (will display all cache of remote users)
&lt;br&gt;&lt;br&gt;&lt;br&gt;The only way i know &amp;nbsp;to fix this is to rename idmap config &amp;lt;name&amp;gt; and
&lt;br&gt;restart samba/winbind... but a week later the problem will be back..
&lt;br&gt;&lt;br&gt;seems strange to me, is this a bug with 3.3.9 or am i missing something here
&lt;br&gt;?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Wasim
&lt;br&gt;&lt;br&gt;2009/12/22 Gaiseric Vandal &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901146&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gaiseric.vandal@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have similar issues with samba 3.0.37 on Solaris 10. &amp;nbsp; &amp;nbsp;I use winbind and
&lt;br&gt;&amp;gt; ldap for domain trusts (not for the users with in the domain.) &amp;nbsp;Increasing
&lt;br&gt;&amp;gt; &amp;quot;idmap cache time&amp;quot; may reduce how often you need to reset things. &amp;nbsp;When the
&lt;br&gt;&amp;gt; cache time expires I have to zap idmap entries from ldap and zap the idmap
&lt;br&gt;&amp;gt; cache tbd files. &amp;nbsp; It appears samba can create the cache info but not
&lt;br&gt;&amp;gt; properly update or reread it once the cache has expired.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have been testing 3.4.3 and it seems better but I can't say for sure yet.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;(Getting samba compiled with ldap and zfs support for Solaris is tricky.)
&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;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 12/22/09 10:44, Wasim Bashir wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am having a weird issue with samba where once a week approximately at
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; same time users will lose connectivity,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if i run
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wbinfo -u &amp;nbsp;all users are displayed
&lt;br&gt;&amp;gt;&amp;gt; wbinfo -g all groups are displayed
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However running getent passwd only shows local-users, no remote users are
&lt;br&gt;&amp;gt;&amp;gt; shown..
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To fix the issue I have to change the name of my idmap config and restart
&lt;br&gt;&amp;gt;&amp;gt; samba and winbind and everything works fine for a week...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Am I missing something obvious here ? I have attached my config below :
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [global]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; security = ads
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max mux = 16384
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log file &amp;nbsp;= /home/sites/samba-log/log.%m
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap timeout = 45
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap connection timeout = 30
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max open files = 100000
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; realm = &amp;nbsp;merlin.internaloffice.co.uk
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; password server = 10.0.9.0
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workgroup = WEBHOSTING
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap backend = tdb
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap uid = 500-2000000
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap gid = 500-2000000
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind enum users = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind enum groups = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; template homedir = /home/sites/%U
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; template shell = /bin/bash
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client use spnego = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; client ntlmv2 auth = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; encrypt passwords = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind use default domain = yes
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; winbind nss info = template rfc2307
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; restrict anonymous = 2
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap config WEBHOSTING : schema_mode = rfc2307
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap config WEBHOSTING : backend &amp;nbsp; &amp;nbsp; &amp;nbsp;= ad
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idmap config WEBHOSTING : range &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 500 - 300000000
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [home]
&lt;br&gt;&amp;gt;&amp;gt; hide dot files = no
&lt;br&gt;&amp;gt;&amp;gt; path = /home/sites
&lt;br&gt;&amp;gt;&amp;gt; read only = no
&lt;br&gt;&amp;gt;&amp;gt; dos filetime resolution = yes
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am using samba 3.3.9, do we know whether this issue has been fixed in
&lt;br&gt;&amp;gt;&amp;gt; samba 3.4.x ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Wasim
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&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/getent-passwd-problem-tp26890232p26901146.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26900455</id>
	<title>Re: preventing multiple rsync processes backing up same file with cron backup</title>
	<published>2009-12-23T02:36:01Z</published>
	<updated>2009-12-23T02:36:01Z</updated>
	<author>
		<name>Max Arnold</name>
	</author>
	<content type="html">On Wed, Dec 23, 2009 at 09:54:05AM +0000, chris snow wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Say I want to backup a directory every 15 minutes from cron. &amp;nbsp;I wrap cron in
&lt;br&gt;&amp;gt; a script that does locking to ensure only one instance of the script runs at
&lt;br&gt;&amp;gt; any one time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; At some stage during the day, I have a file that is 1Gb that gets added to
&lt;br&gt;&amp;gt; the directory that I am backing up, and then a lot of smaller files.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The next rsync job starts copying the big file, but it may take an hour to
&lt;br&gt;&amp;gt; transfer the big file across the network and whilst that is happening, the
&lt;br&gt;&amp;gt; other smaller files will have to wait. &amp;nbsp;I no longer have my directory
&lt;br&gt;&amp;gt; synchronised every 15 minutes.
&lt;/div&gt;&lt;br&gt;It is physically can not be done, because your network throughput does not allow to sync
&lt;br&gt;everything during 15 minute interval. Even if you sync small files, the bigger ones still
&lt;br&gt;not synchronized.
&lt;br&gt;&lt;br&gt;But you can try to play with --max-size and --min-size parameters and start two jobs in parallel
&lt;br&gt;(one for big files, other for small). Independend locking for each job type will be required.
&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/preventing-multiple-rsync-processes-backing-up-same-file-with-cron-backup-tp26897620p26900455.html" />
</entry>

</feed>
