[Samba] Error

Rowland Penny rowlandpenny241155 at gmail.com
Wed Aug 12 14:48:12 UTC 2015


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 = ECCMG
> realm = ECCMG.CUPET.CU
> path = /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/scripts
>   
> Can you helpme, please.
>




More information about the samba mailing list