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

Stefan Metzmacher metze at samba.org
Wed Sep 2 06:35:11 UTC 2015


Am 02.09.2015 um 00:39 schrieb Andrew Bartlett:
> 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. 

I was thinking the same, but that's currently not supported by 'net'...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150902/9d316d95/signature.sig>


More information about the samba-technical mailing list