Skip to main content

Samba4 and Windows ADS interoperability!

Last night I've been busy setting up the Samba4 on my VMware Workstation. Installation went fine. I'll add the print screens and the rest later. We will also try to start playing with ADS and trying to pump all data, migrate users and the rest , bring the Windows PDC down and activate our Linux directory.

More coming soon...(as in tonight ;-))

Where do I get it?

OK A quick look at the installation. Remember a couple of things. This is a TP (Technology Preview), so don't go rushing into your environment and upgrading your Samba3 yet. Wait. Hey that's why we have VMware machines. No harm at all. We'll even make a copy of a sample ADS in VMware and do some fun stuff.

But OK first setting it up.

  • Unzip it (tar xzvf ...)
  • Go to the source directory.

  • Run ./autogen (see below). Since this is no release yet, you have to generate scripts by hand.
  • and then ./configure

  • Checking...

  • make proto all (if your GCC version is above 3.4 you can do it a lot faster (five times faster they say) then do make pch all

  • Time to install

  • And then Provision...

  • Creating a simple smb.conf

The provisioning will do that with no shares so you need to make one here yourself.

path = /tmp/test
read only = no

  • Starting Samba4

The easiest to just run "smbd", but a curious soul will do this inadvertently

# smbd -i -M single

This will "start" smbd without messages in stdout, and running a
single process. That mode of operation makes debugging smbd with gdb

Also note that you don't need to have an Samba3 nmdb instance running. So if you are running any , stop them before you start Samba4.

Make sure you put the bin and sbin directories from your new install
in your $PATH. Actually you should do that already before provisioning!

Next we'll continue testing and playing around ADS and even go to lengths of pumping the life(data) out of Windows PDC and shutting it down and replacing it with Linux based PDC.


Popular posts from this blog

DeepLearningTrucker Part 1

Avastu Blog is migrating to; 1st Jan 2009 live


I will send out emails personally to those who are using my link(s) on their sites.

Thanks much for your co-operation and hope you enjoy the new site and its cool new features :-)

Not like the site is unlive or something..on the contrary, its beginning to get a lot of attention already. Well most of the work is done, you don't have to worry about anything though:

What won't change

Links/Referrals: I will be redirecting the links (all links which you may have cross-posted) to - so you don't have to do anything in all your posts and links. Although, I would urge however that you do change the permalinks, especially on your blogs etc yourselfThis blog is not going away anywhere but within a few months, I will consider discontinuing its usage. I won't obviously do …

Redhot Future Of IT Part I :Marketing yourself as IT professional

I had promised about the "RedHot IT Future Series" and so we discuss here how you should market yourself EFFECTIVELY as an IT professional in this new (and dangerous) web age! Web is the place where you're a hero today and villain tomorrow. While there are lots of professionals who are active on the web, not all are enjoying a good reputation as they got "personal" with others and got into a cockfight. The passive IT professional has nothing to lose but nothing to gain at all!

I know "marketing" might seem as a greasy term but the idea is to have the truth about you out there. You know you're a good person and your family knows that you're really smart person but the rest of the world doesn't!

So the question is how do I market myself on the web as a true "nouveau IT professional". A guy who companies will be tempted to pick up the phone as say "Hey, we wanna talk with you. Can you fly over to Palo Alto (or Guatemala or Johan…