Redirect default path - Samba installation with apt
Published: April 18, 2018 - 3:13 PM
Hello everyone ,
I am currently working on setting up a Samba AD on my Debian 9 server.
I have already performed this installation using a " .tar.gz " file retrieved via the " wget " command , however I now need to perform the same installation using the " apt install " command.
The problem is that the paths to the configuration files and various directories in Samba differ depending on whether you use " wget " or " apt install ". For example:
Path to smb.conf:
Installed via wget: /usr/local/samba/etc/smb.conf
Installed via apt: /etc/samba/smb.conf
Or the path to /bin/samba-tool :
wget: /usr/local/samba/bin/samba-tool
apt: /usr/bin/samba-tool
My goal is to make the paths generated during installation via " apt " the same as those in the " .tar.gz " file retrieved via " wget ".
Thank you to anyone who has any solution or suggestion for resolving this issue.
I am currently working on setting up a Samba AD on my Debian 9 server.
I have already performed this installation using a " .tar.gz " file retrieved via the " wget " command , however I now need to perform the same installation using the " apt install " command.
The problem is that the paths to the configuration files and various directories in Samba differ depending on whether you use " wget " or " apt install ". For example:
Path to smb.conf:
Installed via wget: /usr/local/samba/etc/smb.conf
Installed via apt: /etc/samba/smb.conf
Or the path to /bin/samba-tool :
wget: /usr/local/samba/bin/samba-tool
apt: /usr/bin/samba-tool
My goal is to make the paths generated during installation via " apt " the same as those in the " .tar.gz " file retrieved via " wget ".
Thank you to anyone who has any solution or suggestion for resolving this issue.