[Samba] Join Samba4 in a Samba4 AD

DarkZad darkzad at yahoo.com.br
Sat Nov 9 05:49:54 MST 2013

Thanks for Help,

I followed this wiki.


On the server fileserver when I type wbinfo-u brings all users from AD 
but when I type wbinfo-i administrator gives the following message:

failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user administrator




    workgroup = TUDOR
    security = ADS
    realm = TUDOR.LOCAL
    encrypt passwords = yes

    idmap config *:backend = tdb
    idmap config *:range = 70001-80000
    idmap config TUDOR:backend = ad
    idmap config TUDOR:schema_mode = rfc2307
    idmap config TUDOR:range = 80001-3100000

    winbind nss info = rfc2307
    winbind trusted domains only = no
    winbind use default domain = yes
    winbind enum users  = yes
    winbind enum groups = yes

    path = /home/teste
    read only = no

Em 09-11-2013 10:20, Rowland Penny escreveu:
> On 09/11/13 11:40, Rowland Penny wrote:
>> On 09/11/13 11:17, DarkZad wrote:
>>> Hello,
>>> I have a server Samba4 as AD. Now I want to join another server in 
>>> Samba4 AD. But I do not want to register the users of the AD on the 
>>> second server.
>>> How should I proceed?
>>> Thanks
>> What do you mean 'join', as second DC or as a fileserver?
>> Rowland
> OK, next question, what do you mean by 'But I do not want to register 
> the users of the AD on the second server', I take it you mean that you 
> want your users to get their authentication from the AD DC and then 
> connect to shares on the fileserver.
> in which case, start here: 
> https://wiki.samba.org/index.php/Samba_%26_Active_Directory
> It is a bit outdated, but will get you started.
> Rowland

More information about the samba mailing list