<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unixwiz &#187; Work</title>
	<atom:link href="http://blogs.sungeek.net/unixwiz/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.sungeek.net/unixwiz</link>
	<description>anything dealing with *NIX or what ever I want to write about</description>
	<lastBuildDate>Wed, 04 Aug 2010 03:04:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>AIX LDAP to Sun LDAP in 10 Semi Easy Steps</title>
		<link>http://blogs.sungeek.net/unixwiz/2007/02/27/aix-ldap-to-sun-ldap-in-5-semi-easy-steps/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2007/02/27/aix-ldap-to-sun-ldap-in-5-semi-easy-steps/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 00:44:31 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=718</guid>
		<description><![CDATA[I have been having some problems getting IBM&#8217;s Tivoli Directory Server to replicate properly. So I decided to try and see what it would take to move the IBM AIX machines from using IBM&#8217;s LDAP Server to using Sun&#8217;s LDAP Server. This is what I hope to accomplish: Setup Sun&#8217;s JES Directory Server on a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been having some problems getting IBM&#8217;s Tivoli Directory Server to replicate properly. So I decided to try and see what it would take to move the IBM AIX machines from using IBM&#8217;s LDAP Server to using Sun&#8217;s LDAP Server. This is what I hope to accomplish:</p>
<ol>
<li>Setup Sun&#8217;s JES Directory Server on a Solaris 10 machine</li>
<li>Configure the DS to have the AIX schema and objectclasses needed for user and group info</li>
<li>Configure a AIX test machine to authenticate against the Sun LDAP Server</li>
<li>Eventually move all AIX machines from the IBM DS to Sun DS, thereby having one set of servers that control all users/passwords for all Sun/Linux/AIX machines</li>
</ol>
<p><strong>Step 1: AIX Schema</strong><br />
The first thing I had to overcome is how AIX has 4 different ways of using LDAP for authentication. AIX 4.3.3 and AIX 5.1 used a non RFC2307 compliant schema. AIX 5.2 and AIX 5.3 can use this old schema or RFC2307, or a new one called RFC2307AIX, which combines the old with the new (there is also another one that I will not cover). When I originally setup the IBM LDAP I used the RFC2307AIX because it allows me to store ulimits and other info about AIX accounts in LDAP and not on each individual machine. But this also makes it harder to port these things over to Sun&#8217;s LDAP. Which lead me to yesterday&#8217;s afternoon adventure, creating a schema file that would work. I will link to my final copy below.</p>
<p><strong>Step 2: AIX ObjectClasses</strong><br />
Second up was to create the objectclasses required for AIX Authentication, which consisted of creating the eAccount, AIXAccount,AIXaccessGroup, ibm-SecurityIdentities, container, and account. Some of these may not be needed for a fresh install, but I am trying to move entries from IBM&#8217;s LDAP to Sun&#8217;s LDAP with the least amount of editing an extremely huge ldap ldif export file. I will link to my final copy of this file below as well.</p>
<p><strong>Step 3: Install JES DS</strong><br />
The third step was to download and install the DS 5.2.P4 on my fresh install of Solaris 10 U3 running on a Sparc machine. I did the custom install as I wanted to change the location of where it was installed to. The other thing I did is not load any sample data. Once the install was done, I ran the /usr/lib/ldap/idsconfig script to setup the DS. This is sort of how it went (copied from another doc):</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">It is strongly recommended that you BACKUP the directory server <br />
&nbsp;before running idsconfig. </p>
<p>&nbsp;Hit Ctrl-C at any <span class="kw1">time</span> before the final confirmation to <span class="kw3">exit</span>. </p>
<p>&nbsp;Do you wish to <span class="kw3">continue</span> with server setup <span class="br0">&#40;</span>y/n/h<span class="br0">&#41;</span>? <span class="br0">&#91;</span>n<span class="br0">&#93;</span> y <br />
&nbsp;Enter the iPlanet Directory Server<span class="st0">&#8216;s (iDS) hostname to setup: ldap2 <br />
&nbsp;Enter the port number for iDS (h=help): [389] 389 <br />
&nbsp;Enter the directory manager DN: [cn=Directory Manager] cn=Directory Manager <br />
&nbsp;Enter passwd for cn=Directory Manager : <br />
&nbsp;Enter the domainname to be served (h=help): [ldap2.example.com] ldap2.example.com <br />
&nbsp;Enter LDAP Base DN (h=help): [dc=example,dc=com] dc=example,dc=com<br />
&nbsp;Enter the profile name (h=help): [default] default <br />
&nbsp;Default server list (h=help): [192.168.1.2] 192.168.1.2 <br />
&nbsp;Preferred server list (h=help): <br />
&nbsp;Choose desired search scope (one, sub, h=help): &nbsp;[one] one <br />
&nbsp;The following are the supported credential levels: <br />
&nbsp; &nbsp;1 &nbsp;anonymous <br />
&nbsp; &nbsp;2 &nbsp;proxy <br />
&nbsp; &nbsp;3 &nbsp;proxy anonymous <br />
&nbsp;Choose Credential level [h=help]: [1] 2 <br />
&nbsp;The following are the supported Authentication Methods: <br />
&nbsp; &nbsp;1 &nbsp;none <br />
&nbsp; &nbsp;2 &nbsp;simple <br />
&nbsp; &nbsp;3 &nbsp;sasl/DIGEST-MD5 <br />
&nbsp; &nbsp;4 &nbsp;tls:simple <br />
&nbsp; &nbsp;5 &nbsp;tls:sasl/DIGEST-MD5 <br />
&nbsp;Choose Authentication Method (h=help): [1] 2 </p>
<p>&nbsp;Current authenticationMethod: simple </p>
<p>&nbsp;Do you want to add another Authentication Method? n <br />
&nbsp;Do you want the clients to follow referrals (y/n/h)? [n] y <br />
&nbsp;Do you want to modify the server timelimit value (y/n/h)? [n] n <br />
&nbsp;Do you want to modify the server sizelimit value (y/n/h)? [n] n <br />
&nbsp;Do you want to store passwords in &quot;crypt&quot; format (y/n/h)? [n] y <br />
&nbsp;Do you want to setup a Service Authentication Methods (y/n/h)? [n] n <br />
&nbsp;Client search time limit in seconds (h=help): [30] <br />
&nbsp;Profile Time To Live in seconds (h=help): [43200] <br />
&nbsp;Bind time limit in seconds (h=help): [10] <br />
&nbsp;Do you wish to setup Service Search Descriptors (y/n/h)? [n] n <br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Summary of Configuration </p>
<p>&nbsp; &nbsp;1 &nbsp;Domain to serve &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : example.com <br />
&nbsp; &nbsp;2 &nbsp;Base DN to setup &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: dc=example,dc=com <br />
&nbsp; &nbsp;3 &nbsp;Profile name to create &nbsp; &nbsp; &nbsp; &nbsp;: default <br />
&nbsp; &nbsp;4 &nbsp;Default Server List &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 192.168.1.2<br />
&nbsp; &nbsp;5 &nbsp;Preferred Server List &nbsp; &nbsp; &nbsp; &nbsp; : <br />
&nbsp; &nbsp;6 &nbsp;Default Search Scope &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: one <br />
&nbsp; &nbsp;7 &nbsp;Credential Level &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: proxy <br />
&nbsp; &nbsp;8 &nbsp;Authentication Method &nbsp; &nbsp; &nbsp; &nbsp; : simple <br />
&nbsp; &nbsp;9 &nbsp;Enable Follow Referrals &nbsp; &nbsp; &nbsp; : TRUE <br />
&nbsp; 10 &nbsp;iDS Time Limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <br />
&nbsp; 11 &nbsp;iDS Size Limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <br />
&nbsp; 12 &nbsp;Enable crypt password storage : TRUE <br />
&nbsp; 13 &nbsp;Service Auth Method pam_ldap &nbsp;: <br />
&nbsp; 14 &nbsp;Service Auth Method keyserv &nbsp; : <br />
&nbsp; 15 &nbsp;Service Auth Method passwd-cmd: <br />
&nbsp; 16 &nbsp;Search Time Limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 30 <br />
&nbsp; 17 &nbsp;Profile Time to Live &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 43200 <br />
&nbsp; 18 &nbsp;Bind Limit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 10 <br />
&nbsp; 19 &nbsp;Service Search Descriptors Menu </p>
<p>&nbsp;Enter config value to change: (1-19 0=commit changes) [0] 0 </p>
<p>&nbsp;Enter DN for proxy agent:<br />
[cn=proxyagent,ou=profile,dc=example,dc=com] <br />
&nbsp;Enter passwd for proxyagent: <br />
&nbsp;Re-enter passwd: <br />
&nbsp; &nbsp;<br />
&nbsp;WARNING: About to start committing changes. (y=continue, n=EXIT) y </p>
<p>&nbsp; &nbsp;1. Changed passwordstoragescheme to &quot;crypt&quot; in cn=config. <br />
&nbsp; &nbsp;2. Schema attributes have been updated. <br />
&nbsp; &nbsp;3. Schema objectclass definitions have been added. <br />
&nbsp; &nbsp;4. NisDomainObject added to dc=example,dc=com. <br />
&nbsp; &nbsp;5. Top level &quot;ou&quot; containers complete. <br />
&nbsp; &nbsp;6. automount maps: auto_home auto_direct auto_master auto_shared<br />
processed. <br />
&nbsp; &nbsp;7. ACI for dc=example,dc=com modified to disable self modify. <br />
&nbsp; &nbsp;8. Add of VLV Access Control Information (ACI). <br />
&nbsp; &nbsp;9. Proxy Agent cn=proxyagent,ou=profile,dc=example,dc=com added. <br />
&nbsp; &nbsp;10. Give cn=proxyagent,ou=profile,dc=example,dc=com read permission for password. <br />
&nbsp; &nbsp;11. Generated client profile and loaded on server. <br />
&nbsp; &nbsp;12. Processing eq,pres indexes: <br />
&nbsp; &nbsp; &nbsp; &nbsp;ipHostNumber (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;uidNumber (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;ipNetworkNumber (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;gidnumber (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;oncrpcnumber (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;automountKey (eq,pres) &nbsp; Finished indexing. <br />
&nbsp; &nbsp;13. Processing eq,pres,sub indexes: <br />
&nbsp; &nbsp; &nbsp; &nbsp;membernisnetgroup (eq,pres,sub) &nbsp; Finished indexing. <br />
&nbsp; &nbsp; &nbsp; &nbsp;nisnetgrouptriple (eq,pres,sub) &nbsp; Finished indexing. <br />
&nbsp; &nbsp;14. Processing VLV indexes: <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.getgrent vlv_index &nbsp; Entry created <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.gethostent vlv_index &nbsp; Entry created <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.getnetent vlv_index &nbsp; Entry created <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.getpwent vlv_index &nbsp; Entry created <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.getrpcent vlv_index &nbsp; Entry created <br />
&nbsp; &nbsp; &nbsp; &nbsp;example.com.getspent vlv_index &nbsp; Entry created </p>
<p>&nbsp;idsconfig: Setup of iDS server ldap2 is complete. <br />
&nbsp; &nbsp;</p>
<p>&nbsp;Note: idsconfig has created entries for VLV indexes. &nbsp;Use the <br />
&nbsp; &nbsp; &nbsp; &nbsp;directoryserver(1m) script on ldap2 to stop <br />
&nbsp; &nbsp; &nbsp; &nbsp;the server and then enter the following vlvindex <br />
&nbsp; &nbsp; &nbsp; &nbsp;sub-commands to create the actual VLV indexes: </p>
<p>
&nbsp;directoryserver -s &amp;lt;server -instance&amp;gt; vlvindex -n userRoot -T example.com.getgrent <br />
&#8230;much deleted&#8230;<br />
&nbsp;directoryserver -s &amp;lt;server -instance&amp;gt; vlvindex -n userRoot -T example.com.getspent</span></div>
</div>
<p>Unfortunately the &#8220;directoryserver&#8221; command does not exist in Solaris 10, so i did the following:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;"><span class="kw3">cd</span> /ldapserver/slapd-ldap2<br />
./stop-slapd<br />
./vlvindex -n userRoot -T example.com.getgrent<br />
./vlvindex -n userRoot -T example.com.gethostent<br />
./vlvindex -n userRoot -T example.com.getnetent<br />
./vlvindex -n userRoot -T example.com.getpwent<br />
./vlvindex -n userRoot -T example.com.getrpcent<br />
./vlvindex -n userRoot -T example.com.getspent<br />
./vlvindex -n userRoot -T example.com.getauhoent<br />
./vlvindex -n userRoot -T example.com.getsoluent<br />
./vlvindex -n userRoot -T example.com.getauduent<br />
./vlvindex -n userRoot -T example.com.getauthent<br />
./vlvindex -n userRoot -T example.com.getexecent<br />
./vlvindex -n userRoot -T example.com.getprofent<br />
./vlvindex -n userRoot -T example.com.getmailent<br />
./vlvindex -n userRoot -T example.com.getbootent<br />
./vlvindex -n userRoot -T example.com.getethent<br />
./vlvindex -n userRoot -T example.com.getngrpent<br />
./vlvindex -n userRoot -T example.com.getipnent<br />
./vlvindex -n userRoot -T example.com.getmaskent<br />
./vlvindex -n userRoot -T example.com.getprent<br />
./vlvindex -n userRoot -T example.com.getip4ent<br />
./vlvindex -n userRoot -T example.com.getip6ent<br />
./start-slapd</div>
</div>
<p>(I installed the ldap server to /ldapserver)</p>
<p>Now that the indexes are created we can go on to the next step of modifying the schema.</p>
<p><strong>Step 4: Importing new schema</strong><br />
Now I can import the AIXAttributes.ldif and the AIXObjectClasses.ldif files to my fresh newly installed server:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">ldapmodify -D<span class="st0">&quot;cn=Directory Manager&quot;</span> -<span class="kw2">w</span> MySuperSecretPass -h localhost -f AIXAttributes.ldif<br />
ldapmodify -D<span class="st0">&quot;cn=Directory Manager&quot;</span> -<span class="kw2">w</span> MySuperSecretPass -h localhost -f AIXObjectClasses.ldif</div>
</div>
<p>All should go well on the above imports. There were a couple of quirks that I found when creating the files, like how IBM uses one OID for a value when Sun uses a different one.</p>
<p><strong>Step 5: Creating an OU for AIX data</strong><br />
By this time I have fired up the Console for the LDAP server and was doing things through the gui. The first thing I did was create a new OU for my aix data, i.e. ou=aixdata,dc=example,dc=com. This OU is where all my AIX stuff will be, the ou=people,dc=example,dc=com will be where my Sun users will go. (Can&#8217;t combine them yet because of massive amounts of differing UIDS between the AIX users and Sun Users).</p>
<p>After creating this, create 2 more OU&#8217;s under the aixdata. The first one will be for all users, ou=aixuser,ou=aixdata,dc=example,dc=com. The second will be for group information, ou=aixgroup,ou=aixdata,dc=example,dc=com.</p>
<p><strong>Step 6: Create and AIX LDAP Admin Account</strong><br />
Because of how the AIX servers need to connect and get/put info into ldap, you will need to create an account that has read/write access to the 2 new ou&#8217;s you created. (This account is sort of similar to the Sun proxyagent account created with the idsconfig). I created my user, uid=aixldap,ou=aixdata,dc=example,dc=com. Also set the password for it to never expire (if you make it expire, you will have to update every AIX server every time the password expires). Once this user is created give it full read/write access to the ou=aixuser and ou=aixgroup with ACI&#8217;s.</p>
<p><strong>Step 7: Export info from IBM LDAP</strong><br />
Since I am planning on moving from IBM LDAP to Sun LDAP I need to export the data from my IBM LDAP to an ldif format:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">db2ldif -o /tmp/ldapexport.ldif</div>
</div>
<p>Do the above on the IBM LDAP server, it will put a file called /tmp/ldapexport.ldif. But now I need to &#8220;clean&#8221; some stuff out of it. Some of the stuff I need to remove is anything that is not User and Group related. For example I had IBM LDAP Replication setup so there are a ton of entries for that.  (so the only thing you should have in your ldif file are entries for the dn&#8217;s like username=*,ou=aixuser,ou=aixdata,dc=example,dc=com and groupname=*,ou=aixgroup,dc=example,dc=com<br />
)</p>
<p><strong>Step 8: Import users and groups</strong><br />
Next I imported the cleaned file:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">ldapadd -D<span class="st0">&quot;cn=Directory Manager&quot;</span> -<span class="kw2">w</span> SuperSecret -f /tmp/ldapexport.ldif</div>
</div>
<p>Now all your users and groups should be in the new ldap server. </p>
<p><strong>Step 9: Misc config in Sun LDAP</strong><br />
Some other stuff I did was add a couple indexes to the non-standard attributes that AIX uses:<br />
groupname<br />
username<br />
hostsallowedlogin</p>
<p>The hostsallowedlogin allows us to put an entry in the persons LDAP entry to say which hosts they can log in to. If the attribute does not exist they can log in to any host that is served by this LDAP server. But if they have a value in this attribute, they can only log in to those host(s). (there is also a hostsdeniedlogin, which is the opposite of the hostsallowedlogin, if you want them to log in to every machine but one you can just populate that single host in to the hostsdeniedlogin).</p>
<p><strong>Step 10: Configure AIX to talk to ldap server</strong><br />
One of the fall backs I don&#8217;t like about LDAP on AIX is that you have to have a local ldap user, and the ldap client software does not come with the base os. So you will have to install the ldap.client.adt and ldap.client.rte (probably don&#8217;t need the adt, but I install it anyways). During this install it usually creates the ldap user and group, which is never where we want it so either create an ldap group and ldap user before you install it, or after it is installed do the following, change the userid and groupid to what you want it to be in /etc/passwd and /etc/group and then run:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;"><span class="kw2">find</span> / -user OLDID -<span class="kw3">exec</span> <span class="kw2">chown</span> -h ldap <span class="br0">&#123;</span><span class="br0">&#125;</span> \;<br />
<span class="kw2">find</span> / -group OLDID -<span class="kw3">exec</span> <span class="kw2">chgrp</span> -h ldap <span class="br0">&#123;</span><span class="br0">&#125;</span> \;</div>
</div>
<p>Now we can run the mksecldap command:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">mksecldap -c -h <span class="st0">&#8216;ldap2.example.com&#8217;</span> \<br />
-a <span class="st0">&#8216;uid=aixldap,ou=aixdata,dc=example,dc=com&#8217;</span> -p <span class="st0">&#8216;myp@ss&#8217;</span> &nbsp;\<br />
-d <span class="st0">&#8216;ou=aixdata,dc=example,dc=com&#8217;</span> -n <span class="st0">&#8217;389&#8242;</span> -t <span class="st0">&#8217;0&#8242;</span> -T <span class="st0">&#8217;100&#8242;</span></div>
</div>
<p>The above is all on one line. You must make sure the -t is set to 0, if it is not then you will get some weirdness that I will talk about later. </p>
<p>Once this is done, then you need to tell AIX that it is to look in LDAP for it&#8217;s info, you will need to edit another file /etc/security/user:</p>
<p>in the &#8220;default:&#8221; stanza, you will need to change the SYSTEM variable to LDAP, and add a registry variable with the value of LDAP. </p>
<p>I.E.:</p>
<div class="codesnip-container" >default:<br />
        admin = false<br />
        login = true<br />
        su = true<br />
        daemon = true<br />
        rlogin = true<br />
        sugroups = ALL<br />
        admgroups =<br />
        ttys = ALL<br />
        auth1 = SYSTEM<br />
        auth2 = NONE<br />
        tpath = nosak<br />
        umask = 022<br />
        expires = 0<br />
        <strong>SYSTEM = LDAP<br />
        registry = LDAP</strong><br />
        logintimes =<br />
        pwdwarntime = 0<br />
        account_locked = false<br />
        loginretries = 0<br />
        histexpire = 0<br />
        histsize = 0<br />
        minage = 0<br />
        maxage = 0<br />
        maxexpired = -1<br />
        minalpha = 0<br />
        minother = 0<br />
        minlen = 0<br />
        mindiff = 0<br />
        maxrepeats = 8<br />
        dictionlist =<br />
        pwdchecks =</div>
<p>Now you should be able to do an id username, and see some results:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">AIXHost&gt; <span class="kw2">id</span> unixwiz<br />
<span class="re2">uid=</span><span class="nu0">106</span><span class="br0">&#40;</span>unixwiz<span class="br0">&#41;</span> <span class="re2">gid=</span><span class="nu0">1</span><span class="br0">&#40;</span>staff<span class="br0">&#41;</span> <span class="re2">groups=</span><span class="nu0">0</span><span class="br0">&#40;</span>system<span class="br0">&#41;</span>,<span class="nu0">7</span><span class="br0">&#40;</span>security<span class="br0">&#41;</span>,<span class="nu0">9</span><span class="br0">&#40;</span>printq<span class="br0">&#41;</span></div>
</div>
<p>Next up try logging in remotely (you may have to create your home directory first). It should work.</p>
<p><strong>Some Notes</strong></p>
<ol>
<li>If you do not set the cachetimeout to be 0, if you change a users password as root, the user will get thrown in to a loop of changing their passwords. I.E. They will never be able to login as everytime they login it will say their password has expired and make them change it again and then it will kick them off (ie close their ssh session). Lather/rinse/repeat.</li>
<li>After importing the users from an existing IBM server, you can delete the IBM-ENTRYUUID and the control attributes, they are for IBM DS only and have no use in Sun&#8217;s LDAP.</li>
<li>Any problems on the import/etc, make sure to look at the ldap server error logs (/ldapserver/slapd-ldap2/logs/error_log) it should tell you exactly what is wrong.</li>
<li>If you replicate this LDAP server, you should probably do a Master/Master relationship because of how AIX always stores info about last logins/etc in LDAP. I have not tested yet if it can follow referrals yet.</li>
</ol>
<p>Here are the two files I was talking about:</p>
<p><a href="/unixwiz/data/2007-02-27/AIXAttributes.ldif">AIXAttributes.ldif</a><br />
<a href="/unixwiz/data/2007-02-27/AIXObjectClasses.ldif">AIXObjectClasses.ldif</a></p>
<p>Some other links:<br />
<a href="http://www.redbooks.ibm.com/abstracts/sg247165.html?Open">IBM&#8217;s Redbook : Integrating AIX into Heterogeneous LDAP Environments</a>, which I found was missing some stuff</p>
<p><a href="http://sunsolve.sun.com/search/document.do?assetkey=1-9-67966-1">Sun&#8217;s Cookbook for Solaris 8 client with Directory Server 5.1/Solaris 9</a> which I follow some times if I need to connect Solaris 8 machines in.</p>
<p>Hope this helps some one, if it does leave me a message.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/IBM" rel="tag">IBM</a>, <a href="http://technorati.com/tag/Sun" rel="tag">Sun</a>, <a href="http://technorati.com/tag/LDAP" rel="tag">LDAP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2007/02/27/aix-ldap-to-sun-ldap-in-5-semi-easy-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 days with Windows Vista</title>
		<link>http://blogs.sungeek.net/unixwiz/2007/01/30/4-days-with-windows-vista/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2007/01/30/4-days-with-windows-vista/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 01:07:01 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[M$ Winders]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=708</guid>
		<description><![CDATA[We got our copy of Windows Vista at work the other day. So I decided to see just how well my Sun Ultra 20 M2 would run it. Needless to say, the Ultra 20 M2 only scored a 5.2 out of 10 on the Microsoft User Experience scale (it&#8217;s built in thingy).. That is pretty [...]]]></description>
			<content:encoded><![CDATA[<p>We got our copy of Windows Vista at work the other day. So I decided to see just how well my Sun Ultra 20 M2 would run it. Needless to say, the Ultra 20 M2 only scored a 5.2 out of 10 on the Microsoft User Experience scale (it&#8217;s built in thingy).. That is pretty bad considering it has a Quadro FX 1500 Graphics Accelerator, 1 Dual-Core AMD Opteron &#8211; Model 1218, 2 GB of ram, and 2 x 250 GB SATA harddrives. It does run the Aero interface, but every time you open a window or any of those special effects happen it pegs the CPU at between 30 and 40%. Chris tried it on his Ultra 20 (original version), and it would only scored a 2.X and would not run the Aero interface. But now I am stuck with Vista on the machine  (which also has Solaris 10 and XP on it) since Vista some how hosed my XP installation. So I will now list my complaints about it:</p>
<ol>
<li>Install took 3 reboots to install. You would think that since it is delivered on DVD, that it would only need 1 boot, and then you are done.</li>
<li>Too many popup&#8217;s. Every time you download a program to install, or try to run something it constantly asks are you sure you want to run this?</li>
<li>You can not set Firefox as the default browser. I tell Firefox every time it starts to make it the default browser, and as soon as you close it IE becomes the default again. I even changed it in the Default Program&#8217;s settings in Windows and it never sticks.</li>
<li>During the Install it asks you to create an account, this account is automatically given Administrator rights still, and even with Admin rights it still keeps asking you all the questions.</li>
<li>Before I changed the start menu to the classic mode, I clicked what I thought was the &#8220;shutdown&#8221; icon. The machine immediately went to sleep. It took me unplugging the power from the machine to get it to boot right again. I think this is how they are trying to say that Vista boots so fast, when it never really is booting just resuming from hibernate mode.</li>
<li>The desktop icons are either freakishly huge or small and crappy, no real in between.</li>
<li>The pop-ups, did I mention that already, I will get screen shots later, but they are so annoying</li>
<li>The constant popping/fading of windows. Every time an application opens a new window it will pop and fade in/out. How annoying..</li>
<li>Activation failed every time with some &#8220;DNS&#8221; error.. Ended up going in and clicking on the &#8220;Change Product Key&#8221; and typing the same product key in and it all of the sudden said it was activated.</li>
<li>Control Panel is almost completely different, new names for old stuff</li>
<li>Logging, take a look in the system log stuff and see all the stuff that it logs, install Office 2007 and see any more of what is logged.</li>
</ol>
<p>Overall I am not impressed at all. If you put it besides Mac OS X, it is trying to mimic everything, but is so badly done that it requires a huge machine to run it on. </p>
<p>And if you did not see The Daily Show last night on Comedy Central, John Stewart was interviewing Bill Gates about Vista, it was a very funny interview and John kept trying to get Bill&#8217;s password out of him. Sorry Bill but this is one OS i will not be installing on my home PC. </p>
<p>(N.B. The version of Windows Vista I was using was the Enterprise Edition.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2007/01/30/4-days-with-windows-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPAM Numbers</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/12/04/spam-numbers/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/12/04/spam-numbers/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 02:43:26 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Random Stuff]]></category>
		<category><![CDATA[Spam Fighting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=686</guid>
		<description><![CDATA[I rewrote the spam statistics stuff the other night and now it is reporting a more &#8220;accurate&#8221; statistics.. Just for yesterday alone: Mail Statistics for 2006-12-03 Stat Value Total Number of Messages: 3,080,116 Good Messages: 262,685 (8.53 %) Aborted Messages: 24,511 (0.80 %) Quarantined Messages: 511,046 (16.59 %) Rejected Messages: 1,609,575 (52.26 %) Virus Messages: [...]]]></description>
			<content:encoded><![CDATA[<p>I rewrote the spam statistics stuff the other night and now it is reporting a more &#8220;accurate&#8221; statistics.. Just for yesterday alone:</p>
<table border="0">
<tbody>
<tr bgcolor="#f0f0f0">
<td colspan="2" align="center"><b>Mail Statistics for 2006-12-03</b></td>
</tr>
<tr bgcolor="#f0f0f0">
<td align="center"><b>Stat</b></td>
<td align="center"><b>Value</b></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Total Number of Messages:</font></b></td>
<td> 3,080,116</td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Good Messages:</font></b></td>
<td><font color="green">262,685 (8.53 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Aborted Messages:</font></b></td>
<td><font color="red">24,511 (0.80 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Quarantined Messages:</font></b></td>
<td><font color="red">511,046 (16.59 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Rejected Messages:</font></b></td>
<td><font color="red">1,609,575 (52.26 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Virus Messages:</font></b></td>
<td><font color="red">0 (0.00 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Discarded Messages:</font></b></td>
<td><font color="red">672,299 (21.83 %)</font></td>
</tr>
<tr>
<td align="right"><b><font face="arial" size="-1">Total Bad Messages:</font></b></td>
<td><font color="red">2,817,431 (91.47 %)</font></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/12/04/spam-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam is on the rise</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/11/29/spam-is-on-the-rise/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/11/29/spam-is-on-the-rise/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 05:06:05 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Spam Fighting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=679</guid>
		<description><![CDATA[Was looking at one of our incoming servers tonight for yesterday&#8217;s mail stats, here is what I found: Item Number Percent of Total Aborted Messages 10,011 ~2% Accepted Messages 42,220 ~8% Discarded Messages 111,782 ~22% Quarantined Messages 52,612 ~10% Rejected Messages 288,503 ~57% Total Messages 505,128 &#160; Now if you add up the Aborted/Discarded/Quarantined/Rejected you [...]]]></description>
			<content:encoded><![CDATA[<p>Was looking at one of our incoming servers tonight for yesterday&#8217;s mail stats, here is what I found:</p>
<table border=1>
<tr bgcolor=#CCCCCC>
<td>Item</td>
<td>Number</td>
<td>Percent of Total</td>
</tr>
<tr>
<td>Aborted Messages</td>
<td>10,011</td>
<td>~2%</td>
</tr>
<tr>
<td>Accepted Messages</td>
<td>42,220</td>
<td>~8%</td>
</tr>
<tr>
<td>Discarded Messages</td>
<td>111,782</td>
<td>~22%</td>
</tr>
<tr>
<td>Quarantined Messages</td>
<td>52,612</td>
<td>~10%</td>
</tr>
<tr>
<td>Rejected Messages</td>
<td>288,503</td>
<td>~57%</td>
</tr>
<tr>
<td>Total Messages</td>
<td>505,128</td>
<td>&nbsp;</td>
</tr>
</table>
<p>Now if you add up the Aborted/Discarded/Quarantined/Rejected you get 462,908 messages, which gives you about 92% of the mail coming in was listed as spam. And this is just for 1 of 7 incoming servers we have. If I were to expand this by 7 (assuming all were equal, which they are not), then there would be 3.5 million messages coming in and 3.2 million spam messages. </p>
<p>And based on <a href="http://edition.cnn.com/2006/WORLD/europe/11/27/uk.spam.reut/">this article on CNN</a> looks like we are right on the money. If only we could block all gif images in email I think we could get the number a little higher on the catch rate.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/11/29/spam-is-on-the-rise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How long to scan 6.4 million messages?</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/11/13/how-long-to-scan-64-million-messages/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/11/13/how-long-to-scan-64-million-messages/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 20:04:04 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Spam Fighting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=669</guid>
		<description><![CDATA[Earlier I had started a job to clean up the PostgreSQL database on our main spam machine, here are some stats: To reindex 6.4 million messages, 7+ hours To reimport the header information of those messages back in to PostgreSQL: 38 hours 28 minutes, 29 seconds. What is the outcome of this? The Spam DB [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.sungeek.net/unixwiz/?p=668">Earlier</a> I had started a job to clean up the PostgreSQL database on our main spam machine, here are some stats:</p>
<p>To reindex 6.4 million messages, 7+ hours<br />
To reimport the header information of those messages back in to PostgreSQL: 38 hours 28 minutes, 29 seconds.</p>
<p>What is the outcome of this? The Spam DB went from 80+ gig down to 7.5Gig and the searchs are MUCH faster now. Hopefully this will fix some of the problems we have been having over the last week with people trying to release their spam messages.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/11/13/how-long-to-scan-64-million-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL fun</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/11/11/postgressql-fun/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/11/11/postgressql-fun/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 19:58:08 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Spam Fighting]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=668</guid>
		<description><![CDATA[Found out last night that our SPAM server&#8217;s database was a little corrupted.. It is a PostgreSQL DB and it was over 80 gigs in size. So today I have spent so far 3+ hours getting it rebuilt.. First deleted (moved out of the way) the entire postgres directory and reinstalled it and populated some [...]]]></description>
			<content:encoded><![CDATA[<p>Found out last night that our SPAM server&#8217;s database was a little corrupted.. It is a PostgreSQL DB and it was over 80 gigs in size. So today I have spent so far 3+ hours getting it rebuilt.. First deleted (moved out of the way) the entire postgres directory and reinstalled it and populated some config info back in to it. Now comes the long task of reindexing the spam queue. Right now there are 5.5 million messages (just from the last 8 days) in the queue and the reindex has been running for only about 30 minutes, and it is only 8% done. going on that, looks like I will be here for a while. but since it is pouring the rain down outside, not much I can do any ways.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/11/11/postgressql-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TSM on Solaris with ZFS</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/11/11/tsm-on-solaris-with-zfs/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/11/11/tsm-on-solaris-with-zfs/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 19:51:52 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tivoli]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=667</guid>
		<description><![CDATA[Forgot to mention that I have tried using TSM (Tivoli Storage Manager) client on Solaris againest a ZFS file system. From what I can tell it works fine&#8230; I have backed up and restored some files with it. When looking at the TSM Server it lists the file system as &#8220;unknown&#8221;, but so far everything [...]]]></description>
			<content:encoded><![CDATA[<p>Forgot to mention that I have tried using TSM (Tivoli Storage Manager) client on Solaris againest a ZFS file system. From what I can tell it works fine&#8230; I have backed up and restored some files with it. When looking at the TSM Server it lists the file system as &#8220;unknown&#8221;, but so far everything has been ok with it. </p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Solaris" rel="tag">Solaris</a>, <a href="http://technorati.com/tag/ZFS" rel="tag">ZFS</a>, <a href="http://technorati.com/tag/TSM" rel="tag">TSM</a>, <a href="http://technorati.com/tag/Tivoli" rel="tag">Tivoli</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/11/11/tsm-on-solaris-with-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To compile or use binaries</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/11/01/to-compile-or-use-binaries/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/11/01/to-compile-or-use-binaries/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 03:03:57 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=660</guid>
		<description><![CDATA[Recently we setup a new Sun Ray server, and when people tried to use gaim it would keep saying that there were no protocols available. So we decided to install Gaim from blastwave.org like we did on the previous Sun Ray server. Well as Justin was installing it, (we have a local mirror), it was [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we setup a new Sun Ray server, and when people tried to use gaim it would keep saying that there were no protocols available. So we decided to install Gaim from <a href="http://blastwave.org">blastwave.org</a> like we did on the previous Sun Ray server. Well as Justin was installing it, (we have a local mirror), it was taking for ever and he messaged me about why it was installing firefox? I did not know so I told him to stop it and I would just look in to making the version of Gaim that comes with Solaris 10 work correctly (which happened to be making a sym link from /usr/share to /share and one form /usr/lib/gaim to /lib/gaim, and everything works, supposedly this fix will be in Solaris 10 U3?)..</p>
<p>Anyways tonight I took a freshly installed zone on my home server and installed Gaim on it from blastwave, 67 packages and 402 Meg later it is installed. Here is a list of the packages it installs, and the size of them in bytes:</p>
<table border=0>
<tr>
<td>Package Name</td>
<td>Package Size in Byte</td>
</tr>
<tr>
<td>CSWmozilla </td>
<td>72,840,704</td>
</tr>
<tr>
<td>CSWfirefox </td>
<td>42,207,744</td>
</tr>
<tr>
<td>CSWgtk2 </td>
<td>38,885,888</td>
</tr>
<tr>
<td>CSWbdb4 </td>
<td>35,985,920</td>
</tr>
<tr>
<td>CSWossl </td>
<td>23,761,920</td>
</tr>
<tr>
<td>CSWgaim </td>
<td>16,473,088</td>
</tr>
<tr>
<td>CSWevolution-ds </td>
<td>16,209,408</td>
</tr>
<tr>
<td>CSWgnomepanel </td>
<td>10,492,928</td>
</tr>
<tr>
<td>CSWglib2 </td>
<td>8,461,312</td>
</tr>
<tr>
<td>CSWlibxml2 </td>
<td>8,178,688</td>
</tr>
<tr>
<td>CSWgnomevfs2 </td>
<td>6,573,568</td>
</tr>
<tr>
<td>CSWlibgnomeui </td>
<td>5,691,904</td>
</tr>
<tr>
<td>CSWgconf2 </td>
<td>5,390,848</td>
</tr>
<tr>
<td>CSWkrb5lib </td>
<td>4,829,184</td>
</tr>
<tr>
<td>CSWgcc3g++rt </td>
<td>4,810,240</td>
</tr>
<tr>
<td>CSWggettext </td>
<td>4,719,616</td>
</tr>
<tr>
<td>CSWfortune </td>
<td>4,470,272</td>
</tr>
<tr>
<td>CSWgnutls </td>
<td>4,464,640</td>
</tr>
<tr>
<td>CSWaspell </td>
<td>4,230,144</td>
</tr>
<tr>
<td>CSWbonobo2 </td>
<td>3,609,088</td>
</tr>
<tr>
<td>CSWmeanwhile </td>
<td>3,445,248</td>
</tr>
<tr>
<td>CSWgcrypt </td>
<td>3,351,040</td>
</tr>
<tr>
<td>CSWpango </td>
<td>3,275,776</td>
</tr>
<tr>
<td>CSWoldaprt </td>
<td>3,089,920</td>
</tr>
<tr>
<td>CSWsambalib </td>
<td>3,061,248</td>
</tr>
<tr>
<td>CSWlibcairo </td>
<td>2,911,232</td>
</tr>
<tr>
<td>CSWreadline </td>
<td>2,718,720</td>
</tr>
<tr>
<td>CSWaudiofile </td>
<td>2,415,104</td>
</tr>
<tr>
<td>CSWtiff </td>
<td>2,357,248</td>
</tr>
<tr>
<td>CSWgnomedesktop </td>
<td>2,317,312</td>
</tr>
<tr>
<td>CSWlibbonoboui </td>
<td>2,031,104</td>
</tr>
<tr>
<td>CSWiconv </td>
<td>1,900,032</td>
</tr>
<tr>
<td>CSWorbit2 </td>
<td>1,878,528</td>
</tr>
<tr>
<td>CSWftype2 </td>
<td>1,809,920</td>
</tr>
<tr>
<td>CSWbzip2 </td>
<td>1,754,112</td>
</tr>
<tr>
<td>CSWsasl </td>
<td>1,675,264</td>
</tr>
<tr>
<td>CSWlibgnome </td>
<td>1,673,216</td>
</tr>
<tr>
<td>CSWlibatk </td>
<td>1,617,920</td>
</tr>
<tr>
<td>CSWfconfig </td>
<td>1,457,152</td>
</tr>
<tr>
<td>CSWlibsoup2 </td>
<td>1,251,840</td>
</tr>
<tr>
<td>CSWlibgnomecanvas </td>
<td>1,244,160</td>
</tr>
<tr>
<td>CSWpng </td>
<td>781,312</td>
</tr>
<tr>
<td>CSWgnomemenus </td>
<td>762,368</td>
</tr>
<tr>
<td>CSWgnomekeyring </td>
<td>642,560</td>
</tr>
<tr>
<td>CSWexpat </td>
<td>485,376</td>
</tr>
<tr>
<td>CSWlibart </td>
<td>446,976</td>
</tr>
<tr>
<td>CSWlibcups </td>
<td>443,904</td>
</tr>
<tr>
<td>CSWlibidl </td>
<td>412,672</td>
</tr>
<tr>
<td>CSWopencdk </td>
<td>379,392</td>
</tr>
<tr>
<td>CSWlibglade2 </td>
<td>330,752</td>
</tr>
<tr>
<td>CSWjpeg </td>
<td>326,144</td>
</tr>
<tr>
<td>CSWlibxft2 </td>
<td>295,936</td>
</tr>
<tr>
<td>CSWzlib </td>
<td>236,544</td>
</tr>
<tr>
<td>CSWlibnet </td>
<td>229,888</td>
</tr>
<tr>
<td>CSWesound </td>
<td>219,136</td>
</tr>
<tr>
<td>CSWfam </td>
<td>215,040</td>
</tr>
<tr>
<td>CSWsunmath </td>
<td>208,896</td>
</tr>
<tr>
<td>CSWgpgerr </td>
<td>179,712</td>
</tr>
<tr>
<td>CSWlibpopt </td>
<td>154,624</td>
</tr>
<tr>
<td>CSWlibxrender </td>
<td>137,728</td>
</tr>
<tr>
<td>CSWlibao </td>
<td>131,072</td>
</tr>
<tr>
<td>CSWgtkspell </td>
<td>84,480</td>
</tr>
<tr>
<td>CSWrenderdev </td>
<td>73,728</td>
</tr>
<tr>
<td>CSWpkgget </td>
<td>60,928</td>
</tr>
<tr>
<td>CSWstartupnotif </td>
<td>57,856</td>
</tr>
<tr>
<td>CSWgcc3corert </td>
<td>40,960</td>
</tr>
<tr>
<td>CSWcommon </td>
<td>3,072</td>
</tr>
</table>
<p>Notice the first 2 packages, Firefox and Mozilla (quarter of the space used), now seemed to be required to run Gaim 2.0 for some reason. So back to my title for this post, is it better to compile your own software or use binaries? Well I guess it depends on what you want to do. I usually don&#8217;t like having more than one copy of a particular piece of software on a machine (for example I usually get firefox directly from mozilla since it seems to be a more up to date one than the blastwave one). And when looking through the list of what was installed most of that is already included in Solaris 10, so there is now two copies of each on the machine. </p>
<p>So a question to the blastwave people, any chance of building special packages just for solaris 10 that are linked againest the libraries already in solaris 10?</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/11/01/to-compile-or-use-binaries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with Sun Desktop Manager</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/10/26/fun-with-sun-desktop-manager/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/10/26/fun-with-sun-desktop-manager/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 02:10:18 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sun Ray]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=657</guid>
		<description><![CDATA[The other day I showed Chris how to install a new Sun Ray server. (this one is a 10 processor domain on a E25K, running Solaris 10, ZFS and everything new). Well we switched it over to be the primary Sun Ray server last night and noticed some slowness. So we decided to install APOC [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I showed <a href="http://www.cboyer.net/">Chris</a> how to install a new Sun Ray server. (this one is a 10 processor domain on a E25K, running Solaris 10, ZFS and everything new). Well we switched it over to be the primary Sun Ray server last night and noticed some slowness. So we decided to install <strike>APOC</strike> Sun Desktop Manager on it to see if we could disable some stuff to make the JDS enviroment run a little faster. The install of the console and server seemed to go fine, but every time we tried to run the &#8220;svcadm enable apocd/udp&#8221; it would fail and go in to maintenance mode. It seems that when ever the install happened, the info for the apocd/udp was not populated in to the inetadm..<br />
The first thing I did was look at the /var/adm/messages and saw this:</p>
<div class="codesnip-container" >Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property &#8216;name&#8217; of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid<br />
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property &#8216;endpoint_type&#8217; of instance svc:/network/apocd/udp:default is missing, inconsistent or inval<br />
id<br />
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property &#8216;isrpc&#8217; of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid<br />
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property &#8216;wait&#8217; of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid<br />
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Unspecified inetd_start method for instance svc:/network/apocd/udp:default<br />
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Invalid configuration for instance svc:/network/apocd/udp:default, placing in maintenance</div>
<p>Interesting, we then spent a while trying to figure out what was supposed to be in there. Running &#8220;inetadm -l network/apocd/udp&#8221; produced this:</p>
<div class="codesnip-container" ># inetadm -l network/apocd/udp<br />
SCOPE    NAME=VALUE<br />
Error: Required property name is missing.<br />
Error: Required property endpoint_type is missing.<br />
Error: Required property proto is missing.<br />
Error: Required property isrpc is missing.<br />
Error: Required property wait is missing.<br />
Error: Required property exec is missing.<br />
Error: Required property user is missing.<br />
default  bind_addr=&#8221;"<br />
default  bind_fail_max=-1<br />
default  bind_fail_interval=-1<br />
default  max_con_rate=-1<br />
default  max_copies=-1<br />
default  con_rate_offline=-1<br />
default  failrate_cnt=40<br />
default  failrate_interval=60<br />
default  inherit_env=TRUE<br />
default  tcp_trace=FALSE<br />
default  tcp_wrappers=FALSE</div>
<p>What I ended up doing was this:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">inetadm -m network/apocd/udp <span class="re2">name=</span>apocd<br />
inetadm -m network/apocd/udp <span class="re2">endpoint_type=</span>dgram<br />
inetadm -m network/apocd/udp <span class="re2">proto=</span>udp<br />
inetadm -m network/apocd/udp <span class="re2">isrpc=</span>FALSE<br />
inetadm -m network/apocd/udp <span class="re2">wait=</span>TRUE<br />
inetadm -m network/apocd/udp <span class="re2">exec=</span><span class="st0">&quot;/usr/lib/apoc/apocd inetdStart&quot;</span><br />
inetadm -m network/apocd/udp <span class="re2">user=</span><span class="st0">&quot;daemon&quot;</span><br />
inetadm -l network/apocd/udp<br />
SCOPE &nbsp; &nbsp;<span class="re2">NAME=</span>VALUE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">name=</span><span class="st0">&quot;apocd&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">endpoint_type=</span><span class="st0">&quot;dgram&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">proto=</span><span class="st0">&quot;udp&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">isrpc=</span>FALSE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">wait=</span>TRUE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">exec=</span><span class="st0">&quot;/usr/lib/apoc/apocd inetdStart&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="re2">user=</span><span class="st0">&quot;daemon&quot;</span><br />
default &nbsp;<span class="re2">bind_addr=</span><span class="st0">&quot;&quot;</span><br />
default &nbsp;<span class="re2">bind_fail_max=</span><span class="nu0">-1</span><br />
default &nbsp;<span class="re2">bind_fail_interval=</span><span class="nu0">-1</span><br />
default &nbsp;<span class="re2">max_con_rate=</span><span class="nu0">-1</span><br />
default &nbsp;<span class="re2">max_copies=</span><span class="nu0">-1</span><br />
default &nbsp;<span class="re2">con_rate_offline=</span><span class="nu0">-1</span><br />
default &nbsp;<span class="re2">failrate_cnt=</span><span class="nu0">40</span><br />
default &nbsp;<span class="re2">failrate_interval=</span><span class="nu0">60</span><br />
default &nbsp;<span class="re2">inherit_env=</span>TRUE<br />
default &nbsp;<span class="re2">tcp_trace=</span>FALSE<br />
default &nbsp;<span class="re2">tcp_wrappers=</span>FALSE</p>
<p>
<span class="re3"># svcs apocd/udp</span><br />
STATE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STIME &nbsp; &nbsp;FMRI<br />
maintenance &nbsp; &nbsp;<span class="nu0">11</span>:<span class="nu0">21</span>:<span class="nu0">41</span> svc:/network/apocd/udp:default<br />
<span class="re3"># svcadm disable apocd/udp</span><br />
<span class="re3"># svcadm <span class="kw3">enable</span> apocd/udp</span><br />
<span class="re3"># svcs apocd/udp</span><br />
STATE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STIME &nbsp; &nbsp;FMRI<br />
online &nbsp; &nbsp; &nbsp; &nbsp; <span class="nu0">11</span>:<span class="nu0">36</span>:<span class="nu0">52</span> svc:/network/apocd/udp:default</div>
</div>
<p>So now apoc runs, but now only part of the config stuff that I set in the Desktop Manager actually works. For example, I got the splash screen not to show, but I can&#8217;t get the default terminal to be dtterm instead of gnome-terminal (dtterm uses about 7meg of ram, whereas gnome-terminal uses about 78 meg..Take that and add about 20 users with about 10 or 15 terminal windows open and you have 2gig of ram for dtterm vs 23.4 gig of ram) So now we are trying to figure out some other performance enhancements. Thinking about putting a less intensive graphical environment on it for the people to use.</p>
<p>Any one have some good tips for speeding up a 10 x 1.2GHz UltraIII box with 16gb of ram running Solaris 10?</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Sun+Ray" rel="tag">Sun Ray</a>, <a href="http://technorati.com/tag/Solaris+10" rel="tag"> Solaris 10</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/10/26/fun-with-sun-desktop-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes in installing a Sun 3510 disk array</title>
		<link>http://blogs.sungeek.net/unixwiz/2006/10/15/notes-in-installing-a-sun-3510-disk-array/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2006/10/15/notes-in-installing-a-sun-3510-disk-array/#comments</comments>
		<pubDate>Mon, 16 Oct 2006 02:15:09 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=652</guid>
		<description><![CDATA[Spent the day with a Sun Engineer working on getting a Sun SE3510 Array installed on one of our E25K machines. Here is some background: 12 x 300gb FC drives in the array, 2 assigned as Global spares, and the rest were assigned to 2 RAID 5 arrays of 5 disks each. One array on [...]]]></description>
			<content:encoded><![CDATA[<p>Spent the day with a Sun Engineer working on getting a Sun SE3510 Array installed on one of our E25K machines. Here is some background:</p>
<p>12 x 300gb FC drives in the array, 2 assigned as Global spares, and the rest were assigned to 2 RAID 5 arrays of 5 disks each. One array on each controller. Now comes the fun part. Because of the way that the firmware on the controllers works (we have redundent controllers in the 3510 and 2 qlogic cards in the E25K domain) we had to connect 4 links between the 3510 to our San Director.  So we have something that looks sort of like this:<br />
<center><br />
<a id="p651" rel="attachment" class="imagelink" href="http://blogs.sungeek.net/unixwiz/?attachment_id=651" title="SE3510 to E25K"><img id="image651" src="http://blogs.sungeek.net/unixwiz/wp-content/uploads/2006/10/se3510toe25k.png" alt="SE3510 to E25K" border=0/></a></center></p>
<p>What this produces is 3 Luns from the primary controller and 3 luns from the secondary controller being visible on each of the qlogic cards. On the host side we are using MPxIO to handle the multipathing.  So if you are trying to do the same thing, remember that you need 4 connections from the Array to the SAN Fabric, 2 to each fabric, if you have different fabric domains. Otherwise, you will end up with only seeing half of the disks on each controller and you will not be in a redundent state. If you try to directly attach the array to the host, then you still need 4 connections and will have to use dual ported cards.. Sun needs to update the firmware on this device so you can make the luns appear on each controller with out having to use 4 different connections and still be redundent. </p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2006/10/15/notes-in-installing-a-sun-3510-disk-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
