Need help on "net ads join" fails when we have "%" in the username - 2nd Try........

Andrew Bartlett abartlet at samba.org
Tue Sep 1 22:39:06 UTC 2015


On Mon, 2015-08-31 at 09:26 +0000, Lokeshbabu Haribabu -X (lharibab -
HCL TECHNOLOGIES LIMITED at Cisco) wrote:
> Hi All
> 
> I am working on critical bug and I need your help on the below query
> 
> We are unable to join the domain and create computer account when 
> username contains % in it.
> 
> I found this bug in samba website.  I believe this is the issue that 
> we are seeing now https://bugzilla.samba.org/show_bug.cgi?id=8758
> 
> I believe the issue could be that we use "%" as the delimiter between 
> username and password
> 
> net ads join -s XYZ.conf -U "username%"%"password" createcomputer= 
> XXXXXXXX hostnames=XXXXXXX
> 
> If you have seen this issue earlier if so please let me how to 
> overcome this or any available workaround for it
> 
> Is there a way to change the delimiter from % to any other character?
> 
> Thank you for your help and support in advance.

The best option would be use use the -A option to get credentials from
a file.  This avoids putting the username and password on the command
line, and avoids the % delimiter issue. 

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba








More information about the samba-technical mailing list