back to article Life lesson: Don't delete millions of accounts on the same day you go to the dentist

Rise and shine, dear readers, it's Monday and therefore time to sink your teeth into a new week of work, a fact The Register celebrates with a new edition of Who, Me? This is the column in which you share stories of when you bit off more than you can chew, but fumbled through. This week, meet a reader we'll Regomize as "Blair …

  1. Pascal Monett Silver badge

    "It was just another sentence"

    Yeah. RTFM. All of it.

    And understand it.

    At least he was able to recover the issue. Good on him for that. And missing one sentence is an easy thing to do when what you are reading is about as exciting as watching paint dry.

    But as an admin, what your doing is important (at least, the consequences may be). So read that manual.

    1. Dave K

      Re: "It was just another sentence"

      And test it too. Spin up a test version of the system, ideally with a copy of some real data and then implement the change on the test system to see if it works properly. This should be the case for changes on any critical systems really, always have a test environment you can break and rebuild without impacting production.

      1. chivo243 Silver badge
        Trollface

        Re: "It was just another sentence"

        Hahaha, a test version! From the sounds of that environment, they barely had enough pizzazz to keep the lights running...

        1. Anonymous Coward
          Anonymous Coward

          Re: "It was just another sentence"

          "Hahaha, a test version! From the sounds of that environment, they barely had enough pizzazz to keep the lights running..."

          Or indeed, like they could afford enough *pizza* to keep things running...

      2. Innominate Chicken

        Re: "It was just another sentence"

        Everyone has a test environment. Some are lucky enough to have a separate production environment.

        1. chivo243 Silver badge
          Windows

          Re: "It was just another sentence"

          I started at a place back in '99 that was lucky to have production... I had to restart a service on the web server each morning, and sometime after 10:30am the NT4 print server needed the print queue stopped and restarted.

        2. Someone Else Silver badge
          Thumb Up

          Re: "It was just another sentence"

          Everyone has a test environment. Some are lucky enough to have a separate production environment.

          That is the quote of the year!

          ...and it's only January!

    2. Bebu sa Ware

      Re: "It was just another sentence"

      Yeah. RTFM. All of it. And understand it.

      With LDAP? All and Understand is at best a tall order either separately or together. Complex, convoluted and in places just plain daft.

      But in this case I guess it was the ticketing system that was at fault as it would appear to support only one authentication service at a time (clearly didn't use pam and nss.)

      Presumably the fix was to export the user accounts from the Oracle RDBMS, massage into ldif files and import into ldap or alternatively knock up a gateway from ldap to the existing Oracle system

    3. Evil Auditor Silver badge
      Joke

      Re: "It was just another sentence"

      I couldn't agree more. But... the warnings come after the spell!

      1. Anonymous Coward
        Anonymous Coward

        Re: "It was just another sentence"

        "I couldn't agree more. But... the warnings come after the spell!"

        'Strange' that ... isn't it !!!???

        Still not learnt that lesson yet !!!

        People tend to stop reading the 'fine manual' when they 'think' they understand enough ... PUT THE WARNINGS AT THE TOP !!!

        :)

        1. Anonymous Coward
          Anonymous Coward

          Re: "It was just another sentence"

          Sometimes IT is a form of magic.

          Any sufficiently advanced technology is indistinguishable from magic.

          Arthur C. Clarke

          1. jake Silver badge

            Re: "It was just another sentence"

            "Sometimes IT is a form of magic."

            Only to the ignorant.

            1. Jou (Mxyzptlk) Silver badge

              Re: "It was just another sentence"

              Good cooking and baking is a form of magic (be aware for the US: The definition is from raw materials, not pre-fabricated cookie-dough, microwave-popcorn, fries, salad via mixing pre-fabbed sauce with convenience-packaged salad).

              Really understanding finance and Tax is a form of magic.

              Really understanding law is a form of dark magic.

              Making it IT centric:

              Really understanding Certificate-Authority / PKI (with offline root CA) is a form of magic. I can handle it well, considered as "the man" in a 3000+ IT-service company. And know others which I consider "magicians" on that field.

              Really understanding the possibilities if you can program C#/C++/Basic etc, programming thinking without being locked into one language - takes long even if you have a knack for it. I stared with basic 3.5 around 1984 on C16, went to first ASM routines on that machine 1985.

              Windows Centric: Really understanding the possibilities of powershell, being able to go beyond the cmdlets if needed, and know the value of it behaving the same since Version 5.1 (Windows 7/Server 2008 R2 up to Server 2025 and possibly beyond). Being able to NOT require modules for most tasks, which some admire. I am deep into it, and know others I consider magicians here. Got forced into it 'round 2021.

              etc etc etc.

              The ignorant is you, Jake. As long as someone stands by his "I am simply not good" and has good manners I have no problem. (Good manners by German standards - many cultures cannot take typical German directness)

              1. jake Silver badge

                Re: "It was just another sentence"

                Do you know what the word "ignorant" means? Look it up.

                Hint: Ignorance can be cured. Stupidity can not.

            2. Robert Carnegie Silver badge

              Re: "It was just another sentence"

              In particular, spelling matters.

    4. phuzz Silver badge
      Alert

      Re: "It was just another sentence"

      The corollary of this is: When you write documentation, assume that if anyone even looks at it, they probably won't read it all, so at least highlight important points.

    5. Anonymous Coward
      Anonymous Coward

      Re: "It was just another sentence"

      "And missing one sentence is an easy thing to do when what you are reading is about as exciting as watching paint dry."

      My job once involved watching paint dry - and it was actually quite exciting. Unfortunately, I'm not allowed to say where it was...

      1. that one in the corner Silver badge

        Re: "It was just another sentence"

        > Unfortunately, I'm not allowed to say where it was...

        Very wise. Trying to crowd control a lot of paint groupies isn't worth the money you make from the merch stall.

        1. LogicGate Silver badge

          Re: "It was just another sentence"

          "Trying to crowd control a lot of paint groupies isn't worth the money you make from the merch stall."

          You have misunderstood, he got to (body)-paint the groupies directly. The merch stall was not involved.

          1. Anonymous Coward
            Anonymous Coward

            Re: "It was just another sentence"

            Body paint, you say? My ears prick up, and I launch, Rowley Birkin-style, into one of my anecdotes.

            Many years ago (late 90s - and this point should be borne in mind) the large tech company at which I was working had a booth at a tech tradeshow at London's Olympia. Can't remember the name of the show now, but it was a CES-like thing, mostly focused on enterprise IT.

            Our booth designers had pushed the boat out, and we had lots of space - and even a second storey, allowing for a bar and seating for the entertainment of "important" sales leads.

            One day, we had a sudden stampede to our booth, and up the stairs to the rooftop bar, and it took us a moment to ascertain why this sudden interest in our sales literature.

            That moment was a brief one, as we very quickly realized that... the company occupying the booth across the aisle from ours had decided to drum up interest in their products with the very on-message, tactful and respectful use of... two models, young and female, clad in brightly-coloured motorbike leathers. Leathers that on second blushing glance, turned out to be nothing but body paint and the skimpiest of bikinis.

            No, I have no idea why body-painted young ladies were considered an appropriate way to advertise mouse-mats or whatever the company was flogging, but as I said, late 90s. Different times, different mores, and anyway, we all wore onions on our belts as was the fashion, et cetera.

            Hence the stampede of punters to our booth's upper floor, which just so happened to provide uninterrupted sightlines over the heads of the salivating milling throng, to allow respectful consideration of the body-painter's fine art. Ahem.

            "Of course, at the time, I was very, very drunk..."

      2. Robert Carnegie Silver badge

        Re: "It was just another sentence"

        Well, I see in news that theiy're repainting the big ball at Dounreay.

    6. Gene Cash Silver badge

      Re: "It was just another sentence"

      Pffft. You expect things to be DOCUMENTED? Wot?

      I'm surprised that little caveat was actually in there.

    7. Robert Carnegie Silver badge

      Re: "It was just another sentence"

      I don't trust that what documentation says, is what will happen when I do the thing. But if documentation mentions consequences like that, then I take it seriously.

  2. YetAnotherACUser

    Life lesson...

    "The request was then extended to applying LDAP to the customer ticketing system"

    if the Ticketing System was home-made, he should've asked the developer(s) on the best way to do it, if it was commercial (as it seems the case, since there was a documentation) he should've asked the company that made that thing and was also providing support (I assume somebody that run a "nation-sized" system does also pay for support for his wares).

    So life lesson: ASK THE F*ING QUESTION before "assuming".

    1. Anonymous Coward
      Anonymous Coward

      Re: Life lesson...

      "So life lesson: ASK THE F*ING QUESTION before "assuming"."

      Sometimes that's the case, but life and most work is based on assumptions and generalisations. As a primitive form of learning they are arguably these are the very foundations of civilisation. Logically, would you expect or even harbour reasonable doubt that implementing better authentication to delete all existing user records? Really? Somebody, somewhere thought "if a sysadmin implements LADP, then the system should delete all user records". Now there's the fuckwit responsible here, not "Blair".

      And the author of the shitty manual that doesn't make clear the huge consequences. Hiding something of huge consequence as though it's trivial is a grade A failure.

      I suspect that the stupid, stupid idea of deleting all users was only ever tested on a small dev system that it was trivially easy to roll back and forward, and where there were no operational consequences or angry managers.

      1. An_Old_Dog Silver badge
        WTF?

        Auto-Account Deletion

        Ut ullam impedit amet et. Harum voluptatum debitis itaque corrupti libero dolorum. Doloribus nihil sit laborum. Laborum amet est est. Qui quo in voluptas maxime doloremque cumque voluptas. Officia sequi voluptates placeat. Impedit non et minima. Veniam doloremque qui dolorem excepturi autem debitis. Minima voluptatibus magni aperiam temporibus atque ullam iure. Aut dolores unde enim odit cupiditate non numquam et. Praesentium ut veniam quis ut voluptatem inventore at. Voluptate voluptas omnis a qui temporibus. Tempore facilis tenetur consequuntur. Quod voluptates sed inventore blanditiis. Sint voluptatibus optio enim incidunt deleniti nostrum. Molestias corporis et corrupti velit eius natus. Sint delectus rerum praesentium nemo. Et dicta odit dolor. Quos repellendus et saepe consequatur rem molestiae nesciunt. If you switch to ldap all accounts will be completely deleted because this is a feature. Soluta beatae perferendis sed. Est temporibus natus ab odio tenetur nemo alias. Ex sed consectetur possimus quia animi. Doloribus nihil cumque commodi recusandae id dolores quisquam cupididate.

        1. IHateWearingATie

          Re: Auto-Account Deletion

          I should try this with my next annual performance review

          Lorum ipsum I deserve a one hundred percent payrise dolor sit amet

        2. Anonymous Coward
          Anonymous Coward

          Re: Auto-Account Deletion

          Non sit tribulatio operantibus.

        3. TimMaher Silver badge
          Coat

          Re: Auto-Account Deletion

          Nil illegitimi carborundum te.

        4. disgruntled yank

          Re: Auto-Account Deletion

          @An_Old_Dog

          Homo Martianus sub nominem novum es?

          1. An_Old_Dog Silver badge

            Re: Auto-Account Deletion

            Nope. :-)

        5. GeekyOldFart

          Re: Auto-Account Deletion

          Mater tuam caligas gerit.

        6. Jou (Mxyzptlk) Silver badge

          Re: Auto-Account Deletion

          Thx for reminding that Cicero is on my "I need ten more lifes!" pile of things I want to read....

          1. JamesTGrant Silver badge

            Re: Auto-Account Deletion

            Tbh - if it wasn’t in Latin you’d quickly come to the conclusion that Cicero was a bit of a knob. (That’s not to say you shouldn’t read him but, compared to the Greek philosophers - he’s ‘self opinionated’…)

        7. that one in the corner Silver badge

          Re: Auto-Account Deletion

          Caesar adsum iam forte, Brutus aderat. Caesar sic in omnibus, Brutus sic inat.

        8. yetanotheraoc

          Re: Auto-Account Deletion

          Ha, your combination of subject line and text brings back memories. I wanted to demonstrate a bug in the formatter of an application, so I posted a description of the issue along with a demonstration file containing enough lorem ipsum to trigger the bug. The admin thought I was spamming the system and deleted my account.

        9. Anonymous Coward
          Anonymous Coward

          Re: Auto-Account Deletion

          Nil combustibus pro fumo.

          (There's still not enough Flanders and Swann in the world...)

        10. mirachu Bronze badge

          Re: Auto-Account Deletion

          Non ex transverso sed deorsum.

      2. SVD_NL Silver badge

        Re: Life lesson...

        Or maybe an "are you sure you want to nuke your user records?" popup? (or y/N prompt in CLI).

        They get abused for trivial actions too often, but i feel like the possible consequences here are severe enough for that...

        Along with the fact that configuration changes generally shouldn't be deleting user data in the first place. Is it really necessary to delete all user records instead of creating a users_ldap table, or creating a "authentication source" column? oh my, did i just accidentally create a feature to use multiple auth sources simultaneously too??

    2. JamesTGrant Silver badge

      Re: Life lesson...

      Which question? “If I sit on this chair, will the table collapse?” Is a silly question, only the most churlish carpenter would blame you for trying and not asking.

      There are many unknowable things that are unknowable until you know them but you need to know before you know.

  3. Korev Silver badge
    Coat

    He felt something might be awry as while he lay in the dentist's chair, his phone scarcely stopped buzzing.

    Blair bolted back to the office and gave himself a crash course in Oracle database recovery.

    So he went back and gave the database a filling?

    1. Korev Silver badge
      Coat

      RMAN, that was a good story...

    2. Christoph

      Getting Oracle to work properly is like pulling teeth

      1. Joe W Silver badge

        Getting Oracle licensed properly without overpaying like they want to trick you into is like pulling teeth.

        1. IHateWearingATie

          According to Oracle, there is only underpayment they can prove, and underpayment they are currently unable to prove (don't worry, they will at some point).

          What is the 'overpayment' you speak of?

      2. anothercynic Silver badge

        Pulling teeth is infinitely easier than anything to do with Oracle!

    3. KittenHuffer Silver badge
      Facepalm

      I have been in the situation of trying to understand Oracle restore, and get it working for a system migration ...... and I'd rather have been in the Dentist's chair .... having root canal work .... without anaesthetic!

      ----------> The icon for root canal work!

  4. Anonymous Coward
    Anonymous Coward

    I am currently dealing with a supplier who uses MFA ( the TOTP kind) for me to logon and create certificates for our machines to access our data in their "lake"

    The MFA has out of the blue stopped working despite me having a record of the initial secret key .

    Their only solution to this is to delete my account and recreate it , which will invalidate the certificates i've crated and validated and signed etc for our servers to talk .

    As a password reset solution I find this less than satisfactory.

    They are also unable to answer any questions on why this happened , or why they cant just reset the MFA , or how exactly the MFA works as "a third party is providing the MFA"

    This is a very large NHS healthcare provider .

    sorry for the off topic rant , this is pissing me off no end - the link is "authentication" I guess .

    1. KittenHuffer Silver badge

      From experience I can tell you that there is no fsck up like an NHS fsck up!

      1. Anonymous Coward
        Anonymous Coward

        Sorry , I phrased that badly , the fuckup is a private company supplying the NHS . I work for the NHS.

        And yes I agree the NHS are just if not more capable of large fuckups , as evidenced by my Trust's dealings with another private supplier attempting to supply a new PAS db

      2. ChrisC Silver badge

        This isn't just your normal IT fsck up, this is a NHS IT fsck up

        *to be read in the same mellow tones as the average M&S ad voiceover, to get the full effect...*

    2. anothercynic Silver badge

      Inexcusable (their excuse, that is). At the very least they should create a new account for you first, then allow you migrate your servers to new certificates, and then delete the old account (which deletes you and invalidates the no-longer-used certificates).

      Badly implemented MFA just winds me up.

  5. Anonymous Coward
    Anonymous Coward

    LDAP?

    Is this the thing that lets me login on 3 different apps my employer uses with the same password, but when I change my password, Google pw manager will ask me to type the new password on all of them?

    Is this how any of this is supposed to work? For my employer, only one change and all the apps obey the new password, but for me, I have to type it again on every app, it just doesn't read my new credentials and let me through?

    Isn't it supposed to skip every login prompt down the road once I'm logged back in with the new pw? What's the point of unifying all the passwords if you have to type them (or Google asks to update it for me) every time?

    I would use the Windows user icon, but you know...

    TLDR I have a grievance about typing passwords over and over on several places, if they are synchronized. Yeah, token and man-in-the-middle and all that.

    1. Jou (Mxyzptlk) Silver badge

      Re: LDAP?

      Indeed, that is how it is supposed to work. Your case is a google issue or a "the program you to with google" issue though.

      If you want the pow² or pow³ version of those problems, go Azure/Entra. Then only, AND ONLY change you password when you are connected via LAN (or a site-to-site VPN but not a VPN client on your computer) to your actual AD-controller. Wait 15 minutes. Relogin to the AD controller (i.e. logoff-logon) with the new password. For the rest of the day you will be busy with typing in the password at numerous places, cleanup windows password store and so on. You can add google on top too, if you have enough time.

      Oh, and be aware, you account may be locked a few times during that day since some programs, via Azure/Entra, still use the wrong password for a few hours.

      I got lucky so far, my PW changes survived without locking me out, but I know coworkers which get locked out every time they have to change their pasword. And it is not their fault, it is just half-assed systematically crap on all sides - not only MS, all sides.

      1. Timo

        Re: LDAP?

        thanks for the explanation, I ALMOST understand it. Just got done with a day or two of that fun when I had to change my password on my machine, from home.

        There seems to be a way to get it to sync everything (desktop and apps etc) but our IT dept haven't been able to write it down. There are myriad ways to initiate a password change, from the desktop ctrl-alt-del menu, to going to myapps.microsoft, and with or without VPN engaged, and I SWEAR I got it to work one time so that the login to my computer was updated along with everything else, but I can't seem to reproduce it. It could also be some misconfiguration by our IT people, they seem to be in the low cost arena.

        So I'll have a machine (win10) that I have to use the old password to log in, then everything else uses the new password. Until I go into the office and on powerup the machine will get its update and then everything is wobbly for a bit while the machine and everything microsoft and in the cloud somehow thinks that its out of sync (when it should be in sync.)

    2. Mike007 Silver badge

      Re: LDAP?

      There are 2 parts to single sign on:

      1. Applications/services authenticate to the same backend. So a single user list etc that all programs consult. LDAP being the legacy way to do this.

      2. Applications support reading your current system login credentials and supplying them to the server automatically without prompting.

      Enterprise software should be able to do this for an active directory joined windows computer, but you won't find many smaller developers who can be bothered to implement support for this. Web based applications can only do this towards a server hosted on the LAN, for security reasons.

      The modern version would be using SAML or OAuth to pop up a browser dialog that opens the organisation login page, which then returns the user details to the application. In this case the browser is authenticating all of the applications so can maintain a session to avoid prompting for password input multiple times.

    3. Elongated Muskrat Silver badge

      Re: LDAP?

      Probably depends on how many of those systems have a rule where changing the password invalidates existing auth tokens (i.e. logs out all instances where the password is changed).

      A more sensible alternative is to allow you to see the "currently logged in instances" and terminate them individually as required (which is something everyone should regularly do with things like various google services, web mail, etc.)

      1. JamesTGrant Silver badge

        Re: LDAP?

        Even Microsoft are guilty of this. A cert generated with an old exchange password, can sometimes continue working for hours…. Almost like they don’t check…

        1. Jou (Mxyzptlk) Silver badge

          Re: LDAP?

          This is documented and just how Kerberos works. Dig a bit deeper into it: Kerberos is a compromise for secure auth, distributed auth, vs. re-auth to the central authority for every bit sent over the wire.

          You can change that behaviour, more specific the time and how long those TGTs, and a few other things, are valid in (Windows-) kerberos. But I don't recommend it. You can experience a part of higher paranoia kerberos if you configure some admin accounts as "protected + sensitive" along with the other settings for securing high risk accounts: You may have to re-login or re-enter your credentials every two hours, which is acceptable for some admin accounts, but not for normal users.

          If you mess with those settings your really really have to know what you are dealing with. And my knowledge is deep enough to recognize: Don't touch unless there is really a reason and everyone involved knows the consequences - and I am not among those knowing all those consequences (Dunning Kruger effect, in the original form).

          Edit: You can force-clear all TGTs of a client or a server. The result is pretty close like you have just rebooted the computer, in your case the Exchange server. If you use that method believe me: You will reboot (not power cycle please) the server out of frustration since many services don't like that and recovering from that is faster with a reboot. Guess how I know.

          1. anothercynic Silver badge

            Re: LDAP?

            Ohhhh yes, Kerberos... I had the distinct (dis)pleasure of dealing with Kerberos and GSSAPI-based tech for a few years. While others less... knowledgeable would describe Kerberos or GSSAPI stuff as 'fragile', it's actually more paranoia built into it all from the developers to make sure it can't be abused.

            And tech taking shortcuts, like thinking that everything using GSSAPI will only ever do one roundtrip, which is categorically not true, or not gracefully handling the invalidation of the existing token by requesting a new one, is just one of the many things that make Kerberos feel like a temperamental glass-based thing, rather than people taking liberties and making assumptions instead of sticking to what the specifications say you should do.

  6. chivo243 Silver badge
    Thumb Up

    Note to self

    keep your hands in your back pockets tomorrow, you have a dentist appt.

    1. TimMaher Silver badge
      Boffin

      Re: Dentist appt.

      Or is that a dentist app?

      Best of luck BTW.

    2. that one in the corner Silver badge

      Re: Note to self

      By sheer coincidence, I have a filling in two hours time - maybe an orderly shutdown now might be the safest option?

    3. chivo243 Silver badge
      Go

      Re: Note to self

      no disasters, on the job or at the dentist!

  7. that one in the corner Silver badge

    This is where YouTube videos are an advantage

    You might be drifting off as the documentation author's monotone tutorial drones on and on.

    But you will notice that, just after reading out 'Enabling LDAP authentication will delete all existing users' there is a noise somewhere between a maniacal giggle and a guffaw.

    That just doesn't come across in the written work.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like