[Samba] Error

Rowland Penny rowlandpenny241155 at gmail.com
Wed Aug 12 15:17:44 UTC 2015


On 12/08/15 16:23, sandy.napoles at eccmg.cupet.cu wrote:
> when I type 'env' I have
>
> TERM=xterm
> SHELL=/bin/bash
> XDG_SESSION_COOKIE=a1d519cf22cd431fb15180d000000351-1439393059.403089-1335452928
> SSH_CLIENT=172.18.68.6 60620 22
> SSH_TTY=/dev/pts/0
> USER=root
> MAIL=/var/mail/root
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> PWD=/root
> LANG=en_US.UTF-8
> SHLVL=1
> HOME=/root
> LOGNAME=root
> SSH_CONNECTION=172.18.68.6 60620 172.18.68.8 22
> _=/usr/bin/env
>
>
> 12 de agosto del 2015 11:02, "Rowland Penny" <rowlandpenny241155 at gmail.com> escribió:
>> On 12/08/15 15:44, sandy.napoles at eccmg.cupet.cu wrote:
>>
>>> OK, there could be several things going wrong here:
>>> Do you have /usr/local/samba/bin and /usr/local/samba/sbin at the start of your PATH ?
>>> -----> Yes I have both, in /usr/local/samba there's a folder bin and sbin
>> Er, no, if you open a terminal, type 'env', then amongst the output there will be a line that
>> starts with 'PATH'. This is the order in which to check for an executable, it need to start like
>> this:
>>
>> PATH=/usr/local/samba/sbin:/usr/local/samba/bin:~~~~~ and so on.
>> To change it, type 'export PATH=/usr/local/samba/sbin:/usr/local/samba/bin:$PATH'
>>
>> This will set it for the current session, your homework is to find out how to set it permanently
>> :-D
>>
>> Rowland
>>
>>> You have (in smb.conf)
>>> workgroup = domain
>>> realm = domain.cu
>>>
>>> -----> sorry, the correct way is
>>> workgroup = XXXXX
>>> realm = XXXXX.XXXXX.XX
>>> path = /usr/local/samba/var/locks/sysvol/xxxxx.xxxxx.xx/scripts
>>>> Can you helpme, please.
>> -- To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba

Please keep this on list.

You need to update your PATH variable, if you are using Jessie then I 
haven't a clue how to do this, I will *not* use systemd.

Rowland



More information about the samba mailing list