AFP548 http://www.afp548.com Full AFP548 article feed. www@afp548.com www@afp548.com Copyright 2008 AFP548 GeekLog Fri, 09 May 2008 15:39:58 -0500 en-gb WWDC 2008 Party: Contest the First http://www.afp548.com/article.php?story=20080509153441375 http://www.afp548.com/article.php?story=20080509153441375 Fri, 09 May 2008 15:34:00 -0500 http://www.afp548.com/article.php?story=20080509153441375#comments AFP548 Site News <p>Haikus are so 2007, so this year our first contest for tickets to our WWDC 2008 bash will be...</p><p><span class="Apple-style-span">Best joke involving directory services.</span></p><p>Write up an original joke that involves directory services in some way. Then e-mail your entry to wwdc2008@afp548.com by Friday June 16th. The top 5 jokes, as picked by the admin staff here, will get 2 tickets to the party.</p><p>And you can blame Nigel for picking this contest.&nbsp;</p> AFP548.com Now Hosting Proton Pack Server http://www.afp548.com/article.php?story=20080425091047135 http://www.afp548.com/article.php?story=20080425091047135 Fri, 25 Apr 2008 09:10:00 -0500 http://www.afp548.com/article.php?story=20080425091047135#comments AFP548 Site News <p>Over the years a lot of people have been confused when setting up a Multicast-ASR (mASR) server. So far there have been two tools out there to help with this: Proton Pack Server and <a href="http://www.macworkshops.com/machelpmate/">Mac HelpMate</a>. Mac HelpMate is easy to find, but it always seems that people have had trouble tracking down Proton Pack. To that end we are now hosting the Proton Pack Server application on AFP548.com.</p><p>Take a look in our <a href="../filemgmt/index.php">downloads</a> section or click <a href="../filemgmt/visit.php?lid=73">here</a> to get started. (Download is 2.46 MB)<br /> </p> InstaDMG: Image Creation Revolution Webcast http://www.afp548.com/article.php?story=20080414170557450 http://www.afp548.com/article.php?story=20080414170557450 Mon, 14 Apr 2008 17:05:00 -0500 http://www.afp548.com/article.php?story=20080414170557450#comments Articles <p>The MacEnterprise.org group will be presenting a Webcast on InstaDMG: Image Creation Revolution on April 15, 2008 at 1:00pm EDT (10:00am PDT). </p><p>InstaDMG is revolutionizing the way that Mac sysadmins create ASR deployment images and it can help you too. More than just a tool, InstaDMG is actually a methodology for deployment image creation and testing. In this webcast we will cover both the methodology and the reference tool in detail, including a roadmap of the reference script feature&nbsp;set.</p><p>For more information on how to view the webcasts, please visit: <a href="http://macenterprise.org/content/blogcategory/113/96/">http://macenterprise.org/content/blogcategory/113/96/</a></p><p>&nbsp;</p><p>The login ID for April 15th Webcast : MacEnterprise</p><p>Passcode for April 15th Webcast is : 724412</p>Go to the following web page 5-10 minutes prior to the webcast start time: <a href="http://webcast.training.apple.com/">http://webcast.training.apple.com/</a> <p>&nbsp;</p><p>Webcast Coordinator</p><p>Macenterprise.org</p> OpenDirectory recipe for 10.4 to 10.5 Migration, keeping your SID intact http://www.afp548.com/article.php?story=20080403185017651 http://www.afp548.com/article.php?story=20080403185017651 Fri, 11 Apr 2008 16:50:17 -0500 http://www.afp548.com/article.php?story=20080403185017651#comments Articles <p>As part of some self-documentation, I posted on my personal blog exactly what works and where I found the help for getting an OpenDirectory 10.5 Server running from a 10.4 in production box. The twist is that I needed to keep my SID and other PDC functionality that I&#39;ve inherited up from 10.3.9. Yes, it can be done, and no you can&#39;t upgrade. Below is the reprint from my blog&nbsp;which I&#39;m posting here for posterity:</p> In EE we&#39;ve migrated over from various AD and OpenLDAPinstallations to what we hope is a more manageable solution long term.Sadly, upgrading OpenDirectory (MacOSX OpenLDAP-based directoryservices) from 10.4 to 10.5 doesn&#39;t work as Apple states it would.Here&#39;s the complete recipe we used to keep our data, our passwords, andmost importantly, our domain SID. Apple tends to not care aboutmaintaining the SID in various replica-to-master promotion steps.&nbsp;<p> As recommended in the above and from other postings, upgrades do not work. Rather, what needs to be done is this: </p><p>10.4 Server: </p><p>1) go to Server Admin, OpenDirectory, and under the Archive tab,generate an archive of the OpenDirectory DB. Place in admin homedirectory </p><p>2) For safe keeping, go to /var/db/samba and get the secrets.tdb file. Place in admin home directory (readable by all) </p><p>3)get the current SID by running as root/sudo &quot;net getdomainsid EE&quot; whereEE is the domain we are supporting. Place in home directory </p><p>4) copy off to a 3rd party machine the above three files/directories </p><p> 10.5 Server: </p><p>1) Install fresh, and use the exact same IP and name as the 10.4Server. You&#39;ll likely need to have these are their own net. Also notethat without a link on the primary interface, smb, dns, andopendirectory don&#39;t work. I suggest connecting to the third partymachine listed above, in my case my laptop&#39;s physical connection whichI assign to the private net </p><p>2) You&#39;ll need DNS setuptemporarily, so create a DNS server for your domain (stanford.edu) andcreate a host entry for your self. Point local network settings to selfas DNS server </p><p>3) copy over the files saved from 10.4 from the laptop/3rd party machine </p><p>4) Make an OpenDirectory Master, using the correct domain &quot;dc=ee,dc=stanford,dc=edu&quot; and correct KRB realm &quot;EE.STANFORD.EDU&quot; </p><p>5) import the archive of 10.4 </p><p>6) run as root &quot;mkpassdb -kerberize&quot; </p><p>7)Create a new PDC config for Windows. Use the directoryadminaccount/password to give samba correct access to the OpenDirectory DB </p><p>8)edit /var/db/smb.conf to fit the /etc/smb.conf entries you had on 10.4.Likely you&#39;ll want to make &quot;local path = &quot; and add &quot;admin users =directoryadmin, domainjoin, @admin&quot; or the like, where the first is thedirectory admin acct, the second is a PDC join account that can&#39;tlogin, but has directory admin rights. @admin works to include anyonein admin group </p><p>9) run as root &quot;chflags uchg /var/db/smb.conf&quot; to freeze your samba config. Recommend making a copy as well in the same dir. </p><p>10) run as root &quot;net setdomainsid (SID)&quot; where SID is the one you saved from 10.4 </p><p>11)Go into Workgroup Manager. Change preferences to enable Inspector. Gointo Inspector and select &quot;Config&quot; and then &quot;CIFSServer&quot;. The two Valuelines with &quot;xml version..&quot; need to have Edit run against them, andreplace the SID line in each with the SID you just used. </p><p>12)restart Samba/Windows services. Check SID with, as root, &quot;netgetdomainsid&quot; and &quot;net getlocalsid EE&quot; or the like. If anything didn&#39;tstick, do 10, 11 again. </p><p>13) before going live, one needs toremove reference to the local DNS in Network preferences, andoptionally disable DNS service. This setup also was only tested withWins service enabled as the WINS Server </p><p>14) test, test, testfrom Windows including domain logins, enumeration of groups in windowsfor adding domain users, etc. Logs may show if accounts are failing. </p><p>On Windows, the simple tests you can do involve the utility &quot;nltest&quot;which is in the free SUPPORT TOOLS (but may not be installed bydefault). nltest /? gives commands although OS-X samba only supportssome of them.</p><p> ..to list PDC and BDCs --- </p><p> nltest /dclist:your_domain nltest /dclist:ee </p><p> Domain &#39;ee&#39; is pre Windows 2000 domain. (Using NetServerEnum). </p><p> List of DCs in Domain ee EE-OD (PDC) </p><p> The command completed successfully</p><p> ..to verify schannel --- </p><p> nltest /sc_query:your_domain</p><p>C:&gt;nltest /sc_query:ee </p><p> Flags: 0 Trusted DC Name EE-OD</p><p> Trusted DC Connection Status Status = 0 0x0 NERR_Success</p><p> The command completed successfully</p><p>&nbsp;</p><p>To do a more detailed check, you can open the Windows Manager and tryto look at the members of the Administrator group for the machine. Whenwe had trouble, it just showed raw SID numbers, even for EEDomAdmins.Once it was fixed, then that showed correctly.</p><p> Error cheat sheet: </p><p>1. If smb logs show that directoryadmin or domainjoin and the like havethe &quot;wrong sid&quot; in passdb, you&#39;ll need to demote/promote WindowsServers to workgroup and back to PDC. You&#39;ll need to run &quot;chflagsnouchg /var/db/smb.conf&quot; first and copy back your copied version afterrepromotion as the file will be rewritten. Do step 9-12 again above </p><p>2. If kerberos isn&#39;t effectively working on clients, you may need toreimport the archive OpenDirectory, rerun &quot;mkpassdb -kerberize&quot; andfollow the above demote/promote steps.</p> What's weird using Server Admin for managing Amavis in Leopard Server http://www.afp548.com/article.php?story=20080401070048121 http://www.afp548.com/article.php?story=20080401070048121 Fri, 11 Apr 2008 07:00:48 -0500 http://www.afp548.com/article.php?story=20080401070048121#comments Articles Leopard server brings us a new interface for managing amavis in Server Admin. But, using some of the options of Server Admin&#39;s GUI doesn&#39;t modify correctly /etc/amavisd.conf and brings some weird issues <br /> <ol><li>Be careful with notification <ul><li>the defaults notification address is :</li><li> <pre>&#36;mailfrom_notify_spamadmin = &quot;spam.police@&#36;mydomain&quot;; # notifications sender</pre> </li><li>defaults quarantine addresses are :</li><li> <pre>#&#36;virus_admin = &#39;virus@your.domain&#39;;<br />#&#36;spam_admin = &#39;junk-admin@example.com&#39;;<br />#&#36;spam_quarantine_to = &#39;junk-quarantine@example.com&#39;;<br />#&#36;virus_quarantine_to = &#39;virus-quarantine@example.com&#39;;</pre> </li><li>only the following addresses will be modified with Server Admin&#39;s GUI :</li><li> <pre>#&#36;virus_admin = &#39;virus@your.domain&#39;;<br />#&#36;spam_quarantine_to = &#39;junk-quarantine@example.com&#39;;<br />#&#36;virus_quarantine_to = &#39;virus-quarantine@example.com&#39;; </pre> </li><li>if you activate notification and quarantine, without editing /etc/amavid.conf, every incoming spam will be sent to:<br /> <pre>&#39;junk-admin@example.com&#39;</pre> </li><li>example.com is an existing domain but has no MX record, all mails will stay in the &#39;deferred&#39; postfix queue!</li><li>Anthe result is : a lot of mails staying in the queue, a lot of attemptsfor redistribution, a big slow down of your server and big logs with alot of the folowing lines !</li><li> <pre>Mar 31 04:07:35 mail postfix/smtp[13211]: connect to example.com[208.77.188.166]: Operation timed out (port 25)<br />Mar 31 04:07:35 mail postfix/smtp[13211]: C401511A59D: to=&lt;junk-admin@example.com&gt;,<br /> relay=none, delay=30, delays=0.01/0.01/30/0, dsn=4.4.1, status=deferred<br /> (connect to example.com[208.77.188.166]: Operation timed out)</pre> </li></ul> </li><li>What&#39;s to do with this : <ul><li>I&#39;d rather prefer trashing spam and virus, but if you don&#39;t :</li><li>edit /etc/amavisd.conf to replace @example.com with @&#36;mydomain</li><li>create the needed mailing boxes (virus, junk-admin, etc...</li><li> <pre>#&#36;virus_admin = &#39;virus@&#36;mydomain&#39;;<br />#&#36;spam_admin = &#39;junk-admin@&#36;mydomain&#39;;<br />#&#36;spam_quarantine_to = &#39;junk-quarantine@&#36;mydomain&#39;;<br />#&#36;virus_quarantine_to = &#39;virus-quarantine@&#36;mydomain&#39;; <br />&#36;mailfrom_notify_admin = &quot;virusalert@&#36;mydomain&quot;; # notifications sender<br />&#36;mailfrom_notify_recip = &quot;virusalert@&#36;mydomain&quot;; # notifications sender<br />&#36;mailfrom_notify_spamadmin = &quot;spam.police@&#36;mydomain&quot;; # notifications sender<br />&#36;mailfrom_to_quarantine = &#39;&#39;; # null return path; uses original sender if undef<br /></pre> </li><li>Empty the deferred queue if you&#39;re late reading this ;-)</li><li> <pre>mail:etc root# mailq &lt;-- to see what&#39;s in the queues<br /><br />mail:etc root# postsuper -d ALL deferred &lt;-- to delete the queue content<br />postsuper: Deleted: 4946 messages<br /><br />Be careful, thhis command delete ALL the &#39;deferred&#39; queue content<br /></pre> </li><li> <p>if you want to verify what was sent to this queue before, you can grep the log :</p> </li><li> <pre>mail:~ root# cat /var/log/mail.log |grep &#39;status=deferred&#39;<br /><br />Mar 31 04:07:35 mail postfix/smtp[13211]: C401511A59D: to=&lt;junk-admin@example.com&gt;,<br /> relay=none, delay=30, delays=0.01/0.01/30/0, dsn=4.4.1, status=deferred<br /> (connect to example.com[208.77.188.166]: Operation timed out) </pre> </li></ul> </li></ol> WWDC Party! http://www.afp548.com/article.php?story=20080410020341443 http://www.afp548.com/article.php?story=20080410020341443 Thu, 10 Apr 2008 02:03:41 -0500 http://www.afp548.com/article.php?story=20080410020341443#comments AFP548 Site News We&#39;re back again for another year. We&#39;ll be at the Thirsty Bear, same place as always, on June 11th. Save the date and we&#39;ll have more information on the party times and how to get tickets shortly. InstaDMG Happenings http://www.afp548.com/article.php?story=20080408100558514 http://www.afp548.com/article.php?story=20080408100558514 Tue, 08 Apr 2008 10:05:00 -0500 http://www.afp548.com/article.php?story=20080408100558514#comments AFP548 Site News I&#39;ve been quiet for a bit on InstaDMG so I thought I would give an update.<br /><br />Yes, there is a new version of the reference script coming soon. Work has been crazy lately, and not left me in the office much to work on my dev systems. I&#39;ll be posting an actual roadmap of the functions to be added to the code soon. I haven&#39;t posted it yet only because I got a fantastic code submission from reader Gordon Davisson. He submitted enough new code that I will be able to jump ahead on several of the milestones after I vet and integrate his changes.<br /><br />The <a href="../forum/index.php?forum=45">InstaDMG forums</a> are still hopping with great tips and tricks for getting your build train going. If you haven&#39;t poked around in there you should really take a look.<br /><br />To help with file tracking I&#39;ve created an InstaDMG category in our downloads section. In the category I have a section for the <a href="../filemgmt/viewcat.php?cid=11">reference script</a> and one for <a href="../filemgmt/viewcat.php?cid=12">user submitted packages</a>. Our <a href="../filemgmt/visit.php?lid=70">first upload</a> is a comprehensive take on Instauser, submitted by reader Pete Akins. Feel free to grab it and see if you like it.<br /><br />Overall we have been thrilled with the response to InstaDMG. Keep sending your feedback and we will keep pushing forward! LANrev InstallEase Now Free http://www.afp548.com/article.php?story=20080402124835421 http://www.afp548.com/article.php?story=20080402124835421 Wed, 02 Apr 2008 12:48:00 -0500 http://www.afp548.com/article.php?story=20080402124835421#comments Articles <p>LANrev announced today that their InstallEase automated packaging tool is now free.</p><p>InstallEase is a tool for creating installer packages and has functionalities like automated &quot;Before&quot; and &quot;After&quot; snapshots, installation of files to current user&#39;s home folder, exclusion filters and uninstaller packages all wrapped into a graphical user interface for administrators.</p><p>Registration is required to get the free download, and is available here -<a href="http://www.lanrev.com/solutions/installease.shtml">http://www.lanrev.com/solutions/installease.shtml</a></p> LabMan 2008 http://www.afp548.com/article.php?story=20080326003254945 http://www.afp548.com/article.php?story=20080326003254945 Wed, 26 Mar 2008 00:32:00 -0500 http://www.afp548.com/article.php?story=20080326003254945#comments Tips <p><span class="Apple-style-span">LabMan is a conference of and focused on people who are in the trenches implementing stuff for academic computer labs, kiosks, libraries, and the like. Good place to make contacts with people doing your kind of work at other institutions as well. &nbsp;Tends to be education heavy, is not Mac specific, has a mix of higher Ed and K-12 attendees plus some businesses. Attendance has been in the 170-210 range the last few years.</span></p><p><span class="Apple-style-span"><br />Note that the attendees ARE the presenters. &nbsp;If you have a nice setup or a unique experience that you think others might be interested in/learn from, submit a proposal.<br /><br />Official announcement:<br /><a href="http://www.mnsu.edu/labman2008/email/default.htm">http://www.mnsu.edu/labman2008/email/default.htm</a><br /><br />Main site:<br /><a href="http://www.labmanconference.org/">http://www.labmanconference.org</a></span></p> AD Schema Mods - Request for Testers http://www.afp548.com/article.php?story=2008032022482849 http://www.afp548.com/article.php?story=2008032022482849 Thu, 20 Mar 2008 22:48:00 -0500 http://www.afp548.com/article.php?story=2008032022482849#comments Articles <p>So I&#39;ve cooked up a way of doing schema mods to AD using only Microsoft-supplied tools. This method leverages ADAM, Active Directory Application Mode, but doesn&#39;t require you to actually install ADAM on any of your systems.</p><p>You should be able to get full MCX management of your Macs from AD using this.</p><p>I&#39;m looking for some testers for this that have a Windows 2003 AD domain and a variety of Mac clients that they can test with. The instructions are easy and should only take you about 30-45 mins at most. Note that schema changes, even on 2003, are a fairly permanent thing and should not be taken lightly, so only engage in this if you have a test domain, a virtual machine, or some other setup that you can test with.</p><p>If you&#39;re game for being a crash test dummy, drop me an e-mail with what your test environment would be.</p>