Univention Bugzilla – Attachment 9320 Details for
Bug 45842
Simplify user options (posix, samba, kerberos)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Change structuralObjectClass with OpenLDAP
45842_udm-options.sh (text/plain), 681 bytes, created by
Philipp Hahn
on 2017-12-19 09:55:04 CET
(
hide
)
Description:
Change structuralObjectClass with OpenLDAP
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2017-12-19 09:55:04 CET
Size:
681 bytes
patch
obsolete
>#!/bin/sh ># <https://tools.ietf.org/html/draft-zeilenga-ldap-managedit-00> >set -e -u > >LB=$(ucr get ldap/base) > >ldapmodify -Y EXTERNAL -H ldapi:/// <<__LDIF__ >dn: cn=test,$LB >changetype: add >objectClass: person >cn: test >sn: test >__LDIF__ > >ldapsearch -LLLo ldif-wrap=no -Y EXTERNAL -H ldapi:/// -b "cn=test,$LB" -s base objectClas structuralObjectClass > >ldapmodify -Y EXTERNAL -H ldapi:/// -e relax <<__LDIF__ >dn: cn=test,$LB >changetype: modify >add: objectClass >objectClass: organizationalPerson >objectClass: inetOrgPerson >- >add: displayName >displayName: Test >__LDIF__ > >ldapsearch -LLLo ldif-wrap=no -Y EXTERNAL -H ldapi:/// -b "cn=test,$LB" -s base objectClas structuralObjectClass
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45842
:
9314
| 9320 |
9322
|
9323
|
9376
|
9397
|
9425