[Samba] guide to install samba

Rowland Penny rowlandpenny at googlemail.com
Mon Jul 14 06:07:44 MDT 2014

On 14/07/14 12:32, marcos wrote:
> El 14/07/14 13:16, Rowland Penny escribió:
>> On 14/07/14 12:11, marcos wrote:
>>> Hi
>>> El 14/07/2014 13:04, Rowland Penny ha escrit:
>>>> On 14/07/14 10:47, marcos wrote:
>>>>> Hi
>>>>> I have and old system with samba 3.0.3 and I will migrate to a new
>>>>> server with debian jessie and samba 4. Im looking but Im not sure to
>>>>> create the structure samba + ldap + cups a good howto. My idea is to
>>>>> configure to use windows 7 how a clients. Any suggestions?
>>>>> The only seems to be good
>>>>> http://www.unixmen.com/setup-samba-domain-controller-with-openldap-backend-in-ubuntu-13-04/
>>>>> but is for ubuntu and I don't know If it's the same for samba 4.
>>>>> Thanks!
>>>> Hi, not sure what you are trying to achieve here, if you just want
>>>> to upgrade samba and end up with a NT style PDC then you should be
>>>> able to follow that post, but you probably should upgrade to an AD
>>>> DC, NT style PDC's are extremely old and have not been really been
>>>> supported by microsoft for some time and they may remove support at
>>>> any time.
>>>> If you do decide to go for the AD DC, then the samba wiki will be
>>>> your friend, or it would be if it wasn't down for maintenance ;-)
>>> To do the migration my idea is to config a new server completely
>>> clean, and use samba. My ldap is configured separated in other server
>>> and only Im interested about the parameters to update from old config
>>> and create a new SID. Really now the support is very bad (version
>>> 3.0.3) , for this I prefer to work with samba 4, but l don't know If
>>> exist any place for instructions to config new samba 4  + ldap.
>>> Any suggestions? Or the most updated is the wiki?
>>> Thanks!
>>>> Rowland
>> Anything that samba3 can do, samba4 can do, plus it can also be an AD
>> DC, so if that is what you want, just follow the howto you posted,
>> making changes where required because it is written for ubuntu and not
>> debian.
> Actually is the AD DC and file server. My idea is to separate to only do
> a DC.

I think that you mean that you want to setup samba 4 as the DC and then 
use seperate fileservers joined to the domain, is this correct ??

> My problem is about profiles, beacuse I used a mobile profiles,
> and now I would like to know options, and how to use local profiles in
> samba 4.

By 'mobile profiles' I take it you mean 'roaming profiles', I also take 
it that now you want to use local profiles instead, if this is the case, 
try searching the internet, but instead of using samba4 in the search 
terms, use AD or active directory instead.

You could use folder redirection instead of local profiles, again all 
the info is out there on the internet, you just need to get that Samba4 
AD is the same as windows AD.

> I understand than samba 3 and samba 4 works with same config?

Well yes, but only if you are comparing like with like, i.e. a samba3 
PDC and a samba4 PDC. If you set up an AD DC, the smb.conf is created 
for you, but you can then fine tune this to suit your requirements.

Finely, can you please contact me via the samba mailing list, contacting 
me direct could break the flow of the thread.

> Thanks
>> Rowland

More information about the samba mailing list