Windows or SAMBA – who do you blame?

Ubuntu (Linux distribution)

WARNING: very dull techie post coming up. You have been warned.

Had a problem yesterday trying to get a SAMBA share on our Ubuntu box to allow access to one of the PCs. The solution is very simple and I notice a lot of other people online had this issue so I’ll detail it here. Hopefully someone might find it and it’ll be of use.

Our scenario is one Ubuntu machine running as a file-sharer / backup box / web server and several Windows XP desktops. SAMBA controls around half a dozen shares, all bar one of which are publicly read/writeable with no logins required. The other requires a login because it contains accounts data. If anyone wants to see the smb.conf for that, then just ask.

The problem I had was just after I copied all our accounts data from a shared desktop drive to the Ubuntu share. The idea is to get rid of those constant cries round the office of “is anyone in the accounts share? Can you log out because it won’t let me in!” and also to provide some security as well as data redundancy. I copied said files, then went to one of the desktops to access the share and ensure it worked. This PC had already attached with no issues to a handful of the other (insecure) shares.

I added a Network Place of \servernameaccounts and double-clicked. Up popped the password prompt, username and password entered… the usual Microsoft networking pause… and:

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.

Bugger. I went back to the server and checked the permissions. Then I looked at the message. It’s telling me about users. So I created another user with similar permissions and tried to log on again. Same problem. Then I looked at the error again. Carefully.

It’s a Windows error, not an Ubuntu or SAMBA one. It’s complaining that this user – the one on the XP box – is trying to access the server twice with different usernames. Which he (in this case) isn’t allowed to do. He’s connected as “nobody” to access the insecure shares, and now I’m trying to connect him as “accounts” to get to the secure one. This has to work as some staff will need simultaneous access to both types of share. Windows has no functionality to “log off” network shares – even a reboot doesn’t always disconnect it, though I’m aware of a registry key fix that solves this.

A dig on the internet offered a few clues, most relating to deleting permanent net shares and mapped drives. Then I spotted something ridiculously simple. Windows itself is what’s preventing you doing this. It stores the name of the server you’re accessing and the user name you’re connecting with. If you make another connection to “servername” with a different “username” without ditching the first, then the error appears.

Thing is, it’s very literal how it stores the server name. And it seems there’s no genuine reason why you shouldn’t be able to connect twice. Windows just stops you. I assume you need a “better” version of Windows to be allowed to do it or something (like the inbuilt crippling of filesharing in the desktop versions, limiting the number of connections so you have to move to a server OS).

So you should be able to connect, but Windows stops you. So how do you get around it? It’s stupidly simple, really. Refer to the server differently.

For all the insecure shares I’ve now got all the PCs configured to go to \servernamesharename.

For the secure share it’s \server-IP-addresssharename.

Easy as that. Same server, two ways to refer to it, error ignored, two fingers up at a pointless restriction. I’m curious to see if mucking about with the hosts file would allow infinite connections to the server, by providing multiple aliases for the same IP address.

Anyway, problem solved and another step closer to heading home in a couple of weeks.

Most worrying spam so far…

Following on from yesterday’s post, the following spam genuinely has me concerned. No humour here. Seriously, what the hell should I do with this one? Isn’t even advertising this illegal? Or is it perhaps a “honey trap” for the real perverted filth out there?

From: Noah Adams (grumpilyg63@bluegumfarms.com)

Subject: XXX pictures 13 to 16yrs

Come to see the newest clips with girls from 13 to 16 years old!

[4 links removed for obvious reasons]

Seriously – is it worth forwarding this one on to someone?

Gary Thuerk, you ****

さてどれから食べようか...

Don’t know who Gary Thuerk is? Not really surprising, but you’ll certainly know what the bastard’s (at least partially) to blame for: spam. This dozy ****** sent the first ever spam message over ARPANET, the fore-runner to the internet, on May 3rd 1978. And he deserves to be stabbed in the face for it. As do the retards who continue his foul scheming to this day. And the daft ***** who buy stuff from the spammers, thus making it profitable.

I was actually considering a post about spam roughly a week ago. Purely by coincidence, but it’s worked out that I may as well post it on this “anniversary”. As luck would have it, I got another spam-related link through one of the web pages I check regularly and it’s worth a look. ASpamADay takes those rather ridiculous spam titles and turns them into cartoons.

My original post hinged around the titles of spams as well. Basically, I didn’t bother emptying my GMail spam folder for a few days. From the 19th of April until the time I post this entry, I’ve received 585 spams. Not too bad considering that it’s estimated that 100 billion of the bloody things are sent each day.

Here’s the pick of the ludicrous titles. The “Enlarge your…” series is particularly imaginative.

  • Capability of ejaculation (from Normal Sexual)
  • You Can Enlarge Your Penis By 3″ Compare Top 5 Penis Enlargers
  • Blow her away with this
  • She can’t get hornier than this
  • Girls like when it big (girls also like it when you use proper diction)
  • Make it large and steady as rock!
  • Satisfactory sexual intercourse
  • What sounds like tremble doll (what?!)
  • Forget about small male device length
  • Final penetration
  • The whole 10 inches
  • Male Enhancement
  • 3 tips to dirty dance into her pants
  • Chase away your sexual blues
  • What They Don’t Want You To Know What It Does To Your Body!
  • Feel the power in your pants
  • BDSM is her favorite hobby
  • The world’s leading farmacy (sic)
  • These rep1!c@s are rattling good!
  • Girls go crazy groping you
  • Great popping cleavage
  • Bang her inside out (won’t that be messy?)
  • Fantastic rack of cleavage
  • Give her the biggest bang
  • Achieve deep and complete penetration
  • Orgasms will no longer be a fantasy
  • she has already gone to hospital…
  • Permanent 3-6 inches now available
  • Ejaculate and shoot over a mile
  • Erection for sexual activity
  • She said I have an adorable willy
  • Enlarge your schlong size
  • Enlarge your cucumber length
  • Enlarge your dummy size
  • Shoot off deeper into her
  • Bevestiging link (what the hell is bevestiging?)
  • Bestow this heavenly d\ck upon yourself
  • Increase your penis width (girth) by upto 20%
  • Make your lady happy
  • You can enlarge your penis by 3″ (yes, look at some porn – works for me)
  • Quick ways to lengthen, thicken and straighten
  • Enlarge your baby-maker size
  • Ziyi Zhang’s favorite Slkung
  • It’s easy to be hard
  • Get hard get big get it now
  • Reach deeper into her
  • Enlarge your main organ length
  • Maximise your tool size
  • Enlarge
  • Enlarge your bell-rope size
  • Upsize your sex pen1s today easily
  • Make her horny with this
  • People will tell you compliments about how you look like
  • Bring out the T-rex in you (A Spam A Day did this one!)
  • Blood flow to the penis
  • Give your pecker legendary status
  • Plunge your meat into her

I now expect to get a gazillion hits on my blog from people with small penises searching Google for a “cure”.

Bloatware? Erm… yeah

Office 2007 Professional retail box

Upgrading some PCs at the moment as part of the closedown procedures, and I spotted one patch coming down the wire from Microsoft Update – 2007 Microsoft Office Suite Service Pack 1. A whopping 194Mb. Ouch.

Now, given that one of the “selling points” of Office 2007 is its smaller OXML (.docx etc) files which are a significant space-saver over the old format Office files, isn’t it a little poor to issue a patch which is larger than some office suits? How big is Office 2007 if a patch is just shy of 200Mb?

I’m glad I stuck with OpenOffice. Version 2.4 is a whopping (not) 127Mb download. That’s the actual suite, not an update or a patch.

Gah! Computers! But sometimes they help out…

First off, let me repeat that GAH! only amplified somewhat:

GGGGGAAAAHHHHH!!!!

Thank you. Apologies to anyone who couldn’t post comments earlier. I’d put the wrong API into my upgraded reCAPTCHA so it didn’t work. That’ll teach me not to check these things when I’ve tinkered with them.

I’ve just tonight noticed that using the drop-down archive box to the side there, that you can’t go back further than February 2007. No idea why not. If you go to Feb and step back through the individual posts, or go to the archive on a single day anytime before then it works just fine. It’s simply month-long archive pages pre-Feb’07 that struggle.

[UPDATE: Fixed. Turns out I had some “real” folders with the same name in my directory tree. That seems to confuse WordPress’s “pretty permalinks”. Deleted the old folders, all works now. Phew.]

I’m looking into it, but it’s driving me nuts. The WordPress support forum’s gone crazy as well. First of all not letting me log in (cleared cookies, not it’s fine), then letting me in, letting me post… but not allowing me to edit the posts. And then not letting me reply to my own posts, telling me that the topic has been closed – when it hasn’t been.

*locates nearest brick wall, loves it in the way only Glaswegians really know how*

BUT.

Better stuff. Here’s a way you can help a charity and take money out of Microsoft’s pocket. No, it’s not that stupid email forwarding thing. It’s a scheme they’ve started on MSN. Put a little code next to your login name and MS will donate a sum to the charity of your choice (from a short, US-biased list) each time you start a conversation.

It’s called I’M Making a Difference – I’M… Instant Messenger. Clever.

Sounds like a wind-up, but I promise it’s true. Details are on CybernetNews, and also at Microsoft’s own I’M page to save me keying in all the “how to”‘s.

As I’ve commented on there, it’s a shame all the charities are US ones given the international usage of IM. However, better one good cause than none wherever it may be. I can’t believe this has been going on since March last year! They’ve raised almost $1.5million so far. Each charity is guaranteed a minimum $100,000 with no upper limit.

I’m not 100% sure if non-US residents logging in makes a difference, but let your Yank friends know about it all the same. And there’s no harm in putting the icon on your own name – just in case it does work!