<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: FreeBSD Users and Groups with Samba (Winbind) and Active Directory</title>
	<atom:link href="http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/</link>
	<description>cat /dev/random</description>
	<lastBuildDate>Sat, 04 Jul 2009 08:07:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: zblk</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-765126</link>
		<dc:creator>zblk</dc:creator>
		<pubDate>Fri, 06 Mar 2009 09:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-765126</guid>
		<description>Debian Lenny with Samba 3.2.5
with &quot;old&quot; idmap syntax winbind generates errors about re-initialization of rid module:

[2009/03/06 12:07:48,  0] winbindd/idmap.c:smb_register_idmap(142)
  Idmap module rid already registered!
[2009/03/06 12:07:48,  0] lib/module.c:do_smb_load_module(69)
  Module &#039;/usr/lib/samba/idmap/rid.so&#039; initialization failed: NT_STATUS_OBJECT_NAME_COLLISION

after changing it to &quot;new&quot; syntax errors have gone

was:
...
idmap backend = rid:DOMAIN=10000-20000
idmap uid = 10000-20000
idmap gid = 10000-20000
...

become:
...
idmap domains = DOMAIN
idmap config DOMAIN:backend = rid
idmap config DOMAIN:range = 10000-20000
...</description>
		<content:encoded><![CDATA[<p>Debian Lenny with Samba 3.2.5<br />
with &#8220;old&#8221; idmap syntax winbind generates errors about re-initialization of rid module:</p>
<p>[2009/03/06 12:07:48,  0] winbindd/idmap.c:smb_register_idmap(142)<br />
  Idmap module rid already registered!<br />
[2009/03/06 12:07:48,  0] lib/module.c:do_smb_load_module(69)<br />
  Module &#8216;/usr/lib/samba/idmap/rid.so&#8217; initialization failed: NT_STATUS_OBJECT_NAME_COLLISION</p>
<p>after changing it to &#8220;new&#8221; syntax errors have gone</p>
<p>was:<br />
&#8230;<br />
idmap backend = rid:DOMAIN=10000-20000<br />
idmap uid = 10000-20000<br />
idmap gid = 10000-20000<br />
&#8230;</p>
<p>become:<br />
&#8230;<br />
idmap domains = DOMAIN<br />
idmap config DOMAIN:backend = rid<br />
idmap config DOMAIN:range = 10000-20000<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aberardo Castillo</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-689432</link>
		<dc:creator>Aberardo Castillo</dc:creator>
		<pubDate>Fri, 14 Nov 2008 01:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-689432</guid>
		<description>Hi,

I did apply this procedure and everything works fine. Thanks for your contribution to others.

I have a case in my Lab. I have 2 AD in redundancy, and I would like to configure the server so it can authenticate the users with any of them (have redundancy as well on the authentication). is this possible? if yes, any clues or ideas to get it done?

Regards,
--Aberardo.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did apply this procedure and everything works fine. Thanks for your contribution to others.</p>
<p>I have a case in my Lab. I have 2 AD in redundancy, and I would like to configure the server so it can authenticate the users with any of them (have redundancy as well on the authentication). is this possible? if yes, any clues or ideas to get it done?</p>
<p>Regards,<br />
&#8211;Aberardo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-688687</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Thu, 13 Nov 2008 09:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-688687</guid>
		<description>Hi 

Actually i am tester i dont know any thing about this , i am trying to do 
cifs mounting in freebsd  but i am getting any thing about that please help me.</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Actually i am tester i dont know any thing about this , i am trying to do<br />
cifs mounting in freebsd  but i am getting any thing about that please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Scott</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-687927</link>
		<dc:creator>Joseph Scott</dc:creator>
		<pubDate>Wed, 12 Nov 2008 17:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-687927</guid>
		<description>@suresh -

Looks like there was an error in building samba3 at some point.  I&#039;d suggest tracking that down before trying to go any further.</description>
		<content:encoded><![CDATA[<p>@suresh -</p>
<p>Looks like there was an error in building samba3 at some point.  I&#8217;d suggest tracking that down before trying to go any further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-684441</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Sat, 08 Nov 2008 09:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-684441</guid>
		<description>After editing /etc/make.conf file i did  make install bug i am getting below message

Stop in /usr/ports/net/samba3.
*** Error code 1

Stop in /usr/ports/net/samba3.
*** Error code 1

Stop in /usr/ports/net/samba3.
[root@freebsd61 /usr/ports/net/samba3]# pwd
/usr/ports/net/samba3
[root@freebsd61 /usr/por


I am trying to install smbclient in freebsd6.1</description>
		<content:encoded><![CDATA[<p>After editing /etc/make.conf file i did  make install bug i am getting below message</p>
<p>Stop in /usr/ports/net/samba3.<br />
*** Error code 1</p>
<p>Stop in /usr/ports/net/samba3.<br />
*** Error code 1</p>
<p>Stop in /usr/ports/net/samba3.<br />
[root@freebsd61 /usr/ports/net/samba3]# pwd<br />
/usr/ports/net/samba3<br />
[root@freebsd61 /usr/por</p>
<p>I am trying to install smbclient in freebsd6.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Dillon</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-649263</link>
		<dc:creator>Jim Dillon</dc:creator>
		<pubDate>Fri, 10 Oct 2008 20:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-649263</guid>
		<description>Followed this tutorial and ran into a small problem, not with the tutorial, but with my environment.  It seems that for ssh to work the user can&#039;t be in more than 15 Active Directory groups.  I was getting something like
[sshd] initgroups(username, guid): Invalid argument.  If you experience this issue get your AD group membership down to 15 and you should be just fine.

Thanks for the wonderful tutorial!</description>
		<content:encoded><![CDATA[<p>Followed this tutorial and ran into a small problem, not with the tutorial, but with my environment.  It seems that for ssh to work the user can&#8217;t be in more than 15 Active Directory groups.  I was getting something like<br />
[sshd] initgroups(username, guid): Invalid argument.  If you experience this issue get your AD group membership down to 15 and you should be just fine.</p>
<p>Thanks for the wonderful tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Duckworth</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-405257</link>
		<dc:creator>Joel Duckworth</dc:creator>
		<pubDate>Thu, 17 Apr 2008 05:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-405257</guid>
		<description>Thanks Chris, I&#039;ve been searching for ages trying to get to the bottom of these errors, there isn&#039;t much info on the net</description>
		<content:encoded><![CDATA[<p>Thanks Chris, I&#8217;ve been searching for ages trying to get to the bottom of these errors, there isn&#8217;t much info on the net</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-363963</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 22 Feb 2008 22:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-363963</guid>
		<description>Thanks for that tip Chris!  I&#039;ve been trying to solve this winbind/rid problem for several days on RedHat ES 5.1 which comes with samba 3.0.25b.  Thankfully googling the NT_STATUS_OBJECT_NAME_COLLISION error from winbindd-idmap.log led me to your post.</description>
		<content:encoded><![CDATA[<p>Thanks for that tip Chris!  I&#8217;ve been trying to solve this winbind/rid problem for several days on RedHat ES 5.1 which comes with samba 3.0.25b.  Thankfully googling the NT_STATUS_OBJECT_NAME_COLLISION error from winbindd-idmap.log led me to your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-195835</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 21 Jun 2007 13:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-195835</guid>
		<description>@Chris, it sure saved me some time, thanks!!!</description>
		<content:encoded><![CDATA[<p>@Chris, it sure saved me some time, thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://joseph.randomnetworks.com/archives/2005/11/08/freebsd-users-and-groups-with-samba-winbind-and-active-directory/comment-page-1/#comment-183485</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 02 Jun 2007 06:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/?p=516#comment-183485</guid>
		<description>Ugh...just updated to latest samba (samba-3.0.25,1) and there are subtle issues with the config.  I think it&#039;s *supposed* to support the config given here, but it doesn&#039;t work.

I was getting all kinds of errors, but the one that tipped me off was found in /var/log/samba/log.winbindd-idmap:

[2007/06/01 23:32:09, 1] nsswitch/idmap.c:idmap_init(343)
  Initializing idmap domains
[2007/06/01 23:32:09, 1] nsswitch/idmap_rid.c:idmap_rid_initialize(69)
  ERROR: Invalid configuration, ID range missing
[2007/06/01 23:32:09, 0] nsswitch/idmap.c:idmap_init(438)
  ERROR: Initialization failed for backend rid (domain default domain), deferred!
[2007/06/01 23:32:09, 0] nsswitch/idmap.c:smb_register_idmap(129)
  Idmap module rid already registered!
[2007/06/01 23:32:09, 0] lib/module.c:do_smb_load_module(69)
  Module &#039;/usr/local/lib/samba/idmap/rid.so&#039; initialization failed: NT_STATUS_OBJECT_NAME_COLLISION

Now, there are lots of dead-ends to google for there.  It turns out that there&#039;s been a change recently in the way to configure idmaps, and even though man smb.conf seems to say the old config syntax is valid, I had to change to the new syntax:

   #
   # OLD WAY
   #
   #idmap backend = rid:DOMAIN_NAME=10000-20000


   #
   # NEW WAY 
   #
   idmap domains = DOMAIN_NAME
   idmap config DOMAIN_NAME:backend = rid
   idmap config DOMAIN_NAME:range = 10000-20000

Hopefully I&#039;ve saved someone some time by posting this here.</description>
		<content:encoded><![CDATA[<p>Ugh&#8230;just updated to latest samba (samba-3.0.25,1) and there are subtle issues with the config.  I think it&#8217;s *supposed* to support the config given here, but it doesn&#8217;t work.</p>
<p>I was getting all kinds of errors, but the one that tipped me off was found in /var/log/samba/log.winbindd-idmap:</p>
<p>[2007/06/01 23:32:09, 1] nsswitch/idmap.c:idmap_init(343)<br />
  Initializing idmap domains<br />
[2007/06/01 23:32:09, 1] nsswitch/idmap_rid.c:idmap_rid_initialize(69)<br />
  ERROR: Invalid configuration, ID range missing<br />
[2007/06/01 23:32:09, 0] nsswitch/idmap.c:idmap_init(438)<br />
  ERROR: Initialization failed for backend rid (domain default domain), deferred!<br />
[2007/06/01 23:32:09, 0] nsswitch/idmap.c:smb_register_idmap(129)<br />
  Idmap module rid already registered!<br />
[2007/06/01 23:32:09, 0] lib/module.c:do_smb_load_module(69)<br />
  Module &#8216;/usr/local/lib/samba/idmap/rid.so&#8217; initialization failed: NT_STATUS_OBJECT_NAME_COLLISION</p>
<p>Now, there are lots of dead-ends to google for there.  It turns out that there&#8217;s been a change recently in the way to configure idmaps, and even though man smb.conf seems to say the old config syntax is valid, I had to change to the new syntax:</p>
<p>   #<br />
   # OLD WAY<br />
   #<br />
   #idmap backend = rid:DOMAIN_NAME=10000-20000</p>
<p>   #<br />
   # NEW WAY<br />
   #<br />
   idmap domains = DOMAIN_NAME<br />
   idmap config DOMAIN_NAME:backend = rid<br />
   idmap config DOMAIN_NAME:range = 10000-20000</p>
<p>Hopefully I&#8217;ve saved someone some time by posting this here.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
