Bug 4902 - manual page for smb.conf and %o substitution
manual page for smb.conf and %o substitution
Product: Samba 3.0
Classification: Unclassified
Component: Docs
All All
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba Documentation QA Contact~
Depends on:
  Show dependency treegraph
Reported: 2007-08-20 08:48 UTC by Mark Pröhl
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 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 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.