From: Jim H. <ha...@us...> - 2000-08-31 14:08:00
|
Fergus, What Netware attribute did you map to NWHomeDirectory? I am interested in setting home directories also. What do you do to actually create the directories? Any other hints? I have account creation scripts that do everything but setup home directories and create GroupWise accounts. --Jim harle On Thu, 31 Aug 2000, Fergus Donohue wrote: > 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. > > > |