The below is my notes on how DNS is used. This document is neither accurate nor authoritative, just meandering. You’ve been warned.
Category Archives: Networking
RFI: SPEGNO multiple requests
From what we are seeing and what I’ve read, the browser seems to send a JSON request with no Auth info, and then the whole SPEGNO handshake takes place, turning what should be a single request response into (at a minimum) two. It seems to me that we should be able to avoid that after the initial auth has taken place.
Is there any way to cache SPEGNO information such that successive JSON RPC calls provide the needed information automatically, instead of requiring multiple round trips per request?
Any Fedora people worked with this stuff and know how to optimize it? Do I need to revert to a Cookie based approach?
eth0 not present after libvirt clone
With the release of Fedora 13, I have a new target OS for software. In order to deal with the vagaries of installs, I have come to the pattern of creating one VM per target OS, which I get to the starting point, and then clone that for any actual work.
Basic Postgres config for remote access
Say you want to set up postgres for use with a web application. If you are running on the same server here’s what you need to do:
interface2addr
This little script will give you the ipv4 address for a given network interface, or list all of them if you leave the parameter blank:
#!/bin/bash
INTERFACE=$1
/sbin/ifconfig $INTERFACE | grep “inet addr” | cut -d\: -f 2 | cut -d” ” -f 1
Call it like this:
~/bin/interface2addr eth0
ad2openldap
I’ve been porting our Active Directory based LDAP scripts to OpenLDAP.
Here’s what I have so far:
LDAP Development Setup
To set up debugging on the slapd, in slapd.conf:
My Ideal Technology Setup for work
“Since I’m dreaming, I’d like a pony” –Susie, in Calvin and Hobbes.
“I’m not just the President of the Hair Club for Men, I’m also a client.” –President of the Hair Club for Men
Not only do I write software, I use it. A whole bunch. I am a Linux guy, and when ever I end up in a situation where I have to work around a proprietary solution that just doesn’t make sense for what I am trying to do, it ads a point or two to my Diastolic. So here is my dream setup:
Simple LDAP client code using deprecated API
This query returns all objects.
OpenLDAP API is somewhat hostile
After a few days beating my head against OpenLDAP’s C API, the only thing I can think is that the developers don’t want you to use it. Continue reading