upgrading samba4 gives samba3? or just confusion?

Michael Wood esiotrot at gmail.com
Fri Oct 7 07:46:03 MDT 2011


On 7 October 2011 13:58, Christian Huldt <christian at solvare.se> wrote:
> 7 okt 2011 kl. 12.42 skrev Michael Wood:
>> On 7 October 2011 10:22, Christian Huldt <christian at solvare.se> wrote:
>>> I was to update a samba4 pdc, but end up with both samba and smbd in
>>> /usr/local/samba/sbin each of which says
>>> Samba 4.0.0alpha18, but when I start samba I get

I have seen no announcement of alpha18 being released.  Also, I don't
see it here:


or were you abbreviating the version number?

>>> Unknown parameter encountered: "server role"
>> Did you start "samba" or was it "smbd"?
> I started "samba" (and verified with top that it was samba that was running).
>>> What is it that I do wrong?
>>> ./configure.developer
>>> make
>>> make install
>>> same results with 4alpha18 and yesterdays git
>> The build now installs both the Samba 3 and Samba 4 pieces.  smbd is
>> the Samba 3 fileserver.
>> You will also notice, e.g., smbclient and smbclient3 binaries.
>> If you run "samba" instead of "smbd" you should get basically what you
>> were expecting.
> That I would understand, which is why I got so puzzled.

Well I don't know then.

I've just done this:

$ git reset --hard master
$ git pull
$ git clean -xdf

I needed the "git clean" because I got link errors before doing this.

$ ./configure.developer
$ make
$ sudo make install
$ sudo source4/setup/provision --realm=samdom.example.com
--domain=SAMDOM --adminpass=SOMEPASSWORD --server-role='domain
(except I had to change the password because of the complexity constraints)
$ sudo /usr/local/samba/sbin/samba -i -M single
samba version 4.0.0alpha18-GIT-4493c57 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
samba: using 'single' process model
../source4/dsdb/dns/dns_update.c:294: Failed DNS update - NT_STATUS_IO_TIMEOUT

I haven't set up bind9, which explains the DNS update error.
Otherwise it seems fine.  No warnings about "server role".

Michael Wood <esiotrot at gmail.com>

More information about the samba-technical mailing list