Bug 4902 - manual page for smb.conf and %o substitution
Summary: manual page for smb.conf and %o substitution
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.25b
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba Documentation QA Contact~
Depends on:
Reported: 2007-08-20 08:48 UTC by Mark Pröhl (dead mail address)
Modified: 2007-08-29 10:32 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pröhl (dead mail address) 2007-08-20 08:48:01 UTC
The example in the smb.conf man page mentions a %o substitution for the old password:

   Example:  passwd chat = "*Enter OLD password*" %o\n "*Enter NEW password*" 
       %n\n    "*Reenter NEW password*" %n\n "*Password changed*" 

Nevertheless, the passwd programm never receives the old password.

Why is %o mentioned?

Should that example be removed?
Comment 1 Gerald (Jerry) Carter (dead mail address) 2007-08-29 10:32:18 UTC
mark,  %o is only available when using encrypt passwords = no
and possibly is some odd configurations with Windows 9x.
I'll add a note in the docs.