Setup Samba with Active Directory users

ruben's picture

Hello

 

I need to setup Samba Server to let Windows users (windows 2008) from Active Directory access to Samba shares.

In a fresh Turnkey box I have noticed some services like winbind are not installed by default. 

My question: Turnkey File Server has everything necessary in Webmin to setup Samba+AD? Or we need to install paquets as root and do the setup out of Webmin?

 

thanks

Jeremy Davis's picture

So if you wish to integrate with AD then you will have some work to do... AFAIK Samba4 interates with AD, but not Samba3 (at least not OOTB). I don't have any experience with this so can't help much but if you keep in mind that TKL v12.x is based on Debian Squeeze then you should be able to find plenty of info via google. Also you may be able to tap into the previous experience of other users here with a search (I searched "Samba AD" from the search box - top right of the page and got quite a few hits that may or may not be useful).

AFAIK any official additional Webmin modules (that exist) should also be available in the TKL repo (enabled by default). You can see all the Webmin modules available like this:

apt-cache search webmin

If you find instructions that work for you please post a link and/or document your steps and post back would be cool and I'm sure helpful to other users. If you get stuck please feel free to ask (although I'm not sure how helpful I'll be able to be...).

Rubén Ortiz's picture

Hi again

then I have a problem here :)

because if you install turnkey fileserver the version of samba installed is 

#  smbd -V

Version 3.5.6
 
In other documentation nobody mention about 3.X and AD. Do you think is not possible to integrate Samba 3.X and AD? Will be strange because in the same webmin of Turnkey fileserver the panel appears (winbind tab) to be ready to integrate with Windows AD.
 
What do you think???
Rubén Ortiz's picture

Hi again

after some test I am not able to join linux debian samba to AD

the error is:

 

Enter Administrador's password:
[2013/08/05 18:07:43.458327,  0] libads/sasl.c:821(ads_sasl_spnego_bind)
  kinit succeeded but ads_sasl_spnego_krb5_bind failed: SASL bind in progress
 
I have not found another workaround to fix it.
 
Any ideas?

Post new comment