Hello, i update samba from 4.11 to 4.16 and i ve the error with some accounts from rsat console (suspect especial character UTF8) , give the next error: The active directory domain services object could not be displayed. It may here been deleted.... Try setting password from console: [...............................] [root at sambadc01 ~]# samba-tool user setpassword felopez New Password: Retype Password: ERROR: Failed to set password for user 'felopez': (32, 'No such Base DN: CN=Fernanda Lopez Yanez,DC=domin,DC=com') [...............................] But ldapsearch found: [...............................] dn: CN=Fernanda Lopez Yanez,DC=domain,DC=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user cn: Fernanda Lopez Yanez sn: Lopez Yanez title: ADMTVO. description: 8001221-7 givenName:: RmVybmFuZGEg instanceType: 4 whenCreated: 20160608002328.0Z displayName: Fernanda Lopez Yanez uSNCreated: 29734 name: Fernanda Lopez Yanez objectGUID:: DfDG8ZtucUKISTHGGG1NDg=userAccountControl: 66080 codePage: 0 countryCode: 0 [...............................] And the same with query sam.ldb [...............................] [root at sambadc04 ~]# ldbsearch -H /usr/local/samba/private/sam.ldb sAMAccountName=felopez # record 1 dn: CN=Fernanda Lopez Yanez,DC=domain,DC=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user cn: Fernanda Lopez Yanez sn: Lopez Yanez title: ADMTVO. description: 8001221-7 givenName: Fernanda instanceType: 4 whenCreated: 20160608002328.0Z displayName: Fernanda Lopez Yanez uSNCreated: 16185 [...............................] Help me. what's wrong? Saludos. --- Miguel Coa M.
On 03/10/2022 15:33, Miguel Angel Coa M. via samba wrote:> Hello, > i update samba from 4.11 to 4.16 and i ve the error with some accountsHow did you update Samba ?> from rsat console (suspect especial character UTF8) , give the next error: > The active directory domain services object could not be displayed. It may > here been deleted.... > > Try setting password from console: > > [...............................] > [root at sambadc01 ~]# samba-tool user setpassword felopez > New Password: > Retype Password: > ERROR: Failed to set password for user 'felopez': (32, 'No such Base DN: > CN=Fernanda Lopez Yanez,DC=domin,DC=com') > [...............................] > > But ldapsearch found: > > [...............................] > dn: CN=Fernanda Lopez Yanez,DC=domain,DC=comWhere did the 'CN=Users' container go ? I would have expected 'CN=Fernanda Lopez Yanez,CN=Users,DC=domain,DC=com'> objectClass: top > objectClass: person > objectClass: organizationalPerson > objectClass: user > cn: Fernanda Lopez Yanez > sn: Lopez Yanez > title: ADMTVO. > description: 8001221-7 > givenName:: RmVybmFuZGEg > instanceType: 4 > whenCreated: 20160608002328.0Z > displayName: Fernanda Lopez YanezIs that a double space between 'Fernanda' and 'Lopez' ? Rowland