[Samba] Upgrade from 4.11.6 to 4.12.2 created authentication issues

Rowland penny rpenny at samba.org
Sat May 16 17:59:00 UTC 2020


On 16/05/2020 17:58, James Atwell wrote:
>
>   I pulled the NAS logs and below is from the last time it 
> successfully imported the users.
>
> -------------------------------------------------------------------------------------------------------------------------------- 
>
>
> [20-05-15 00:40:42] 3288 rndb_ads_utils.c:176 info: ADS CMD::ldap 
> search open: LANG=C net -P ads search \(objectClass=group\) 
> sAMAccountName objectSid distinguishedName
>
> Next is when it began to fail to import after I upgraded to 4.12.2.
>
> ---------------------------------------------------------------------------------------------------------------------------- 
>
>
> [20-05-15 10:42:01] 3288 rndb_account.c:2577 info: 
> ******************ADS Import Starts*********************
> [20-05-15 10:42:02] 3288 rndb_ads_utils.c:176 info: ADS CMD::ldap 
> search open: LANG=C net -P ads search \(objectClass=group\) 
> sAMAccountName objectSid distinguishedName
> [20-05-15 10:42:05] 3288 rndb_ads_utils.c:190 error: Parse error on 
> cmd=<LANG=C net -P ads search \(objectClass=group\) sAMAccountName 
> objectSid distinguishedName> output:

So the above search worked against a 4.11.x DC, but not against a 4.12.x 
DC.

However, didn't you say that it didn't work at all now ?

It looks like it cannot understand 'LANG=C net -P ads search 
\(objectClass=group\) sAMAccountName objectSid distinguishedName' or the 
'-P' (which is use the machine password) isn't working

Rowland






More information about the samba mailing list