At work I’m currently developing software which is supposed to run on openSUSE. I need to query the package database at some point which of course does not exist on my ubuntu machine. Here’s a quick setup how to create a fake local RPM database:
echo "%_dbpath /home/user/rpmdb" >> ~/.rpmmacros
mkdir /home/user/rpmdb
rpm -i –nodeps –justdb –force-debian *.rpm
And [...]
Say you have a binary registry export or dump from Windows and need to have a look at its contents. What do you do? The solution I came up with is:
WINEPREFIX=/tmp/dump regedit *.reg
Which gives you nice plain-text ini-style registries to examine in /tmp/dump. That obviously needs Wine installed.
Quick reference for using postfix as a “shield” server to Exchange to check valid mailboxes against ActiveDirectory (SBS edition):
create a LDAP configuration file:
server_host = ad-server.your.domain
search_base = ou=MyBusiness,dc=your,dc=domain
query_filter = (&(objectClass=*) (proxyAddresses=smtp:%s))
result_attribute = sAMAccountName
bind=yes
bind_dn = dn of user account
bind_pw = pw of user
Could someone please enlighten me?
I spent a third of my work today wondering why
a modified QUdpSocket only leads to IGMPv1 membership reports
a self-written plain old socket multicast client only leads to IGMPv2 joins, but very seldom leaves
Now being at home, I tried both programs and both reliably send IGMPv3 joins and leaves…
Can someone explain me the following behaviour:
I have the following smart pointer:
class AlsaHwParams
{
public:
AlsaHwParams() : m_params(0)
{ snd_pcm_hw_params_alloca (&m_params); }
~AlsaHwParams()
{ if (m_params != 0) snd_pcm_hw_params_free (m_params); }
operator snd_pcm_hw_params_t*() { return m_params; }
private:
[...]
I wrote earlier about compiling libgpgme for use with Visual Studio. Forgot to mention that this is an useless effort because the filedescriptor passing does not work and as such you can only encrypt decrypt from or to memory.
… strahlt einem oft entgegen, wenn man erzählt, dass man jeden Tag die 1,5km von der Bahnstation zur Firma läuft. Und das auch noch freiwillig.
If net ads join ever again fails with Failed to join domain: failed to find DC for domain just throw the stupid NetBIOS name of the ActiveDirectory server into the hosts file, will you? Sheesh…
My current task is evaluation crypto (here: OpenPGP) solutions for Microsoft Windows; of course including GnuPG.
Well, what do I say. While there is a nice installer for GnuPG on Windows available (either here or here), try to find one for the gpgme supporting library… (including header and .lib import files for Visual Studio, that is).
You [...]