[Samba] Samba 4.1.22 Doesn't Respect Directory Overrides
alexmcwhirter at triadic.us
alexmcwhirter at triadic.us
Tue Jan 31 21:09:35 UTC 2017
I have the following in the global section smb.conf
private dir = /mnt/das/samba/test/private
smb passwd file = /mnt/das/samba/test/private/smbpasswd
lock directory = /mnt/das/samba/test
state directory = /mnt/das/samba/test/state
cache directory = /mnt/das/samba/test/cache
pid directory = /mnt/das/samba/test
the samba daemon seems to respect this, but the sub-daemons do not. See
the errors below.
samba[31531]: [2017/01/31 16:15:29.937610, 0]
../source4/smbd/server.c:370(binary_smbd_main)
samba[31531]: samba version 4.1.22 started.
samba[31531]: Copyright Andrew Tridgell and the Samba Team 1992-2013
samba[20345]: [2017/01/31 16:15:39.924306, 0]
../source4/smbd/server.c:488(binary_smbd_main)
samba[20345]: samba: using 'standard' process model
samba[25005]: [2017/01/31 16:15:40.411075, 0]
../lib/util/util.c:216(directory_create_or_exist)
samba[25005]: mkdir failed on directory /var/run/samba/ncalrpc: No
such file or directory
samba[25005]: [2017/01/31 16:15:40.499529, 0]
../source4/smbd/service_named_pipe.c:206(tstream_setup_named_pipe)
samba[25005]: ../source4/smbd/service_named_pipe.c:206: Failed to
create ncalrpc pipe directory '/var/run/samba/ncalrpc' -
NT_STATUS_OBJECT_NAME_NOT_FOUND
samba[25005]: [2017/01/31 16:15:40.501376, 0]
../source4/rpc_server/dcerpc_server.c:1716(dcesrv_add_ep_np)
samba[25005]: stream_setup_named_pipe(pipe=\\pipe\\srvsvc) failed -
NT_STATUS_OBJECT_NAME_NOT_FOUND
samba[25005]: [2017/01/31 16:15:40.502233, 0]
../source4/smbd/service_task.c:35(task_server_terminate)
samba[25005]: task_server_terminate: [Failed to startup dcerpc server
task]
samba[19195]: [2017/01/31 16:15:41.261322, 0]
../lib/util/util.c:216(directory_create_or_exist)
samba[19195]: mkdir failed on directory /var/run/samba/winbindd: No
such file or directory
samba[19195]: [2017/01/31 16:15:41.422128, 0]
../source4/smbd/service_task.c:35(task_server_terminate)
samba[19195]: task_server_terminate: [Cannot create winbindd pipe
directory]
samba[20345]: [2017/01/31 16:15:42.667135, 0]
../lib/util/become_daemon.c:136(daemon_ready)
samba[20345]: STATUS=daemon 'samba' finished starting up and ready to
serve connectionssamba_terminate: Failed to startup dcerpc server task
it looks like all of the sub-daemons are trying to use /var/run even
though i have overridden those values in smb.conf. Any ideas how to
proceed? Right now i'm stuck with older versions as i need ntvfs (no
posix acl's on my os). Even though it looks like there are some
configuration options to make s3fs use tdb files instead of posix acls,
i have not had good luck getting that to work.
More information about the samba
mailing list