Hi, We have an Centos Stream 9 Samba Domain Controller V4.17.2 We have Backup Domain Controller with global catalog previously used Centos Stream 9 V4.17.2(*This one totally removed from network*) *Samba has been building from Source Package* *Initially We have an domain controller from CentOS 7 With Samba 4.8.9 After that we have been upgraded the OS & SAMBA Version* *Currently have only one domain controller* Few User account it is show this below error message, Managing User account from Windows RSAT Error Message : The Active Directory Domain Service object cannot be found, It may have been deleted by another user or an Active Directory Domain Controller may be temporarily unavailable, If i try to check ldbsearch from sam.ldb it return the DN Value So i'm trying to delete using ldbdel it shows error message ldbdel -H /usr/local/samba/private/sam.ldb "CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com" *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - (No such object) objectclass: Cannot delete CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com, entry does not exist!* Trying to Delete Using LDAP Also ldbdel -H ldap://chndc.com -U "administrator" "CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com" *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - (No such object) LDAP error 32 LDAP_NO_SUCH_OBJECT - <00002030: objectclass: Cannot delete CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com, entry does not exist!> <>* If i Try to Create a New User ID(18793) it shows user exist in enterprise Could you help us to solve this issue, Regards, Arun Kumar B
On Wed, 26 Jun 2024 13:23:59 +0530 ARUN KUMAR B via samba <samba at lists.samba.org> wrote:> Hi, > > We have an Centos Stream 9 Samba Domain Controller V4.17.2 > We have Backup Domain Controller with global catalog previously used > Centos Stream 9 V4.17.2(*This one totally removed from network*) > > *Samba has been building from Source Package* > > *Initially We have an domain controller from CentOS 7 With Samba 4.8.9 > After that we have been upgraded the OS & SAMBA Version* > > *Currently have only one domain controller* > > Few User account it is show this below error message, Managing User > account from Windows RSAT > > Error Message : The Active Directory Domain Service object cannot be > found, It may have been deleted by another user or an Active > Directory Domain Controller may be temporarily unavailable, > > If i try to check ldbsearch from sam.ldb it return the DN Value > > So i'm trying to delete using ldbdel it shows error message > > ldbdel -H /usr/local/samba/private/sam.ldb "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' > failed - (No such object) objectclass: Cannot delete CN=JOSPINE > RINITAA CS,OU=HR,DC=chndc,DC=com, entry does not exist!* > > Trying to Delete Using LDAP Also > > ldbdel -H ldap://chndc.com -U "administrator" "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' > failed - (No such object) LDAP error 32 LDAP_NO_SUCH_OBJECT - > <00002030: objectclass: Cannot delete CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com, entry does not exist!> <>* > > If i Try to Create a New User ID(18793) it shows user exist in > enterprise > > Could you help us to solve this issue, > > Regards, > > Arun Kumar BLets see if I understand this correctly: You were running Samba 4.8.9 as an AD DC on Centos 7 (it also sounds like you only had the one DC) You upgraded to Samba 4.17.2 on Centos stream 9 You added another DC using Samba 4.17.2 on Centos stream 9 You removed the second DC from the network, how and why did you do this ? Rowland
You removed the second DC from the network, how and why did you do this ? Due to that Backup Domain Controller hardware issues we removed dead DC Arun Kumar B On Wed, Jun 26, 2024 at 1:23?PM ARUN KUMAR B <isgarunkumar.b at dsmsoft.net> wrote:> Hi, > > We have an Centos Stream 9 Samba Domain Controller V4.17.2 > We have Backup Domain Controller with global catalog previously used > Centos Stream 9 V4.17.2(*This one totally removed from network*) > > *Samba has been building from Source Package* > > *Initially We have an domain controller from CentOS 7 With Samba 4.8.9 > After that we have been upgraded the OS & SAMBA Version* > > *Currently have only one domain controller* > > Few User account it is show this below error message, Managing User > account from Windows RSAT > > Error Message : The Active Directory Domain Service object cannot be > found, It may have been deleted by another user or an Active Directory > Domain Controller may be temporarily unavailable, > > If i try to check ldbsearch from sam.ldb it return the DN Value > > So i'm trying to delete using ldbdel it shows error message > > ldbdel -H /usr/local/samba/private/sam.ldb "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - > (No such object) objectclass: Cannot delete CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com, entry does not exist!* > > Trying to Delete Using LDAP Also > > ldbdel -H ldap://chndc.com -U "administrator" "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - > (No such object) LDAP error 32 LDAP_NO_SUCH_OBJECT - <00002030: > objectclass: Cannot delete CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com, > entry does not exist!> <>* > > If i Try to Create a New User ID(18793) it shows user exist in enterprise > > Could you help us to solve this issue, > > Regards, > > Arun Kumar B >
On 26/06/24 7:53 pm, ARUN KUMAR B via samba wrote:> Hi, > > We have an Centos Stream 9 Samba Domain Controller V4.17.2 > We have Backup Domain Controller with global catalog previously used Centos > Stream 9 V4.17.2(*This one totally removed from network*) > > *Samba has been building from Source Package* > > *Initially We have an domain controller from CentOS 7 With Samba 4.8.9 > After that we have been upgraded the OS & SAMBA Version* > > *Currently have only one domain controller* > > Few User account it is show this below error message, Managing User account > from Windows RSAT > > Error Message : The Active Directory Domain Service object cannot be found, > It may have been deleted by another user or an Active Directory Domain > Controller may be temporarily unavailable, > > If i try to check ldbsearch from sam.ldb it return the DN Value > > So i'm trying to delete using ldbdel it shows error message > > ldbdel -H /usr/local/samba/private/sam.ldb "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - > (No such object) objectclass: Cannot delete CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com, entry does not exist!* > > Trying to Delete Using LDAP Also > > ldbdel -H ldap://chndc.com -U "administrator" "CN=JOSPINE RINITAA > CS,OU=HR,DC=chndc,DC=com" > > *Error : delete of 'CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com' failed - > (No such object) LDAP error 32 LDAP_NO_SUCH_OBJECT - <00002030: > objectclass: Cannot delete CN=JOSPINE RINITAA CS,OU=HR,DC=chndc,DC=com, > entry does not exist!> <>* > > If i Try to Create a New User ID(18793) it shows user exist in enterprise > > Could you help us to solve this issue, > > Regards, > > Arun Kumar BCould it be this bug? https://bugzilla.samba.org/show_bug.cgi?id=14902 Cheers, Jo (she/her)