1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

119 Commits

Author SHA1 Message Date
Andreas Schneider
e288aca9d8 examples: Fix spelling
Best reviewed with: `git show --word-diff`.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2023-04-11 09:06:35 +00:00
Andreas Schneider
1ba146dda3 examples: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Rowland Penny <rpenny@samba.org>
2023-03-28 09:33:31 +00:00
Andreas Schneider
4ada0ddea6 examples: Remove trailing whitespaces in ol-schema-migrate.pl
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Rowland Penny <rpenny@samba.org>
2023-03-28 09:33:31 +00:00
Andreas Schneider
0461fa13d4 examples: Fix shellcheck error in get_next_oid
examples/LDAP/get_next_oid:6:4: error: Remove spaces around += to assign
(or quote '+=' if literal). [SC2285]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2022-08-17 10:08:35 +00:00
Andreas Schneider
3990c33efe examples: Reformat shell scripts
shfmt -f examples/ | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb 22 16:20:58 UTC 2022 on sn-devel-184
2022-02-22 16:20:58 +00:00
Andrew Bartlett
bb912a4827 OID: Reserve 1.3.6.1.4.1.7165.777.x for use on the wiki
This allows us to handle some OIDs more freely and use them in example schema
without patching the main git repo each time.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed May 27 22:17:10 UTC 2020 on sn-devel-184
2020-05-27 22:17:10 +00:00
Simo Sorce
045f5c2f89 Reserve an OID space for external projects
Some external, but somewhat related projects, benefit from being
able to use the Samba OID space instead of having to go through IANA.

Reserve 1.3.6.1.4.1.7165.655.x for external projects
And assign 1.3.6.1.4.1.7165.655.1.x to the GSS-NTLMSSP project.

Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Fri Oct 18 05:47:29 CEST 2013 on sn-devel-104
2013-10-18 05:47:29 +02:00
Andreas Schneider
38a52f7125 ldap: Remove obsolete convertSambaAccount script.
We removed ldapsam_compat support which used sambaAccount already some
time ago. See commit 02c239c6d3.

Reviewed-by: Günther Deschner <gd@samba.org>
2013-01-23 09:10:23 +01:00
Björn Jacke
b31f773ae1 s3/ldap: remove outdated netscape ds 5 schema file
remove outdated netscape ds 5 schema file and put a README there pointing to
the FDS schema file instead. This fixes bug #8869

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Apr 19 15:54:56 CEST 2012 on sn-devel-104
2012-04-19 15:54:56 +02:00
Björn Baumbach
9a68a98e87 docs: remove whitespace in example samba.ldif (fix bug #8789) 2012-04-06 08:19:13 +02:00
Sumit Bose
f864767034 s3-ldap: Add Posix offset and encryption types to LDAP schema
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31 12:52:40 +02:00
Sumit Bose
1744be0a84 s3-ldap: Add sambaTrustForestTrustInfo to NDS LDAP schema (again)
The related attributes and objectclass were accidentally remove by commit
d4c30a5ffb

Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31 11:34:26 +02:00
Jim McDonough
d4c30a5ffb Update eDirectory schema
Autobuild-User: Jim McDonough <jmcd@samba.org>
Autobuild-Date: Wed Jun 22 14:48:09 CEST 2011 on sn-devel-104
2011-06-22 14:48:09 +02:00
Sumit Bose
352de0d3ed Fix typos in LDAP schema files
Reported by: John Danks <john.danks@gmail.com>

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 17 11:56:08 CEST 2011 on sn-devel-104
2011-05-17 11:56:08 +02:00
Björn Jacke
64e06b743b Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay"
This reverts commit 90b0f86d81.

this isn't that outdated at all. Got confused by the splitted oc/at files

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue Mar  1 23:43:51 CET 2011 on sn-devel-104
2011-03-01 23:43:50 +01:00
Björn Jacke
90b0f86d81 examples/LDAP: remove overoutdated samba-schema.IBMSecureWay 2011-03-01 22:46:53 +01:00
Björn Jacke
24e257c87d examples/LDAP: delete unmaintained samba-schema-netscapeds4.x 2011-03-01 22:40:30 +01:00
Sumit Bose
9ebbbb7456 s3-ldap: Add sambaTrustForestTrustInfo to LDAP schemata
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:06 +01:00
Sumit Bose
ba28fb025f s3-ldap: Update LDAP schemata to include sambaTrustedDomain.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:05 +01:00
Günther Deschner
6864a3e986 s3-ldapsam: add samba.ldif LDAP schema.
This one is suiteable for cn=config setups and should be added via ldapadd.

Thanks to Sumit Bose <sbose@redhat.com> for providing it.

Guenther
2010-08-19 14:24:51 +02:00
Christian Ambach
e1a1468dd7 update samba schema for IBM Directory Server
this increases the sambapasswordhistory field length to 64 and
fixes a warning about a wrong booleanmatch setting

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-02-03 14:49:05 +01:00
Michael Adam
d106e728fb examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema.
Michael
2009-09-14 14:51:21 +02:00
Björn Jacke
7748d3098a s3:examples:ldap: allow substing search on more attributes in nds schema file 2009-09-09 20:09:12 +02:00
Björn Jacke
adca9f681c s3:examples:ldap: fix some OIDs in various schema files 2009-09-09 19:14:28 +02:00
Günther Deschner
8a5cc1317a s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>.

Guenther
2009-08-06 17:19:44 +02:00
Günther Deschner
2260cdbb53 s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.
Guenther
2009-07-16 03:05:45 +02:00
Günther Deschner
ebf0af0bc7 s3-examples: make get_next_oid exectuable.
Guenther
2009-06-25 11:04:05 +02:00
Björn Jacke
9b5d905ebe examples:s2→s3-ldif-convert-script: fix objectclass recognition
objectclasses are case insensitive. we used to convert only LDAP objects with
the typical UpperLower case for sambaAccount and sambaGroupMapping and ignored
any other case writings
2009-06-12 18:46:46 +02:00
Volker Lendecke
9a6502a96b Fix location of smbldap-tools
Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out
(This used to be commit 359b8d53d8)
2008-06-02 10:55:32 +02:00
Simo Sorce
d80fcfce90 r25127: Add ol-schema-migrate.pl to the repo.
This script is useful for migrating OpenLDAP schema files to FDS/RHDS
lidf schema files.

License kindly updated to GPLv3+ at our request.

Simo.
(This used to be commit ab7770b34b)
2007-10-10 12:30:42 -05:00
Michael Adam
b6c64fab5e r25090: Fix a syntax error just introduced into the LDAP schema.
Michael
(This used to be commit 7dc68ce0fb)
2007-10-10 12:30:39 -05:00
Michael Adam
c6df77f63f r25088: Change the objectclass sambaTrustedDomainPassword to
have the current and possibly the previous trust password
stored as clear text passwords. (Previous use of NTPassword
was a mistake - this is a hash value.)

Michael
(This used to be commit 0beae52ff4)
2007-10-10 12:30:39 -05:00
Simo Sorce
df04cb69f7 r25057: Add a schema file ready to be used in Fedora/RedHat Directory Server
(This used to be commit 501e8b6c79)
2007-10-10 12:30:37 -05:00
Volker Lendecke
7556355b28 r20979: Fix description, thanks to Michael Adam <ma@sernet.de>
(This used to be commit 4610465d7f)
2007-10-10 12:17:22 -05:00
Gerald Carter
ed36771b3b r20884: patch from Michael Adam <ma@sernet.de> to add new sambaTrustedDomainPassword object class
(This used to be commit a209c30849)
2007-10-10 12:17:18 -05:00
Stefan Metzmacher
f450a65471 r20585: - allocate an OID range for LDB/LDAP extended operations
metze
(This used to be commit 5373897ef5)
2007-10-10 12:16:56 -05:00
Stefan Metzmacher
d1495cbda6 r20578: - allocate an OID range for samba4 LDB/LDAP Controls
- allocate an OID range for conflicting attributes/classes

metze
(This used to be commit 6fedd69f5e)
2007-10-10 12:16:56 -05:00
Andrew Bartlett
46e1ce559e r17487: Allocate some OID space for Samba4, so we don't trip on each other.
Andrew Bartlett
(This used to be commit 199a33ac80)
2007-10-10 11:38:37 -05:00
Gerald Carter
5133ab016e r14451: In order to get pdb_ldap searching for SID_NAME_ALIAS
groups in the ${MACHINESID} and S_1-5-32 domains correctly,
I had to add a substr search on sambaSID.

* add substr matching rule to OpenLDAP schema
  (we need to update the other schema as will since this
  is a pretty important change).  Sites will need to
  - install the new schema
  - add 'indea sambaSID   sub' to slapd.conf
  - run slapindex

* remove uses of SID_NAME_WKN_GRP in pdb_ldap.c
(This used to be commit 2c0a46d731)
2007-10-10 11:15:30 -05:00
Günther Deschner
8b54e0b2a0 r13290: Adding Account Policy LDAP attributes for eDirectory schema.
Guenther
(This used to be commit de012e33a7)
2007-10-10 11:06:21 -05:00
Jim McDonough
661be1d332 r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
(This used to be commit d45cc5e4f3)
2007-10-10 11:06:16 -05:00
Günther Deschner
3e80ef29a6 r12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAP
schema.

Maybe "Base64 encoded user parameter string" is not much clearer then
"munged dial" - anyone got a better description ?

Guenther
(This used to be commit 02ccde5f47)
2007-10-10 11:05:56 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Günther Deschner
9454668a90 r9523: Fix password history for eDirectory
(by allowing to store more then 1 password history entry in LDAP...)

Thanks to Bernhard Borgmann @ Novell for showing me how to debug
eDirecory.

Guenther
(This used to be commit a6e8de5c3c)
2007-10-10 11:01:12 -05:00
Jeremy Allison
fa6085a5bf r5847: Fixes from Lars Müller and Vince Brimhall @Novell for NDS
schema.
Jeremy.
(This used to be commit 0d3075b2c0)
2007-10-10 10:56:05 -05:00
Jim McDonough
90dfded4df r5689: Allow for better protection of sensitive attributes in IBM Directory Server.
(This used to be commit dafdd8d074)
2007-10-10 10:55:55 -05:00
Jim McDonough
a3ee24ec7f r5600: Bring IBM Directory Server schema up to date with openldap schema
(This used to be commit 639de6afc0)
2007-10-10 10:55:49 -05:00
Gerald Carter
df52925865 r5132: netscape DS 5.2 schema update from Richard Renard <rrenard@idealx.com>
(This used to be commit 33ac88c6a7)
2007-10-10 10:55:29 -05:00
Gerald Carter
575ff39625 r5060: BUG 2286: fix typoe on sambaConfig oc definition
(This used to be commit e2ce048654)
2007-10-10 10:55:13 -05:00
Gerald Carter
b1288c61a9 r4965: comment out some unused attributes and oc's
(This used to be commit d95c9c4d74)
2007-10-10 10:55:09 -05:00