[Samba] Samba 4 for test

Elias Pereira empbilly at gmail.com
Tue Oct 7 11:00:23 MDT 2014


Ok, about above problem, i get it.

What is happening now is the following. I am performing tests related to
dns, and the first two commands, the return was correct, but the third
command, an error occurs.

*1º and 2º command:*

# host -t SRV _ldap._tcp.minharede.local.
_ldap._tcp.minharede.local has SRV record 0 100 389 samba4.minharede.local.
# host -t SRV _kerberos._udp.minharede.local.
_kerberos._udp.minharede.local has SRV record 0 100 88
samba4.minharede.local.

*3º command (error)*

# host -t A samba4.minharede.local.
Host samba4.minharede.local. not found: 3(NXDOMAIN)

# cat /etc/resolv.conf
search samba4.minharede.local
nameserver 192.168.77.200

Anyone know what can be?

On Mon, Oct 6, 2014 at 1:26 PM, Rowland Penny <rowlandpenny at googlemail.com>
wrote:

> On 06/10/14 17:12, Elias Pereira wrote:
>
>> I compiled from source.
>>
>> I looked by samba3 packages, but found nothing.
>>
>> How can I remove the 3.x version?
>>
>> On Mon, Oct 6, 2014 at 1:05 PM, Gregory Sloop <gregs at sloop.net> wrote:
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *EP> Hello everyone, EP> I installed the Samba4 for testing in debian
>>> 7.6.
>>> The problem I am facing EP> is the following. EP> When I run the command
>>> "smbclient --version" appears the version "3.6.6", EP> and not the
>>> version
>>> of the installation that is "4.1.12". EP> Anyone ever faced this
>>> problem? *How
>>> did you "install" samba? If you compiled it from source, you may have
>>> both
>>> 4.x installed and 3.x installed and the one in your path is 3.x - so when
>>> you run "smbclient" you get the 3.x version.
>>>
>>>
>>>
>>  Hi, it will probably be easier to use the samba packages from debian
> backports, this will get you samba 4.1.11 and you will be able to update it
> via standard debian tools.
>
> add this to /etc/apt/sources.list:
>
> # wheezy-backports
> deb http://ftp.uk.debian.org/debian wheezy-backports main
>
> Change 'uk' to your country
>
> Run 'apt-get update'
>
> now install required packages
> apt-get -t wheezy-backports install samba attr krb5-config krb5-user
> dnsutils winbind libpam-winbind libpam-krb5 libnss-winbind libsmbclient
> smbclient
>
> This should update your installed samba packages and cure your problem,
> trying to remove the installed samb3 packages may try to remove more than
> you want to.
>
>
> Rowland
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Elias Pereira


More information about the samba mailing list