<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>

<feed version="0.3" xml:lang="en-US" xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824" rel="service.post" title="Win Lin" type="application/atom+xml"/>
<link href="http://www.blogger.com/atom/5436824" rel="service.feed" title="Win Lin" type="application/atom+xml"/>
<title mode="escaped" type="text/html">Win Lin</title>
<tagline mode="escaped" type="text/html">My life migrating services to linux.&#13;
&#13;
</tagline>
<link href="http://www.duke.edu/~bendy/" rel="alternate" title="Win Lin" type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824</id>
<modified>2005-02-03T23:11:37Z</modified>
<generator url="http://www.blogger.com/" version="5.15">Blogger</generator>
<info mode="xml" type="text/html">
<div xmlns="http://www.w3.org/1999/xhtml">This is an Atom formatted XML site feed. It is intended to be viewed in a Newsreader or syndicated to another site. Please visit the <a href="http://help.blogger.com/bin/answer.py?answer=697">Blogger Help</a> for more info.</div>
</info>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/110747229760920374" rel="service.edit" title="Loading VNC onto a remote Macintosh running SSH&#10;&#13;..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2005-02-03T17:32:37-05:00</issued>
<modified>2005-02-03T23:11:37Z</modified>
<created>2005-02-03T23:11:37Z</created>
<link href="http://www.duke.edu/~bendy/2005/02/loading-vnc-onto-remote-macintosh.html" rel="alternate" title="Loading VNC onto a remote Macintosh running SSH&#10;&#13;..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-110747229760920374</id>
<title mode="escaped" type="text/html">Loading VNC onto a remote Macintosh running SSH&#13;
&#13;...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Loading VNC onto a remote Macintosh running SSH

- download OSXvnc

- Move diskimage to remote computer 
 scp OSXvnc1.5.dmg admin@thatmac.fooschool.edu:~/Applications/
- ssh to remote comptuer, go into Applications folder, mount dmg file, go into .app folder
open OSXvnc1.5.dmg
cd OSXvnc.app
- start the binary over ssh. The localhost option sets it up to sshtunnel.
./OSXvnc-server</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/110332288466298622" rel="service.edit" title="Openldap TLS errors&#10;&#10;Lost a few hours today over..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-12-17T17:26:44-05:00</issued>
<modified>2004-12-17T22:34:44Z</modified>
<created>2004-12-17T22:34:44Z</created>
<link href="http://www.duke.edu/~bendy/2004/12/openldap-tls-errors-lost-few-hours.html" rel="alternate" title="Openldap TLS errors&#10;&#10;Lost a few hours today over..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-110332288466298622</id>
<title mode="escaped" type="text/html">Openldap TLS errors&#13;
&#13;
Lost a few hours today over...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Openldap TLS errors

Lost a few hours today over a stupid mistake, getting SSL/TLS running on Openldap. When I tried:

 ldapsearch -x -Z -h woodsy.nicholas.duke.edu -d 1 

I got: 


ldap_bind: Can't contact LDAP server
        additional info: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure


Over and over, I was troubleshooting the certificates, since</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/109709092835332618" rel="service.edit" title="Point and Print connections loose devmode.&#10;&#10;&#10;Us..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-10-06T15:26:48-04:00</issued>
<modified>2004-10-06T19:28:48Z</modified>
<created>2004-10-06T19:28:48Z</created>
<link href="http://www.duke.edu/~bendy/2004/10/point-and-print-connections-loose.html" rel="alternate" title="Point and Print connections loose devmode.&#10;&#10;&#10;Us..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-109709092835332618</id>
<title mode="escaped" type="text/html">Point and Print connections loose devmode.&#13;
&#13;
&#13;
Us...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Point and Print connections loose devmode.


Users keep loosing thier duplexing options from our samba print queues. I haven't solved the problem, but this is what I've learned.

We provide print queues that are described by Microsoft as "Point 'n  Print".

A point 'n print queue spools print jobs that have been formatted by the  workstation.

The workstation learns how to format the job</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/109243167730902703" rel="service.edit" title="Got CUPS/Samba printing working. I spent a day fru..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-08-13T17:08:37-04:00</issued>
<modified>2004-08-13T21:14:37Z</modified>
<created>2004-08-13T21:14:37Z</created>
<link href="http://www.duke.edu/~bendy/2004/08/got-cupssamba-printing-working.html" rel="alternate" title="Got CUPS/Samba printing working. I spent a day fru..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-109243167730902703</id>
<title mode="escaped" type="text/html">Got CUPS/Samba printing working. I spent a day fru...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Got CUPS/Samba printing working. I spent a day frustraited that I couldnt get samba to allow me to associate driver with queues, but, it turned out it was due to this setting-

use client driver = yes

which I'd added in to get past an earlier roadblock I had on the live machine. I hadn't need the parameter on my test machine, and naturally, it seems to disable clickable driver download.</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/109234410872681420" rel="service.edit" title="Getting not so far, but learing much about samba/c..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-08-12T16:48:08-04:00</issued>
<modified>2004-08-12T20:55:08Z</modified>
<created>2004-08-12T20:55:08Z</created>
<link href="http://www.duke.edu/~bendy/2004/08/getting-not-so-far-but-learing-much.html" rel="alternate" title="Getting not so far, but learing much about samba/c..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-109234410872681420</id>
<title mode="escaped" type="text/html">Getting not so far, but learing much about samba/c...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Getting not so far, but learing much about samba/cups printing.

I could get everything to work on our PDC, except for the assignment of Window print drivers to the cups print queues. I couldn't get to work from the "Add Printer Wizard". I got a "Printer settings could not be saved. Access is denied." error. Got the same thing from the command line, using rpcclient. As far as I can tell, there</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/109216637919825840" rel="service.edit" title="Printing&#10;&#10;I'm going to try to tackle printing mi..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-08-10T15:27:29-04:00</issued>
<modified>2004-08-10T19:33:29Z</modified>
<created>2004-08-10T19:32:59Z</created>
<link href="http://www.duke.edu/~bendy/2004/08/printing-im-going-to-try-to-tackle.html" rel="alternate" title="Printing&#10;&#10;I'm going to try to tackle printing mi..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-109216637919825840</id>
<title mode="escaped" type="text/html">Printing&#13;
&#13;
I'm going to try to tackle printing mi...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Printing

I'm going to try to tackle printing migration. Look like, to get something close to NT style IP printing, which is what we have, we need to do this.

1) Set up CUPS to allow raw printing
2) Set up CUPS to send page log files to syslog
3) add raw print queue to our printer IPs using the CUPS lpadmin utility
4) Set samba to share CUPS print queues

The test queues seem a little</div>
</summary>
</entry>
<entry xmlns="http://purl.org/atom/ns#">
<link href="http://www.blogger.com/atom/5436824/108515883694216358" rel="service.edit" title="Extracting values from pdbedit output &#10;&#10;The verb..." type="application/atom+xml"/>
<author>
<name>bendy</name>
</author>
<issued>2004-05-21T12:58:16-04:00</issued>
<modified>2004-05-21T17:14:16Z</modified>
<created>2004-05-21T17:00:36Z</created>
<link href="http://www.duke.edu/~bendy/2004/05/extracting-values-from-pdbedit-output.html" rel="alternate" title="Extracting values from pdbedit output &#10;&#10;The verb..." type="text/html"/>
<id>tag:blogger.com,1999:blog-5436824.post-108515883694216358</id>
<title mode="escaped" type="text/html">Extracting values from pdbedit output &#13;
&#13;
The verb...</title>
<summary type="application/xhtml+xml" xml:base="http://www.duke.edu/~bendy/" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">Extracting values from pdbedit output 

The verbose output from pdbedit is kinda screwy; here's some code to pluck out specific values- I've wanted to be able to grab "Account desc" for sorting users as I migrate them. 



#!/usr/bin/perl
#parse a verbose pdbedit record
#put record keys and values into a hash
 
#pdbedit command- change for your system.
$pdbedit =</div>
</summary>
</entry>
</feed>

