Bug 8299 - "passwd program" prevents domain join and machine password changes
Summary: "passwd program" prevents domain join and machine password changes
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 major (vote)
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 11:33 UTC by Björn Jacke
Modified: 2018-10-22 12:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2011-07-11 11:33:27 UTC
using a "passwd program" prevents domain join and machine password changes because the "$" is being substituted by a "_":

[2011/07/11 11:55:03.301099, 10] smbd/chgpasswd.c:232()
  Invoking '/usr/local/smb/system/scripts/modifypasswd.pl 3042104x_' as password change program.
Comment 1 Björn Jacke 2011-08-05 11:20:41 UTC
Jeremy, do you have an idea how to get the "$" back in here ?
Comment 2 Amit Kumar 2018-10-22 06:15:45 UTC
(In reply to Björn Jacke from comment #0)
What is your smb.conf. I used this:
    [global]
        security  =  ads
        workgroup = ATEST
        realm = ATEST.COM
        idmap config * : range = 16777216-33554431
        winbind enum users = Yes
         winbind enum groups = Yes
        winbind use default domain = Yes
        winbind nested groups = No
        passwd program = /bin/passwd %u
# net ads join -U
 Joined
Comment 3 Björn Jacke 2018-10-22 12:35:49 UTC
thix affects machine joins and machine password changes on a NT4-style DCs, I should have written that.