Hi all, I'm using Samba 3.0.5 with openldap as pdc smb.conf: unix password sync = yes passwd program = /usr/bin/passwd %U log says: Aug 10 09:17:58 juwidc01 smbd[4720]: chgpasswd: Running as root the 'passwd program' parameter *MUST* contain the string %u, and the given string /usr/bin/passwd helberga does not. Looks like a bug to me - anyone else had prolblems like this? Andre
Gerald (Jerry) Carter
2004-Aug-16 18:59 UTC
[Samba] possible bug with passwd programm = ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andre Helberg wrote: | Hi all, | | I'm using Samba 3.0.5 with openldap as pdc | | | smb.conf: | | unix password sync = yes | passwd program = /usr/bin/passwd %U | | | log says: | | Aug 10 09:17:58 juwidc01 smbd[4720]: chgpasswd: Running | as root the 'passwd program' parameter *MUST* contain the | string %u, and the given string /usr/bin/passwd helberga | does not. | | | Looks like a bug to me - anyone else had prolblems like this? What bug? you have to use %u (lower case) not %U (upper case). cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBIQPpIR7qMdg1EfYRAi+AAKDhTzqNv75CvTOCXYNZc3o3lumJ7wCdEfIW UK/+g7VQ0Kzzo775IDJuQQ0=o9UE -----END PGP SIGNATURE-----