> Op 27 mrt. 2023 om 17:14 heeft Lm Loge via samba <samba at lists.samba.org> het volgende geschreven: > > ?Hello, > > I just installed samba (very carefully) from the sources on Debian 11. > 1. I installed the packages for libraries and utilities required to build and install Samba > (using "bootstrap_generated-dists_debian11_bootstrap.sh", downloaded from the "wiki.samba.org" website). > 2. I downloaded the sources (https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.gz). > 3. After extracting the source package, I ran "configure", "make" and "make-install" which completed successfully. > > Now, when I run (as root) "/usr/local/samba/sbin/samba" nothing happens, really nothing.Do you mean ?the program exits? or ?the program has no output??> > Given that the installation is brand new, I noticed there is no "/usr/local/samba/etc/smb.conf" file. > I didn't provisioned that Samba AD DC. > (I stricty just did what I mentioned above). > > Can Samba be started the way I am trying to? > Is it normal nothing happens? > > Best regards. > -- > L?a Massiot > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
@WilliamEdwards The "/usr/local/samba/sbin/samba" command has no output. root# ps aux | grep samba shows samba is not running. Thanks. -- L?a On 27/03/2023 17:23, William Edwards wrote:>> Op 27 mrt. 2023 om 17:14 heeft Lm Loge via samba <samba at lists.samba.org> het volgende geschreven: >> >> ?Hello, >> >> I just installed samba (very carefully) from the sources on Debian 11. >> 1. I installed the packages for libraries and utilities required to build and install Samba >> (using "bootstrap_generated-dists_debian11_bootstrap.sh", downloaded from the "wiki.samba.org" website). >> 2. I downloaded the sources (https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.gz). >> 3. After extracting the source package, I ran "configure", "make" and "make-install" which completed successfully. >> >> Now, when I run (as root) "/usr/local/samba/sbin/samba" nothing happens, really nothing. > Do you mean ?the program exits? or ?the program has no output?? > >> Given that the installation is brand new, I noticed there is no "/usr/local/samba/etc/smb.conf" file. >> I didn't provisioned that Samba AD DC. >> (I stricty just did what I mentioned above). >> >> Can Samba be started the way I am trying to? >> Is it normal nothing happens? >> >> Best regards. >> -- >> L?a Massiot
On 27/03/2023 16:23, William Edwards via samba wrote:> >> Op 27 mrt. 2023 om 17:14 heeft Lm Loge via samba <samba at lists.samba.org> het volgende geschreven: >> >> ?Hello, >> >> I just installed samba (very carefully) from the sources on Debian 11. >> 1. I installed the packages for libraries and utilities required to build and install Samba >> (using "bootstrap_generated-dists_debian11_bootstrap.sh", downloaded from the "wiki.samba.org" website). >> 2. I downloaded the sources (https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.gz). >> 3. After extracting the source package, I ran "configure", "make" and "make-install" which completed successfully. >> >> Now, when I run (as root) "/usr/local/samba/sbin/samba" nothing happens, really nothing. > > Do you mean ?the program exits? or ?the program has no output?? >The OP has just built Samba and then tried to run the 'samba' binary, without doing anything else. It is likely that there will be something in the logs, but not much. It is in the state that you would be in if you just installed a distros Samba packages and did nothing else (though the distro may provide a default smb.conf) Rowland
@RowlandPenny And why not may I ask you? All I'm doing is in the "wiki.samba.org" website pages (see link below for example), can't it be trusted? (If not, is there a reliable manual for Samba installation, administration and use?) I thought the "make install" command, installed something, as its name indicates... It's written in the wiki: "To install Samba, run: $ sudo make install" (Source: https://wiki.samba.org/index.php/Build_Samba_from_Source) And, at the very end of the webpage just mentioned, you have the line: "To manually start the Samba Active Directory (AD) domain controller (DC) service, enter: # systemctl start samba-ad-dc" Which I did and which resulted in a failure (status=1/FAILURE). (Of course, I created the systemd unit file beforehand.) In this webpage, there is no such instruction as to provision the DC before starting the Samba service. So, I followed VERY CAREFULLY the instructions in this webpage and it ended up with a failure. (And, by the way, I also made a whole "tour" of the wiki which took me quite some time.) That's why I ended up trying to simply run "/usr/local/samba/sbin/samba", just in case I would have done something wrong when creating the systemd unit file (and with systemctl) as I'm not familiar with it. I am just trying to understand the "Samba system", as well as I can and at my level, because you know, every time I have to deal with Samba, like every two or three years, it's a mess, a nightmare. In 2018, we worked for nearly a whole month together to fix my setup, if you remember. But, no, you don't remember obviously, there are too many people you are answering to here. I know Samba is a free product but I really have tons of other things to do for my work and I am not specialized in Samba, or AD. In 2020, Van Belle, helped me, it took a lot less time, a couple of days. But this year, I asked him for help directly and he didn't answer me (which I understand by the way). The way you are putting things is somehow unpleasant. You shouldn't take advantage of the fact you are among the people who "know" things. -- L?a