When you first provision an AD DC, is there a way to control where samba-tool puts all of the AD data files? -- Greg J. Zartman Board Member Koozali Foundation, Inc. 2755 19th Street SE Salem, Oregon 97302 Cell: 541-5218449 SME Server user and community member since 2000
Just a quick follow up to this question: The Samba4 packages I have (Sernet) default the provision private dir to /var/lib/samba/private, with the smb.conf file planted in /etc/samba. Once I start the samba deamon, it seems to copy most of the tdb files into /etc/samba, but I'm not sure why it's doing this and if it's leaving some pieces back in /var/lib/samba/private. Is this normal behavior? Thanks, On Tue, Oct 28, 2014 at 10:13 PM, Greg Zartman <gzartman at koozali.org> wrote:> When you first provision an AD DC, is there a way to control where > samba-tool puts all of the AD data files? > > -- > Greg J. Zartman > Board Member > > Koozali Foundation, Inc. > 2755 19th Street SE > Salem, Oregon 97302 > Cell: 541-5218449 > > SME Server user and community member since 2000 >-- Greg J. Zartman Board Member Koozali Foundation, Inc. 2755 19th Street SE Salem, Oregon 97302 Cell: 541-5218449 SME Server user and community member since 2000
Hai Greg, no, its not normal behavior. I also run the sernet packages. ( on debian ) but i dont have any tbd fils in /etc/samba. can you post your smb.conf and the output of samba -b Greetz, Louis>-----Oorspronkelijk bericht----- >Van: gzartman at koozali.org >[mailto:samba-bounces at lists.samba.org] Namens Greg Zartman >Verzonden: woensdag 29 oktober 2014 6:27 >Aan: sambalist >Onderwerp: Re: [Samba] Samba4 provision, change private dir? > >Just a quick follow up to this question: > >The Samba4 packages I have (Sernet) default the provision >private dir to >/var/lib/samba/private, with the smb.conf file planted in >/etc/samba. Once >I start the samba deamon, it seems to copy most of the tdb files into >/etc/samba, but I'm not sure why it's doing this and if it's >leaving some >pieces back in /var/lib/samba/private. > >Is this normal behavior? > >Thanks, > > >On Tue, Oct 28, 2014 at 10:13 PM, Greg Zartman ><gzartman at koozali.org> wrote: > >> When you first provision an AD DC, is there a way to control where >> samba-tool puts all of the AD data files? >> >> -- >> Greg J. Zartman >> Board Member >> >> Koozali Foundation, Inc. >> 2755 19th Street SE >> Salem, Oregon 97302 >> Cell: 541-5218449 >> >> SME Server user and community member since 2000 >> > > > >-- >Greg J. Zartman >Board Member > >Koozali Foundation, Inc. >2755 19th Street SE >Salem, Oregon 97302 >Cell: 541-5218449 > >SME Server user and community member since 2000 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Hello Greg, Am 29.10.2014 um 06:13 schrieb Greg Zartman:> When you first provision an AD DC, is there a way to control where > samba-tool puts all of the AD data files?Self compiled or packages? * Self compiled: # ./configure --help --with-lockdir --with-statedir etc. * Packages: 1) # samba-tool domain provision --help --targetdir=DIR: This is the only parameter that looks interesting. But I don't know what goes into this directory. There's currently no parameter description. If you try what it does, let me know and I'll add a better description. :-) 2) Put the databases on a place you like and put a SymLink on it's original location (haven't tried if that works!) Regards, Marc