[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Generating unique object ids
Hello,
Is there any way to atomically create unique object IDs / object names
in openldap?
Our scenario:
Our customers get unique, but ugly identifiers which are created by a
mechanism not under our control.
Now we want to enable them to create alias names via web interface. As
this alias names are to be used for creation of web urls and email
adresses, they must be unique.
Now, how can I ensure in a bullet-proof way that an alias name is
unique?
Simply looking whether it exists before adding it to the directory is
not considered bullet-proof as there could be concurrent access by
several customers.
In SQL, I'd use transactions, but I never heard of transactions
existing in LDAP.
Thanks,
Markus
--
-----------------------------------------------------------------------
| ScanPlus GmbH NOC Ulm Tel +49 731 92013 106 |
| Koenigstr. 78 * D 89077 Ulm Fax +49 731 92013 290 |
| http://www.scan-plus.de/ Amtsgericht Ulm HRB 3220 |
| mailto:info@scan-plus.de Geschaeftsf.: Juergen Hoermann |
-----------------------------------------------------------------------
Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte
Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort
den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
-----------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.
-----------------------------------------------------------------------