Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[00:19:05 EDT(-0400)] * jessm (n=Jess@adsl-75-30-189-33.dsl.pltn13.sbcglobal.net) has joined ##uportal
[03:31:38 EDT(-0400)] * mad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[04:08:36 EDT(-0400)] <higpetter> has anyone really used LDAPGroupStoreConfig.xml ?
[05:22:23 EDT(-0400)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[06:34:21 EDT(-0400)] * athena7 (n=athena7@adsl-75-58-126-207.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[10:00:35 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279721821.dsl.bell.ca) has joined ##uportal
[10:31:16 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[10:56:07 EDT(-0400)] * mrogers (n=mrogers@cabinlake.cc.umanitoba.ca) has joined ##uportal
[11:02:25 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279721821.dsl.bell.ca) has joined ##uportal
[11:10:47 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[11:31:23 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:43:55 EDT(-0400)] * apetro-_ (n=apetro@ip68-3-58-144.ph.ph.cox.net) has joined ##uportal
[11:56:01 EDT(-0400)] <athena7> anyone know if you can change an LDAP user's DN, or if you have to delete and re-create?
[12:05:52 EDT(-0400)] * apetro-_ (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:21:05 EDT(-0400)] <mrogers> you can change it
[12:23:13 EDT(-0400)] <athena7> spring ldap got a good way to do that?
[12:25:07 EDT(-0400)] <mrogers> don't know about java, but in perl it would look something like this — my $newrdn = "cn\=$thisuid" ; $mesg = $ldap->moddn(dn=>$dn,newrdn=>$newrdn) ;
[12:25:14 EDT(-0400)] <mrogers> sorry about the perl thing
[12:25:40 EDT(-0400)] <mrogers> $dn would be the current dn
[12:26:12 EDT(-0400)] <mrogers> i think there are other ways to do it
[12:26:29 EDT(-0400)] <athena7> ok, i'll have to poke around in spring ldap (smile)
[12:26:30 EDT(-0400)] <athena7> thanks
[12:44:40 EDT(-0400)] <mrogers> it looks to me like the rename method would be the same thing as my perl example
[12:46:27 EDT(-0400)] <mrogers> i was looking here:
[12:46:29 EDT(-0400)] <mrogers> http://static.springframework.org/spring-ldap/docs/1.2.1/api/spring-ldap/org/springframework/ldap/core/LdapTemplate.html
[12:50:18 EDT(-0400)] <athena7> ooh! i missed that
[12:50:25 EDT(-0400)] <athena7> that's perfect, thank you! (smile)
[12:52:06 EDT(-0400)] <mrogers> that's not exactly what I was doing, but I think you can accomplish the same thing with it