Samba4 on Freebsd

Introduction

As beta4  is out from samba4 I think it’s time to test the upcoming version of the open source samba server. With Samba4 you will have the option to run it as a DC, allowing you a centralized login in your office. We had some of those features in samba3 but with samba4 you will be able to deploy GPO s within you organization. With this you will be able to customize windows clients as you had done it with Windows DCs for years. Also there is a LDAP server integrated which is also a new feature and you can forgo to make LDAP server by hand. Also there are new python programs to help you administrate the organization. Also you can easily manage vpn access with radius from RSAT.

In this article I will show you the samba4 server on a FreeBSD9 machine.

Continue reading “Samba4 on Freebsd”

Advertisements

Raise functional levels on Windows Server 2008 Server Core

To raise the domain or forest functional levels on a 2008 server core machine use Powershell. Furhermore, you have to use ActiveDirectory Powershell module for this task.

Continue reading “Raise functional levels on Windows Server 2008 Server Core”

Outlook, OCS, Lync user pictures import with PowerShell

The Outlook 2010 and the Lync 2010 has a fancy feature that shows the picture of the users, which stored in the Active Directory. The Exchange 2010 introduces the thumbnailPhoto attribute for the User objects that can contain the photo. There are multiple ways to import pictures into the AD; one of the easiest is the Import-RecipientDataProperty Exchange commandlet, but what can we do if we have not installed the Exchange 2010? There are several 3rd party applications available for picture uploading, but if I need to do something more than twice, I automate it. In this reason I chose a PowerShell script, which easily schedulable. In my previous article I wrote about the picture modification. That was the prerequisite of the user pictures that stored into the Active Directory. It is easy to import and export pictures with PowerShell.
Continue reading “Outlook, OCS, Lync user pictures import with PowerShell”

Domain Join using PowerShell V2.0 Part I

In the time of IaaS (Infrastructure as a Service) and cloud computing, provisioning of new servers by one click should not be a problem. And when we’re talking about cloning virtual machines (vmdk / vhd) that’s true for sure. But what about the necessary post steps after the VM and Operating System is ready? For example joining the windows server to any domain automatically? Many companies still do these steps by hand. Of course, if we work for a large one, we probably already have tools to save some time on these post-steps (e.g. if you have a vCenter Server, you can use the “deploy virtual machine from this template” function, which has some built-in tricks like domain join). But these tools are usually just trigger some built-in Windows mechanism like sysprep.

What happens if we want our own, customized solution which is probably better than the commercial ones? Then it’s time to write our own post-script tool set, and use these scripts to automate our work.

Let’s start with the automatic domain join.

Continue reading “Domain Join using PowerShell V2.0 Part I”