Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ObjectClass to new and all old users #32

Closed
BurtGummer opened this issue May 30, 2017 · 5 comments
Closed

Add ObjectClass to new and all old users #32

BurtGummer opened this issue May 30, 2017 · 5 comments

Comments

@BurtGummer
Copy link

Hello,
i write a own schema:

attributetype ( 1.3.6.1.4.1.xxxxx.1.1.1.1
NAME 'sapuser'
DESC 'SAP Benutzer'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.xxxxx.1.1.1.2
NAME 'saplizenz'
DESC 'SAP Lizenz'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.xxxxx.2.1.1.1
NAME 'sap'
DESC 'SAP Daten'
SUP top
AUXILIARY
MAY (
sapuser $ saplizenz )
)

but how can i add this new ObjectClass to new and all existing users?
Manual everything works: i add the new ObjectClass to a user and with the LAM Modul "Custom Fields" i can write in this fields, but ONLY on users there have the new ObjectClass "sap".

Any ideas?

@gruberroland
Copy link
Contributor

Hi Burt,

you can use the Multi edit tool to roll-out your new object class:

https://www.ldap-account-manager.org/static/doc/manual/ch05s03.html

For custom fields you can open Tools -> Profile editor and edit the profile "default". Here select "Automatically add this extension". This will add the object class to each new user.

Best regards

Roland

@BurtGummer
Copy link
Author

Hello Roland,
thank you for your answer. In the profile editor, default profile, i have only this screen:

image

image

There is no "Automatically add this extension"? I have LAM Pro 4.5. Any idea?

@BurtGummer
Copy link
Author

BurtGummer commented May 31, 2017

I have install our latest Version LAM Pro 5.7, its the same. And the Multi Edit Tool, i try at a testuser "GustavGans". Our new objectClass is "sap":

image

image

image

image

@gruberroland
Copy link
Contributor

For multi edit the attribute name must be "objectclass" and value "sap".

If the checkbox in profile editor is missing then you might not have set the object class in server profile. It is above the "Add new field" button.

https://www.ldap-account-manager.org/static/doc/manual/images/customFields16.png

@BurtGummer
Copy link
Author

Great, that was is, thank you very very much Roland!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants