From: Dobrica Pavlinusic Date: Wed, 9 Sep 2009 11:42:22 +0000 (+0000) Subject: fake objectGUID X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=commitdiff_plain;h=df535c72d73502e74b72f4b4f1bbd6b1b7b629dc fake objectGUID --- diff --git a/sql/organizationalunit.sql b/sql/organizationalunit.sql index 8c07ff9..d87aa38 100644 --- a/sql/organizationalunit.sql +++ b/sql/organizationalunit.sql @@ -3,6 +3,8 @@ select concat('ou=',c.categorycode,',dc=ffzg,dc=hr') as dn, 'organizationalunit' as objectClass, c.categorycode as ou, - c.description as description + c.description as description, + -- fake for SafeQ, we don't have numeric primary key + crc32(categorycode) % 1000 as objectGUID from categories c