Need help on "net ads join" fails when we have "%" in the username - 2nd Try........
urisimchoni at gmail.com
Mon Aug 31 10:56:45 UTC 2015
In the net command, if the username contains a % character, that is
interpreted as a delimiter and not as part of the user name. No
escaping scheme is supported. Therefore it is impossible for the user
name to contain a %. A code change is required (or, use of a different
AD user to join the computer...)
On Mon, Aug 31, 2015 at 1:19 PM, Rowland Penny <repenny241155 at gmail.com> wrote:
> On 31/08/15 10:26, 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 bug your refer to is for mount.cifs and (I don't think) doesn't have
> anything to do with your problem.
> I think your problem is that you are over thinking the join command, this
> net ads join -U username%password
> Note there are *no* quote marks or extra commands, if the client is set up
> correctly the server will be found for you and if the join succeeds (and it
> should) the computer will be created in AD for you.
More information about the samba-technical