[prev in list] [next in list] [prev in thread] [next in thread]
List: samba-ntdom
Subject: Re: Can't change /root/tmp 2.2.1a compiled on Mandrake 8.0
From: Jani Jaakkola <jjaakkol () cs ! Helsinki ! FI>
Date: 2001-08-06 12:02:40
[Download RAW message or body]
On Mon, 6 Aug 2001, Elsa Nwanry wrote:
> Even I've made a "clean configure" and make
>
> [./configure --with-lockdir=/var/lock/samba --with-acl-support --with-smbmou
> nt]
>
> I have these "per-machine" log.______
>
> 2001/08/06 13:35:18, 2] lib/access.c:check_access(316)
> Allowed connection from (192.168.10.33)
> [2001/08/06 13:35:18, 0] smbd/service.c:make_connection(560)
> machine (192.168.10.33) Can't change directory to /root/tmp (Permission
> denied)
> [2001/08/06 13:35:18, 2] smbd/server.c:exit_server(448)
> Closing connections
>
>
> I've read something relevant at this list but it seems to related with init
> scripts (and CVS) ... but I don't use any
> Instead of a script I tried to use /usr/local/samba/bin/smbd -D &
> /usr/local/samba/bin/nmbd -D directly with the same result ...
>
> May I have to change something related with the ./configure due Mandrake 8.0
> distribution?
It seems that your distribution creates a private tmp-directory for
user root and sets TMP and TMPDIR environment variables to point to it
(which usually is a good idea). However Samba does not like this, since it
likes to change uids, but expects still to be able access the TMP
directory. I have been bitten by this too, except that I have
/tmp/root.
Just do 'unset TMP' and 'unset TMPDIR' before trying to start samba. And
make sure your init scripts do not have the same problem.
- Jani
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic