Bug 11479 - net ads join fails when we have "%" in the AD username
Summary: net ads join fails when we have "%" in the AD username
Status: RESOLVED DUPLICATE of bug 12692
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2015-09-01 05:53 UTC by lokeshbabu
Modified: 2022-09-14 01:50 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description lokeshbabu 2015-09-01 05:53:43 UTC
We are unable to join the domain and create computer account when AD username contains % in it like "test%user".

I believe the issue could be that we use “%” as the delimiter between username and password

net ads join -s XYZ.conf -U “test%user”%”password” createcomputer= XXXXXXXX hostnames=XXXXXXX

Jeremy Allison <jra@samba.org> has confirmed it is an issue. So i am filling this bug

This issue is seen in samba 3.xxx versions too

I not sure of the component, i have created it under winbindd, Please change it if required.
Comment 1 Douglas Bagnall 2022-09-14 00:53:22 UTC

*** This bug has been marked as a duplicate of bug 12692 ***