<?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-14T21:33:19Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Samba-f13150.xml;http://www.blogthings.com/whatsyourbeerpersonalityquiz/;http://www.thezreview.co.uk/posters/posterimages/w/weddingcrashers4.jpg&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-26789718</id>
	<title>Samba for iPhone</title>
	<published>2009-12-14T21:33:19Z</published>
	<updated>2009-12-14T21:33:19Z</updated>
	<author>
		<name>Abdullah Sowayan</name>
	</author>
	<content type="html">Hi folks,
&lt;br&gt;&lt;br&gt;I'm new to this list. I have a jail broken phone (firmware 3.1.2). I
&lt;br&gt;would like the iPhone to mount an external networked SAMBA drive
&lt;br&gt;(hosted on either MAC or Windows). Unfortunately, I couldn't find
&lt;br&gt;anything to do this.
&lt;br&gt;&lt;br&gt;I am wondering if anyone had ported mount_smbfs to the iPhone.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Abdul
&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-for-iPhone-tp26789718p26789718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26789656</id>
	<title>Re: [PATCHS] fix handling of AUX classes in objectclass.c</title>
	<published>2009-12-14T21:23:42Z</published>
	<updated>2009-12-14T21:23:42Z</updated>
	<author>
		<name>Andrew Bartlett</name>
	</author>
	<content type="html">On Mon, 2009-12-14 at 21:16 -0500, brendan powers wrote:
&lt;br&gt;&amp;gt; These patches fix the handling of AUX classes in objectclass.c. Before
&lt;br&gt;&amp;gt; this, adding an AUX class such as posixAccount to a user would fail
&lt;br&gt;&amp;gt; with LDB_ERR_OBJECT_CLASS_VIOLATION.
&lt;br&gt;&lt;br&gt;Great. 
&lt;br&gt;&lt;br&gt;&amp;gt; Here is a description of the patches
&lt;br&gt;&lt;br&gt;Can you please put these in the commit message for each patch? &amp;nbsp;We want
&lt;br&gt;to remember why these were done in the GIT history. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * 0001-return-NULL-in-strlower_talloc-if-src-is-NULL.patch, prevents
&lt;br&gt;&amp;gt; strlower_talloc from segfaulting if you pass it a NULL string.
&lt;br&gt;&amp;gt; * 0002-s4-dsdb-Add-a-check-to-prevent-acl_modify-from-debu.patch,
&lt;br&gt;&amp;gt; Check to see if there were any messages passed to acl_modify before
&lt;br&gt;&amp;gt; debugging the first one. I think I caused this by some malformed
&lt;br&gt;&amp;gt; ldiff. Unfortunately, I don't have the file that caused the problem.
&lt;br&gt;&amp;gt; * 0003-s4-dsdb-Move-get_last_structural-class-from-descrip.patch, Move
&lt;br&gt;&amp;gt; get_last_structural_class from descriptor.c to util.c so it can be
&lt;br&gt;&amp;gt; used by objectclass.c. Also, make get_last_structural_class ignore AUX
&lt;br&gt;&amp;gt; classes, as they are not structural classes.
&lt;br&gt;&amp;gt; * 0004-s4-dsdb-return-an-error-if-samAccountName-is-not-sp.patch,
&lt;br&gt;&amp;gt; makes sure samAccountName has been specified before adding a user.
&lt;br&gt;&amp;gt; This happened while I was trying to add a user with the posixAccount
&lt;br&gt;&amp;gt; objectclass. I forgot to specify the user objectClass, and samba
&lt;br&gt;&amp;gt; segfaulted. It now returns LDB_ERR_CONSTRAINT_VIOLATION.
&lt;br&gt;&amp;gt; * 0005-s4-dsdb-fix-handling-of-AUX-classes-in-objectclass_.patch, this
&lt;br&gt;&amp;gt; is the main patch in this set. It fixes the handling of AUX classes in
&lt;br&gt;&amp;gt; objectclass_sort. They were being sorted by building a class tree, and
&lt;br&gt;&amp;gt; adding the classes to the list in that order. However, AUX classes
&lt;br&gt;&amp;gt; usually don't fit into that tree, so LDB_ERR_OBJECT_CLASS_VIOLATION
&lt;br&gt;&amp;gt; was returned. I have changed the behavior to sort the classes by
&lt;br&gt;&amp;gt; subClass_order instead. Also this patch makes objectclass_do_add check
&lt;br&gt;&amp;gt; if the last structural class is a valid class to add, instead of the
&lt;br&gt;&amp;gt; last class returned by objectclass_sort.
&lt;/div&gt;&lt;/div&gt;If it could be made to work, I would really prefer the qsort() variant
&lt;br&gt;of this patch. &amp;nbsp;Did you discover anything in the building of this patch
&lt;br&gt;to indicate why it didn't work?
&lt;br&gt;&lt;br&gt;&amp;gt; * 0006-s4-dsdb-Add-a-test-for-adding-deleting-and-append.patch, add a
&lt;br&gt;&amp;gt; test to make sure you can add the posixAccount class to an object.
&lt;br&gt;&amp;gt; This was the original reason for this set of patches.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; These patches now pass make test. So I thought it was time to send
&lt;br&gt;&amp;gt; them to the list. Hopefully I did things right this time:)
&lt;br&gt;&lt;br&gt;Almost :-)
&lt;br&gt;&lt;br&gt;Finally, was it deliberate having a different e-mail address in the
&lt;br&gt;patches to the mail? &amp;nbsp;(At least it's no longer root!).
&lt;br&gt;&lt;br&gt;Thanks, 
&lt;br&gt;&lt;br&gt;Andrew Bartlett
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Bartlett &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;Authentication Developer, Samba Team &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;Samba Developer, Cisco Inc.
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26789656/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/-PATCHS--fix-handling-of-AUX-classes-in-objectclass.c-tp26788360p26789656.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26789629</id>
	<title>Re: Samba 3.4.2 Winbind problem IDMAP GID range full</title>
	<published>2009-12-14T21:18:55Z</published>
	<updated>2009-12-14T21:18:55Z</updated>
	<author>
		<name>Greg-194</name>
	</author>
	<content type="html">I was finally able to resolve these error messages. I was missing the
&lt;br&gt;winbind settings in /etc/nsswitch.conf:
&lt;br&gt;&amp;nbsp; &amp;nbsp;passwd: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compat winbind
&lt;br&gt;&amp;nbsp; &amp;nbsp;group: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;compat winbind
&lt;br&gt;This is in addition to the settings that I had made to /etc/samba/smb.conf:
&lt;br&gt;&amp;nbsp; &amp;nbsp;idmap backend = tdb
&lt;br&gt;&amp;nbsp; &amp;nbsp;idmap alloc backend = tdb
&lt;br&gt;&amp;nbsp; &amp;nbsp;idmap uid = 10000-11000
&lt;br&gt;&amp;nbsp; &amp;nbsp;idmap gid = 10000-11000
&lt;br&gt;&amp;nbsp; &amp;nbsp;winbind enum users = yes
&lt;br&gt;&amp;nbsp; &amp;nbsp;winbind enum groups = yes
&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%3A-Samba-3.4.2-Winbind-problem-IDMAP-GID-range-full-tp26650968p26789629.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788951</id>
	<title>Re: KVM - usb+DVI</title>
	<published>2009-12-14T19:35:16Z</published>
	<updated>2009-12-14T19:35:16Z</updated>
	<author>
		<name>Ian Munsie</name>
	</author>
	<content type="html">I'm using 2x Aten CS62DU daisy-chained together, which I bought for
&lt;br&gt;around $80 each from ebay.
&lt;br&gt;&lt;br&gt;They handle DVI-D fine (ie, digital which is probably what you want,
&lt;br&gt;they are not DVI-I or DVI-A).
&lt;br&gt;&lt;br&gt;They support USB with two ports (which they also use to power
&lt;br&gt;themselves) - one is special and needs a keyboard plugged into it to
&lt;br&gt;support the hotkey switching, the other is generic and can handle any
&lt;br&gt;USB device, typically either a mouse or USB hub.
&lt;br&gt;&lt;br&gt;They also handle switching stereo sound output and a microphone input.
&lt;br&gt;Sound can be switched independently of the KVM part with hotkeys to
&lt;br&gt;allow sound being played from one box while interacting with another.
&lt;br&gt;&lt;br&gt;Only drawback of this model is that it adds some low amplitude high
&lt;br&gt;frequency interference to the audio, however I find that as long as I
&lt;br&gt;don't have my speakers near full volume (instead amplifying at the
&lt;br&gt;mixer) the interference is inaudible, but YMMV. I would not be
&lt;br&gt;surprised if similar interference is added to the microphone, but I
&lt;br&gt;have not tested that.
&lt;br&gt;&lt;br&gt;The actual KVM is a fairly small box in the middle of the cables
&lt;br&gt;(cables are not removable in this model) and therefore sits out of the
&lt;br&gt;way. In addition to the hotkey switching capabilities, it also comes
&lt;br&gt;with a &amp;quot;remote&amp;quot; button to switch inputs (not remote as in wireless,
&lt;br&gt;remote as in it has a cable between it and the switch so you can sit
&lt;br&gt;it next to your keyboard instead of having to reach for the KVM
&lt;br&gt;itself), though using the button audio cannot be switched
&lt;br&gt;independently.
&lt;br&gt;&lt;br&gt;Hotkeys are:
&lt;br&gt;scroll lock, scroll lock, enter - same as pressing the button -
&lt;br&gt;switches everything*
&lt;br&gt;scroll lock, scroll lock, s, enter - switch audio, but not KVM part
&lt;br&gt;scroll lock, scroll lock, k, enter - switch KVM, but not audio
&lt;br&gt;scroll lock, scroll lock, x, enter - Changes the hotkey from scroll
&lt;br&gt;lock to control (I do this on my second switch so the hotkeys do not
&lt;br&gt;conflict)
&lt;br&gt;&lt;br&gt;* unless audio was on a different input to the KVM, in which case only
&lt;br&gt;the KVM is switched.
&lt;br&gt;&lt;br&gt;Manufacturers details are at:
&lt;br&gt;&lt;a href=&quot;http://www.aten.com/products/productItem.php?pid=20070420164543001&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.aten.com/products/productItem.php?pid=20070420164543001&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;-Ian
&lt;br&gt;&lt;br&gt;On Sat, Dec 12, 2009 at 3:12 PM, steve jenkin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788951&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjenkin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; anyone using a KVM that handles DVI natively?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; VGA + usb KVM's are cheap &amp; plentiful...
&lt;br&gt;&amp;gt; From a quick on-line check, ~$200 for a DVI KVM :-(
&lt;br&gt;&amp;gt; Any reason they're expensive, apart from 'new and premium'?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't get a new machine to work with a VGA adaptor, have to 'consider
&lt;br&gt;&amp;gt; my options'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Steve Jenkin, Info Tech, Systems and Design Specialist.
&lt;br&gt;&amp;gt; 0412 786 915 (+61 412 786 915)
&lt;br&gt;&amp;gt; PO Box 48, Kippax ACT 2615, AUSTRALIA
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788951&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjenkin@...&lt;/a&gt; &lt;a href=&quot;http://members.tip.net.au/~sjenkin&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://members.tip.net.au/~sjenkin&lt;/a&gt;&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; linux mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788951&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://darkstarshout.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://darkstarshout.blogspot.com/&lt;/a&gt;&lt;br&gt;--
&lt;br&gt;On the day *I* go to work for Microsoft, faint oinking sounds will be
&lt;br&gt;heard from far overhead, the moon will not merely turn blue but
&lt;br&gt;develop polkadots, and hell will freeze over so solid the brimstone
&lt;br&gt;will go superconductive.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Eric S. Raymond, 2005
&lt;br&gt;--
&lt;br&gt;Please avoid sending me Word or PowerPoint attachments.
&lt;br&gt;See &lt;a href=&quot;http://www.gnu.org/philosophy/no-word-attachments.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/philosophy/no-word-attachments.html&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;linux mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788951&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-f13154.html&quot; embed=&quot;fixTarget[13154]&quot; target=&quot;_top&quot; &gt;Samba - linux&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/KVM---usb%2BDVI-tp26754840p26788951.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788479</id>
	<title>Re: Max Multiplex</title>
	<published>2009-12-14T18:34:48Z</published>
	<updated>2009-12-14T18:34:48Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Pls ignore it &amp;nbsp;- I found the solution! But if there is any other
&lt;br&gt;performance trick I could use with 2003 client, pls do suggest...
&lt;br&gt;&lt;br&gt;thanks!
&lt;br&gt;&lt;br&gt;On Mon, Dec 14, 2009 at 6:23 PM, Learner Study &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;learner.study@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1, Is there a limit on Max Multiplex (Max Mux count) in samba?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. How can it be changed from a config file or command line? I
&lt;br&gt;&amp;gt; couldn't find it so I changed it in the code but for some reason, I'm
&lt;br&gt;&amp;gt; unable to set a value over 1000....is 1000 the max for it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&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/Max-Multiplex-tp26788400p26788479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788478</id>
	<title>Re: Max Multiplex</title>
	<published>2009-12-14T18:34:48Z</published>
	<updated>2009-12-14T18:34:48Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Pls ignore it &amp;nbsp;- I found the solution! But if there is any other
&lt;br&gt;performance trick I could use with 2003 client, pls do suggest...
&lt;br&gt;&lt;br&gt;thanks!
&lt;br&gt;&lt;br&gt;On Mon, Dec 14, 2009 at 6:23 PM, Learner Study &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788478&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;learner.study@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1, Is there a limit on Max Multiplex (Max Mux count) in samba?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. How can it be changed from a config file or command line? I
&lt;br&gt;&amp;gt; couldn't find it so I changed it in the code but for some reason, I'm
&lt;br&gt;&amp;gt; unable to set a value over 1000....is 1000 the max for it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&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/Max-Multiplex-tp26788396p26788478.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788400</id>
	<title>Max Multiplex</title>
	<published>2009-12-14T18:23:37Z</published>
	<updated>2009-12-14T18:23:37Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Hello:
&lt;br&gt;&lt;br&gt;1, Is there a limit on Max Multiplex (Max Mux count) in samba?
&lt;br&gt;&lt;br&gt;2. How can it be changed from a config file or command line? I
&lt;br&gt;couldn't find it so I changed it in the code but for some reason, I'm
&lt;br&gt;unable to set a value over 1000....is 1000 the max for it?
&lt;br&gt;&lt;br&gt;Thanks!
&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/Max-Multiplex-tp26788400p26788400.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788396</id>
	<title>Max Multiplex</title>
	<published>2009-12-14T18:23:37Z</published>
	<updated>2009-12-14T18:23:37Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Hello:
&lt;br&gt;&lt;br&gt;1, Is there a limit on Max Multiplex (Max Mux count) in samba?
&lt;br&gt;&lt;br&gt;2. How can it be changed from a config file or command line? I
&lt;br&gt;couldn't find it so I changed it in the code but for some reason, I'm
&lt;br&gt;unable to set a value over 1000....is 1000 the max for it?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Max-Multiplex-tp26788396p26788396.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788360</id>
	<title>[PATCHS] fix handling of AUX classes in objectclass.c</title>
	<published>2009-12-14T18:16:57Z</published>
	<updated>2009-12-14T18:16:57Z</updated>
	<author>
		<name>brendan powers</name>
	</author>
	<content type="html">These patches fix the handling of AUX classes in objectclass.c. Before
&lt;br&gt;this, adding an AUX class such as posixAccount to a user would fail
&lt;br&gt;with LDB_ERR_OBJECT_CLASS_VIOLATION.
&lt;br&gt;&lt;br&gt;Here is a description of the patches
&lt;br&gt;* 0001-return-NULL-in-strlower_talloc-if-src-is-NULL.patch, prevents
&lt;br&gt;strlower_talloc from segfaulting if you pass it a NULL string.
&lt;br&gt;* 0002-s4-dsdb-Add-a-check-to-prevent-acl_modify-from-debu.patch,
&lt;br&gt;Check to see if there were any messages passed to acl_modify before
&lt;br&gt;debugging the first one. I think I caused this by some malformed
&lt;br&gt;ldiff. Unfortunately, I don't have the file that caused the problem.
&lt;br&gt;* 0003-s4-dsdb-Move-get_last_structural-class-from-descrip.patch, Move
&lt;br&gt;get_last_structural_class from descriptor.c to util.c so it can be
&lt;br&gt;used by objectclass.c. Also, make get_last_structural_class ignore AUX
&lt;br&gt;classes, as they are not structural classes.
&lt;br&gt;* 0004-s4-dsdb-return-an-error-if-samAccountName-is-not-sp.patch,
&lt;br&gt;makes sure samAccountName has been specified before adding a user.
&lt;br&gt;This happened while I was trying to add a user with the posixAccount
&lt;br&gt;objectclass. I forgot to specify the user objectClass, and samba
&lt;br&gt;segfaulted. It now returns LDB_ERR_CONSTRAINT_VIOLATION.
&lt;br&gt;* 0005-s4-dsdb-fix-handling-of-AUX-classes-in-objectclass_.patch, this
&lt;br&gt;is the main patch in this set. It fixes the handling of AUX classes in
&lt;br&gt;objectclass_sort. They were being sorted by building a class tree, and
&lt;br&gt;adding the classes to the list in that order. However, AUX classes
&lt;br&gt;usually don't fit into that tree, so LDB_ERR_OBJECT_CLASS_VIOLATION
&lt;br&gt;was returned. I have changed the behavior to sort the classes by
&lt;br&gt;subClass_order instead. Also this patch makes objectclass_do_add check
&lt;br&gt;if the last structural class is a valid class to add, instead of the
&lt;br&gt;last class returned by objectclass_sort.
&lt;br&gt;* 0006-s4-dsdb-Add-a-test-for-adding-deleting-and-append.patch, add a
&lt;br&gt;test to make sure you can add the posixAccount class to an object.
&lt;br&gt;This was the original reason for this set of patches.
&lt;br&gt;&lt;br&gt;These patches now pass make test. So I thought it was time to send
&lt;br&gt;them to the list. Hopefully I did things right this time:)
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[0001-return-NULL-in-strlower_talloc-if-src-is-NULL.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From feba7a68d7a465cc73d55013a04c1eb0c14bf56f Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:28:48 -0500
&lt;br&gt;Subject: [PATCH] return NULL in strlower_talloc if src is NULL
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;lib/util/charset/util_unistr.c | &amp;nbsp; &amp;nbsp;4 ++++
&lt;br&gt;&amp;nbsp;1 files changed, 4 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/lib/util/charset/util_unistr.c b/lib/util/charset/util_unistr.c
&lt;br&gt;index 045aa4a..f820726 100644
&lt;br&gt;--- a/lib/util/charset/util_unistr.c
&lt;br&gt;+++ b/lib/util/charset/util_unistr.c
&lt;br&gt;@@ -430,6 +430,10 @@ _PUBLIC_ char *strlower_talloc(TALLOC_CTX *ctx, const char *src)
&lt;br&gt;&amp;nbsp;	char *dest;
&lt;br&gt;&amp;nbsp;	struct smb_iconv_convenience *iconv_convenience = get_iconv_convenience();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	if(src == NULL) {
&lt;br&gt;+		return NULL;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	/* this takes advantage of the fact that upper/lower can't
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; change the length of a character by more than 1 byte */
&lt;br&gt;&amp;nbsp;	dest = talloc_array(ctx, char, 2*(strlen(src))+1);
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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;[0002-s4-dsdb-Add-a-check-to-prevent-acl_modify-from-debu.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 01570ffef3f476905034d4a528bcc6ad44a2c157 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:32:28 -0500
&lt;br&gt;Subject: [PATCH] s4-dsdb: Add a check to prevent acl_modify from debuging a NULL message
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/acl.c | &amp;nbsp; &amp;nbsp;6 +++++-
&lt;br&gt;&amp;nbsp;1 files changed, 5 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
&lt;br&gt;index 45aa294..fc29ba9 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/acl.c
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/acl.c
&lt;br&gt;@@ -700,7 +700,11 @@ static int acl_modify(struct ldb_module *module, struct ldb_request *req)
&lt;br&gt;&amp;nbsp;		NULL
&lt;br&gt;&amp;nbsp;	};
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	DEBUG(10, (&amp;quot;ldb:acl_modify: %s\n&amp;quot;, req-&amp;gt;op.mod.message-&amp;gt;elements[0].name));
&lt;br&gt;+	/* Don't print this debug statement if elements[0].name is going to be NULL */
&lt;br&gt;+	if(req-&amp;gt;op.mod.message-&amp;gt;num_elements &amp;gt; 0)
&lt;br&gt;+	{
&lt;br&gt;+		DEBUG(10, (&amp;quot;ldb:acl_modify: %s\n&amp;quot;, req-&amp;gt;op.mod.message-&amp;gt;elements[0].name));
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;	if (what_is_user(module) == SECURITY_SYSTEM) {
&lt;br&gt;&amp;nbsp;		return ldb_next_request(module, req);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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;[0003-s4-dsdb-Move-get_last_structural-class-from-descrip.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 17f1efcff60aa1ee9dac0ecab99f3b3e4246ecbc Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:36:44 -0500
&lt;br&gt;Subject: [PATCH] s4-dsdb: Move get_last_structural class from descriptor.c to util.c so it can be used by objectclass.c
&lt;br&gt;&amp;nbsp;s4-dsdb: get_last_structural_class now ignores AUX classes, because they are not structural
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/descriptor.c | &amp;nbsp; 17 +----------------
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/util.c &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 27 +++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/util.h &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;3 files changed, 29 insertions(+), 16 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c
&lt;br&gt;index 03cb1ff..8df93dd 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/descriptor.c
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/descriptor.c
&lt;br&gt;@@ -41,6 +41,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;quot;libcli/security/security.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;auth/auth.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;param/param.h&amp;quot;
&lt;br&gt;+#include &amp;quot;util.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;struct descriptor_data {
&lt;br&gt;&amp;nbsp;	int _dummy;
&lt;br&gt;@@ -56,22 +57,6 @@ struct descriptor_context {
&lt;br&gt;&amp;nbsp;	int (*step_fn)(struct descriptor_context *);
&lt;br&gt;&amp;nbsp;};
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-static const struct dsdb_class * get_last_structural_class(const struct dsdb_schema *schema, struct ldb_message_element *element)
&lt;br&gt;-{
&lt;br&gt;-	const struct dsdb_class *last_class = NULL;
&lt;br&gt;-	int i;
&lt;br&gt;-	for (i = 0; i &amp;lt; element-&amp;gt;num_values; i++){
&lt;br&gt;-		if (!last_class) {
&lt;br&gt;-			last_class = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &amp;element-&amp;gt;values[i]);
&lt;br&gt;-		} else {
&lt;br&gt;-			const struct dsdb_class *tmp_class = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &amp;element-&amp;gt;values[i]);
&lt;br&gt;-			if (tmp_class-&amp;gt;subClass_order &amp;gt; last_class-&amp;gt;subClass_order)
&lt;br&gt;-				last_class = tmp_class;
&lt;br&gt;-		}
&lt;br&gt;-	}
&lt;br&gt;-	return last_class;
&lt;br&gt;-}
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;struct dom_sid *get_default_ag(TALLOC_CTX *mem_ctx,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; struct ldb_dn *dn,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp; struct security_token *token,
&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
&lt;br&gt;index fe6ddfa..ed65ca4 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/util.c
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/util.c
&lt;br&gt;@@ -24,6 +24,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;quot;ldb_module.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;dsdb/samdb/ldb_modules/util.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;dsdb/samdb/samdb.h&amp;quot;
&lt;br&gt;+#include &amp;quot;util.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;int dsdb_module_search_handle_flags(struct ldb_module *module, struct ldb_request *req, int dsdb_flags) 
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;@@ -205,3 +206,29 @@ int dsdb_module_search(struct ldb_module *module,
&lt;br&gt;&amp;nbsp;	return ret;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+const struct dsdb_class * get_last_structural_class(const struct dsdb_schema *schema,const struct ldb_message_element *element)
&lt;br&gt;+{
&lt;br&gt;+	const struct dsdb_class *last_class = NULL;
&lt;br&gt;+	int i;
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; element-&amp;gt;num_values; i++){
&lt;br&gt;+		const struct dsdb_class *tmp_class = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &amp;element-&amp;gt;values[i]);
&lt;br&gt;+
&lt;br&gt;+		if(tmp_class == NULL) {
&lt;br&gt;+			continue;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		if(tmp_class-&amp;gt;objectClassCategory == 3) {
&lt;br&gt;+			continue;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		if (!last_class) {
&lt;br&gt;+			last_class = tmp_class;
&lt;br&gt;+		} else {
&lt;br&gt;+			if (tmp_class-&amp;gt;subClass_order &amp;gt; last_class-&amp;gt;subClass_order)
&lt;br&gt;+				last_class = tmp_class;
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	return last_class;
&lt;br&gt;+}
&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/util.h b/source4/dsdb/samdb/ldb_modules/util.h
&lt;br&gt;index 56db27d..41ec873 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/util.h
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/util.h
&lt;br&gt;@@ -19,6 +19,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; along with this program. &amp;nbsp;If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+struct dsdb_schema; /* predeclare schema struct */
&lt;br&gt;&amp;nbsp;#include &amp;quot;dsdb/samdb/ldb_modules/util_proto.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define DSDB_SEARCH_SEARCH_ALL_PARTITIONS &amp;nbsp; &amp;nbsp; 0x0001
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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;[0004-s4-dsdb-return-an-error-if-samAccountName-is-not-sp.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 4ebbf6c89c537a275c8d387f40411097d311337d Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:40:26 -0500
&lt;br&gt;Subject: [PATCH] s4-dsdb: return an error if samAccountName is not specified when creating a user. Prevents a segfault
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/password_hash.c | &amp;nbsp; &amp;nbsp;7 +++++++
&lt;br&gt;&amp;nbsp;1 files changed, 7 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
&lt;br&gt;index 4d4f500..35ce08f 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
&lt;br&gt;@@ -1487,6 +1487,13 @@ static int setup_io(struct ph_context *ac,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	io-&amp;gt;n.lm_hash			= samdb_result_hash(io-&amp;gt;ac, new_msg, &amp;quot;dBCSPwd&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	if(io-&amp;gt;u.sAMAccountName == NULL)
&lt;br&gt;+	{
&lt;br&gt;+		ldb_asprintf_errstring(ldb, &amp;quot;samAccountName is missing on %s for attempted password set/change&amp;quot;, 
&lt;br&gt;+			ldb_dn_get_linearized(new_msg-&amp;gt;dn));
&lt;br&gt;+		return(LDB_ERR_CONSTRAINT_VIOLATION);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	return LDB_SUCCESS;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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;[0005-s4-dsdb-fix-handling-of-AUX-classes-in-objectclass_.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 6708fb4257e57a39d75afc45b61df1c906e5578e Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:47:18 -0500
&lt;br&gt;Subject: [PATCH] s4-dsdb: fix handling of AUX classes in objectclass_sort by sorting the classes by subClass_order
&lt;br&gt;&amp;nbsp;s4-dsdb: check if the last structural class is valid to add in objectclass_do_add instead of the last class in the list
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/dsdb/samdb/ldb_modules/objectclass.c | &amp;nbsp;285 ++++++++++++--------------
&lt;br&gt;&amp;nbsp;1 files changed, 136 insertions(+), 149 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
&lt;br&gt;index c47e360..d9705ce 100644
&lt;br&gt;--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
&lt;br&gt;+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
&lt;br&gt;@@ -43,6 +43,7 @@
&lt;br&gt;&amp;nbsp;#include &amp;quot;auth/auth.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;param/param.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;../libds/common/flags.h&amp;quot;
&lt;br&gt;+#include &amp;quot;util.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;struct oc_context {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -92,10 +93,8 @@ static int objectclass_sort(struct ldb_module *module,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp;struct class_list **sorted_out) 
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	struct ldb_context *ldb;
&lt;br&gt;-	int i;
&lt;br&gt;-	int layer;
&lt;br&gt;-	struct class_list *sorted = NULL, *parent_class = NULL,
&lt;br&gt;-		*subclass = NULL, *unsorted = NULL, *current, *poss_subclass, *poss_parent, *new_parent;
&lt;br&gt;+	int i, lowest;
&lt;br&gt;+	struct class_list *unsorted = NULL, *sorted = NULL, *current = NULL, *poss_parent = NULL, *new_parent = NULL, *current_lowest = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	ldb = ldb_module_get_ctx(module);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -148,20 +147,17 @@ static int objectclass_sort(struct ldb_module *module,
&lt;br&gt;&amp;nbsp;			return LDB_ERR_NO_SUCH_ATTRIBUTE;
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		/* this is the root of the tree. &amp;nbsp;We will start
&lt;br&gt;-		 * looking for subclasses from here */
&lt;br&gt;-		if (ldb_attr_cmp(&amp;quot;top&amp;quot;, current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName) == 0) {
&lt;br&gt;-			DLIST_ADD_END(parent_class, current, struct class_list *);
&lt;br&gt;-		} else {
&lt;br&gt;+		/* Don't add top to list, we will do that later */
&lt;br&gt;+		if (ldb_attr_cmp(&amp;quot;top&amp;quot;, current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName) != 0) {
&lt;br&gt;&amp;nbsp;			DLIST_ADD_END(unsorted, current, struct class_list *);
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (parent_class == NULL) {
&lt;br&gt;-		current = talloc(mem_ctx, struct class_list);
&lt;br&gt;-		current-&amp;gt;objectclass = dsdb_class_by_lDAPDisplayName(schema, &amp;quot;top&amp;quot;);
&lt;br&gt;-		DLIST_ADD_END(parent_class, current, struct class_list *);
&lt;br&gt;-	}
&lt;br&gt;+	/* Add top here, to prevent duplicates */
&lt;br&gt;+	current = talloc(mem_ctx, struct class_list);
&lt;br&gt;+	current-&amp;gt;objectclass = dsdb_class_by_lDAPDisplayName(schema, &amp;quot;top&amp;quot;);
&lt;br&gt;+	DLIST_ADD_END(sorted, current, struct class_list *);
&lt;br&gt;+	
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* For each object: &amp;nbsp;find parent chain */
&lt;br&gt;&amp;nbsp;	for (current = unsorted; schema &amp;&amp; current; current = current-&amp;gt;next) {
&lt;br&gt;@@ -179,44 +175,24 @@ static int objectclass_sort(struct ldb_module *module,
&lt;br&gt;&amp;nbsp;		new_parent-&amp;gt;objectclass = dsdb_class_by_lDAPDisplayName(schema, current-&amp;gt;objectclass-&amp;gt;subClassOf);
&lt;br&gt;&amp;nbsp;		DLIST_ADD_END(unsorted, new_parent, struct class_list *);
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-
&lt;br&gt;-	/* DEBUGGING aid: &amp;nbsp;how many layers are we down now? */
&lt;br&gt;-	layer = 0;
&lt;br&gt;-	do {
&lt;br&gt;-		layer++;
&lt;br&gt;-		/* Find all the subclasses of classes in the
&lt;br&gt;-		 * parent_classes. &amp;nbsp;Push them onto the subclass list */
&lt;br&gt;-
&lt;br&gt;-		/* Ensure we don't bother if there are no unsorted entries left */
&lt;br&gt;-		for (current = parent_class; schema &amp;&amp; unsorted &amp;&amp; current; current = current-&amp;gt;next) {
&lt;br&gt;-			/* Walk the list of possible subclasses in unsorted */
&lt;br&gt;-			for (poss_subclass = unsorted; poss_subclass; ) {
&lt;br&gt;-				struct class_list *next;
&lt;br&gt;-				
&lt;br&gt;-				/* Save the next pointer, as the DLIST_ macros will change poss_subclass-&amp;gt;next */
&lt;br&gt;-				next = poss_subclass-&amp;gt;next;
&lt;br&gt;-
&lt;br&gt;-				if (ldb_attr_cmp(poss_subclass-&amp;gt;objectclass-&amp;gt;subClassOf, current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName) == 0) {
&lt;br&gt;-					DLIST_REMOVE(unsorted, poss_subclass);
&lt;br&gt;-					DLIST_ADD(subclass, poss_subclass);
&lt;br&gt;-					
&lt;br&gt;-					break;
&lt;br&gt;-				}
&lt;br&gt;-				poss_subclass = next;
&lt;br&gt;+	
&lt;br&gt;+	do
&lt;br&gt;+	{
&lt;br&gt;+		lowest = INT_MAX;
&lt;br&gt;+		current_lowest = NULL;
&lt;br&gt;+		for (current = unsorted; schema &amp;&amp; current; current = current-&amp;gt;next) {
&lt;br&gt;+			if(current-&amp;gt;objectclass-&amp;gt;subClass_order &amp;lt; lowest) {
&lt;br&gt;+				current_lowest = current;
&lt;br&gt;+				lowest = current-&amp;gt;objectclass-&amp;gt;subClass_order;
&lt;br&gt;&amp;nbsp;			}
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;-
&lt;br&gt;-		/* Now push the parent_classes as sorted, we are done with
&lt;br&gt;-		these. &amp;nbsp;Add to the END of the list by concatenation */
&lt;br&gt;-		DLIST_CONCATENATE(sorted, parent_class, struct class_list *);
&lt;br&gt;-
&lt;br&gt;-		/* and now find subclasses of these */
&lt;br&gt;-		parent_class = subclass;
&lt;br&gt;-		subclass = NULL;
&lt;br&gt;-
&lt;br&gt;-		/* If we didn't find any subclasses we will fall out
&lt;br&gt;-		 * the bottom here */
&lt;br&gt;-	} while (parent_class);
&lt;br&gt;+		
&lt;br&gt;+		if(current_lowest != NULL) {
&lt;br&gt;+			DLIST_REMOVE(unsorted,current_lowest);
&lt;br&gt;+			DLIST_ADD_END(sorted,current_lowest, struct class_list *);
&lt;br&gt;+		}
&lt;br&gt;+	} while(unsorted);
&lt;br&gt;+	
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!unsorted) {
&lt;br&gt;&amp;nbsp;		*sorted_out = sorted;
&lt;br&gt;@@ -466,11 +442,14 @@ static int objectclass_do_add(struct oc_context *ac)
&lt;br&gt;&amp;nbsp;	const struct dsdb_schema *schema;
&lt;br&gt;&amp;nbsp;	struct ldb_request *add_req;
&lt;br&gt;&amp;nbsp;	char *value;
&lt;br&gt;-	struct ldb_message_element *objectclass_element;
&lt;br&gt;+	struct ldb_message_element *objectclass_element, *el;
&lt;br&gt;&amp;nbsp;	struct ldb_message *msg;
&lt;br&gt;&amp;nbsp;	TALLOC_CTX *mem_ctx;
&lt;br&gt;&amp;nbsp;	struct class_list *sorted, *current;
&lt;br&gt;&amp;nbsp;	int ret;
&lt;br&gt;+	const struct dsdb_class *objectclass;
&lt;br&gt;+	int32_t systemFlags = 0;
&lt;br&gt;+	const char *rdn_name = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	ldb = ldb_module_get_ctx(ac-&amp;gt;module);
&lt;br&gt;&amp;nbsp;	schema = dsdb_get_schema(ldb);
&lt;br&gt;@@ -560,120 +539,128 @@ static int objectclass_do_add(struct oc_context *ac)
&lt;br&gt;&amp;nbsp;				talloc_free(mem_ctx);
&lt;br&gt;&amp;nbsp;				return ret;
&lt;br&gt;&amp;nbsp;			}
&lt;br&gt;-			/* Last one is the critical one */
&lt;br&gt;-			if (!current-&amp;gt;next) {
&lt;br&gt;-				struct ldb_message_element *el;
&lt;br&gt;-				int32_t systemFlags = 0;
&lt;br&gt;-				const char *rdn_name = ldb_dn_get_rdn_name(msg-&amp;gt;dn);
&lt;br&gt;-				if (current-&amp;gt;objectclass-&amp;gt;rDNAttID
&lt;br&gt;-				 &amp;nbsp; &amp;nbsp;&amp;&amp; ldb_attr_cmp(rdn_name, current-&amp;gt;objectclass-&amp;gt;rDNAttID) != 0) {
&lt;br&gt;-					ldb_asprintf_errstring(ldb,
&lt;br&gt;-							 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;RDN %s is not correct for most specific structural objectclass %s, should be %s&amp;quot;,
&lt;br&gt;-							 &amp;nbsp; &amp;nbsp; &amp;nbsp; rdn_name, current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, current-&amp;gt;objectclass-&amp;gt;rDNAttID);
&lt;br&gt;-					return LDB_ERR_NAMING_VIOLATION;
&lt;br&gt;-				}
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (ac-&amp;gt;search_res &amp;&amp; ac-&amp;gt;search_res-&amp;gt;message) {
&lt;br&gt;-					struct ldb_message_element *oc_el
&lt;br&gt;-						= ldb_msg_find_element(ac-&amp;gt;search_res-&amp;gt;message, &amp;quot;objectClass&amp;quot;);
&lt;br&gt;+		/* Retrive the message again so get_last_structural_class works */
&lt;br&gt;+		objectclass_element = ldb_msg_find_element(msg, &amp;quot;objectClass&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-					bool allowed_class = false;
&lt;br&gt;-					int i, j;
&lt;br&gt;-					for (i=0; allowed_class == false &amp;&amp; oc_el &amp;&amp; i &amp;lt; oc_el-&amp;gt;num_values; i++) {
&lt;br&gt;-						const struct dsdb_class *sclass;
&lt;br&gt;+		/* Make sure its valid to add an object of this type */
&lt;br&gt;+		objectclass = get_last_structural_class(schema,objectclass_element);
&lt;br&gt;+		if(objectclass == NULL) {
&lt;br&gt;+			ldb_asprintf_errstring(ldb,
&lt;br&gt;+						&amp;quot;Failed to find a structural class for %s&amp;quot;,
&lt;br&gt;+						 &amp;nbsp;ldb_dn_get_linearized(msg-&amp;gt;dn));
&lt;br&gt;+			return LDB_ERR_NAMING_VIOLATION;
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-						sclass = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &amp;oc_el-&amp;gt;values[i]);
&lt;br&gt;-						if (!sclass) {
&lt;br&gt;-							/* We don't know this class? &amp;nbsp;what is going on? */
&lt;br&gt;-							continue;
&lt;br&gt;-						}
&lt;br&gt;-						if (ldb_request_get_control(ac-&amp;gt;req, LDB_CONTROL_RELAX_OID)) {
&lt;br&gt;-							for (j=0; sclass-&amp;gt;systemPossibleInferiors &amp;&amp; sclass-&amp;gt;systemPossibleInferiors[j]; j++) {
&lt;br&gt;-								if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, sclass-&amp;gt;systemPossibleInferiors[j]) == 0) {
&lt;br&gt;-									allowed_class = true;
&lt;br&gt;-									break;
&lt;br&gt;-								}
&lt;br&gt;-							}
&lt;br&gt;-						} else {
&lt;br&gt;-							for (j=0; sclass-&amp;gt;systemPossibleInferiors &amp;&amp; sclass-&amp;gt;systemPossibleInferiors[j]; j++) {
&lt;br&gt;-								if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, sclass-&amp;gt;systemPossibleInferiors[j]) == 0) {
&lt;br&gt;-									allowed_class = true;
&lt;br&gt;-									break;
&lt;br&gt;-								}
&lt;br&gt;-							}
&lt;br&gt;-						}
&lt;br&gt;-					}
&lt;br&gt;+		rdn_name = ldb_dn_get_rdn_name(msg-&amp;gt;dn);
&lt;br&gt;+		if (objectclass-&amp;gt;rDNAttID
&lt;br&gt;+			&amp;&amp; ldb_attr_cmp(rdn_name, objectclass-&amp;gt;rDNAttID) != 0) {
&lt;br&gt;+			ldb_asprintf_errstring(ldb,
&lt;br&gt;+						&amp;quot;RDN %s is not correct for most specific structural objectclass %s, should be %s&amp;quot;,
&lt;br&gt;+						rdn_name, objectclass-&amp;gt;lDAPDisplayName, objectclass-&amp;gt;rDNAttID);
&lt;br&gt;+			return LDB_ERR_NAMING_VIOLATION;
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-					if (!allowed_class) {
&lt;br&gt;-						ldb_asprintf_errstring(ldb, &amp;quot;structural objectClass %s is not a valid child class for %s&amp;quot;,
&lt;br&gt;-							 &amp;nbsp; &amp;nbsp; &amp;nbsp; current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, ldb_dn_get_linearized(ac-&amp;gt;search_res-&amp;gt;message-&amp;gt;dn));
&lt;br&gt;-						return LDB_ERR_NAMING_VIOLATION;
&lt;br&gt;-					}
&lt;br&gt;-				}
&lt;br&gt;+		if (ac-&amp;gt;search_res &amp;&amp; ac-&amp;gt;search_res-&amp;gt;message) {
&lt;br&gt;+			struct ldb_message_element *oc_el
&lt;br&gt;+				= ldb_msg_find_element(ac-&amp;gt;search_res-&amp;gt;message, &amp;quot;objectClass&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (current-&amp;gt;objectclass-&amp;gt;systemOnly &amp;&amp; !ldb_request_get_control(ac-&amp;gt;req, LDB_CONTROL_RELAX_OID)) {
&lt;br&gt;-					ldb_asprintf_errstring(ldb, &amp;quot;objectClass %s is systemOnly, rejecting creation of %s&amp;quot;,
&lt;br&gt;-							 &amp;nbsp; &amp;nbsp; &amp;nbsp; current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, ldb_dn_get_linearized(msg-&amp;gt;dn));
&lt;br&gt;-					return LDB_ERR_UNWILLING_TO_PERFORM;
&lt;br&gt;-				}
&lt;br&gt;+			bool allowed_class = false;
&lt;br&gt;+			int i, j;
&lt;br&gt;+			for (i=0; allowed_class == false &amp;&amp; oc_el &amp;&amp; i &amp;lt; oc_el-&amp;gt;num_values; i++) {
&lt;br&gt;+				const struct dsdb_class *sclass;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (!ldb_msg_find_element(msg, &amp;quot;objectCategory&amp;quot;)) {
&lt;br&gt;-					struct dsdb_extended_dn_store_format *dn_format = talloc_get_type(ldb_module_get_private(ac-&amp;gt;module), struct dsdb_extended_dn_store_format);
&lt;br&gt;-					if (dn_format &amp;&amp; dn_format-&amp;gt;store_extended_dn_in_ldb == false) {
&lt;br&gt;-						/* Strip off extended components */
&lt;br&gt;-						struct ldb_dn *dn = ldb_dn_new(msg, ldb, current-&amp;gt;objectclass-&amp;gt;defaultObjectCategory);
&lt;br&gt;-						value = ldb_dn_alloc_linearized(msg, dn);
&lt;br&gt;-						talloc_free(dn);
&lt;br&gt;-					} else {
&lt;br&gt;-						value = talloc_strdup(msg, current-&amp;gt;objectclass-&amp;gt;defaultObjectCategory);
&lt;br&gt;+				sclass = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &amp;oc_el-&amp;gt;values[i]);
&lt;br&gt;+				if (!sclass) {
&lt;br&gt;+					/* We don't know this class? &amp;nbsp;what is going on? */
&lt;br&gt;+					continue;
&lt;br&gt;+				}
&lt;br&gt;+				if (ldb_request_get_control(ac-&amp;gt;req, LDB_CONTROL_RELAX_OID)) {
&lt;br&gt;+					for (j=0; sclass-&amp;gt;systemPossibleInferiors &amp;&amp; sclass-&amp;gt;systemPossibleInferiors[j]; j++) {
&lt;br&gt;+						if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, sclass-&amp;gt;systemPossibleInferiors[j]) == 0) {
&lt;br&gt;+							allowed_class = true;
&lt;br&gt;+							break;
&lt;br&gt;+						}
&lt;br&gt;&amp;nbsp;					}
&lt;br&gt;-					if (value == NULL) {
&lt;br&gt;-						ldb_oom(ldb);
&lt;br&gt;-						talloc_free(mem_ctx);
&lt;br&gt;-						return LDB_ERR_OPERATIONS_ERROR;
&lt;br&gt;+				} else {
&lt;br&gt;+					for (j=0; sclass-&amp;gt;systemPossibleInferiors &amp;&amp; sclass-&amp;gt;systemPossibleInferiors[j]; j++) {
&lt;br&gt;+						if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, sclass-&amp;gt;systemPossibleInferiors[j]) == 0) {
&lt;br&gt;+							allowed_class = true;
&lt;br&gt;+							break;
&lt;br&gt;+						}
&lt;br&gt;&amp;nbsp;					}
&lt;br&gt;-					ldb_msg_add_string(msg, &amp;quot;objectCategory&amp;quot;, value);
&lt;br&gt;-				}
&lt;br&gt;-				if (!ldb_msg_find_element(msg, &amp;quot;showInAdvancedViewOnly&amp;quot;) &amp;&amp; (current-&amp;gt;objectclass-&amp;gt;defaultHidingValue == true)) {
&lt;br&gt;-					ldb_msg_add_string(msg, &amp;quot;showInAdvancedViewOnly&amp;quot;,
&lt;br&gt;-							 &amp;nbsp; &amp;quot;TRUE&amp;quot;);
&lt;br&gt;&amp;nbsp;				}
&lt;br&gt;+			}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				/* There are very special rules for systemFlags, see MS-ADTS 3.1.1.5.2.4 */
&lt;br&gt;-				el = ldb_msg_find_element(msg, &amp;quot;systemFlags&amp;quot;);
&lt;br&gt;+			if (!allowed_class) {
&lt;br&gt;+				ldb_asprintf_errstring(ldb, &amp;quot;structural objectClass %s is not a valid child class for %s&amp;quot;,
&lt;br&gt;+						objectclass-&amp;gt;lDAPDisplayName, ldb_dn_get_linearized(ac-&amp;gt;search_res-&amp;gt;message-&amp;gt;dn));
&lt;br&gt;+				return LDB_ERR_NAMING_VIOLATION;
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				systemFlags = ldb_msg_find_attr_as_int(msg, &amp;quot;systemFlags&amp;quot;, 0);
&lt;br&gt;+		if (objectclass-&amp;gt;systemOnly &amp;&amp; !ldb_request_get_control(ac-&amp;gt;req, LDB_CONTROL_RELAX_OID)) {
&lt;br&gt;+			ldb_asprintf_errstring(ldb, &amp;quot;objectClass %s is systemOnly, rejecting creation of %s&amp;quot;,
&lt;br&gt;+						objectclass-&amp;gt;lDAPDisplayName, ldb_dn_get_linearized(msg-&amp;gt;dn));
&lt;br&gt;+			return LDB_ERR_UNWILLING_TO_PERFORM;
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (el) {
&lt;br&gt;-					/* Only these flags may be set by a client, but we can't tell between a client and our provision at this point */
&lt;br&gt;-					/* systemFlags &amp;= ( SYSTEM_FLAG_CONFIG_ALLOW_RENAME | SYSTEM_FLAG_CONFIG_ALLOW_MOVE | SYSTEM_FLAG_CONFIG_LIMITED_MOVE); */
&lt;br&gt;-					ldb_msg_remove_element(msg, el);
&lt;br&gt;-				}
&lt;br&gt;+		if (!ldb_msg_find_element(msg, &amp;quot;objectCategory&amp;quot;)) {
&lt;br&gt;+			struct dsdb_extended_dn_store_format *dn_format = talloc_get_type(ldb_module_get_private(ac-&amp;gt;module), struct dsdb_extended_dn_store_format);
&lt;br&gt;+			if (dn_format &amp;&amp; dn_format-&amp;gt;store_extended_dn_in_ldb == false) {
&lt;br&gt;+				/* Strip off extended components */
&lt;br&gt;+				struct ldb_dn *dn = ldb_dn_new(msg, ldb, objectclass-&amp;gt;defaultObjectCategory);
&lt;br&gt;+				value = ldb_dn_alloc_linearized(msg, dn);
&lt;br&gt;+				talloc_free(dn);
&lt;br&gt;+			} else {
&lt;br&gt;+				value = talloc_strdup(msg, objectclass-&amp;gt;defaultObjectCategory);
&lt;br&gt;+			}
&lt;br&gt;+			if (value == NULL) {
&lt;br&gt;+				ldb_oom(ldb);
&lt;br&gt;+				talloc_free(mem_ctx);
&lt;br&gt;+				return LDB_ERR_OPERATIONS_ERROR;
&lt;br&gt;+			}
&lt;br&gt;+			ldb_msg_add_string(msg, &amp;quot;objectCategory&amp;quot;, value);
&lt;br&gt;+		}
&lt;br&gt;+		if (!ldb_msg_find_element(msg, &amp;quot;showInAdvancedViewOnly&amp;quot;) &amp;&amp; (objectclass-&amp;gt;defaultHidingValue == true)) {
&lt;br&gt;+			ldb_msg_add_string(msg, &amp;quot;showInAdvancedViewOnly&amp;quot;,
&lt;br&gt;+						&amp;quot;TRUE&amp;quot;);
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				/* This flag is only allowed on attributeSchema objects */
&lt;br&gt;-				if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;attributeSchema&amp;quot;) == 0) {
&lt;br&gt;-					systemFlags &amp;= ~SYSTEM_FLAG_ATTR_IS_RDN;
&lt;br&gt;-				}
&lt;br&gt;+		/* There are very special rules for systemFlags, see MS-ADTS 3.1.1.5.2.4 */
&lt;br&gt;+		el = ldb_msg_find_element(msg, &amp;quot;systemFlags&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;server&amp;quot;) == 0) {
&lt;br&gt;-					systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE | SYSTEM_FLAG_CONFIG_ALLOW_RENAME | SYSTEM_FLAG_CONFIG_ALLOW_LIMITED_MOVE);
&lt;br&gt;-				} else if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;site&amp;quot;) == 0
&lt;br&gt;-					 &amp;nbsp; || ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;serverContainer&amp;quot;) == 0
&lt;br&gt;-					 &amp;nbsp; || ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;ntDSDSA&amp;quot;) == 0) {
&lt;br&gt;-					systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE);
&lt;br&gt;-
&lt;br&gt;-				} else if (ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;siteLink&amp;quot;) == 0
&lt;br&gt;-					 &amp;nbsp; || ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;siteLinkBridge&amp;quot;) == 0
&lt;br&gt;-					 &amp;nbsp; || ldb_attr_cmp(current-&amp;gt;objectclass-&amp;gt;lDAPDisplayName, &amp;quot;nTDSConnection&amp;quot;) == 0) {
&lt;br&gt;-					systemFlags |= (int32_t)(SYSTEM_FLAG_CONFIG_ALLOW_RENAME);
&lt;br&gt;-				}
&lt;br&gt;+		systemFlags = ldb_msg_find_attr_as_int(msg, &amp;quot;systemFlags&amp;quot;, 0);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				/* TODO: If parent object is site or subnet, also add (SYSTEM_FLAG_CONFIG_ALLOW_RENAME) */
&lt;br&gt;+		if (el) {
&lt;br&gt;+			/* Only these flags may be set by a client, but we can't tell between a client and our provision at this point */
&lt;br&gt;+			/* systemFlags &amp;= ( SYSTEM_FLAG_CONFIG_ALLOW_RENAME | SYSTEM_FLAG_CONFIG_ALLOW_MOVE | SYSTEM_FLAG_CONFIG_LIMITED_MOVE); */
&lt;br&gt;+			ldb_msg_remove_element(msg, el);
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-				if (el || systemFlags != 0) {
&lt;br&gt;-					samdb_msg_add_int(ldb, msg, msg, &amp;quot;systemFlags&amp;quot;, systemFlags);
&lt;br&gt;-				}
&lt;br&gt;-			}
&lt;br&gt;+		/* This flag is only allowed on attributeSchema objects */
&lt;br&gt;+		if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;attributeSchema&amp;quot;) == 0) {
&lt;br&gt;+			systemFlags &amp;= ~SYSTEM_FLAG_ATTR_IS_RDN;
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;server&amp;quot;) == 0) {
&lt;br&gt;+			systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE | SYSTEM_FLAG_CONFIG_ALLOW_RENAME | SYSTEM_FLAG_CONFIG_ALLOW_LIMITED_MOVE);
&lt;br&gt;+		} else if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;site&amp;quot;) == 0
&lt;br&gt;+				|| ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;serverContainer&amp;quot;) == 0
&lt;br&gt;+				|| ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;ntDSDSA&amp;quot;) == 0) {
&lt;br&gt;+			systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE);
&lt;br&gt;+
&lt;br&gt;+		} else if (ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;siteLink&amp;quot;) == 0
&lt;br&gt;+				|| ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;siteLinkBridge&amp;quot;) == 0
&lt;br&gt;+				|| ldb_attr_cmp(objectclass-&amp;gt;lDAPDisplayName, &amp;quot;nTDSConnection&amp;quot;) == 0) {
&lt;br&gt;+			systemFlags |= (int32_t)(SYSTEM_FLAG_CONFIG_ALLOW_RENAME);
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		/* TODO: If parent object is site or subnet, also add (SYSTEM_FLAG_CONFIG_ALLOW_RENAME) */
&lt;br&gt;+
&lt;br&gt;+		if (el || systemFlags != 0) {
&lt;br&gt;+			samdb_msg_add_int(ldb, msg, msg, &amp;quot;systemFlags&amp;quot;, systemFlags);
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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;[0006-s4-dsdb-Add-a-test-for-adding-deleting-and-append.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 08e8f82c0b52a213ddc1ed475e6bb2a1ad7e455a Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Brendan Powers &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26788360&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brendan@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Mon, 14 Dec 2009 20:51:10 -0500
&lt;br&gt;Subject: [PATCH] s4-dsdb: Add a test for adding, deleting, and appending a psoxAccount objectClass to a user
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;source4/lib/ldb/tests/python/ldap.py | &amp;nbsp; 30 ++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;1 files changed, 30 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py
&lt;br&gt;index d0a0ed2..54b623a 100755
&lt;br&gt;--- a/source4/lib/ldb/tests/python/ldap.py
&lt;br&gt;+++ b/source4/lib/ldb/tests/python/ldap.py
&lt;br&gt;@@ -1719,6 +1719,36 @@ member: CN=ldaptestutf8user èùéìòà,CN=Users,&amp;quot;&amp;quot;&amp;quot; + self.base_dn + &amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;res = ldb.search(self.base_dn, expression=&amp;quot;objectCategory=group&amp;quot;, scope=SCOPE_SUBTREE, attrs=[&amp;quot;cn&amp;quot;], controls=[&amp;quot;domain_scope:1&amp;quot;])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.assertTrue(len(res) &amp;gt; 0)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print &amp;quot;Testing creating a user with the posixAccount objectClass&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.ldb.add_ldif(&amp;quot;&amp;quot;&amp;quot;dn: cn=posixuser,CN=Users,%s
&lt;br&gt;+objectClass: top
&lt;br&gt;+objectClass: person
&lt;br&gt;+objectClass: posixAccount
&lt;br&gt;+objectClass: user
&lt;br&gt;+objectClass: organizationalPerson
&lt;br&gt;+cn: posixuser
&lt;br&gt;+uid: posixuser
&lt;br&gt;+sn: posixuser
&lt;br&gt;+uidNumber: 10126
&lt;br&gt;+gidNumber: 10126
&lt;br&gt;+homeDirectory: /home/posixuser
&lt;br&gt;+loginShell: /bin/bash
&lt;br&gt;+gecos: Posix User;;;
&lt;br&gt;+description: A POSIX user&amp;quot;&amp;quot;&amp;quot;% (self.base_dn))
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print &amp;quot;Testing removing the posixAccount objectClass from an existing user&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.ldb.modify_ldif(&amp;quot;&amp;quot;&amp;quot;dn: cn=posixuser,CN=Users,%s
&lt;br&gt;+changetype: modify
&lt;br&gt;+delete: objectClass
&lt;br&gt;+objectClass: posixAccount&amp;quot;&amp;quot;&amp;quot;% (self.base_dn))
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print &amp;quot;Testing adding the posixAccount objectClass to an existing user&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.ldb.modify_ldif(&amp;quot;&amp;quot;&amp;quot;dn: cn=posixuser,CN=Users,%s
&lt;br&gt;+changetype: modify
&lt;br&gt;+add: objectClass
&lt;br&gt;+objectClass: posixAccount&amp;quot;&amp;quot;&amp;quot;% (self.base_dn))
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.delete_force(self.ldb, &amp;quot;cn=posixuser,cn=users,&amp;quot; + self.base_dn)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.delete_force(self.ldb, &amp;quot;cn=ldaptestuser,cn=users,&amp;quot; + self.base_dn)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.delete_force(self.ldb, &amp;quot;cn=ldaptestuser2,cn=users,&amp;quot; + self.base_dn)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.delete_force(self.ldb, &amp;quot;cn=ldaptestuser3,cn=users,&amp;quot; + self.base_dn)
&lt;br&gt;-- 
&lt;br&gt;1.5.4.3
&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/-PATCHS--fix-handling-of-AUX-classes-in-objectclass.c-tp26788360p26788360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787666</id>
	<title>Re: chpasswd gone..</title>
	<published>2009-12-14T16:42:46Z</published>
	<updated>2009-12-14T16:42:46Z</updated>
	<author>
		<name>Tony Breeds</name>
	</author>
	<content type="html">On Tue, Dec 15, 2009 at 11:20:40AM +1100, Andrew Janke wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Anyone happen to know where this is gone on later versions of
&lt;br&gt;&amp;gt; Ubuntu/Debian? &amp;nbsp;The new version seems to be very stripped down and
&lt;br&gt;&amp;gt; devoid of function for md5/encrypted passwords.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Previously I could do something like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1) copy appropriate shadow lines from some other machine:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;2) chpasswd --encrypted &amp;lt; modded-shadow-file
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Or is there a &amp;quot;better way&amp;quot; to update a bunch of passwords? &amp;nbsp;(No, I
&lt;br&gt;&amp;gt; can't/dont want to play NIS/LDAP).
&lt;/div&gt;&lt;br&gt;If you have the plaintext you can use the --stdin on pwsswd, if not then
&lt;br&gt;just use sed -i- -s 's/^\(uname)\)&amp;lt;old crypt string&amp;gt;/\1&amp;lt;new crypt string&amp;gt;/'
&lt;br&gt;on shadow, taking the &amp;quot;locks&amp;quot; on either side of the sed
&lt;br&gt;&lt;br&gt;Yours Tony
&lt;br&gt;-- 
&lt;br&gt;linux mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-f13154.html&quot; embed=&quot;fixTarget[13154]&quot; target=&quot;_top&quot; &gt;Samba - linux&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/chpasswd-gone..-tp26787492p26787666.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787492</id>
	<title>chpasswd gone..</title>
	<published>2009-12-14T16:20:40Z</published>
	<updated>2009-12-14T16:20:40Z</updated>
	<author>
		<name>Andrew Janke</name>
	</author>
	<content type="html">Anyone happen to know where this is gone on later versions of
&lt;br&gt;Ubuntu/Debian? &amp;nbsp;The new version seems to be very stripped down and
&lt;br&gt;devoid of function for md5/encrypted passwords.
&lt;br&gt;&lt;br&gt;Previously I could do something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;1) copy appropriate shadow lines from some other machine:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;2) chpasswd --encrypted &amp;lt; modded-shadow-file
&lt;br&gt;&lt;br&gt;Or is there a &amp;quot;better way&amp;quot; to update a bunch of passwords? &amp;nbsp;(No, I
&lt;br&gt;can't/dont want to play NIS/LDAP).
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Andrew Janke
&lt;br&gt;(&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787492&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.janke@...&lt;/a&gt; || &lt;a href=&quot;http://a.janke.googlepages.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://a.janke.googlepages.com/&lt;/a&gt;)
&lt;br&gt;Canberra-&amp;gt;Australia &amp;nbsp; &amp;nbsp;+61 (402) 700 883
&lt;br&gt;-- 
&lt;br&gt;linux mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787492&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-f13154.html&quot; embed=&quot;fixTarget[13154]&quot; target=&quot;_top&quot; &gt;Samba - linux&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/chpasswd-gone..-tp26787492p26787492.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787440</id>
	<title>Re: primaryGroupToken</title>
	<published>2009-12-14T16:14:11Z</published>
	<updated>2009-12-14T16:14:11Z</updated>
	<author>
		<name>Edgar Olougouna</name>
	</author>
	<content type="html">Andrew,
&lt;br&gt;&lt;br&gt;Your observation regarding the primaryGroupToken attribute is right. We have reviewed and updated the definition in MS-ADA3. The update will appear in a future release of the document. 
&lt;br&gt;&lt;br&gt;Current MS-ADA3
&lt;br&gt;&lt;br&gt;2.120 &amp;nbsp; Attribute primaryGroupToken
&lt;br&gt;&lt;br&gt;This attribute specifies a computed attribute that is used in retrieving the membership list of a group such as Domain Users. The complete membership of such groups is not stored explicitly for scaling reasons. For more information refer to [MS-ADTS] section 3.1.1.4.5.11 and [MS-SAMR].
&lt;br&gt;&lt;br&gt;MS-ADA3 update similar to:
&lt;br&gt;&lt;br&gt;2.120 &amp;nbsp; Attribute primaryGroupToken
&lt;br&gt;&lt;br&gt;This attribute specifies a computed attribute that is the relative identifier (RID) of the group's SID. For more information refer to [MS-ADTS] section 3.1.1.4.5.11 and [MS-SAMR].
&lt;br&gt;&lt;br&gt;Thanks for helping us improve the MS-ADA3 documentation.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Edgar
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Edgar Olougouna 
&lt;br&gt;Sent: Friday, December 04, 2009 9:09 AM
&lt;br&gt;To: 'Andrew Bartlett'
&lt;br&gt;Cc: '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787440&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=26787440&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;'; 'Matthieu Patou'
&lt;br&gt;Subject: RE: primaryGroupToken
&lt;br&gt;&lt;br&gt;Andrew,
&lt;br&gt;&lt;br&gt;I am looking into this and will keep you updated with my progress.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Edgar A. Olougouna
&lt;br&gt;Sr. SEE, Microsoft DSC Protocol Team
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Andrew Bartlett [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787440&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, December 03, 2009 4:00 PM
&lt;br&gt;To: Interoperability Documentation Help
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787440&amp;i=3&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=26787440&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfif@...&lt;/a&gt;; Matthieu Patou
&lt;br&gt;Subject: primaryGroupToken
&lt;br&gt;&lt;br&gt;MS-ADA3 2.120 claims:
&lt;br&gt;&lt;br&gt;Attribute primaryGroupToken
&lt;br&gt;&amp;nbsp; This attribute specifies a computed attribute that is used in retrieving the membership list of a group
&lt;br&gt;&amp;nbsp; such as Domain Users. The complete membership of such groups is not stored explicitly for scaling
&lt;br&gt;&amp;nbsp; reasons. For more information refer to [MS-ADTS] section 3.1.1.4.5.11 and [MS-SAMR].
&lt;br&gt;&lt;br&gt;However,
&lt;br&gt;MS-ADTS 3.1.1.4.5.11 claims:
&lt;br&gt;&lt;br&gt;primaryGroupToken
&lt;br&gt;&amp;nbsp; Let TO be the object from which the primaryGroupToken attribute is being read.
&lt;br&gt;&amp;nbsp; The value of TO!primaryGroupToken is the RID from TO!objectSid when there exists C in
&lt;br&gt;&amp;nbsp; TO!objectClass such that C is the group class. Otherwise, no value is returned. That is, if TO is a
&lt;br&gt;&amp;nbsp; group, then the value of this attribute is the RID from the group's SID. If TO is not a group, no
&lt;br&gt;&amp;nbsp; value is returned when this attribute is read from TO.
&lt;br&gt;&lt;br&gt;The behaviour of Window 2008 appears to follow MS-ADTS. &amp;nbsp;That is, the primaryGroupToken appears to be the RID of the objectSID for all groups. 
&lt;br&gt;&lt;br&gt;Please advise, clarify or correct,
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Andrew Bartlett
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Bartlett &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;Authentication Developer, Samba Team &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;Samba Developer, Cisco Inc.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;cifs-protocol mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787440&amp;i=5&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;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/primaryGroupToken-tp26633971p26787440.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787225</id>
	<title>GMA500/PSB - the saga continues.</title>
	<published>2009-12-14T15:47:14Z</published>
	<updated>2009-12-14T15:47:14Z</updated>
	<author>
		<name>BAXTER,Adam</name>
	</author>
	<content type="html">And now, for something completely different.
&lt;br&gt;Intel releases *another* driver for *some* GMA500 based chipsets.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://edc.intel.com/Software/Downloads/IEGD/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://edc.intel.com/Software/Downloads/IEGD/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Yes, the Linux driver *is* packed in a 126mb Windows exe.
&lt;br&gt;&lt;br&gt;--Adam
&lt;br&gt;Notice:
&lt;br&gt;&lt;br&gt;The information contained in this email message and any attached files may be confidential information, and may also be the subject of legal professional privilege. If you are not the intended recipient any use, disclosure or copying of this email is unauthorised. If you received this email in error, please notify the DEEWR Service Desk by calling (02) 6240 9999 and delete all copies of this transmission together with any attachments.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;linux mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787225&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;linux@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.samba.org/mailman/listinfo/linux&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/linux&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---linux-f13154.html&quot; embed=&quot;fixTarget[13154]&quot; target=&quot;_top&quot; &gt;Samba - linux&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GMA500-PSB---the-saga-continues.-tp26787225p26787225.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787120</id>
	<title>Re: disabling extended security attributes</title>
	<published>2009-12-14T15:43:56Z</published>
	<updated>2009-12-14T15:43:56Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Thanks!
&lt;br&gt;&lt;br&gt;Is there any &amp;nbsp;documentation on performance tricks that may be used -
&lt;br&gt;specifically with samba running against windows 2003 client (with
&lt;br&gt;IOZone benchmarking app). I have seen a write up in internet that
&lt;br&gt;talks about tuning max xmit, read size etc. but that is not helping.
&lt;br&gt;&lt;br&gt;I'm interesting to know if there is a full list of parameters that
&lt;br&gt;user can tune....
&lt;br&gt;&lt;br&gt;Thanks in advance for any pointers...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Dec 13, 2009 at 2:34 PM, Andrew Bartlett &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787120&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-12-11 at 17:15 -0800, Learner Study wrote:
&lt;br&gt;&amp;gt;&amp;gt; Thanks! that worked...I had disabled the code from negprot.c.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; BTW, are there more commands like this I could use to improve perf
&lt;br&gt;&amp;gt;&amp;gt; against windows 2003 client.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This isn't a performance tuning command, and I doubt you will notice any
&lt;br&gt;&amp;gt; change with a modern client such as Windows 2003, unless your network is
&lt;br&gt;&amp;gt; badly misconfigured.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Indeed, it can actually reduce performance, because it will turn off
&lt;br&gt;&amp;gt; Kerberos (which, if set up correctly, can improve performance compared
&lt;br&gt;&amp;gt; with NTLM).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andrew Bartlett
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Andrew Bartlett                                &lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;&amp;gt; Authentication Developer, Samba Team           &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;&amp;gt; Samba Developer, Cisco Inc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/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/disabling-extended-security-attributes-tp26737105p26787120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26787119</id>
	<title>Re: disabling extended security attributes</title>
	<published>2009-12-14T15:43:56Z</published>
	<updated>2009-12-14T15:43:56Z</updated>
	<author>
		<name>Learner Study</name>
	</author>
	<content type="html">Thanks!
&lt;br&gt;&lt;br&gt;Is there any &amp;nbsp;documentation on performance tricks that may be used -
&lt;br&gt;specifically with samba running against windows 2003 client (with
&lt;br&gt;IOZone benchmarking app). I have seen a write up in internet that
&lt;br&gt;talks about tuning max xmit, read size etc. but that is not helping.
&lt;br&gt;&lt;br&gt;I'm interesting to know if there is a full list of parameters that
&lt;br&gt;user can tune....
&lt;br&gt;&lt;br&gt;Thanks in advance for any pointers...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Dec 13, 2009 at 2:34 PM, Andrew Bartlett &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26787119&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abartlet@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-12-11 at 17:15 -0800, Learner Study wrote:
&lt;br&gt;&amp;gt;&amp;gt; Thanks! that worked...I had disabled the code from negprot.c.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; BTW, are there more commands like this I could use to improve perf
&lt;br&gt;&amp;gt;&amp;gt; against windows 2003 client.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This isn't a performance tuning command, and I doubt you will notice any
&lt;br&gt;&amp;gt; change with a modern client such as Windows 2003, unless your network is
&lt;br&gt;&amp;gt; badly misconfigured.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Indeed, it can actually reduce performance, because it will turn off
&lt;br&gt;&amp;gt; Kerberos (which, if set up correctly, can improve performance compared
&lt;br&gt;&amp;gt; with NTLM).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andrew Bartlett
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Andrew Bartlett                                &lt;a href=&quot;http://samba.org/~abartlet/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org/~abartlet/&lt;/a&gt;&lt;br&gt;&amp;gt; Authentication Developer, Samba Team           &lt;a href=&quot;http://samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://samba.org&lt;/a&gt;&lt;br&gt;&amp;gt; Samba Developer, Cisco Inc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&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/disabling-extended-security-attributes-tp26737089p26787119.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26784887</id>
	<title>Re: NGROUPS_MAX : proxy authentication/authorization</title>
	<published>2009-12-14T13:04:39Z</published>
	<updated>2009-12-14T13:04:39Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Mon, Dec 14, 2009 at 05:41:22PM +0100, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26784887&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;miguel.sanders@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; Thanks for your feedback.
&lt;br&gt;&amp;gt; I'll certainly look into this further.
&lt;br&gt;&amp;gt; Also, in our environment, the AD groups used for Samba access to shares
&lt;br&gt;&amp;gt; are all located in a single dedicated OU.
&lt;br&gt;&amp;gt; Could that dedicated OU be a starting point of the group enumeration of
&lt;br&gt;&amp;gt; a user (I'm just thinking out loud)?
&lt;br&gt;&lt;br&gt;Once you have the filter infrastructure in place, there's
&lt;br&gt;many ways to choose the groups. I already had the proposal
&lt;br&gt;to have a simple glob-style filter on the nt-compatible
&lt;br&gt;group name.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26784887/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/NGROUPS_MAX-%3A-proxy-authentication-authorization-tp26777979p26784887.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26782542</id>
	<title>Re: Regedit</title>
	<published>2009-12-14T10:34:05Z</published>
	<updated>2009-12-14T10:34:05Z</updated>
	<author>
		<name>Nick Pappin-2</name>
	</author>
	<content type="html">On Fri, Dec 11, 2009 at 8:27 AM, Gaiseric Vandal
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782542&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gaiseric.vandal@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/10/09 14:39, Nick Pappin wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Dec 8, 2009 at 4:40 PM, Nick Pappin&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26782542&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;npappin@...&lt;/a&gt;&amp;gt; &amp;nbsp;wrote:
&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;&amp;gt; Hey Everyone,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;So here is what is going on I have two computers on the same network
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; that are both connected to the PDC of a samba domain (on the same network
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; segment):
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ____________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt;&amp;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;gt;&amp;gt; _________ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;______
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; comp1 &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;comp2 &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp;PDC &amp;nbsp;|
&lt;br&gt;&amp;gt;&amp;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;gt;&amp;gt; --------------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Now when i try to connect to the registry of comp1 from comp2 I get an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; error saying i don't have permission to connect using the domain
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; administrator account. This also coincides with a name mismatch error:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [2009/12/08 16:10:43, &amp;nbsp;0] lib/util_sock.c:matchname(1721)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; matchname: host name/name mismatch: FOO != FOO.bar.com
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Could this be causing my problem and how should I troubleshoot this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; problem. Any ideas would be greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Nick
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have fixed the mismatch error but it still isn't working I was
&lt;br&gt;&amp;gt;&amp;gt; hoping someone could help me. From what I can tell in the logs I am
&lt;br&gt;&amp;gt;&amp;gt; authenticating on the machine however then I see a wrong password entry.
&lt;br&gt;&amp;gt;&amp;gt; Could someone please explain to me what is going on.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have attached a level 2 log file if you need higher I can do that as
&lt;br&gt;&amp;gt;&amp;gt; well.
&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; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_group_from_ldap(2366)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_group_from_ldap: Entry found for group: 512
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] auth/auth.c:check_ntlm_password(308)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; check_ntlm_password: &amp;nbsp;authentication for user [root] -&amp;gt; &amp;nbsp;[root] -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;[root]
&lt;br&gt;&amp;gt;&amp;gt; succeeded
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;0] lib/util_sock.c:matchname(1749)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; matchname: host name/address mismatch: ::ffff:192.168.1.200 != it0
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;0] lib/util_sock.c:get_peer_name(1870)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Matchname failed on it0 ::ffff:192.168.1.200
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2]
&lt;br&gt;&amp;gt;&amp;gt; rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Returning domain sid for domain LATAHFCU -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; S-1-5-21-2238568125-4161709326-2298815865
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2]
&lt;br&gt;&amp;gt;&amp;gt; rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Returning domain sid for domain LATAHFCU -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; S-1-5-21-2238568125-4161709326-2298815865
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2]
&lt;br&gt;&amp;gt;&amp;gt; rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Returning domain sid for domain LATAHFCU -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; S-1-5-21-2238568125-4161709326-2298815865
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2]
&lt;br&gt;&amp;gt;&amp;gt; rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Returning domain sid for domain LATAHFCU -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; S-1-5-21-2238568125-4161709326-2298815865
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] smbd/sesssetup.c:setup_new_vc_session(1368)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
&lt;br&gt;&amp;gt;&amp;gt; all
&lt;br&gt;&amp;gt;&amp;gt; old resources.
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] smbd/sesssetup.c:setup_new_vc_session(1368)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
&lt;br&gt;&amp;gt;&amp;gt; all
&lt;br&gt;&amp;gt;&amp;gt; old resources.
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] lib/smbldap.c:smbldap_open_connection(856)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; smbldap_open_connection: connection opened
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] lib/module.c:do_smb_load_module(64)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; Module '/usr/lib64/samba/vfs/full_audit.so' loaded
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_ldap_from_sam(1128)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_ldap_from_sam: Setting entry for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] auth/auth.c:check_ntlm_password(318)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; check_ntlm_password: &amp;nbsp;Authentication for user [Administrator] -&amp;gt; &amp;nbsp;[root]
&lt;br&gt;&amp;gt;&amp;gt; FAILED with error NT_STATUS_WRONG_PASSWORD
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_group_from_ldap(2366)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_group_from_ldap: Entry found for group: 512
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] auth/auth.c:check_ntlm_password(308)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; check_ntlm_password: &amp;nbsp;authentication for user [root] -&amp;gt; &amp;nbsp;[root] -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;[root]
&lt;br&gt;&amp;gt;&amp;gt; succeeded
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:49, &amp;nbsp;2] auth/auth.c:check_ntlm_password(308)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; check_ntlm_password: &amp;nbsp;authentication for user [root] -&amp;gt; &amp;nbsp;[root] -&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;[root]
&lt;br&gt;&amp;gt;&amp;gt; succeeded
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:54, &amp;nbsp;2] passdb/pdb_ldap.c:init_sam_from_ldap(571)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_sam_from_ldap: Entry found for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:54, &amp;nbsp;2] passdb/pdb_ldap.c:init_ldap_from_sam(1128)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; init_ldap_from_sam: Setting entry for user: root
&lt;br&gt;&amp;gt;&amp;gt; [2009/12/10 11:21:54, &amp;nbsp;2] auth/auth.c:check_ntlm_password(318)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; check_ntlm_password: &amp;nbsp;Authentication for user [Administrator] -&amp;gt; &amp;nbsp;[root]
&lt;br&gt;&amp;gt;&amp;gt; FAILED with error NT_STATUS_WRONG_PASSWORD
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you for your time,
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Nick
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did you map the Administrator account to the root account?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would try either creating an Administrator account in unix and not have
&lt;br&gt;&amp;gt; the mapping or try adding another WIndows account to the domain admin group
&lt;br&gt;&amp;gt; and seeing if that account can to the remote registry management.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you log in to a PC as a Domain Administrator, are you able to do
&lt;br&gt;&amp;gt; Administrative things like adding local users?
&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; To unsubscribe from this list go to the following URL and read the
&lt;br&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;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Yes I have set up a username map. When I log into the PC as a Domain
&lt;br&gt;Administrator I am able to connect to remote machines registry. I did forget
&lt;br&gt;to mention that I am using an ldap backend so my Administrator and root
&lt;br&gt;accounts are one in the same. However when I log in as a local administrator
&lt;br&gt;and try to use domain credentials it fails to work.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Nick
&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/Regedit-tp26703406p26782542.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26781434</id>
	<title>samba caching a broken krb5.conf.NETBIOSDOMAINNAME</title>
	<published>2009-12-14T09:17:29Z</published>
	<updated>2009-12-14T09:17:29Z</updated>
	<author>
		<name>RJT</name>
	</author>
	<content type="html">i am in a mixed win2000 and win2003 R1 ActiveDirectory environment.
&lt;br&gt;Have always had ntlmv2 server and client required. &amp;nbsp;LM and NTLM have
&lt;br&gt;always been rejected. &amp;nbsp;That is how it has been for 10 years.
&lt;br&gt;&lt;br&gt;Mounting from CentOS 5 to the windows servers has not been an issue
&lt;br&gt;for years. &amp;nbsp;However, using ADS credentials for Linux workstation
&lt;br&gt;logons has always been a issue. &amp;nbsp;If using ADS credentials to logon to
&lt;br&gt;a Linux workstation worked once, it would stop working for no apparent
&lt;br&gt;reason very quickly. &amp;nbsp;The problem seems to be that samba kerberos
&lt;br&gt;wants to revert to using very old encryption technology that is
&lt;br&gt;probably on par with plain LM.
&lt;br&gt;&lt;br&gt;How can i force samba to use and _KEEP_USING_ the better security
&lt;br&gt;enctypes? &amp;nbsp;i am no expert, but you don't have to be an expert to know
&lt;br&gt;that aes is better than des-cbc-crc . &amp;nbsp; des was broken in 1998, why is
&lt;br&gt;samba kerberos trying to use it? &amp;nbsp;Win 95 LM uses DES -- look at
&lt;br&gt;lmHash() documented at &lt;a href=&quot;http://davenport.sourceforge.net/ntlm.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://davenport.sourceforge.net/ntlm.html&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;We have been using our CentOS clients to mount with ntlmv2i so why
&lt;br&gt;would attempts at joining the ADS domain fail with &amp;quot;stronger
&lt;br&gt;authentication required&amp;quot;?
&lt;br&gt;mount -t cifs //ADScontroller/share /mnt/ntlmv2iprotected &amp;nbsp;--verbose
&lt;br&gt;-o &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26781434&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;username=user@...&lt;/a&gt;,sec=ntlmv2i
&lt;br&gt;&lt;br&gt;Success with &amp;quot;kinit &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26781434&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;admin@...&lt;/a&gt;&amp;quot;
&lt;br&gt;&lt;br&gt;But then &amp;quot;net -d 10 ads join -U &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26781434&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;admin@...&lt;/a&gt;&amp;quot; would fail
&lt;br&gt;with &amp;quot;stronger authentication required.&amp;quot; &amp;nbsp; I wondering why stronger
&lt;br&gt;auth would be needed by ADS when i am already mounting a file share on
&lt;br&gt;the ADS domain controller using ntlmv2i?
&lt;br&gt;&lt;br&gt;The answer is in &amp;quot;klist -e&amp;quot; and
&lt;br&gt;/var/cache/samba/smb_krb5/krb5.conf.NETBIOSDOMAINNAME:
&lt;br&gt;&amp;nbsp; default_tgs_enctypes = RC4-HMAC DES-CBC-CRC DES-CBC-MD5
&lt;br&gt;&amp;nbsp; default_tkt_enctypes = RC4-HMAC DES-CBC-CRC DES-CBC-MD5
&lt;br&gt;&amp;nbsp; preferred_enctypes = RC4-HMAC DES-CBC-CRC DES-CBC-MD5
&lt;br&gt;&lt;br&gt;Deleted the samba cache and added the following to /etc/krb5.conf and
&lt;br&gt;it worked once to join the domain and logon a CentOS box with ADS
&lt;br&gt;credentials.
&lt;br&gt;i could even map a drive letter from our Win2003 box to the CentOS
&lt;br&gt;share using ADS credentials.
&lt;br&gt;&amp;nbsp; default_tgs_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1
&lt;br&gt;des-cbc-crc des-cbc-md5
&lt;br&gt;&amp;nbsp; default_tkt_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1
&lt;br&gt;des-cbc-crc des-cbc-md5
&lt;br&gt;&amp;nbsp; permitted_enctypes = aes256-cts arcfour-hmac-md5 des3-hmac-sha1
&lt;br&gt;des-cbc-crc des-cbc-md5
&lt;br&gt;&lt;br&gt;The samba cached krb5.conf.NETBIOSDOMAINNAME would come back populated
&lt;br&gt;with weak and incompatible encryption types while /etc/krb5.conf would
&lt;br&gt;still have decent enctypes. &amp;nbsp;Then my account is locked out in ADS.
&lt;br&gt;&lt;br&gt;So how can i permanently force samba to use the better enctypes?
&lt;br&gt;Disable it from ever using weak encryption such as DES? &amp;nbsp; Triple DES
&lt;br&gt;des3-hmac-sha1 would be ok.
&lt;br&gt;How does one find the exact enctypes ADS will accept? &amp;nbsp;There must be a
&lt;br&gt;command or ldap location but i had many problems finding it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The following are all previously documented problems related to this.
&lt;br&gt;Symptoms left here for when others search.
&lt;br&gt;&lt;br&gt;kinit succeeded but ads_sasl_spnego_krb5_bind failed
&lt;br&gt;&lt;br&gt;[Samba] winbind and smb tries to auth as pdc$ rather than local name
&lt;br&gt;when using ADS
&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/samba/2009-October/150849.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/samba/2009-October/150849.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;From a debug level 10 using smbclient,
&lt;br&gt;lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directory
&lt;br&gt;tree connect failed: NT_STATUS_ACCESS_DENIED
&lt;br&gt;&lt;br&gt;CentOS 5
&lt;br&gt;samba-common 3.0.33-3.15.el5_4
&lt;br&gt;&lt;br&gt;A HPUX guy reverted his net binary to an older version.
&lt;br&gt;&lt;br&gt;Sorry for the long post, but blogger is giving me some issues and i
&lt;br&gt;will need this as reference material.
&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-caching-a-broken-krb5.conf.NETBIOSDOMAINNAME-tp26781434p26781434.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780854</id>
	<title>RE: NGROUPS_MAX : proxy authentication/authorization</title>
	<published>2009-12-14T08:41:22Z</published>
	<updated>2009-12-14T08:41:22Z</updated>
	<author>
		<name>miguel.sanders</name>
	</author>
	<content type="html">Hi Volker
&lt;br&gt;&lt;br&gt;Thanks for your feedback.
&lt;br&gt;I'll certainly look into this further.
&lt;br&gt;Also, in our environment, the AD groups used for Samba access to shares
&lt;br&gt;are all located in a single dedicated OU.
&lt;br&gt;Could that dedicated OU be a starting point of the group enumeration of
&lt;br&gt;a user (I'm just thinking out loud)?
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Miguel
&lt;br&gt;&lt;br&gt;-----Oorspronkelijk bericht-----
&lt;br&gt;Van: Volker Lendecke [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780854&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Volker.Lendecke@...&lt;/a&gt;]
&lt;br&gt;Verzonden: maandag 14 december 2009 14:58
&lt;br&gt;Aan: SANDERS Miguel
&lt;br&gt;CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780854&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;samba-technical@...&lt;/a&gt;
&lt;br&gt;Onderwerp: Re: NGROUPS_MAX : proxy authentication/authorization
&lt;br&gt;&lt;br&gt;On Mon, Dec 14, 2009 at 02:39:07PM +0100, SANDERS Miguel wrote:
&lt;br&gt;&amp;gt; I'm currently thinking of a way to bypass the NGROUPS_MAX problem we
&lt;br&gt;&amp;gt; are currently having on AIX.
&lt;br&gt;&amp;gt; Is it somehow possible to let a Linux server handle the
&lt;br&gt;&amp;gt; authentication/authorization part and then forward the request to AIX
&lt;br&gt;&amp;gt; samba server.
&lt;br&gt;&amp;gt; In a way the Linux server would act as a sort of proxy.
&lt;br&gt;&amp;gt; Would it be possible to setup something like that?
&lt;br&gt;&lt;br&gt;The question is then: Who does the authorization checks, i.e. who will
&lt;br&gt;be in charge of actually evaluating the list of groups a user is member
&lt;br&gt;of. The only right place to do this is in the kernel who maintains the
&lt;br&gt;filesystem permissions, everything else will be a hack.
&lt;br&gt;&lt;br&gt;You might also try to find someone who can implement a group filter in
&lt;br&gt;winbind. One way to limit the number of groups that are shown to AIX is
&lt;br&gt;to implement a filter in winbind.
&lt;br&gt;&lt;br&gt;I have seen users who could have worked around the issue because they
&lt;br&gt;only had a very limited number of groups actually being assigned file
&lt;br&gt;system access rights, but nobody so far was able to sponsor the
&lt;br&gt;corresponding winbind development, so this is sitting somewhere as a
&lt;br&gt;feature request.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br&gt;****
&lt;br&gt;This message and any attachment are confidential, intended solely for the use of the individual or entity to whom it is addressed and may be protected by professional secrecy or intellectual property rights.
&lt;br&gt;If you have received it by mistake, or are not the named recipient(s), please immediately notify the sender and delete the message. You are hereby notified that any unauthorized use, copying or dissemination of any or all information contained in this message is prohibited.
&lt;br&gt;Arcelormittal shall not be liable for the message if altered, falsified, or in case of error in the recipient.
&lt;br&gt;This message does not constitute any right or commitment for ArcelorMittal except when expressly agreed otherwise in writing in a separate agreement.
&lt;br&gt;****
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NGROUPS_MAX-%3A-proxy-authentication-authorization-tp26777979p26780854.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780738</id>
	<title>Re: Starting from scratch... and Active Directory</title>
	<published>2009-12-14T08:33:49Z</published>
	<updated>2009-12-14T08:33:49Z</updated>
	<author>
		<name>Lennart Sorensen</name>
	</author>
	<content type="html">On Fri, Dec 11, 2009 at 01:42:33PM -0800, Kevin Keane wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: Lennart Sorensen
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Next, you need to make sure that DNS resolution works and uses the
&lt;br&gt;&amp;gt; &amp;gt; Windows box as DNS server. This is critically important.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Well you have to make your DNS use the windows box as the DNS server
&lt;br&gt;&amp;gt; &amp;gt; for the mydomain.local domain. &amp;nbsp;To make the DNS go to the windows box
&lt;br&gt;&amp;gt; &amp;gt; at all times is not necesary and is frustratingly slow compared to
&lt;br&gt;&amp;gt; &amp;gt; bind9 for example.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's a good point. Actually, in this example just the ad.mydomain.local zone; the rest of mydomain.local can be served from bind.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In fact, that's how I have it set up. There are (at least) two ways to do that. You can configure the Windows DNS server as forwarder in BIND, or you can configure bind to be a slave zone to the Windows DNS server. I had some issues with using bind as a slave zone and was too lazy to troubleshoot them, so I have it configured as forwarder.
&lt;/div&gt;&lt;br&gt;It is much slower to forward to bind from windows than it is to forward
&lt;br&gt;from bind to windows for the .local domain.
&lt;br&gt;&lt;br&gt;Windows is amazingly slow as a DNS server.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Somewhere in your named.conf file (or one of the include files) - just substitute your Windows DNS IP addresses, of course:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; zone &amp;quot;ad.nctechcenter.com&amp;quot; in {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type forward;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; forward only;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; forwarders { 192.168.2.197; 192.168.2.193; fd55:e420:71c5:1::c1; };
&lt;br&gt;&amp;gt; };
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; One catch: Server 2008 prefers IPv6. In IPv6, you cannot support
&lt;br&gt;&amp;gt; &amp;gt; NetBT/WINS. Samba does not support Network Discovery very well, so your
&lt;br&gt;&amp;gt; &amp;gt; server becomes invisible.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hmm, that's an interesting change.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Basically, Microsoft decided not to port NetBIOS to IPv6. It has already been deprecated since Vista came out, but without NetBIOS, your Windows XP network neighborhood will remain empty.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In Vista, the network list is populated using UPnP, which has been renamed Network Discovery. But Samba currently doesn't support the necessary underlying protocols (LLTD, in particular).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you are OK with flying &amp;quot;blind&amp;quot; and just giving your users specific UNC paths, then that wouldn't be a problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As a side note: you can also use Avahi/Bonjour/Zeroconf to advertise Samba, but I think only Mac clients will see it; Windows clients will not. Can't these guys agree on one standard?
&lt;/div&gt;&lt;br&gt;Microsoft prefers standards only they have.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Len Sorensen
&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/Starting-from-scratch...-and-Active-Directory-tp26750822p26780738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780012</id>
	<title>big ldb file after massive import</title>
	<published>2009-12-14T07:49:06Z</published>
	<updated>2009-12-14T07:49:06Z</updated>
	<author>
		<name>Matthieu PATOU-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I made a test today trying to charge a lot of contacts (around 16000), 
&lt;br&gt;well the good point is that I was able to load them without problems.
&lt;br&gt;&lt;br&gt;The good points
&lt;br&gt;* it is not so slow in comparison with w2k3 (loaded with also a lot of 
&lt;br&gt;contacts) (I would say it's in the same speed range).
&lt;br&gt;&lt;br&gt;The bad points:
&lt;br&gt;&lt;br&gt;* it seems that ldap request are clearly slower than before but I think 
&lt;br&gt;it's quite logical ...
&lt;br&gt;* the users.ldb (well DC=...,DC=....ldb) is ~ 400MB before tdbbackup and 
&lt;br&gt;still 280MB after tdbbackup &amp;nbsp;(the &amp;nbsp;ntds.dit is 60MB with schema and 
&lt;br&gt;configuration partitions ...)
&lt;br&gt;* The memory used by samba is big (quite logical) because the bid ldb 
&lt;br&gt;are mapped in memory (as far as I understand).
&lt;br&gt;&lt;br&gt;I didn't take the time to calculate how quick it is to insert in w2k3 
&lt;br&gt;and s4.
&lt;br&gt;&lt;br&gt;As I witnessed that the nTSecurityDescriptor is quite big for a contact 
&lt;br&gt;and it is always the same I was wondering how much it accounts in the 
&lt;br&gt;database.
&lt;br&gt;So I made a simple programs to remove this attribute on all my contacts.
&lt;br&gt;I am able to reduce the database to 199MB &amp;nbsp;(of course it's not usefull 
&lt;br&gt;anymore but it gives an idea of the space used by SD especially the long 
&lt;br&gt;ones like for contact, user, ...).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Matthieu
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/big-ldb-file-after-massive-import-tp26780012p26780012.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26779553</id>
	<title>CfP: IREHSS 2010 - Second IEEE Workshop on Interdisciplinary Research on E-health Services and Systems</title>
	<published>2009-12-14T07:18:22Z</published>
	<updated>2009-12-14T07:18:22Z</updated>
	<author>
		<name>Eleonora Borgia</name>
	</author>
	<content type="html">&lt;br&gt;************Apologize if you receive multiple copies of this &amp;nbsp;
&lt;br&gt;CFP************	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Call for papers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Second IEEE Workshop on
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Interdisciplinary Research on E-health Services and Systems
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IREHSS 2010
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; June 14, 2010
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Montreal, QC Canada
&lt;br&gt;&lt;br&gt;In the last few years advances in wearable computing, bioengineering,
&lt;br&gt;wireless sensors networks, mobile devices and wireless communications
&lt;br&gt;have paved the way to new definitions of e-health systems, moving from
&lt;br&gt;original telemedicine systems to the integration of existent specialized
&lt;br&gt;medical technologies with pervasive technologies. However, even more
&lt;br&gt;work on this area is needed to obtain significant results in improving the
&lt;br&gt;Quality of Life of patients and reducing medical errors and costs. First of
&lt;br&gt;all, a strict interaction and cooperation among medical specialists and
&lt;br&gt;ICT experts is necessary to define correct requirements fore-health
&lt;br&gt;systems. Then, in order to effectively design and deploy reliable E-health
&lt;br&gt;systems, a strong cooperation among several diverse research areas of
&lt;br&gt;ICT is necessary (i.e., bioengineering, wearable sensors, wireless
&lt;br&gt;communications, data fusion and processing, decision support systems
&lt;br&gt;and others). This is fundamental to make E-health systems a reality,
&lt;br&gt;satisfying main requirements of reliability and effectiveness both all the
&lt;br&gt;involved perspectives perspective.
&lt;br&gt;&lt;br&gt;IREHSS aims to provide a forum for the interaction of experts belonging
&lt;br&gt;to these different research areas, from wearable computing and
&lt;br&gt;ubiquitous connectivity to context-awareness, sensor data fusion, &amp;nbsp;
&lt;br&gt;artificial
&lt;br&gt;intelligence, expert systems, databases, security and privacy. The main
&lt;br&gt;objective is to provide a forum for the interaction of these multiple areas
&lt;br&gt;as an important chance to discuss and understand what aspects have to
&lt;br&gt;be considered to provide effective E-health systems.
&lt;br&gt;&lt;br&gt;Authors are invited to submit papers presenting new research related to
&lt;br&gt;E-health, not published or currently under review for another workshop,
&lt;br&gt;conference, or journal.
&lt;br&gt;&lt;br&gt;Areas of interest include, but are not limited to:
&lt;br&gt;&lt;br&gt;- Wearable and Implantable sensors for healthcare
&lt;br&gt;- Wireless communications in healthcare
&lt;br&gt;- Service and device discovery
&lt;br&gt;- Data fusion and context elaboration
&lt;br&gt;- Privacy and security issues in healthcare
&lt;br&gt;- Middleware for e-health
&lt;br&gt;- Energy Efficiency in health monitoring
&lt;br&gt;- Artificial intelligence and expert systems
&lt;br&gt;- User interface, usability and acceptability of e-health systems
&lt;br&gt;- Healthcare applications for clinicians
&lt;br&gt;- Home monitoring and ambient assisted applications for healthcare
&lt;br&gt;- Power Management and energy-efficient design in Wireless Body Area &amp;nbsp;
&lt;br&gt;Networks
&lt;br&gt;- System architecture and networking protocols for e-health systems
&lt;br&gt;- Medical data analysis, measurements and management
&lt;br&gt;- Modeling and performance evaluation
&lt;br&gt;- Semantic Web in Healthcare
&lt;br&gt;- Standards and frameworks
&lt;br&gt;&lt;br&gt;Paper submission for regular papers must be limited to 6 pages including
&lt;br&gt;text, figures, references and appendices. They should be organized in
&lt;br&gt;IEEE proceedings format, with a font size of at least 10pt. Papers
&lt;br&gt;exceeding the maximum length of 6 pages will be automatically rejected.
&lt;br&gt;The IEEE LaTeX and Microsoft Word templates, as well as related
&lt;br&gt;information, can be found at the IEEE Computer Society website http://
&lt;br&gt;www.computer.org/portal/site/cscps/index.jsp . The submission will be
&lt;br&gt;entirely managed through EDAS (&lt;a href=&quot;http://edas.info/N8548&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://edas.info/N8548&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;In line with the previous edition, there will be NO workshop-only
&lt;br&gt;registration. Conference registration includes attendance to all WoWMoM
&lt;br&gt;associated workshops, CD proceedings, etc. Moreover, each workshop
&lt;br&gt;paper will need to have at least one author register at the FULL
&lt;br&gt;conference rate. The workshop papers will be included in the main
&lt;br&gt;WoWMoM proceedings and published by the IEEE. However, no-shows
&lt;br&gt;of accepted papers at the workshop will result in those papers NOT being
&lt;br&gt;included in the IEEE Digital Library.
&lt;br&gt;&lt;br&gt;Extended versions of selected papers with special merit will be
&lt;br&gt;considered for a possible fast track publication on Pervasive and Mobile
&lt;br&gt;Computing Journal (Elsevier). In addition, a possible free publication in
&lt;br&gt;the Journal of NeuroEngineering and Rehabilitation (JNER, http://
&lt;br&gt;jneuroengrehab.com ) could be available in case of a selection of
&lt;br&gt;special merit papers pertaining to the subject.
&lt;br&gt;&lt;br&gt;Important Dates:
&lt;br&gt;&lt;br&gt;Papers registration: February 15, 2010
&lt;br&gt;Papers submission deadline: February 20, 2010
&lt;br&gt;Acceptance Notification:	April 5, 2010
&lt;br&gt;Camera Ready deadline:	April 30, 2010.	
&lt;br&gt;&lt;br&gt;See &lt;a href=&quot;http://www.irehss.org/irehss2010/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.irehss.org/irehss2010/&lt;/a&gt;&amp;nbsp;for additional information or contact
&lt;br&gt;the workshop organizers at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26779553&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;irehss2010-chairs@...&lt;/a&gt; .
&lt;br&gt;&lt;br&gt;IREHSS 2010 Organizers
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---wireless-f13168.html&quot; embed=&quot;fixTarget[13168]&quot; target=&quot;_top&quot; &gt;Samba - wireless&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CfP%3A-IREHSS-2010---Second-IEEE-Workshop-on-Interdisciplinary-Research-on-E-health-Services-and-Systems-tp26779553p26779553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26778142</id>
	<title>Re: NGROUPS_MAX : proxy authentication/authorization</title>
	<published>2009-12-14T05:56:08Z</published>
	<updated>2009-12-14T05:56:08Z</updated>
	<author>
		<name>Volker Lendecke</name>
	</author>
	<content type="html">On Mon, Dec 14, 2009 at 02:39:07PM +0100, SANDERS Miguel wrote:
&lt;br&gt;&amp;gt; I'm currently thinking of a way to bypass the NGROUPS_MAX problem we are
&lt;br&gt;&amp;gt; currently having on AIX.
&lt;br&gt;&amp;gt; Is it somehow possible to let a Linux server handle the
&lt;br&gt;&amp;gt; authentication/authorization part and then forward the request to AIX
&lt;br&gt;&amp;gt; samba server.
&lt;br&gt;&amp;gt; In a way the Linux server would act as a sort of proxy.
&lt;br&gt;&amp;gt; Would it be possible to setup something like that?
&lt;br&gt;&lt;br&gt;The question is then: Who does the authorization checks,
&lt;br&gt;i.e. who will be in charge of actually evaluating the list
&lt;br&gt;of groups a user is member of. The only right place to do
&lt;br&gt;this is in the kernel who maintains the filesystem
&lt;br&gt;permissions, everything else will be a hack.
&lt;br&gt;&lt;br&gt;You might also try to find someone who can implement a group
&lt;br&gt;filter in winbind. One way to limit the number of groups
&lt;br&gt;that are shown to AIX is to implement a filter in winbind. 
&lt;br&gt;&lt;br&gt;I have seen users who could have worked around the issue
&lt;br&gt;because they only had a very limited number of groups
&lt;br&gt;actually being assigned file system access rights, but
&lt;br&gt;nobody so far was able to sponsor the corresponding winbind
&lt;br&gt;development, so this is sitting somewhere as a feature
&lt;br&gt;request.
&lt;br&gt;&lt;br&gt;Volker
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26778142/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/NGROUPS_MAX-%3A-proxy-authentication-authorization-tp26777979p26778142.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26777979</id>
	<title>NGROUPS_MAX : proxy authentication/authorization</title>
	<published>2009-12-14T05:39:07Z</published>
	<updated>2009-12-14T05:39:07Z</updated>
	<author>
		<name>miguel.sanders</name>
	</author>
	<content type="html">Hi lads
&lt;br&gt;&lt;br&gt;I'm currently thinking of a way to bypass the NGROUPS_MAX problem we are
&lt;br&gt;currently having on AIX.
&lt;br&gt;Is it somehow possible to let a Linux server handle the
&lt;br&gt;authentication/authorization part and then forward the request to AIX
&lt;br&gt;samba server.
&lt;br&gt;In a way the Linux server would act as a sort of proxy.
&lt;br&gt;Would it be possible to setup something like that?
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Miguel
&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/NGROUPS_MAX-%3A-proxy-authentication-authorization-tp26777979p26777979.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26776748</id>
	<title>Re: Vista clients having Issues Copying files from Samba Server</title>
	<published>2009-12-14T04:05:45Z</published>
	<updated>2009-12-14T04:05:45Z</updated>
	<author>
		<name>RXM307</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; Please update to Samba 3.4.3 or later. Many Vista and Windows 7 support
&lt;br&gt;&amp;gt; related issues have been addressed during the 3.4.x series.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Firstly, if the Samba logs note an invalid function all, that may mean
&lt;br&gt;&amp;gt; an upgrade to a more recent version of Samba is needed. &amp;nbsp;When a Windows
&lt;br&gt;&amp;gt; client notes an invalid function call or an invalid file handle the
&lt;br&gt;&amp;gt; cause may be problems in the network transport layer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Secondly, note what the Samba server log message says. Short translation
&lt;br&gt;&amp;gt; is: &amp;quot;I was taking to the client, but the client went away and did not
&lt;br&gt;&amp;gt; respond!&amp;quot; &amp;nbsp; The client dropped the connection. &amp;nbsp;In all likeliness this
&lt;br&gt;&amp;gt; is not a Samba problem and may actually be a network problem. &amp;nbsp;It is a
&lt;br&gt;&amp;gt; problem regularly seen with low-cost ethernet interfaces and cheap
&lt;br&gt;&amp;gt; ether-switches.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kindest,
&lt;br&gt;&amp;gt; John T.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I think I already know the answer to this but do you know of any 3rd party
&lt;br&gt;repos that would have packages for samba 3.4.x on Centos 5.4?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Anthony
&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/Vista-clients-having-Issues-Copying-files-from-Samba-Server-tp26225780p26776748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775795</id>
	<title>RE: Compression error (Re: rsync hangs during transfer)</title>
	<published>2009-12-14T02:36:03Z</published>
	<updated>2009-12-14T02:36:03Z</updated>
	<author>
		<name>Dimitar Dimitrov-14</name>
	</author>
	<content type="html">Hi Matt,
&lt;br&gt;&lt;br&gt;Thanks for your elaborate reply.
&lt;br&gt;&lt;br&gt;I am able to reproduce the error indeed running the suggested script:
&lt;br&gt;inflate (token) returned -5
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at
&lt;br&gt;token.c(476) [receiver=2.6.9]
&lt;br&gt;rsync: connection unexpectedly closed (30 bytes received so far)
&lt;br&gt;[generator]
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at io.c(454)
&lt;br&gt;[generator=2.6.9]
&lt;br&gt;rsync: connection unexpectedly closed (40 bytes received so far)
&lt;br&gt;[sender]
&lt;br&gt;rsync error: error in rsync protocol data stream (code 12) at io.c(454)
&lt;br&gt;[sender=2.6.9]
&lt;br&gt;&lt;br&gt;The issue appears to be definitely related to the zlib library as the
&lt;br&gt;rsync is running fine when the compression is turned off. I.e. running
&lt;br&gt;rsync -axv --delete-after -e ssh /SRCDIR/ blabla@DEST:/DESTDIR. 
&lt;br&gt;&lt;br&gt;I will also try to run the synchronization using the option
&lt;br&gt;'--whole-file' for the next couple of days and will let you know my
&lt;br&gt;findings.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Dimitar
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Matt McCutchen [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26775795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;] 
&lt;br&gt;Sent: 14 December 2009 05:47
&lt;br&gt;To: Dimitar Dimitrov; rsync
&lt;br&gt;Subject: Compression error (Re: rsync hangs during transfer)
&lt;br&gt;&lt;br&gt;On Fri, 2009-12-11 at 08:58 +0100, Dimitar Dimitrov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am running the following rsync command to synchronize directories 
&lt;br&gt;&amp;gt; between two servers:
&lt;br&gt;&amp;gt; rsync -axvz --delete-after -e ssh /SRCDIR/ blabla@DEST:/DESTDIR
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The transfer starts and after a short while it appears to hang after 
&lt;br&gt;&amp;gt; some files have been transferred. The process establishes connection 
&lt;br&gt;&amp;gt; on both sides so I did an strace from the remote machine (using the 
&lt;br&gt;&amp;gt; rsync-debug script as described in the troubleshooting procedures).
&lt;br&gt;&amp;gt; The strace output is here
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d61&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.adrive.com/public/142cbf351c4b73a47c6e54ec3302b856041957d61&lt;/a&gt;&lt;br&gt;&amp;gt; 2ca68f440d16eccf950225c.html
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rsync --version on both machines shows 'rsync &amp;nbsp;version 2.6.9 &amp;nbsp;protocol
&lt;/div&gt;&lt;br&gt;&amp;gt; version 29' and both machines are running Debian.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would appreciate some ideas on where to look next.
&lt;br&gt;&lt;br&gt;I don't know about the hang. &amp;nbsp;I see rsync working for a few minutes and
&lt;br&gt;then exiting when the receiver encounters an error:
&lt;br&gt;&lt;br&gt;write(1, &amp;quot;\34\0\0\10inflate (token) returned -5\n&amp;quot;, 32) = 32
&lt;br&gt;&lt;br&gt;This is the &amp;quot;compression error&amp;quot; that has occasionally come up before:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2004-December/011119.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2004-December/011119.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2006-May/015621.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2006-May/015621.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2008-September/021668.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2008-September/021668.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528730&lt;/a&gt;&lt;br&gt;&lt;br&gt;And after some study, I think I figured out why it is happening. &amp;nbsp;The
&lt;br&gt;error message comes from &amp;quot;see_deflate_token&amp;quot; in token.c, and the code -5
&lt;br&gt;is Z_BUF_ERROR, meaning that the inflate call didn't make progress. &amp;nbsp;But
&lt;br&gt;a CHUNK_SIZE output buffer is always provided, and input is provided
&lt;br&gt;unless len == 0 at the start of the loop. &amp;nbsp;If len == 0, the loop would
&lt;br&gt;have exited unless the previous &amp;quot;inflate&amp;quot; filled the output buffer, in
&lt;br&gt;which case we want to call it again to obtain any remaining output. &amp;nbsp;But
&lt;br&gt;if the data block was exactly CHUNK_SIZE (32816), it would fill the
&lt;br&gt;output buffer with nothing remaining, and the next call to &amp;quot;inflate&amp;quot;
&lt;br&gt;would return Z_BUF_ERROR.
&lt;br&gt;&lt;br&gt;This case is in fact mentioned in the zlib FAQ
&lt;br&gt;(&lt;a href=&quot;http://www.zlib.net/zlib_faq.html#faq05):&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zlib.net/zlib_faq.html#faq05):&lt;/a&gt;&amp;nbsp;&amp;quot;A Z_BUF_ERROR may in fact be
&lt;br&gt;unavoidable depending on how the functions are used, since it is not
&lt;br&gt;possible to tell whether or not there is more output pending when
&lt;br&gt;strm.avail_out returns with zero.&amp;quot;
&lt;br&gt;&lt;br&gt;The block size is indeed 32816, as one can see in the second 32-bit
&lt;br&gt;field of the sum head. &amp;nbsp;The sum head is shown in the following line
&lt;br&gt;after two 6-byte itemizations:
&lt;br&gt;&lt;br&gt;[pid &amp;nbsp;5213] write(1,
&lt;br&gt;&amp;quot;\252\26\0\0\10\0\262\26\0\0\f\2002\200\0\0000\200\0\0\3&amp;quot;..., 4092) =
&lt;br&gt;4092
&lt;br&gt;&lt;br&gt;Here's a simple script to reproduce the problem:
&lt;br&gt;&lt;br&gt;#!/bin/bash
&lt;br&gt;head -c 32816 /dev/zero &amp;gt;srcfile
&lt;br&gt;cp srcfile destfile
&lt;br&gt;rsync -I -z --no-whole-file --block-size=32816 srcfile destfile
&lt;br&gt;&lt;br&gt;So, we need to do something to &amp;quot;see_deflate_token&amp;quot;. &amp;nbsp;It would probably
&lt;br&gt;work to ignore the Z_BUF_ERROR and let the loop exit because the output
&lt;br&gt;buffer wasn't filled.
&lt;br&gt;&lt;br&gt;It seems inconsistent that the sender uses Z_INSERT_ONLY while the
&lt;br&gt;receiver uses this hack of synthesizing part of the compressed stream.
&lt;br&gt;(Previously, I had imagined Z_INSERT_ONLY worked on both sides.)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The content of this e-mail and accompanying communications and attachments (collectively, this &amp;quot;e-mail&amp;quot;) are confidential to Markit Group Holdings Limited, its subsidiaries and affiliates (collectively, &amp;quot;Markit&amp;quot;) and may contain information which is legally privileged or protected from disclosure under applicable law or agreement. &amp;nbsp;This email may be read and used only by the intended recipient, and any disclosure, printing, copying, distribution (including forwarding), use, saving, or taking any action based on, the information contained herein (including any reliance thereon) is expressly prohibited. &amp;nbsp;If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000 and delete it. &amp;nbsp;You agree to take full responsibility for checking this email for viruses, and Markit shall not be responsible or liable for any damages arising from or relating to its use. &amp;nbsp;Markit reserves the right to monitor all e-mail communications
&lt;br&gt;&amp;nbsp; through its networks. &amp;nbsp;Markit makes no warranty as to the accuracy or completeness of this email and hereby disclaims any liability of any kind for the information contained herein. &amp;nbsp;Any opinions expressed in this email are those of the author and do not necessarily reflect the opinions of Markit. &amp;nbsp;For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at &lt;a href=&quot;http://www.markit.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.markit.com&lt;/a&gt;&amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.markit.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.markit.com/&lt;/a&gt;&amp;gt; .
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-hangs-during-transfer-tp26739955p26775795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775751</id>
	<title>Re: how to join to AD ?</title>
	<published>2009-12-14T02:33:06Z</published>
	<updated>2009-12-14T02:33:06Z</updated>
	<author>
		<name>mistofeles</name>
	</author>
	<content type="html">I'm installing another Ubuntu 9.10 server from scratch with the advice above. &amp;nbsp;
&lt;br&gt;It seems that you got to instal krb5-users and krb5-client to make it work.
&lt;br&gt;&lt;br&gt;Here is what I got (not so important):
&lt;br&gt;&lt;br&gt;root@sandy:# net
&lt;br&gt;The program 'net' can be found in the following packages:
&lt;br&gt;&amp;nbsp;* samba-common-bin
&lt;br&gt;&amp;nbsp;* samba4-clients
&lt;br&gt;Try: apt-get install &amp;lt;selected package&amp;gt;
&lt;br&gt;net: command not found
&lt;br&gt;&lt;br&gt;root@sandy:# dpkg --get-selections &amp;nbsp;|grep samba
&lt;br&gt;samba &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; install
&lt;br&gt;samba-common &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;install
&lt;br&gt;samba-common-bin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;install
&lt;br&gt;samba-doc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; install
&lt;br&gt;&lt;br&gt;root@sandy:# whereis net
&lt;br&gt;net: /usr/src/linux-headers-2.6.31-16/net /usr/src/linux-headers-2.6.31-16-generic-pae/net /usr/bin/net.samba3
&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/how-to-join-to-AD---tp26513594p26775751.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775520</id>
	<title>Re: [Release Planning 3.4] Samba 3.4.4</title>
	<published>2009-12-14T02:09:11Z</published>
	<updated>2009-12-14T02:09:11Z</updated>
	<author>
		<name>Karolin Seeger-2</name>
	</author>
	<content type="html">On Tue, Dec 01, 2009 at 11:45:49AM +0100, Karolin Seeger wrote:
&lt;br&gt;&amp;gt; Samba 3.4.4 is scheduled for Thursday, December 17.
&lt;br&gt;&amp;gt; That means, v3-4-stable will be frozen on December 10.
&lt;br&gt;&amp;gt; Please make sure, that important bug fixes will be picked in time.
&lt;br&gt;&lt;br&gt;Samba 3.4.4 will be delayed until January 7, 2010 due to the following
&lt;br&gt;bugs:
&lt;br&gt;&lt;br&gt;-&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6841&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6841&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;quot;map acl inherit = yes&amp;quot; not working
&lt;br&gt;&lt;br&gt;-&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6837&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6837&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;quot;Too many open files&amp;quot; when trying to access large number of files
&lt;br&gt;&lt;br&gt;-&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6883&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6883&lt;/a&gt;&lt;br&gt;&amp;nbsp;Add Printer fails with 0x000006f7 on Windows 7
&lt;br&gt;&lt;br&gt;-&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6949&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6949&lt;/a&gt;&lt;br&gt;&amp;nbsp;XP Home SP3 cause internal error in samba
&lt;br&gt;&lt;br&gt;Sorry for the delay!
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Karolin
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Samba			&lt;a href=&quot;http://www.samba.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.samba.org&lt;/a&gt;&lt;br&gt;SerNet			&lt;a href=&quot;http://www.sernet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sernet.de&lt;/a&gt;&lt;br&gt;sambaXP			&lt;a href=&quot;http://www.sambaxp.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sambaxp.org&lt;/a&gt;&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;attachment0&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26775520/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---samba-technical-f13164.html&quot; embed=&quot;fixTarget[13164]&quot; target=&quot;_top&quot; &gt;Samba - samba-technical&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Release-Planning-3.4--Samba-3.4.4-tp26589849p26775520.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775352</id>
	<title>How is &quot;Canonicalized pathnames&quot; bit handled by samba server??</title>
	<published>2009-12-14T01:56:08Z</published>
	<updated>2009-12-14T01:56:08Z</updated>
	<author>
		<name>prasanna lakshmi</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Can anyone explain what is the use of the &amp;quot;Canonicalized pathname&amp;quot; bit in
&lt;br&gt;the SMB header's flags field. How is it handled by linux samba server.
&lt;br&gt;What are the implications of this bit being set or not set??
&lt;br&gt;&lt;br&gt;I am facing a problem accessing a share on Linux server using rtsmb cifs
&lt;br&gt;library. I get BAD_NETWORK_NAME error and the share access fails. But the
&lt;br&gt;same share access passes when directly accessed from Windows using &amp;quot;net
&lt;br&gt;use&amp;quot;. I observed the ethereal packet capture, and the only difference found
&lt;br&gt;was that, when accessed through windows the &amp;quot;Canonicalized pathname&amp;quot; bit is
&lt;br&gt;set and when accessing using rtsmb cifs library the bit is not set.
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;Lakshmi Prasanna
&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/How-is-%22Canonicalized-pathnames%22-bit-handled-by-samba-server---tp26775352p26775352.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775205</id>
	<title>Saving text files over 188 lines messes up file</title>
	<published>2009-12-14T01:45:53Z</published>
	<updated>2009-12-14T01:45:53Z</updated>
	<author>
		<name>Marlun</name>
	</author>
	<content type="html">Hello everyone!
&lt;br&gt;&lt;br&gt;I'm having some problems with saving text files over 188 lines through
&lt;br&gt;samba. When saving a 189th line it ends up at the very top of the file at
&lt;br&gt;line 1. If I add more lines it is also added to the top.
&lt;br&gt;&lt;br&gt;I'm using Ubuntu 9.10 and Samba 3.4.0.
&lt;br&gt;&lt;br&gt;-Martin
&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/Saving-text-files-over-188-lines-messes-up-file-tp26775205p26775205.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775026</id>
	<title>Cross compiling for ARM with some errors</title>
	<published>2009-12-14T01:29:03Z</published>
	<updated>2009-12-14T01:29:03Z</updated>
	<author>
		<name>Piotr Piwko</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I try to cross compile samba for my ARM platform, but I get the
&lt;br&gt;following error in the building process:
&lt;br&gt;&lt;br&gt;----------------------------%&amp;lt;----------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; PICFLAG &amp;nbsp; &amp;nbsp;= -fPIE
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LIBS &amp;nbsp; &amp;nbsp; &amp;nbsp; = -lresolv -lnsl -ldl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LDFLAGS &amp;nbsp; &amp;nbsp;= -pie -Wl,-z,relro
&lt;br&gt;-L/home/piotr/mini2440/usr/local/arm/4.3.2/lib
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; DYNEXP &amp;nbsp; &amp;nbsp; =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LDSHFLAGS &amp;nbsp;= shared-libraries-disabled -Wl,-z,relro
&lt;br&gt;-L/home/piotr/mini2440/usr/local/arm/4.3.2/lib
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SHLIBEXT &amp;nbsp; = shared_libraries_disabled
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SONAMEFLAG = shared-libraries-disabled
&lt;br&gt;Linking bin/smbd
&lt;br&gt;/home/piotr/mini2440/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
&lt;br&gt;../lib/util/asn1.o: Relocations in generic ELF (EM: 3)
&lt;br&gt;../lib/util/asn1.o: could not read symbols: File in wrong format
&lt;br&gt;collect2: ld returned 1 exit status
&lt;br&gt;----------------------------%&amp;lt;----------------------------
&lt;br&gt;&lt;br&gt;My configure options are:
&lt;br&gt;&lt;br&gt;./configure --host=i686 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --target=arm-linux \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --prefix= /home/piotr/mini2440/samba/install-samba-arm \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --without-krb5 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --without-ldap \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --without-ads \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --disable-cups \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --without-swat \
&lt;br&gt;&lt;br&gt;Do you know something more about this error? Maybe you can give me
&lt;br&gt;some advices or hints to solve this problem?
&lt;br&gt;&lt;br&gt;Thank you in advance for your engagement.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Piotr Piwko
&lt;br&gt;&lt;a href=&quot;http://www.embedded-engineering.pl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.embedded-engineering.pl/&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cross-compiling-for-ARM-with-some-errors-tp26775026p26775026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26775000</id>
	<title>Re: samba4 newuser probs</title>
	<published>2009-12-14T01:26:04Z</published>
	<updated>2009-12-14T01:26:04Z</updated>
	<author>
		<name>Collen Blijenberg</name>
	</author>
	<content type="html">Ok, we've figured it out...
&lt;br&gt;&lt;br&gt;if i only start the slapd-samba4 from the fedora-ds it wil work.
&lt;br&gt;but then the 389-console wil not function anymore.
&lt;br&gt;&lt;br&gt;kind of odd, if you ask me, to install fedora-ds
&lt;br&gt;and not using the console to administer the directory...
&lt;br&gt;&lt;br&gt;anny tips or tricks on how to get the console running with the samba4 ??
&lt;br&gt;or how to inter grade samba4-scheme with the standard 389 and console ??
&lt;br&gt;&lt;br&gt;Cheers... Collen
&lt;br&gt;&lt;br&gt;On 11-12-2009 10:49, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26775000&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;collen@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi we're busy discovering samba4 at the moment.
&lt;br&gt;&amp;gt; we've installed fedora-ds as ldap backend.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; all install's configs and provisioning went well.. (no strange errors orso)
&lt;br&gt;&amp;gt; after fireing it all up we tried to add a user and this is what we got back:
&lt;br&gt;&amp;gt; -----------------------------------------
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;File &amp;quot;./newuser&amp;quot;, line 69, in&amp;lt;module&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;samdb.newuser(username, opts.unixname, password,
&lt;br&gt;&amp;gt; force_password_change_at_next_login_req=opts.must_change_at_next_login)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;File &amp;quot;/usr/local/samba/lib/python2.6/site-packages/samba/samdb.py&amp;quot;, line
&lt;br&gt;&amp;gt; 129, in newuser
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;objectClass&amp;quot;: &amp;quot;user&amp;quot;})
&lt;br&gt;&amp;gt; _ldb.LdbError: (32, 'objectclass: Cannot add
&lt;br&gt;&amp;gt; CN=test,CN=Users,DC=jordan,DC=net, parent does not exist!')
&lt;br&gt;&amp;gt; ------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i can see that there is a prob with the CN=Users, but what's the idea.
&lt;br&gt;&amp;gt; i thought the provisioning did all the schema's and setup the ldap backend
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in the 389-console, there is no samba thing what so ever.
&lt;br&gt;&amp;gt; but if i start the dirsrv samba4 is also started..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; anny clue here..
&lt;br&gt;&amp;gt; Thx C.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&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/samba4-newuser-probs-tp26741443p26775000.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774276</id>
	<title>Re: rsync speed on slow wireless links</title>
	<published>2009-12-14T00:18:35Z</published>
	<updated>2009-12-14T00:18:35Z</updated>
	<author>
		<name>Max Arnold</name>
	</author>
	<content type="html">On Mon, Dec 14, 2009 at 02:23:26AM -0500, Matt McCutchen wrote:
&lt;br&gt;&amp;gt; On Thu, 2009-12-10 at 13:08 +0700, Max Arnold wrote:
&lt;br&gt;&amp;gt; &amp;gt; I've noticed that rsync performs significantly worse than wget on slow congested wireless
&lt;br&gt;&amp;gt; &amp;gt; links (GPRS in my case). &amp;nbsp;I don't have large statistics, but in my tests rsync often stalls
&lt;br&gt;&amp;gt; &amp;gt; for 3-5 minutes, while wget stalls only for several seconds and then continues download.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; Rsync isn't doing anything fancy that would cause it to be especially
&lt;br&gt;&amp;gt; affected by packet loss or delay. &amp;nbsp;The protocol takes a few round trips
&lt;br&gt;&amp;gt; to set up, and then it is largely pipelined, so rsync can tolerate some
&lt;br&gt;&amp;gt; amount of latency without slowing down the whole process.
&lt;br&gt;&lt;br&gt;Can size of this initial metadata be approximately calculated? &amp;nbsp;I plan to experiment with
&lt;br&gt;different timeout values to find a balance between link utilization (by preventively aborting
&lt;br&gt;long stalls) and traffic consumption (by not retrying very often to prevent metadata overhead
&lt;br&gt;accumulation).
&lt;br&gt;&lt;br&gt;&amp;gt; I can't explain why rsync would stall much longer than wget. &amp;nbsp;The only
&lt;br&gt;&amp;gt; thought I had is that the network might have a quality-of-service policy
&lt;br&gt;&amp;gt; that favors port 80.
&lt;br&gt;&lt;br&gt;No, it probably haven't, because I've also tried to use OpenVPN which hides internal traffic
&lt;br&gt;from inspection and symptoms are the same.
&lt;br&gt;&lt;br&gt;Is someone here have any experience with different Linux tcp congestion control algorithms
&lt;br&gt;suitable for cellular networks? &amp;nbsp;What about adjusting send/receive buffers? It seems that low
&lt;br&gt;level radio link protocols and equipment do heavy buffering, which reduces packet loss but
&lt;br&gt;introduces unpredictable delays (up to tens of seconds). I.e. link equipment knows that there
&lt;br&gt;is no radio resources available and buffers packets (maybe even does retransmissions if
&lt;br&gt;necessary). And this probably fools tcp protocol which thinks there is congestion and packet
&lt;br&gt;loss.
&lt;br&gt;&lt;br&gt;Thanks for replying!
&lt;br&gt;-- 
&lt;br&gt;Please use reply-all for most replies to avoid omitting the mailing list.
&lt;br&gt;To unsubscribe or change options: &lt;a href=&quot;https://lists.samba.org/mailman/listinfo/rsync&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/listinfo/rsync&lt;/a&gt;&lt;br&gt;Before posting, read: &lt;a href=&quot;http://www.catb.org/~esr/faqs/smart-questions.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.catb.org/~esr/faqs/smart-questions.html&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---rsync-f13158.html&quot; embed=&quot;fixTarget[13158]&quot; target=&quot;_top&quot; &gt;Samba - rsync&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/rsync-speed-on-slow-wireless-links-tp26722581p26774276.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774145</id>
	<title>Re: Domain login and logouts</title>
	<published>2009-12-14T00:00:45Z</published>
	<updated>2009-12-14T00:00:45Z</updated>
	<author>
		<name>Diego Zuccato-2</name>
	</author>
	<content type="html">Diego Woitasen wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;Is there a way to detect logins and logouts in a samba domain? I need
&lt;br&gt;&amp;gt; to add some firewalls rules when a user logins in the domain from a
&lt;br&gt;&amp;gt; workstation and remove then when the user logouts.
&lt;br&gt;IIUC you only can reliably detect logins, not logouts, since it seems 
&lt;br&gt;logouts aren't sent by win clients (to logout the client just removes 
&lt;br&gt;the tickets...).
&lt;br&gt;And the reason is simple: the critical part is the authentication, then 
&lt;br&gt;the user could even detach from the network (unplugging the cable, for 
&lt;br&gt;example) and do whatever he wants -- even reconnect just to refresh tickets.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Diego Zuccato
&lt;br&gt;Servizi Informatici
&lt;br&gt;Dip. di Astronomia - Università di Bologna
&lt;br&gt;Via Ranzani, 1 - 40126 Bologna - Italy
&lt;br&gt;tel.: +39 051 20 95786
&lt;br&gt;mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774145&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;diego.zuccato@...&lt;/a&gt;
&lt;br&gt;-- 
&lt;br&gt;To unsubscribe from this list go to the following URL and read the
&lt;br&gt;instructions: &amp;nbsp;&lt;a href=&quot;https://lists.samba.org/mailman/options/samba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.samba.org/mailman/options/samba&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Samba---General-f62.html&quot; embed=&quot;fixTarget[62]&quot; target=&quot;_top&quot; &gt;Samba - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Domain-login-and-logouts-tp26762210p26774145.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774002</id>
	<title>DO NOT REPLY [Bug 6965] Avoid code 23 when source file is concurrently truncated</title>
	<published>2009-12-13T23:42:02Z</published>
	<updated>2009-12-13T23:42:02Z</updated>
	<author>
		<name>Bugzilla from samba-bugs@samba.org</name>
	</author>
	<content type="html">&lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6965&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/show_bug.cgi?id=6965&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774002&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; changed:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What &amp;nbsp; &amp;nbsp;|Removed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Added
&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Summary|truncated files and exit &amp;nbsp; &amp;nbsp;|Avoid code 23 when source
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|code 23 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |file is concurrently
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|truncated
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------- Comment #1 from &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26774002&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; &amp;nbsp;2009-12-14 01:42 CST -------
&lt;br&gt;Indeed. &amp;nbsp;This is probably one of many kinds of concurrent modification to the
&lt;br&gt;source that rsync handles ungracefully.
&lt;br&gt;&lt;br&gt;In general, when different system calls return inconsistent results, that could
&lt;br&gt;indicate either a concurrent modification or filesystem misbehavior. &amp;nbsp;The
&lt;br&gt;downside to always assuming concurrent modification is that we miss the
&lt;br&gt;opportunity to report filesystem misbehavior if it happens. &amp;nbsp;One example is the
&lt;br&gt;Cygwin &amp;quot;file has vanished&amp;quot; error with foreign characters in filenames (
&lt;br&gt;&lt;a href=&quot;http://lists.samba.org/archive/rsync/2008-January/019696.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.samba.org/archive/rsync/2008-January/019696.html&lt;/a&gt;&amp;nbsp;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Configure bugmail: &lt;a href=&quot;https://bugzilla.samba.org/userprefs.cgi?tab=email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.samba.org/userprefs.cgi?tab=email&lt;/a&gt;&lt;br&gt;------- You are receiving this mail because: -------
&lt;br&gt;You are the QA contact for the bug, or are watching the QA contact.
&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/DO-NOT-REPLY--Bug-6965--New%3A-truncated-files-and-exit-code-23-tp26640239p26774002.html" />
</entry>

</feed>
