<?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: Tiger to Leopard Server Migration, Part Two</title>
	<atom:link href="http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/</link>
	<description>Apple Certified Mac Consulting</description>
	<lastBuildDate>Sat, 27 Feb 2010 07:10:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-2476</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 17 Aug 2009 22:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-2476</guid>
		<description>Brent,

I figured it out. So, basically, the kerberosv5 entry is pretty much the same as the ApplePasswordServer entry, only it has the realm info shoved in there. 

So, I wrote up a basic script that&#039;ll do the dirty work of a couple &quot;sed&quot;s and add those entries to the users that don&#039;t have them. 

It can be found here: http://www.staze.org/static/addKerberosv5.sh

The comments on the script are larger than the script itself, and I&#039;m by no means a SH wizard, so there&#039;s probably a faster way to do it than what I did. But, either way, there you go. =)</description>
		<content:encoded><![CDATA[<p>Brent,</p>
<p>I figured it out. So, basically, the kerberosv5 entry is pretty much the same as the ApplePasswordServer entry, only it has the realm info shoved in there. </p>
<p>So, I wrote up a basic script that&#8217;ll do the dirty work of a couple &#8220;sed&#8221;s and add those entries to the users that don&#8217;t have them. </p>
<p>It can be found here: <a href="http://www.staze.org/static/addKerberosv5.sh" rel="nofollow">http://www.staze.org/static/addKerberosv5.sh</a></p>
<p>The comments on the script are larger than the script itself, and I&#8217;m by no means a SH wizard, so there&#8217;s probably a faster way to do it than what I did. But, either way, there you go. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-2454</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 31 Jul 2009 09:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-2454</guid>
		<description>Brent,

I&#039;ve been looking into this some more (finally), and it seems that the rsa &quot;key&quot; is the same for both the passwordserver and kerberosv5 section for all the users, but the slot ID is specific to each user. 

So, it should be possible to write a script that finds the slot-ID for a user using mkpassdb -dump &#124; grep username, then constructs the appropriate value for the kerberosv5 entry based on that, and the RSA key. 

It&#039;s odd to me that slapconfig -kerberize hangs, and doesn&#039;t actually populate this info on users that don&#039;t have it. It&#039;s also odd that my passdb is full of ancient users that have been gone for years. I&#039;d think it would remove those entries... I&#039;ve been toying with the idea of writing a script to remove them with mkpassdb -deleteslot. 

At this point, on a test server, I have removed all the authAuthority: ;Kerberosv5 entries for all the users. I guess next I&#039;ll work out a script to repopulate that info. Will post more when I have something. Certainly let me know if you have anything that might help.</description>
		<content:encoded><![CDATA[<p>Brent,</p>
<p>I&#8217;ve been looking into this some more (finally), and it seems that the rsa &#8220;key&#8221; is the same for both the passwordserver and kerberosv5 section for all the users, but the slot ID is specific to each user. </p>
<p>So, it should be possible to write a script that finds the slot-ID for a user using mkpassdb -dump | grep username, then constructs the appropriate value for the kerberosv5 entry based on that, and the RSA key. </p>
<p>It&#8217;s odd to me that slapconfig -kerberize hangs, and doesn&#8217;t actually populate this info on users that don&#8217;t have it. It&#8217;s also odd that my passdb is full of ancient users that have been gone for years. I&#8217;d think it would remove those entries&#8230; I&#8217;ve been toying with the idea of writing a script to remove them with mkpassdb -deleteslot. </p>
<p>At this point, on a test server, I have removed all the authAuthority: ;Kerberosv5 entries for all the users. I guess next I&#8217;ll work out a script to repopulate that info. Will post more when I have something. Certainly let me know if you have anything that might help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-998</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Fri, 29 May 2009 20:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-998</guid>
		<description>Ryan,

I tested on a larger directory, and got the same results.  Some of the users have what appear to be the same keys, but many are different.  I would like to know the relationship between these values and the Password Server and Kerberos databases.  A specific key probably does not align with a specific password or account in the database, since some users share the same key.  I &lt;em&gt;thought&lt;/em&gt; that these keys simply matched a particular password server or kerberos server, but obviously servers do not require unique keys.  I don&#039;t have time to investigate right now.  If you&#039;re going to do this, I&#039;d appreciate it if you let me know what you find.

Thanks!
Brent</description>
		<content:encoded><![CDATA[<p>Ryan,</p>
<p>I tested on a larger directory, and got the same results.  Some of the users have what appear to be the same keys, but many are different.  I would like to know the relationship between these values and the Password Server and Kerberos databases.  A specific key probably does not align with a specific password or account in the database, since some users share the same key.  I <em>thought</em> that these keys simply matched a particular password server or kerberos server, but obviously servers do not require unique keys.  I don&#8217;t have time to investigate right now.  If you&#8217;re going to do this, I&#8217;d appreciate it if you let me know what you find.</p>
<p>Thanks!<br />
Brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-997</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 May 2009 23:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-997</guid>
		<description>Brent, actually, looking at various users, the entries don’t appear to be the same for every user…

Example:
&lt;code&gt;
server:~ admin$ dscl /LDAPv3/127.0.0.1 read /Users/user1 dsAttrTypeNative:authAuthority
dsAttrTypeNative:authAuthority:
;ApplePasswordServer;0x470bb9eb325f31c3000040ee00002257,1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 root@server.example.com:123.123.123.123
;Kerberosv5;0x470bb9eb325f31c3000040ee00002257;user1@EXAMPLE.COM;EXAMPLE.COM;1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 root@server.example.com:123.123.123.123
server:~ admin$ dscl /LDAPv3/127.0.0.1 read /Users/user2 dsAttrTypeNative:authAuthority
dsAttrTypeNative:authAuthority:
;ApplePasswordServer;0x48c859af4df339b7000043aa00002a0a,1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 root@server.example.com:123.123.123.123
;Kerberosv5;0x48c859af4df339b7000043aa00002a0a;user2@EXAMPLE.COM;EXAMPLE.COM;1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 root@server.example.com:123.123.123.123
&lt;/code&gt;

So, don’t think that’ll work… can you confirm your’s are the same for any user?</description>
		<content:encoded><![CDATA[<p>Brent, actually, looking at various users, the entries don’t appear to be the same for every user…</p>
<p>Example:<br />
<code><br />
server:~ admin$ dscl /LDAPv3/127.0.0.1 read /Users/user1 dsAttrTypeNative:authAuthority<br />
dsAttrTypeNative:authAuthority:<br />
;ApplePasswordServer;0x470bb9eb325f31c3000040ee00002257,1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 <a href="mailto:root@server.example.com">root@server.example.com</a>:123.123.123.123<br />
;Kerberosv5;0x470bb9eb325f31c3000040ee00002257;user1@EXAMPLE.COM;EXAMPLE.COM;1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 <a href="mailto:root@server.example.com">root@server.example.com</a>:123.123.123.123<br />
server:~ admin$ dscl /LDAPv3/127.0.0.1 read /Users/user2 dsAttrTypeNative:authAuthority<br />
dsAttrTypeNative:authAuthority:<br />
;ApplePasswordServer;0x48c859af4df339b7000043aa00002a0a,1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 <a href="mailto:root@server.example.com">root@server.example.com</a>:123.123.123.123<br />
;Kerberosv5;0x48c859af4df339b7000043aa00002a0a;user2@EXAMPLE.COM;EXAMPLE.COM;1024 35 142348687369980182134507175767473848406728018835938950439244504199810591467084867869429532763785664902803450035110236201552277202539905523086333992178101548673534094938083763850217881171960226316582341046758647121979394968026644558722582733133246430363127883800192071325741645982074225105651514207812440564579 <a href="mailto:root@server.example.com">root@server.example.com</a>:123.123.123.123<br />
</code></p>
<p>So, don’t think that’ll work… can you confirm your’s are the same for any user?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-994</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 May 2009 23:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-994</guid>
		<description>that would work, except it looks like the kerberos auth info has the username in the string, so we&#039;d need to construct that based on the username... but, that&#039;d be easy enough. 

I&#039;ll give this a shot on my test OD master and write back... 

Any idea what the kerberos auth entry actually gives you? users without that still get tickets... 

Also, semi-related... the users that don&#039;t have kerberos entries also can&#039;t seem to have their ical server set. Could this have something to do with it? 

And, have you heard anything about the &quot;Allow simultaneous login...&quot; being broken in WGM? even with it unchecked, users can login multiple times, and yes, they are on managed clients, and yes, they&#039;re network home directories. =P

Thanks Brent!</description>
		<content:encoded><![CDATA[<p>that would work, except it looks like the kerberos auth info has the username in the string, so we&#8217;d need to construct that based on the username&#8230; but, that&#8217;d be easy enough. </p>
<p>I&#8217;ll give this a shot on my test OD master and write back&#8230; </p>
<p>Any idea what the kerberos auth entry actually gives you? users without that still get tickets&#8230; </p>
<p>Also, semi-related&#8230; the users that don&#8217;t have kerberos entries also can&#8217;t seem to have their ical server set. Could this have something to do with it? </p>
<p>And, have you heard anything about the &#8220;Allow simultaneous login&#8230;&#8221; being broken in WGM? even with it unchecked, users can login multiple times, and yes, they are on managed clients, and yes, they&#8217;re network home directories. =P</p>
<p>Thanks Brent!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-993</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 28 May 2009 20:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-993</guid>
		<description>Yes, you could just delete &amp; create the attribute for all users.  Off the top of my head (untested!):

&lt;code&gt;
for user in `dscl /LDAPv3/127.0.0.1 list /Users &#124; grep -E &quot;[^root&#124;diradmin]&quot;`; 
do 
  dscl -u diradmin -P s3cr3t /LDAPv3/127.0.0.1 delete Users/$user dsAttrTypeNative:authAuthority
  dscl -u diradmin -P s3cr3t /LDAPv3/127.0.0.1 create Users/$user dsAttrTypeNative:authAuthority &#039;;ApplePasswordServer;0x4a1db4...&#039;
done
&lt;/code&gt;

Only users &quot;root&quot; and &quot;diradmin&quot; are excluded -- you may want to expand that list.  I noticed that the vpn user doesn&#039;t have the kerberos part of the authAuthority attribute, probably because you don&#039;t want that user to be able to login...</description>
		<content:encoded><![CDATA[<p>Yes, you could just delete &#038; create the attribute for all users.  Off the top of my head (untested!):</p>
<p><code><br />
for user in `dscl /LDAPv3/127.0.0.1 list /Users | grep -E "[^root|diradmin]"`;<br />
do<br />
  dscl -u diradmin -P s3cr3t /LDAPv3/127.0.0.1 delete Users/$user dsAttrTypeNative:authAuthority<br />
  dscl -u diradmin -P s3cr3t /LDAPv3/127.0.0.1 create Users/$user dsAttrTypeNative:authAuthority ';ApplePasswordServer;0x4a1db4...'<br />
done<br />
</code></p>
<p>Only users &#8220;root&#8221; and &#8220;diradmin&#8221; are excluded &#8212; you may want to expand that list.  I noticed that the vpn user doesn&#8217;t have the kerberos part of the authAuthority attribute, probably because you don&#8217;t want that user to be able to login&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-992</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 May 2009 19:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-992</guid>
		<description>Brent,

Makes sense. The users that don&#039;t have Kerberos auth info in OD seem to be those that were migrated from 10.3, then to 10.4, and now 10.5. Everyone else has that info. So maybe I need to script something to go through all the users and create that info... though, I guess since everyone would have the same info, even if they have it, there&#039;s no harm in replacing it, is there?  

I also wonder if I can do an archive, open up the sparse image, and edit the dump from the ldap db, then reimport. Supposedly slapconfig -kerberize is supposed to create kerberos info for all the users, but it hangs on the mkpassdb -kerberize part, which runs fine otherwise... so seems kinda broken. 

kadmin.local does list a principle for the users in question. 

Thanks a bunch of the info. Feel free to email if it would be easier than conversing this way. =)</description>
		<content:encoded><![CDATA[<p>Brent,</p>
<p>Makes sense. The users that don&#8217;t have Kerberos auth info in OD seem to be those that were migrated from 10.3, then to 10.4, and now 10.5. Everyone else has that info. So maybe I need to script something to go through all the users and create that info&#8230; though, I guess since everyone would have the same info, even if they have it, there&#8217;s no harm in replacing it, is there?  </p>
<p>I also wonder if I can do an archive, open up the sparse image, and edit the dump from the ldap db, then reimport. Supposedly slapconfig -kerberize is supposed to create kerberos info for all the users, but it hangs on the mkpassdb -kerberize part, which runs fine otherwise&#8230; so seems kinda broken. </p>
<p>kadmin.local does list a principle for the users in question. </p>
<p>Thanks a bunch of the info. Feel free to email if it would be easier than conversing this way. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-991</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 28 May 2009 17:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-991</guid>
		<description>Hi Ryan,

You could use dscl to add the missing information to accounts that require it.  For example, if user &quot;foo&quot; has the appropriate Kerberos Auth information, but user &quot;bar&quot; does not, do:

&lt;code&gt;
dscl /LDAPv3/127.0.0.1 list /Users
dscl /LDAPv3/127.0.0.1 read /Users/foo dsAttrTypeNative:authAuthority
dscl /LDAPv3/127.0.0.1 read /Users/bar dsAttrTypeNative:authAuthority
&lt;/code&gt;

I assume that the line with &#039;foo&#039; produced a result, but the one for &#039;bar&#039; did not. Next, we copy &amp; paste the results from &#039;foo&#039; into &#039;bar&#039; (they would normally be the same for all users).

&lt;code&gt;
dscl -u diradmin -p /LDAPv3/127.0.0.1 create Users/bar dsAttrTypeNative:authAuthority &#039;;ApplePasswordServer;0x4a1db45d623129c80002222400000006,1024 35 1552336520790876143357923422342342344432068520467333585001342495331358288032423423856319795003339107102915145945351348424622871193864577936392142765821418484201121590222222237589909738845159189198379761266987937615847029786176646000187194939169913424926663686764473845226289233284388945450029977166706293007559029595311 root@myserver.netmojo.ca:10.0.1.240
&gt;  ;Kerberosv5;0x4a1db45d623129c80002222400000006;bar@NETMOJO.CA;NETMOJO.CA;1024 35 1552336520790876143357923422342342344432068520467333585001342495331358288032423423856319795003339107102915145945351348424622871193864577936392142765821418484201121590222222237589909738845159189198379761266987937615847029786176646000187194939169913424926663686764473845226289233284388945450029977166706293007559029595311 root@myserver.netmojo.ca:10.0.1.240&#039;
&lt;/code&gt;

Another thing to check is whether the users in question have a kerberos principle in the kerberos database.

&lt;code&gt;
sudo kadmin.local
kadmin.local:  listprincs bar*
&lt;/code&gt;

If not, add one:

&lt;code&gt;
kadmin.local:  addprinc -randkey bar@NETMOJO.CA
WARNING: no policy specified for bar@NETMOJO.CA; defaulting to no policy
Principal &quot;bar@NETMOJO.CA&quot; created.
&lt;/code&gt;


Cheers
Brent</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>You could use dscl to add the missing information to accounts that require it.  For example, if user &#8220;foo&#8221; has the appropriate Kerberos Auth information, but user &#8220;bar&#8221; does not, do:</p>
<p><code><br />
dscl /LDAPv3/127.0.0.1 list /Users<br />
dscl /LDAPv3/127.0.0.1 read /Users/foo dsAttrTypeNative:authAuthority<br />
dscl /LDAPv3/127.0.0.1 read /Users/bar dsAttrTypeNative:authAuthority<br />
</code></p>
<p>I assume that the line with &#8216;foo&#8217; produced a result, but the one for &#8216;bar&#8217; did not. Next, we copy &#038; paste the results from &#8216;foo&#8217; into &#8216;bar&#8217; (they would normally be the same for all users).</p>
<p><code><br />
dscl -u diradmin -p /LDAPv3/127.0.0.1 create Users/bar dsAttrTypeNative:authAuthority ';ApplePasswordServer;0x4a1db45d623129c80002222400000006,1024 35 1552336520790876143357923422342342344432068520467333585001342495331358288032423423856319795003339107102915145945351348424622871193864577936392142765821418484201121590222222237589909738845159189198379761266987937615847029786176646000187194939169913424926663686764473845226289233284388945450029977166706293007559029595311 <a href="mailto:root@myserver.netmojo.ca">root@myserver.netmojo.ca</a>:10.0.1.240<br />
>  ;Kerberosv5;0x4a1db45d623129c80002222400000006;bar@NETMOJO.CA;NETMOJO.CA;1024 35 1552336520790876143357923422342342344432068520467333585001342495331358288032423423856319795003339107102915145945351348424622871193864577936392142765821418484201121590222222237589909738845159189198379761266987937615847029786176646000187194939169913424926663686764473845226289233284388945450029977166706293007559029595311 <a href="mailto:root@myserver.netmojo.ca">root@myserver.netmojo.ca</a>:10.0.1.240'<br />
</code></p>
<p>Another thing to check is whether the users in question have a kerberos principle in the kerberos database.</p>
<p><code><br />
sudo kadmin.local<br />
kadmin.local:  listprincs bar*<br />
</code></p>
<p>If not, add one:</p>
<p><code><br />
kadmin.local:  addprinc -randkey <a href="mailto:bar@NETMOJO.CA">bar@NETMOJO.CA</a><br />
WARNING: no policy specified for <a href="mailto:bar@NETMOJO.CA">bar@NETMOJO.CA</a>; defaulting to no policy<br />
Principal "bar@NETMOJO.CA" created.<br />
</code></p>
<p>Cheers<br />
Brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-990</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 May 2009 05:42:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-990</guid>
		<description>Craig,

Your script can actually be accomplished with a one-liner using &quot;find&quot;. 

From your user account directory, you can do `find * -maxdepth 0 -exec chown -R {}:staff {} \;`

Brent,

You mention briefly a problem I&#039;m seeing on a system I migrated with the archive/restore option. Several accounts don&#039;t have Kerberos Auth information. Can you suggest a way to actually resolve this, short of deleting and recreating those accounts? How would textmate allow you to do this?</description>
		<content:encoded><![CDATA[<p>Craig,</p>
<p>Your script can actually be accomplished with a one-liner using &#8220;find&#8221;. </p>
<p>From your user account directory, you can do `find * -maxdepth 0 -exec chown -R {}:staff {} \;`</p>
<p>Brent,</p>
<p>You mention briefly a problem I&#8217;m seeing on a system I migrated with the archive/restore option. Several accounts don&#8217;t have Kerberos Auth information. Can you suggest a way to actually resolve this, short of deleting and recreating those accounts? How would textmate allow you to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.netmojo.ca/2007/11/13/tiger-to-leopard-server-migration-part-two/comment-page-1/#comment-151</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2007/11/13/tiger-to-leopard-server-migration-part-two/#comment-151</guid>
		<description>Great Information. On the part with the user permissions I found that make a short shell script works well for this. I used this when I moved about 1000 users and the permissions were not correct for any of them.
This is what I did...
Open Terminal as admin...
sudo su
cd /Users
nano changeowner.sh

paste this into the editor...
!/bin/sh
 for i in *
 do
 chown -R $i:staff $i
 done

CTRL+X to exit and save

Make the file executable....
chmod 775 changeowner.sh

Execute the file...
./changeowner.sh</description>
		<content:encoded><![CDATA[<p>Great Information. On the part with the user permissions I found that make a short shell script works well for this. I used this when I moved about 1000 users and the permissions were not correct for any of them.<br />
This is what I did&#8230;<br />
Open Terminal as admin&#8230;<br />
sudo su<br />
cd /Users<br />
nano changeowner.sh</p>
<p>paste this into the editor&#8230;<br />
!/bin/sh<br />
 for i in *<br />
 do<br />
 chown -R $i:staff $i<br />
 done</p>
<p>CTRL+X to exit and save</p>
<p>Make the file executable&#8230;.<br />
chmod 775 changeowner.sh</p>
<p>Execute the file&#8230;<br />
./changeowner.sh</p>
]]></content:encoded>
	</item>
</channel>
</rss>
