[Samba] unix password sync not working

Greg Folkert greg at gregfolkert.net
Thu Jul 13 15:50:51 GMT 2006


On Thu, 2006-07-13 at 12:14 -0300, Ethy H. Brito wrote:
> On Wed, 12 Jul 2006 18:53:56 -0300
> "Ethy H. Brito" <ethy.brito at inexo.com.br> wrote:
> 
> Hi again
> 
> Can anyone help me with this, please?
> Any doc, FAQ, whatever? I am not afraid reading these.
> Google was not my friend this time (or maybe I did not know how to ask).
> 
> >     passwd program = /tmp/teste %u

Ummm, most /tmp directories have "noexec" hardwired on them.

It you do not have that, then who owns the File and is it set to runs as
the owner?

        [greg at knight:tmp]$ ls -l test.sh
        -rwsr-xr-x  1 root root 20 2006-07-13 11:43 test.sh
        [greg at knight:tmp]$ ls -l /usr/bin/passwd
        -rwsr-xr-x  1 root root 26616 2005-05-18 02:33 /usr/bin/passwd

in any case for these kinds of thing, are best kept to protected
filesystems. /tmp isn't a good idea. I had to remount with exec enabled.

I believe the real problem though is the fact samba is expecting the
program to be suid, if I am not mistaken.

-- 
greg, greg at gregfolkert.net

The technology that is 
Stronger, Better, Faster: Linux

Use Debian GNU/Linux, its a bazaar thing

NOTICE: Due to Presidential Executive Orders, the 
National Security Agency may have read this email 
without warning, warrant, or notice, and certainly 
without probable cause. They may do this without 
any judicial or legislative oversight. You have no 
recourse nor protection.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20060713/d4470e37/attachment.bin


More information about the samba mailing list