Hi all I trying to sync a samba password with Linux password. I did: encrypt passwords = yes ; passwd program = /usr/bin/passwd %u passwd program = /tmp/teste %u update encrypted = no unix password sync = yes passwd chat debug = yes passwd chat = *New*password* %n\n*Re-enter*new*password* %n\n*changed* The problem is 'passwd program' is not even called. I tried to set 'log level = 100' as said at smb.conf with 'passwd chat debug = yes' without success. pw prog is still not even called and no log output is generated which resembles a password exchange. (for the curious: /tmp/teste is just a bash script that cat's its parameters to a file) Environment: Slackware 10.2 Samba 3.0.22b Any clues to solve this?? Regards -- Ethy H. Brito /"\ InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML +55 (12) 3979-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL S.J.Campos - Brasil / \
On Wed, 12 Jul 2006 18:53:56 -0300 "Ethy H. Brito" <ethy.brito@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). Regards Ethy> > Hi all > > I trying to sync a samba password with Linux password. I did: > > encrypt passwords = yes > ; passwd program = /usr/bin/passwd %u > passwd program = /tmp/teste %u > update encrypted = no > unix password sync = yes > passwd chat debug = yes > passwd chat = *New*password* %n\n*Re-enter*new*password* %n\n*changed* > > The problem is 'passwd program' is not even called. > > I tried to set 'log level = 100' as said at smb.conf with 'passwd chat debug = yes' without success. pw prog is still not even called and no log output is generated which resembles a password exchange. > > (for the curious: /tmp/teste is just a bash script that cat's its parameters to > a file) > > Environment: > Slackware 10.2 > Samba 3.0.22b > > Any clues to solve this?? > > Regards > > -- >
On Thu, 13 Jul 2006 10:18:13 -0500 Adam Williams <awilliam@mdah.state.ms.us> wrote:> ls -l /tmp/teset results in what? mayve you should comment that out and uncomment the /ur/bin/passwd %u line. >Mr. Willians Thank you for your time. As I said earlier, 'passwd program' is not called! But answering to your question: root@testbed:~# ls -l /tmp/teste -rwx------ 1 root root 48 2006-07-12 15:42 /tmp/teste* There is no trace of execution (or tentative to execute) the passwd program on the logs (/var/log/samba/log.%m in my setup). And yes, I did it with '/usr/bin/passwd %u' too. No success, no traces. Maybe the developers have some light the shed on this. (anyone?,please?) Still waiting for directions... Regards Ethy
Ethy H. Brito (by way of Ethy H. Brito <ethy.brito@inexo.com.br>) wrote:> On Thu, 13 Jul 2006 10:18:13 -0500 > Adam Williams <awilliam@mdah.state.ms.us> wrote: > > >> ls -l /tmp/teset results in what? mayve you should comment that out and uncomment the /ur/bin/passwd %u line. >> >> > > Mr. Willians > > Thank you for your time. > > As I said earlier, 'passwd program' is not called! > > But answering to your question: > > root@testbed:~# ls -l /tmp/teste > -rwx------ 1 root root 48 2006-07-12 15:42 /tmp/teste* > > There is no trace of execution (or tentative to execute) the passwd program on > the logs (/var/log/samba/log.%m in my setup). > > And yes, I did it with '/usr/bin/passwd %u' too. No success, no traces. > > Maybe the developers have some light the shed on this. (anyone?,please?) > > Still waiting for directions... > > Regards > > Ethy > >I'm seeing the same thing. I configured samba to update the Unix/Linux account but it isn't working. I don't have a lot of users at the moment so changing Linux and samba passwords isn't a big issue. However, I would like to know why this isn't working. I can't offer any logs etc... I haven't had time to dig into the problem. Oh, here's what I'm using 1. Ubuntu Dapper 2. Samba from apt-get 3. workgroup ( no domain ) 4. Using SWAT and Webmin to configure samba 5. It works! ( users connect and access files )