Thanks Richard. Typical, after a day trying to get this to work & resorting to usenet I found the answer within 30 mins of further investigation.
In case anybody else needs it my original code snippet needs to have
one line amended:-
attrs.put("SYNTAX", "1.3.6.1.4.1.1466.115.121.1.15");
becomes
attrs.put("SYNTAX", "1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE");
if single value is required (a directory string in this example).
Andee
