[Samba] Problem with update samba 4.16.5

Miguel Angel Coa M. miguelcoam at gmail.com
Mon Oct 3 14:59:21 UTC 2022


Hi Rowland,
1. compile with download the source .... (
https://wiki.samba.org/index.php/Build_Samba_from_Source)  . I use rocky
Linux , all config are under /usr/local/:

[root at sambadc04 ~]# samba -V
Version 4.16.5

2. The user is under another OU

[root at sambadc01 ~]# ldapsearch -LLL -x -H ldap://10.13.x.x -b
"DC=domain,DC=com" -D "CN=Administrator,CN=Users,DC=domain,DC=com" -wXXXX
 -s sub sAMAccountName=felopez| grep 'dn:'
dn: CN=Fernanda  Lopez Yanez,OU=CAP,DC=domain,DC=com

[root at sambadc01 ~]# ldbsearch -H /usr/local/samba/private/sam.ldb
sAMAccountName=felopez |grep 'dn:'
dn: CN=Fernanda  Lopez Yanez,OU=CAP,DC=domain,DC=com

3. Yes that a double space (I imagine it has always been like this)


Help, please.

Saludos.
---
Miguel Coa M.


El lun, 3 oct 2022 a las 11:41, Rowland Penny via samba (<
samba at lists.samba.org>) escribió:

>
>
> 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 accounts
>
> How 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=com
>
> Where 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 Yanez
>
> Is that a double space between 'Fernanda' and 'Lopez' ?
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list