Linux

Using fedora-ds 1.04 on RHEL5.1 talking to a 2003 AD. Passwords were syncing from the AD to the DS but not vice-versa. We use MD5 passwords, that seems to be the problem, only SSHA passwords seem to work. Our ldap.conf has this line: pam_password md5 With this line in the passwords are changed on windows, but to something incoherent, probably due to an incompatible hashing. We commented out the line and now passwords are syncing in both directions.



There were a few problems building vlc for rhel5, quite a few dependencies as well. Here are my spec and src.rpm

At one point the compile will crash due to min() not begin defined. mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Enter()': mkv.cpp:5848: error: no matching function for call to 'min(size_t&, long long unsigned int)' mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Leave()': mkv.cpp:…



vmware-config.pl doesn't compile cleanly after a kernel upgrade, here's how you can make it recompile cleanly for you. Find the vmmon.tar and vmnet.tar files on your system. [root@burnaby ~]# rpm -ql VMware-server |grep tar$ /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmppuser.tar /usr/lib/vmware/perl/control.tar [root@burnaby ~]# Now, unpack these, then move them aside, vmware-config will use these tar files, so we'll replace them with patched ones. [root@burnaby…



Skype beta now supports video. We purchased some logitech QuickCams to allow them to try out the video. When we plug in the QuickCam after boot, everything works fine. However, if we plug before booting, we lose sound. The problem is with the microphone on the webcam not the webcam driver. snd_usb_audio is loading before the soundcard. I added an index option to snd_usb_audio and voila it works fine after a reboot. Here is my modprobe.conf before and after:
Before: …



The eduPerson defined by eduCause at this site didn't work with Fedora Directory Server, the syntax was a bit off on the files I downloaded. Specifically you need a dn: cn=schema line at the beginning of the file, and you need proper spaces between identifiers in the definitions. Here is my final file, but you are better off downloading it rather than copying and pasting, you'll be liable to lose the spaces if you copy and paste...

65eduPerson.ldif dn: cn=schema attributeTypes: ( 1.3.6.1.4.…



There is an excellent tutorial on using LDAP for netgroup enumeration. Most of the changes are obvious, but one thing may trip you up. First you add a netgroup to your directory: # example, netgroup, narrabilis.com dn: cn=example,ou=netgroup,dc=narrabilis,dc=com description: Narrabilis Workstations nisNetgroupTriple: (nash,,) nisNetgroupTriple: (dreamhost,,) nisNetgroupTriple: {ramblings,,) cn: example objectClass: top objectClass: nisnetgroup
Next you add ldap to the…



My ath0 device wasn't working after resuming from a suspend on Fedora 8. modprobe -r ath_pci followed by modprobe ath_pci fixed the problem. I decided to automate that, so I read a bit of the pm-utils scripts and wrote the following simple script in /etc/pm/sleep.d/wireless #!/bin/bash . /usr/lib/pm-utils/functions case "$1" in resume|thaw) modprobe ath_pci ;; suspend|hibernate) modprobe -r ath_pci ;; esac exit $? NetworkManager picks up the reload of the module and works perfectly.



I use this to position a bibTeX entry on a page so users can copy and paste the bibtex code into their bibliographies. I also use this in this blog to display struct definitions for calling arguments to a function. First, we setup the javascript that will hide and show the textbox: Then we put the…



In one sentence "Use LSI Logic as the SCSI controller in the virtual machine settings" When installing RedHat Linux 5 as a guest OS in VMware server, I kept getting a "no drives found" error in anaconda. Someone suggested I use the LSI logic driver, I mistakenly thought that meant a driver disk (dd.img), but that was not the case. The driver for the hard drive is specified when you are defining the virtual machine. Select Custom on the first page of the New Virtual Machine Wizard. Then Linux as the Guest Operating System. Select the next few things according to your own specifications,…



When creating your own custom yum repository, it is a good idea to create your own gpg signature and sign all the rpms in that repository. That way, should someone manage to place an rpm in there, none of your systems will install that rpm.

Create GPG Key

[thomas@host ~]$ gpg --gen-key
gpg (GnuPG) 1.4.5; Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file…