Tag Archives: 2012

Microsoft Exchange Server Windows Server

Resolve 530 5.7.1 Client was not authenticated Error In Exchange 2010-2012

When working on mail flow issues, one of the first troubleshooting steps with any mail server is to try and telnet into port 25 of the server. Exchange has an error, 530, that says that the smtp connection wasn’t authenticated. If you’re trying to relay through an Exchange server, that’s a good thing, as you wouldn’t want an open relay. However, if you’re trying to relay to an Exchange server, that’s not such a good thing. So let’s look at what this symptom looks like. First we try and telnet into port 25 of the server:

telnet exchange.krypted.com 25

Which shows the following:

220 exchange.krypted.com

Then we say hi:

Helo

And because the laws of robotics tell it to do so, the server says hi back:

250 exchange.krypted.com Hello

Then we try and relay to it:

mail from:krypted@me.com

And we get this error at some point in our smtp communication:

530 5.7.1 Client was not authenticated

Now, at this point we should look at the receive connector for Exchange, part of Hub Transport. To do so, open Exchange System Manager or Exchange Management Console and select Hub Transport under the Server Configuration section.

Screen Shot 2013-10-09 at 12.44.10 PM

Here, locate your default receive connector (don’t do this on a send connector or you will create an open relay), right click it and then click on Properties.

Screen Shot 2013-10-09 at 12.44.27 PM

At the Properties dialog, check the box for Anonymous users. This allows for another mail server to communicate with yours over smtp since that other server is basically just running through the message dialog we worked through earlier while telneted into the host. Click Apply to save the changes and for giggles go ahead and stop (disable) and start (enable) the connector.

Microsoft Exchange Server Network Infrastructure Windows Server

Change MTU in Windows Server

When we transfer certain amounts of data in a packet we might cause that packet to fragment. The less fragmentations without requiring a collision or a re-send of a packet, the more efficient network traffic can be. The MTU defines the packet size. Different types of data or network links respond differently. To change the MTU on a Windows Server we’re going to use the netsh command. First, we’re going to use ping to ping a host on our network, using -f and then -l which allows us to define the MTU size. In this case we’re going to use 1500:

ping krypted.com -f -l 1500

We should get an error:

Packet needs to be fragmented but DF set.

Now, let’s try

ping krypted.com -f -l 1464

Now, let’s look at the interfaces along with what the current MTU is on each:

netsh interface ipv4 show interfaces

Then, let’s make the mtu 1464 persistently using the Idx number of the interface to change from the above command in quotes:

netsh interface ipv4 set subinterface "10" mtu=1464 store=persistent

Active Directory Windows Server

Setting Up Active Directory In Windows Server 2012

Installing Active Directory services is arguably one of the first things done on many a Windows Server. And for well over a decade you could unbox, update, run dcpromo and be done with much of that. While the wizards are still there, in the case of Windows Server 2012, the process has changed ever-so-slightly. To install a domain controller in Windows Server 2012, start with Server Manager. This new tool is the place where you start many a process in a Windows Server now, and Active Directory is no different.

To get started, first open Server Manager.

Screen Shot 2013-08-08 at 3.54.57 PM

From Server Manager, click on the Manage menu and select Add Roles and Features. At the Before you begin screen in the Add Roles and Features Wizard, click on Next.

Screen Shot 2013-08-08 at 3.55.00 PM

At the Installation Type screen, choose Role-based or feature-based installation and click Next.

Screen Shot 2013-08-08 at 3.55.02 PM

At the Server Selection screen, choose the server you’d like to install the Active Directory role on and then click Next. If you only have one server then you should only have one listing here.

Screen Shot 2013-08-08 at 3.55.06 PM

There are a number of Roles a domain controller can have. For many environments, a simple Domain Services role will be sufficient, especially on the first 2012 server in the environment. To select this, at the Server Roles screen, choose Active Directory Domain Services and then click on Next.

Screen Shot 2013-08-08 at 3.55.14 PM

A sanity check will run to verify all the required Features and other Roles are installed. If not, you’ll be presented with a list of items that will be installed in support of the Role being deployed. Click Add Features for most environments, unless you have the tools to manage the Role installed elsewhere.

Screen Shot 2013-08-08 at 3.55.17 PM

Back at the Server Roles screen, click Next, unless you’d like to install other Roles as well.

Screen Shot 2013-08-08 at 3.55.21 PM

At the Features screen, click Next, unless you’d like to install other features as well.

Screen Shot 2013-08-08 at 3.55.32 PM

At the AD DS screen, click Next.

Screen Shot 2013-08-08 at 3.55.57 PM

At the Confirmation screen, click Install. You can also tell the server to restart automatically here, so do that as well.

Screen Shot 2013-08-08 at 3.56.02 PM

Once the installation is complete, you’ll see a yellow icon indicating that something needs to happen with the server. The menu that appears contains a link to promote the server to a domain controller. Click the link to bring up the Deployment Configuration wizard.

Screen Shot 2013-08-08 at 4.30.05 PM

At the Deployment Configuration screen of the wizard you can choose whether to add the domain controller to an existing domain or create a new forest. In this case, we’ll select the “Add a new forest” option. When highlighted, you will be able to provide a name for the domain. here we use krypted.com. Once the name is provided, click Next.

Screen Shot 2013-08-08 at 4.30.42 PM

At the Domain Controller Options screen, choose whether the server will be an AD Integrated DNS Server, a Global Catalog server, possibly a Read only domain controller and provide a Directory Services Restore Mode (DSRM) password used to restore the environment in case it fails. Also, choose the functional level of both the domain and forest. Because this is a new environment with no 2003 to 2008 servers we will leave the levels set to Windows Server 2012. Click Next when you’re satisfied with your entries.

Screen Shot 2013-08-08 at 4.33.14 PM

If you decided to enable DNS, you will have the option to also install DNS delegation which you should do if possible, in most environments. Click Next.

Screen Shot 2013-08-08 at 4.33.48 PM

At the Additional Options screen, provide a NetBIOS name. This is usually a 8 character or less rendition of the same domain name, often used in legacy tools or prepended to usernames and passwords when namespace collisions occur with account names. When you’ve provided the name, click Next.

Screen Shot 2013-08-08 at 4.34.09 PM

At the Paths screen, indicate where you want the directories that contain the Active Directory files stored. Most environments can leave these to the default settings and click Next.

Screen Shot 2013-08-08 at 4.34.26 PM

At the Review Options screen, click Next provided that all of the options match the information you provided/desire.

Screen Shot 2013-08-08 at 4.34.29 PM

At the Installation screen, click Install and watch the Progress (takes a minute or three usually to complete).

Screen Shot 2013-08-08 at 4.42.53 PM

Once completed, open the Tools menu in Server Manager to see the tools formerly available in the Administrative Tools section of the Start menu, including Active Directory Domains and Trusts, Active Directory Power Shell, Active Directory Sites and Services and Active Directory Users and Computers, which mostly look like they’ve looked for a long time (but with a pretty blue frame around the screen).

Screen Shot 2013-08-09 at 9.14.19 AM

Additionally, there’s an Active Directory Administrative Center, which provides quick and easy access to a number of features from other tools and allows you to change domain controllers, raise the domain/forest functional levels (useful when upgrading from previous incantations of Active Directory), etc.

Screen Shot 2013-08-10 at 3.31.59 PM

Business

The Return of Dallas: 25 Business Tips Learned From The Ewings

JR Ewing (aka Larry Hagman) passed away this week. He was one of the stars of Dallas and the famed character from the “who shot JR” line. He also had a ton of great quotes over the years, such as “Say, why don’t you have that junior plastic surgeon you married design you a new face: one without a mouth!” and “”Revenge is the single most satisfying feeling in the world!” He also busted out with “A conscience is like a boat or a car. If you feel you need one, rent it.” and one that every NFL running back seems to bust out with in the last year of their contract “Contracts were made to be broken, honey, but a handshake is the law of God.”

"Never tell the truth when a good lie'll do!"

“Never tell the truth when a good lie’ll do!”

I was really too young to watch Dallas. But I did here and there. Later, I was way too late to watch it, but thanks to NetFlix, I watched every painful episode of every season of the show that I wasn’t allowed to watch ’cause I was too young. And looking back, there’s one thing you can’t deny: most of the basics about how to conduct business can be learned from this show, especially from JR. So here’s my top 25 (moved these up from back in July) in honor of JR, may he rest in peace:

  1. Do the right thing. JR’s dirty dealings never really won out in the end, because bad only begets bad. So be a good person. All the good things happen to Bobby.
  2. Don’t be too soft. But Bobby was too soft to really get the job done either. So don’t be too good a person. Oh who am I kidding, Bobby got it all no matter which way you slice it, be a good person already…
  3. California is where it’s at! The brother Gary moved to California and got his own show. The women in Knots Landing were way better (OMG, shoulder pads!!!). Therefore, California is a good place to run a business. Note: Every promo shot for this show had more women than men.
  4. Computers are awesome! Bobby had a computer and dated the hottest lady on the show, therefore computers are for business and getting ladies.
  5. Blood, sweat and tears. After JR got shot, the numbers on the show (and the millions the family gambled with) skyrocketed. That must mean that a little pain leads to more money. The first time over 40,000,000 people turned on the TV to watch something was to see who shot JR. Eclipsed by a teary Mash finale, and then the Super Bowl where the sweaty Saints were paid bounties to kick the crap out of the opposing team, the show that answered the question is still the 3rd most watched show of all time (OJs trial is 4th, speaking of blood).
  6. Be real. Bobby’s whole coma season was a dream. That means that you can do awful, terrible things, but you’ll wake up the next day and it will all be alright! Wait, that’s not the point. The point is that when Dallas stopped being itself and went into this weird place where entire seasons disappeared, things got lame and people stopped watching. Except me, thanks to NetFlix and a stubborn way about me…
  7. Business is best done by the pool. Watching them talk on those big old school cell phones by the pool about the millions on this and that, with women swimming in the pool reminds me, I should probably get a pool…
  8. Be yourself. Pamela Ewing was awesome and now notsomuch. So plastic surgery is very, very bad! Before that plastic surgery, she did in the BeeGees and was the 1980s version of Juliet…
  9. There can be only one. Maybe that was the Highlander. No, it was Dallas. Or college football: Mack Brown, Joe Paterno and other legendary football coaches can tell you, having two starting quarterbacks is just gonna’ muck things up. Someone needs to be the alpha, the CEO, the person who calls the shots. Rivalry leads to a negative form of competition at the top. Competition is good in games, sports (pre-season at least) and other places, but at the end of the day, life isn’t a game and someone needs the responsibility. While we’re on the subject of the highlander, the TV show sucked. Like really bad. But Sean Connery, he was pretty awesome.
  10. Listen. OK, I learned this from watching what they didn’t do, not what they did do. Even the good guys on this show didn’t listen. Bobby would get all sensitive ponytail guy and ask Pam how she was feeling and then run off to go hunting or something. That’s why she married someone else later, before coming back to him, then getting a nose job and shacking up with the BeeGees! The BeeGees are very much not from Dallas.
  11. Don’t hold a grudge. Cliff Barnes never really ended up getting revenge. He just kinda’ lingered on the show like a silly, bad comedic sidekick. Business is business, you win some and some you don’t. His feud with the Ewings basically killed his dad and led him to be one of the lamer characters on TV. If he’d of just let it go, or moved to California to be with Gary and chase ladies around the cul-de-sac he’d of been much happier!
  12. Old school FTW! Jock and Miss Ellie were some of the best characters on TV. Jock had a way with business, he’d tell it like it is, do what needed to be done but not take things too far. Sure, he screwed over Digger Barnes back in the day, but the guys name was Digger, what did he expect?!?! Jock made the show ’cause he was old school. Jim Davis had done westerns his whole life. Mostly B movies at that. How could you not be grizzled. I some day hope to be just like him. Well, minus the occasional leisure suit (he had just survived the 70s after all).
  13. Don’t be a hothead. Nepotism lives: just ask Ray Krebbs. He could have had it all. From ranch hand to big man on campus in about 2 episodes flat. But getting angry and going off never really helped anyone. Any time your heads about to pop you’re so mad about something, just think: “You just gotta keep livin’ man, L-I-V-I-N.” I know that’s Dazed and Confused, and has nothing to do with Dallas but it’s also set in Texas and it works…
  14. Stay Sober. Sue Ellen was an icon of the 1980s. She was JR’s wife, heiress to the family fortune and when she was bad, she was awesome. Then her character drank too much and became a caricature of her former self. When the booze impact the ratings, time to go to rehab.
  15. Teamwork builds ships. Maybe not ships, but certainly fortunes. The Ewing boys, when they worked together had massive pay outs. Problem is, after each one, they turned on one another (or at least JR turned on Bobby) in vicious not-very-brotherly plots that all but destroyed each successive fortune.
  16. Finding good people is hard. Practically every henchman JR hired ended up turning on him. Recruiting good talent is tough. When you find good people, hang on to them! One thing was they never drew a line between henchmen who were politicians and those who weren’t. JR hung on to these two even after the show was over… 
  17. Don’t go into business with bad people. JR screwed over all the other Dallas oilmen, over and over and over, and they just kept investing in his schemes… Look, assume everyone is out for themselves to some degree. But there are limits. If you know someone is bad, just don’t even get in business with them, no matter how lucrative they make it seem. When we were investing money in Enron, we should have realized, from watching Dallas, what would happen…
  18. Form good partnerships. The Texas oilmen always loved doing business with Bobby. He paid out, didn’t screw them over and was fair. They still went to do business with JR when he called, but that usually had to do with JR having pictures of them with hookers or something… Speaking of which, I wonder what he’s got on ‘ole Rick Perry?!?!?
  19. The key to negotiating is leverage. Back to the hookers thing. JR never left anything to chance. Hookers, blow, whatever it took. Bobby was the guy before the show started that made money flow into the politicians hands. But here, I have to disagree with Dallas. The key to good negotiations is having a solid product or service, not the dirt on everyone in town. Maybe back then, but these days the dirt is all over Facebook already… Wait, I forgot, I learned my negotiation skills from Oz. Either that or I just enjoyed watching the show. No, I seem to remember bringing a shank to a contract negotiation once… Or not. I think that was yesterday… Wait, nevermind…
  20. It’s never too late to turn it around. Sure, Sue Ellen was bad off, in jail, moved off to live with a rodeo clown and then got brought back in. But she was better and had an air of confidence and serenity that made you realize that yes, the 1970s were over, it was seriously the 80s and she was seriously wearing Hammer pants…
  21. Attitude is everything. Larry Hagman’s belt buckle says it all (I have one that says krypted in honor of it)… Have you seen the guy’s eyebrows?!?!? He was on TV for decades, first in I Dream Of Jeannie (where he taught me very different things) and then in Dallas and after trying to bring I Dream Of Jeannie back, is back in Dallas… How do you stick around this long? Well, some use a spell to become a lich. I suspect Hagman of such a trick… But really, with him, it’s all about the attitude. That’s why he was so believable as JR and the nation took to the show the way it did. 
  22. Have a purpose. The show finally ended because there wasn’t anything left in the tank. They had no purpose left in them. Not that they ever had a purpose other than making money by drilling the world dry of oil (which translates into the producers drilling the intelligence out of the audience, one train wreck of a season after another beyond the 4th season).
  23. Actually, come to think of it, Dallas didn’t teach me anything about business. I learned about business from playing Civilization. Wait, no, that’s politics. Either way, the French will always turn on you! Right, I remember now, watch Oz for business advice. Way better than an MBA… Wait, there is something, if you haven’t won after being off the air for over 21 years and on for over 10, after 30 years, just stop. No really, unless you’re in prison like in Oz. Then you’ve kinda’ got nothing else to do…
  24. NEVER GO INTO BUSINESS WITH FAMILY!!!
  25. Nothing is ever really over (so here’s the obligatory trailer embed)!

iPhone Mass Deployment

JAMF Nation User Conference 2012

I mentioned the JAMF Nation User Conference on the site before, but now I need to mention it again. Mostly because I’ll now be doing a presentation now. I know, I said I wasn’t going to be doing much public speaking. But the only conference I’ve been to in the last decade that I wasn’t speaking at has been the JAMF Nation User Conference. Sooo, how could I not, when the conference is, after all, in the city I live in! Anyway, my session has been added to the sessions page:

http://www.jamfsoftware.com/events/user-conferences/jamf-nation-user-conference-2012/sessions

Hope to see you there!

Mac OS X Mac OS X Server public speaking

2012 Penn State MacAdmins Slides