Monday, June 21, 2010

the pains of being pure at heart or ldap schema can be mean

so, slapd was loading inetorgperson.schema, but i was unable to add objectclass: inetOrgPerson attributes. why? well... objectClass: inetOrgPerson and objectClass: account are mutually exclusive. of course they are...

Friday, June 11, 2010

suse, you and your mac addressed eth iface ifcfgs

i really get tried of those mac addresses.

MAC=$(ifconfig | awk '/HWaddr / { print $NF }')
newMAC=`echo "${MAC}" | tr [:upper:] [:lower:]`
mv "/etc/sysconfig/network/ifcfg-eth-id-${newMAC}" "/etc/sysconfig/network/ifcfg-eth0"