Displaying 20 results from an estimated 237 matches for "logfilebase".
2003 Jun 17
0
samba configuration problem (LOGFILEBASE, configure, make, 2.2.8a)
How do I get LOGFILEBASE configured into my smbd and nmbd to have the value
I wish instead of default?
I built samba 2.2.8a with:
./configure --with-logfilebase=/var/opt/samba
and I notice make output shows -DLOGFILEBASE="/var/opt/samba", but when
samba starts, I find log.nmbd and log.smbd under /usr/local/sa...
2005 Oct 15
1
makepkg.sh for samba 3.0.20
...tall base for the new version
locates in /opt/samba and the smbd locates in /etc/samba.
I tried to modify the makepkg.sh to put everything under
/usr/local/samba as follow:
Delete:
====
--localstatedir=/var/lib/samba \
--with-piddir=/var/run \
--with-logfilebase=/var/log/samba \
--with-privatedir=/etc/samba/private \
--with-configdir=/etc/samba \
Add:
====
--localstatedir=/usr/local/samba/lib \
--with-piddir=/var/run \
--with-logfilebase=/usr/local/samba/var/log \...
2003 Mar 26
1
problems compiling Samba 2.2.8 on Solaris 2.8
...sr/local/samba.
When I ran the ./configure script I used the following options:
# ./configure --prefix=/opt/samba \
--with-privatedir=/opt/samba/private --with-lockdir=/opt/samba/var/locks \
--with-piddir=/opt/samba/var/locks --with-swatdir=/opt/samba/swat \
--with-configdir=/opt/samba/lib --with-logfilebase=/opt/samba/var \
--with-logfilebase=/opt/samba/var --with-automount
So I did properly set my logfile base to /opt/samba/var but samba still
seems to think it should be /usr/local/samba. Did I forget something? Any
help is much appreciated as I am fairly new to Samba.
Thanks,
Greg
2017 May 24
2
Howto switch from distribution to self compiled?
...cal/samba).
Which files do I need to copy from the old place to the new?
Which ones are only temporary files, and can be discarded?
This is from the output of "smbd -b"
old:
SBINDIR: /usr/sbin
BINDIR: /usr/bin
SWATDIR: /usr/share/swat
CONFIGFILE: /etc/samba/smb.conf
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
LIBDIR: /usr/lib64
MODULESDIR: /usr/lib64/samba
SHLIBEXT: so
LOCKDIR: /var/lib/samba
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /var/run
SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
PRIVATE_D...
2018 Jun 10
2
Samba Time Synchronisation wikipage
...and hence things will be in different places.
If you you run 'samba -b' on a self compiled version of Samba, you
will get this:
BINDIR: /usr/local/samba/bin
SBINDIR: /usr/local/samba/sbin
CONFIGFILE: /usr/local/samba/etc/smb.conf
NCALRPCDIR: /usr/local/samba/var/run/ncalrpc
LOGFILEBASE: /usr/local/samba/var
LMHOSTSFILE: /usr/local/samba/etc/lmhosts
DATADIR: /usr/local/samba/share
MODULESDIR: /usr/local/samba/lib
LOCKDIR: /usr/local/samba/var/lock
STATEDIR: /usr/local/samba/var/locks
CACHEDIR: /usr/local/samba/var/cache
PIDDIR: /usr/local/samba/var/run
PRIV...
2005 Jun 06
2
what happened to smbclient?
...address IP] [-E|--stderr] [-L|--list HOST]
[-t|--terminal CODE] [-m|--max-protocol LEVEL] [-T|--tar <c|x>IXFqgbNan]
[-D|--directory DIR] [-c|--command STRING] [-b|--send-buffer BYTES]
[-p|--port PORT] [-g|--grepable] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [-O|--socket-options SOCKETOPTIONS]
[-n|--netbiosname NETBIOSNAME] [-W|--workgroup WORKGROUP]
[-i|--scope SCOPE] [-U|--user USERNAME] [-N|--no-pass] [-k|--kerberos]
[-A|--authentication-file FILE] [-S|--signing on|off|required]
[-P|--machine-pass] service <password>
Tomek
2016 Nov 23
2
backup_samba4 script failing
Hi Bob,
Ah, now I see the the core of this problem.
This is the main problem.
You smbd –b output
Paths:
SBINDIR: /usr/local/samba/sbin
BINDIR: /usr/local/samba/bin
CONFIGFILE: /usr/local/samba/etc/smb.conf <<<<<<<<<<
LOGFILEBASE: /usr/local/samba/var
LMHOSTSFILE: /usr/local/samba/etc/lmhosts
LIBDIR: /usr/local/samba/lib
MODULESDIR: /usr/local/samba/lib
SHLIBEXT: so
LOCKDIR: /usr/local/samba/var/lock
And below in the email your telling that you config is in /etc/samba
Due to this mismatch, the script is...
2016 Sep 30
2
turned on log level = 10 . . . no logs
...or the moment_ as I went to my
second DC and set log level to "10" to see what is going on and the
second DC is not generating log files. It did not create
/var/log/samba/* anything. This after a couple of restarts. I checked
the "smbd -b" output of DC2 and Samba is set to "LOGFILEBASE:
/var/log/samba."
The second DC is a Ubuntu 16.04.1LTS running Samba 4.3.9 (from repo) and
bind9.10.3-P4-Ubuntu.
Does anyone know how can I get the logs to generate? Is there something
else I "need to turn on"?
--
_______________________________
Bob Wooden of Donelson Trophy...
2019 Mar 27
5
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
...RING] [--show-binary]
[--paged] [--show-deleted] [--show-recycled]
[--show-deactivated-link] [--reveal] [--relax] [--cross-ncs]
[--extended-dn] [-d|--debuglevel=DEBUGLEVEL] [--debug-stderr]
[-s|--configfile=CONFIGFILE] [--option=name=value]
[-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
[-U|--user=[DOMAIN/]USERNAME[%PASSWORD]] [-N|--no-pass]
[--password=STRING] [-A|--authentication-file=FILE]
[-P|--machine-pass] [--simple-bind-dn=STRING] [-k|--kerberos=STRING]
[--krb5-ccache=STRING] [-S|--sign] [-e|--encrypt]...
2017 Aug 12
0
Samba 4.6 replication issue (WERR_FILE_NOT_FOUND)
...on: 4.6.6
Build environment:
Build host: Linux 99f3e1c0b9a7449a8969a6f3f3fb5161
4.11.0-2.fc26.x86_64 #1 SMP Tue May 9 15:24:49 UTC 2017 x86_64 x86_64
x86_64 GNU/Linux
Paths:
BINDIR: /usr/bin
SBINDIR: /usr/sbin
CONFIGFILE: /etc/samba/smb.conf
NCALRPCDIR: /run/samba/ncalrpc
LOGFILEBASE: /var/log/samba
LMHOSTSFILE: /etc/samba/lmhosts
DATADIR: /usr/share
MODULESDIR: /usr/lib64/samba
LOCKDIR: /var/lib/samba/lock
STATEDIR: /var/lib/samba
CACHEDIR: /var/lib/samba
PIDDIR: /run
PRIVATE_DIR: /var/lib/samba/private
CODEPAGEDIR: /usr/share/samba/codepage...
2016 Sep 30
2
turned on log level = 10 . . . no logs
...gt; second DC and set log level to "10" to see what is going on and the
>> second DC is not generating log files. It did not create
>> /var/log/samba/* anything. This after a couple of restarts. I checked
>> the "smbd -b" output of DC2 and Samba is set to "LOGFILEBASE:
>> /var/log/samba."
>>
>> The second DC is a Ubuntu 16.04.1LTS running Samba 4.3.9 (from repo)
>> and bind9.10.3-P4-Ubuntu.
>>
>> Does anyone know how can I get the logs to generate? Is there
>> something else I "need to turn on"?
>...
2008 Apr 08
1
unable to compile samba 3.0.28a on RHEL 5.1 i386
...RTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE'
+ ./configure --prefix=/usr --localstatedir=/var
--with-configdir=/etc/samba --with-libdir=/usr/lib/samba
--with-lockdir=/var/lib/samba --with-logfilebase=/var/log/samba
--with-mandir=/usr/share/man --with-piddir=/var/run
--with-privatedir=/etc/samba
--with-sambabook=/usr/share/swat/using_samba
--with-swatdir=/usr/share/swat --enable-cups --with-acl-support
--with-ads --with-automount --with-fhs --with-pam_smbpass
--with-libsmbclient --with-lib...
2003 Mar 19
2
pid and lock dir during compile
...hink might affect this is the --localstatedir. My
./configure line is as follows:
./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-
lockdir=/var/lock/samba.d --with-piddir=/var/lock/samba.d --with-
confdir=/etc/samba.d --with-codepagedir=/etc/samba.d/codepages --with-
logfilebase=/var/log/samba.d --with-syslog --localstatedir=/var --with-
privatedir=/etc/samba.d/private
Comments?
--
Harondel J. Sibble
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-37...
2016 Sep 30
2
turned on log level = 10 . . . no logs
...to
> my second DC and set log level to "10" to see what is going on and
> the second DC is not generating log files. It did not create
> /var/log/samba/* anything. This after a couple of restarts. I
> checked the "smbd -b" output of DC2 and Samba is set to
> "LOGFILEBASE: /var/log/samba."
>
> The second DC is a Ubuntu 16.04.1LTS running Samba 4.3.9 (from
> repo) and bind9.10.3-P4-Ubuntu.
>
> Does anyone know how can I get the logs to generate? Is there
> something else I "need to turn on"?
> Lets start with the dns entries,...
2015 Feb 25
2
smb.conf filepaths
Can all of the compiled-in filepaths below be overrdden in smb.conf? I
can't find documentation for the required smb.conf equivilents. If someone
could supply them or post a link, I'd be very greatful.
SBINDIR
BINDIR
SWATDIR
CONFIGFILE
LOGFILEBASE
LMHOSTSFILE
LIBDIR
LOCKDIR
PIDDIR
SMB_PASSWD_FILE
PRIVATE_DIR
2009 Jan 17
1
samba documentation error
...d -B
Invalid option -B: unknown option
Usage: winbindd [-?] [-?SFDinV] [-?|--help] [--usage] [-S|--stdout]
[-F|--foreground] [--no-process-group] [-D|--daemon] [-i|--interactive]
[-n|--no-caching] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version]
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html#startingSamba
"""
Alternative: Starting smbd as a Daemon
To start the server as a daemon, you should create a script something
like this one, perhaps calling it startsmb.
#!/bin/sh
/...
2003 Aug 17
1
Samba 3.0 and RedHat Linux 7.0?
...I really would like to know because after downloading, compiling and
installing it, it exits on startup with the following message:
/usr/local/samba/bin/smbd: error while loading shared libraries: unexpected
reloc type 0x80
Compiled with options:
./configure --sbindir=/usr/local/samba/bin --with-logfilebase=/var/log/samba
--with-smbmount --with-pam --with-acl-support
My system: RedHat version 7.0
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
Please, can somebody answer this question?
Kind regards,
Eddie Lania.
<!DSPAM:3f3fe693214301232614842>
2014 Oct 13
1
static compile
...VE_ENUM_VALUES=yes \
libreplace_cv_HAVE_GETADDRINFO=no \
--with-libtalloc=yes \
ac_cv_file__proc_sys_kernel_core_pattern=yes \
--with-configdir=/data/samba/files \
--bindir=/data/samba/files \
--sbindir=/data/samba/files \
--sysconfdir=/data/samba/files \
--with-configdir=/data/samba/files \
--with-logfilebase=/data/samba/files/var
CC=arm-none-linux-gnueabi-gcc
Compiles as dynamic/shared every time. What am I doing wrong?
2018 Jun 10
0
Samba Time Synchronisation wikipage
...places.
> If you you run 'samba -b' on a self compiled version of Samba, you
> will get this:
>
> BINDIR: /usr/local/samba/bin
> SBINDIR: /usr/local/samba/sbin
> CONFIGFILE: /usr/local/samba/etc/smb.conf
> NCALRPCDIR: /usr/local/samba/var/run/ncalrpc
> LOGFILEBASE: /usr/local/samba/var
> LMHOSTSFILE: /usr/local/samba/etc/lmhosts
> DATADIR: /usr/local/samba/share
> MODULESDIR: /usr/local/samba/lib
> LOCKDIR: /usr/local/samba/var/lock
> STATEDIR: /usr/local/samba/var/locks
> CACHEDIR: /usr/local/samba/var/cache
> PIDDI...
2020 Oct 05
2
logging lines in krb5.conf
...cal/samba/locks
???????????????? --with-cachedir=/local/samba/cache
???????????????? --with-lockdir=/local/samba/lock
???????????????? --with-privatedir=/local/samba/private
???????????????? --with-sockets-dir=/run
???????????????? --with-privileged-socket-dir=/var/lib
???????????????? --with-logfilebase=/local/log
???????????????? --with-syslog
However,
> %? smbd -b | grep HAVE_LIBKADM5SRV_MIT
> ?? HAVE_LIBKADM5SRV_MIT
I'd like to believe that the Kerberos implementation with Samba could
run independent of the O/S one, but I suspect that if you have MIT
Kerberos, it's going to...