On 06/04/13 17:46, Ricky Nance wrote:
Rowland, while that MAY work, in his case it still would have failed, you
need /usr/local/samba/bin and sbin BEFORE $PATH (eg, export
PATH=/usr/local/samba/bin:/usr/local/samba/sbin:$PATH) otherwise the search
will be done on /bin (or sbin) before it hits the correct binary.
Personally, I add the line export
PATH=/usr/local/samba/bin:/usr/local/samba/sbin:$PATH on the last line of
/root/.bashrc and any users .bashrc that I need to be able to use those
paths.

Ricky


On Sat, Apr 6, 2013 at 4:49 AM, Andrew Bartlett <[email protected]> wrote:

On Fri, 2013-04-05 at 16:54 +0200, Michael Wood wrote:
Hi
It sounds like the "samba" binary on your PATH is the old version.
Well spotted Michael, this one really had me stumped!

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Ah, but it sounded like he had removed the old samba binary from /usr/sbin and I doubt that he had installed samba4 from the debian repo, so either way round will work, but I take your point.

Rowland

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to