smbclient authfile example
Issue # smbclient -L smbsrv1 A ~/.smbcredsfeatdomain session setup failed: NT_STATUS_LOGON_FAILURE Resolution # cat ~/.smbcredsfeatdomain username = myuser password = mypass domain = mydomain #...
View ArticleFind which device belongs to a UUID
So I’m migrating a custom-scripted process/workflow from the crontab of an extremely legacy box (this box was a legacy box when it was built, not joking/lying) to a jenkins-controlled automated CI...
View ArticleJenkins & Host Key Verification Failed
So I’m setting up a file-push over SFTP using Rsync as apart of a legacy script revamp. I get the following error in my Jenkins output: rsync -Pav -e 'ssh -i /home/jenkins/.ssh/localhost-priv-key -C -c...
View ArticleJenkins & Simple GPG Encryption in Build Shell Step
So we have a requirement to encrypt data – hurdur – before sending over the internet – double hurdur – to a remote server we don’t control – wompa hurdur. Whilst migrating our currently job which runs...
View ArticleMySQL Clustering
Let me first get something off my chest; fuck you Oracle you unhelpful assholes Now that’s done! The Setup The setup of MySQL clustering: http://nechtet.com/index.php?title=MySQL_Cluster_Setup Quick...
View ArticleSome grievances with MySQL GB installations
GB = Generic Binary Basically, I have been tasked with setting up a MySQL cluster at work. This sounds like a pretty simple job and to be honest, I picked it out of lack of informative resources...
View ArticleCounting up Disk Utilization from a List of Files
So this project has brought forward some truly fun challenges – mostly revolving around bashes poor handling of spaces in file names. After four to six variations of my script, I finally found a simple...
View ArticleSSH Config – Fixing the stress of shitty SSH setups
Props to this mad cunt: http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/ Unfortunately I check my blog before I check the internet, because Googling for stuff can be a...
View ArticleCreate a MariaDB Galera Cluster in CentOS 7
Let me get a couple of things off my chest FUCK YOU MySQL, for wasting so much of my time with shitty installation guides FUCK YOU Google for giving me a shit tonne of badly written guides FUCK YOU...
View ArticleManual cPanel Backup (Per Account)
So we have a slight issue with AWS NAT’s and stuff like that. Basically I’m getting the shits that I can’t transfer these accounts properly. I came across a little gem on the internet which I have...
View ArticleMy new MySQL-remote-cPanel-DB-Server-rig-thingy isn’t working….
… so let’s find out why! Our first clue is when I browse to www.xxx, I get the “Error establishing a database connection” thing. To confirm that my hosts file was routing my browser correctly, I moved...
View ArticlePuppet & Network Manager
So I’m working on integrating Puppet with our infrastructure to manage our Linux servers security and authentication. Long story short, I need to use Puppet to keep the resolv.conf file consistent in...
View ArticleWhat the fuck is a Bind DN?
THANK YOU JOHN http://serverfault.com/questions/616698/in-ldap-what-exactly-is-a-bind-dn A bind DN is an object that you bind to inside LDAP to give you permissions to do whatever you’re trying to do....
View ArticleThe Library of Babel – A Side Thought
Just a random note about the library of babel. It’s contains every possible combinations of letters in the English language, which to me would imply that it contains every possible text that could ever...
View Article“agent.hostname” already linked to host
So you have a fresh install of Zabbix and you’re trying to setup your first host. Or not, whatever. Anyway, you get the following error when you go to update the templates: Unlinked: Trigger “SSH...
View ArticleBest explanation of -mtime I have heard
find . -mtime 0 # find files modified between now and 1 day ago # (i.e., within the past 24 hours) find . -mtime -1 # find files modified less than 1 day ago # (i.e., within the past 24 hours, as...
View ArticleERR_INCOMPLETE_CHUNKED_ENCODING: What a fucking cunt
Backstory A website I’m managing is running WordPress and the developer (who is actually a developer and not a shitcunt webdesigner) has bundled in a lovely tool to help the person who manages content....
View ArticleSetting up a simple VPC
Foreword Amazon changed their EC2 launching policy [quite a while ago] and it means that you need a functioning VPC in order to run an EC2 instance. This might not seem hard, but it’s definitely...
View ArticleSuzuki Across Information
Screaming “Suzuki Across” into Google is like screaming “COME FUCK ME” into convent. A bewildering number of results, all relating to other motorbikes or unanswered cries of despair in forums. I will...
View Article
More Pages to Explore .....