From: Fergus D. <fer...@dc...> - 2000-08-31 11:22:55
|
Hi All, I have a problem with setting the Netware home directory attribute via perl-ldap. Here's what I'm doing: I have an NDS8 server on which I'm creating user a/cs. This works fine in the majority of cases but I found what may be a bug in perl-ldap today. I'm setting the NWHomeDirectory attribute (changed name to avoid clash with posixAccount) to items like: cn=CYAN_DATA4,ou=CYAN,o=DCU#0#\students\J-Z\xe\xe2\userj9 with no problems - however when I try to set it to the following it doesn't work: cn=CYAN_DATA2,ou=CYAN,o=DCU#0#\students\C-E\ca\ca2\userj9 I get garbage in the "Home Directory" dialogue box under ConsoleOne after the "C-E". I've tracked this down to perl -ldap interpreting \c (or \b, \a etc.) as special characters. I build this string on the fly so I can't see an easy way of single quoting it (if that would help?). I've tried setting $NWHomeDirectory="'".$NWHomeDirectory."'"; but it didn't help. Has anyone any ideas? Thanks, Fergus. |