Menu

#28 Alternate cn based dn style

open-accepted
nobody
None
7
2003-01-28
2003-01-28
No

We use dn's for users like cn=Adam
William,ou=People,dc=Whitemice,dc=Org, where Directory
Administor makes dn's like uid=adam,ou=People,etc...
We do this because we have many people in our directory
(inetOrgPerson, etc..) that do not have accounts.
Accounts are given to people, and removed, but the
person may remain.

We hack DA by editing newuser.c like:
gtk_entry_set_text (GTK_ENTRY (lookup_widget (window,
"uidnumber")), uid);
>> dn =
>> g_strconcat ("cn=",
>> gtk_entry_get_text (GTK_ENTRY
>> (lookup_widget
>> (window,
"cn"))), ",", basedn, NULL);
g_print ("Base DN for user creation: %s\n", basedn);
newuser =

just replacing "uid" with "cn". It would be very nice
if this were a preference option per server. "cn vs.
uid dn style"

My e-mail is awilliam@whitemice.org

Discussion

  • Manuel Amador (Rudd-O)

    Logged In: YES
    user_id=150358

    Well, your request is very reasonable. It's been a couple
    of weeks I've ben thinking of letting DA add persons which
    aren't users, and your hack is currently the most expedite
    way to do so. I'm thinking on how to provide this best, in
    order to let DA grow and respect people's directory wishes.

     
  • Manuel Amador (Rudd-O)

    • priority: 5 --> 7
    • status: open --> open-accepted
     
  • Manuel Amador (Rudd-O)

    Logged In: YES
    user_id=150358

    I'll work something out in the weekend

     

Log in to post a comment.

MongoDB Logo MongoDB