Displaying 20 results from an estimated 7000 matches similar to: "bug in ldbtools?"
2015 May 28
2
ACLs on OUs
Hi all,
When created through RSAT OUs receive, by default, ACLs to refuse removal.
When created through LDIF and ldbadd OUs do not receive these ACLs.
Is there a way to create these ACLs using command line tools?
Cheers,
mathias
2010 Dec 07
3
Samba4 LDAP LDB Indexes
I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB
file in my directory. (Probably the result of taking a backup without using
tdbbackup). Right now, running tdbbackup on the file produces an error
message similar to the following:
Failed to insert into DC=WWW,DC=EXAMPLE,DC=COM.ldb.bak.tmp
failed to copy DC=WWW,DC=EXAMPLE,DC=COM.ldb
If I run
ldbsearch -H
2020 Jul 26
2
Naming violation: objectClass: myObjectClass not a valid child class for <>
Sun, 26 Jul 2020 12:06:03 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 26/07/2020 10:58, RhineDevil wrote:
> > You said you didn't want to help me about this but if you'd do at least I'd learn something useful for custom schemas, since this type of error isn't referenced anywhere
>
> No, I said I wouldn't help you shoot yourself in the
2016 Feb 10
3
ldbadd issue on Samba 4.1.13 AD DC
On 2/9/2016 3:48 PM, Rowland penny wrote:
> On 09/02/16 19:59, Allen Chen wrote:
>> Hi there,
>>
>> I have Samba 4.1.13 AD DC compiled on CentOS 6.2 (32bit). Everything
>> is working fine.
>>
>> Issue: ldbadd cannot re-add a deleted user account.
>> What I did:
>> 1. save user account
>> # ./bin/ldbsearch -H /usr/local/samba/private/sam.ldb
2018 Aug 17
1
ldbadd: objectclass top is not a valid objectClass
Hi,
Trying to add an OU via ldbadd but I get the following error:
root at araucaria:~# ldbadd --url=/var/lib/samba/private/sam.ldb /root/ou.ldif
ERR: No such attribute : "objectclass topĀ is not a valid objectClass in
schema" on DN OU=A1,DC=ad,DC=a1,DC=ind,DC=br at block before line 4
Add failed after processing 0 records
root at araucaria:~#
root at araucaria:~# cat /root/ou.ldif
2018 Sep 10
2
schema enhancement recommandation?
Hi list,
Im using Samba 4.x (x >=8) and Im excited about the new "samba-tool
computer" simplification of computer managment in AD mode.
Now I would like to use some more information tagsĀ in the computer
section, i.e. partition information or macadress of the nic.
So I tried to enhance the schema (using 4.10.0pre1-GIT-8c00c017cb5) i.e.
simple with
>>> cat win.ldif
dn:
2013 Apr 29
1
Global Catalog replication error to win 2008
Hi all,
Running Samba 4.0.0apha18 with good results but getting an error when I attempt to replicate the Global Catalog to a Windows 2008 Machine.
Samba machine = DC1
Windows 2008 machine = DC0
samba-tool Showrepl result:
Default-First-Site-Name\DC1
DSA Options: 0x00000001
DSA object GUID: 05c3c860-0a0d-4672-a39e-a212ccb0ce9c
DSA invocationId: abb0cab3-13d3-456c-8a16-e65a4855a2df
==== INBOUND
2020 Jul 27
2
Naming violation: objectClass: myObjectClass not a valid child class for <>
Sun, 26 Jul 2020 19:03:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 26/07/2020 18:45, RhineDevil wrote:
> >
> > Done, I still get the same errors when adding mod.ldif
> >
> > (I used ldbadd instead of ldbmodify, is that a problem?)
>
> No, that isn't the problem, the problem is that I forgot to remove a
> comment :-(
>
>
2016 Feb 11
1
ldbadd issue on Samba 4.1.13 AD DC
On 2/10/2016 4:39 PM, Rowland penny wrote:
> On 10/02/16 20:58, Allen Chen wrote:
>> On 2/9/2016 3:48 PM, Rowland penny wrote:
>>> On 09/02/16 19:59, Allen Chen wrote:
>>>> Hi there,
>>>>
>>>> I have Samba 4.1.13 AD DC compiled on CentOS 6.2 (32bit).
>>>> Everything is working fine.
>>>>
>>>> Issue: ldbadd
2020 Oct 11
2
Naming violation: objectClass: myObjectClass not a valid child class for <>
Mon, 27 Jul 2020 09:09:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 27/07/2020 01:12, RhineDevil wrote:
> > Sun, 26 Jul 2020 19:03:04 +0100 Rowland penny via samba <samba at lists.samba.org>:
> >> On 26/07/2020 18:45, RhineDevil wrote:
> >>> Done, I still get the same errors when adding mod.ldif
> >>>
> >>> (I
2016 Feb 09
2
ldbadd issue on Samba 4.1.13 AD DC
Hi there,
I have Samba 4.1.13 AD DC compiled on CentOS 6.2 (32bit). Everything is
working fine.
Issue: ldbadd cannot re-add a deleted user account.
What I did:
1. save user account
# ./bin/ldbsearch -H /usr/local/samba/private/sam.ldb
sAMAccountName=krtu > ./user-add.ldif
2. delete the user account
# ./bin/ldbdel -H /usr/local/samba/private/sam.ldb
2015 Dec 30
4
Was not found in the schema 'msDS-SupportedEncryptionTypes'
You should run :
ldbsearch -H /var/lib/samba/private/sam.ldb -b "CN=msSFU-30-Mail-Aliases,CN=Schema,CN=Configuration,DC=MYDOMAIN,DC=com" -s base possSuperiors
If the result is :
# record 1
dn: CN=msSFU-30-Mail-Aliases,CN=Schema,CN=Configuration,DC=DEVINLECLECLERC,DC=com
possSuperiors: container
possSuperiors: domainDNS
possSuperiors: nisMap
Then it's OK, the script tried to add a
2014 Aug 13
1
howto install sudo schema
Hi everyone
i wish to add the Microsoft Active Directory schema from the sudo
package to my samba4 ADC,
from what i have researched this is what i should do,
the Microsoft Active Directory schema and the instructions are from the
sudo package,
the sudo_user file is an example from the man page.
ldbadd -H /etc/samba/private/sam.ldb \
schema.ActiveDirectory \
--option="dsdb:schema
2015 Dec 30
2
Was not found in the schema 'msDS-SupportedEncryptionTypes'
Ok it seems like you are in the exact same situation I was.
So here are the files in a tgz.
Once uncompressed, you'll have to change each occurance of "DC=MYDOMAIN,DC=com"
according to your configuration.
you can do this with something like :
perl -pi -e 's/DC=MYDOMAIN,DC=com/DC=Carlos,DC=com/g' *
Then you will have to run ldbadd and ldbmodify in the correct order to upgrade
2016 Feb 05
2
[samba4ad] Duplicate attributes list ?
Hi all,
I just add into my AD a user with different values for attributes "CN" and
"name".
Here is an extract of the LDIF used to add this user:
------------------------------------------------------------------------------------
dc202:~# egrep 'cn:|name:' mathias.ldif
cn: Mathias Dufresne (CN)
*name: mathias.dufresne*
2015 Dec 30
2
Was not found in the schema 'msDS-SupportedEncryptionTypes'
msDS-isRODC is introduced in version 32 of the schema.
This is the problem I faced.
You can have a look to https://lists.samba.org/archive/samba/2015-August/193258.html.
---------------------------------------------
Christophe Borivant
Responsable d'exploitation informatique
+33 5 62 20 71 71 (Poste 503)
Devinlec - Groupe Leclerc
--------------------------------------------
----- Mail
2013 Nov 26
1
Import Schema from OpenLdap
Hello, everyone.
I try to export schema to ldif file and import to samba with
"/usr/local/samba/bin/ldbadd -H /usr/local/samba/private/sam.ldb
schema.ldif" but it fails.
"schema_data_add: updates are not allowed: reject request"
Can someone tell if is possible import schema from openldap database to
samba4?
Thanks and sorry for my bad english.
--
*Gian Luca Henriques*
2014 Nov 11
1
creating OU with samba4
Hello guys!
How I can create an organizationalUnit (OU)?
Now I created an user into an OU already existent, but I need to create a new OU.
I tried with:
root at s1 :~#nano file.ldif
dn: ou=MyOU,DC=dominio,DC=pdc,DC=cu
objectClass: top
objectClass: organizationalUnit
ou: MyOU
root at s1 :~#ldbadd --url=/var/lib/samba/private/sam.ldb file.ldif
but when I search MyOU on the Active
2020 Jul 20
2
Migrate mail aliases to AD ypServ30
Mon, 20 Jul 2020 11:56:57 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 20/07/2020 11:11, RhineDevil via samba wrote:
> > How could I migrate these fields to CN=aliases,CN=mail,CN=ypServ30,CN=RpcServices,CN=System,DC=local?
> >
> > dn: cn=abuse,ou=Aliases,DC=mydomail,DC=local
> > cn: abuse
> > objectClass: nisMailAlias
> > objectClass:
2018 Feb 11
3
Migration Of Records From Old Samba Domain To New One
Hello from Sunny and frigidly cold Minneapolis, MN, USA!
I have a SAMBA domain with three DCs running v4.4.16 on Ubuntu Server 14.04.5 LTS (BIND9 DLZ Backend). I need to move all my records to a new domain (from DOMAIN.LOC to SAMDOM.DOMAIN.NET).
I know that it's not possible to change domains on a samba install, so I've created three new DCs running v4.7.4 on Ubuntu Server 16.04.3 LTS