Bug 2017 - testparm reports 'passwd program' requires a '%u' parameter, but %u is present
Summary: testparm reports 'passwd program' requires a '%u' parameter, but %u is present
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.8
Hardware: x86 FreeBSD
: P3 minor
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL: http://www.freebsd.org/cgi/ports.cgi?...
Depends on:
Reported: 2004-11-10 20:00 UTC by Unknown
Modified: 2005-08-24 10:21 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2004-11-10 20:00:40 UTC
testparm reports that 'passwd program' entry in configuration file is missing '%
u' parameter when it very clearly is not. See screen capture below. Samba v3.0.7 
did not do this. I had uninstalled v3.0.7 and then installed v3.0.8,1, but 
changed nothing else in the system.

System is PII-233 running FreeBSD v4.10 with two independent instances of Samba 
v3.08,1 on two separate ethernet interfaces. There are no directories or 
configuration files shared by the two instances, aside from the binaries. One 
interface is an actual hardware NIC. The other is virtual (tap driver plus 
OpenVPN in bridging mode). There is no routing or bridging between the two 
interfaces - they are as isolated as I know how to make them.

=== screen capture begin ===
tom# testparm smb.jerry.conf | grep "passwd program"
Load smb config files from smb.jerry.conf
Processing section "[homes]"
Processing section "[tmp]"
Loaded services file OK.
ERROR: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter.
Press enter to see a dump of your service definitions

        passwd program = /usr/bin/passwd %u
=== screen capture end ===
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-11-10 20:55:46 UTC
jelmer, this was your checkin.  You want to fix it or should i?

r2826 | jelmer | 2004-10-05 17:18:32 -0500 (Tue, 05 Oct 2004) | 2 lines

Complain if 'password chat' doesn't contain the %u variable. based on a patch by
Ronan Waide
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-11-11 10:59:54 UTC
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:21:50 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.