• Post Reply Bookmark Topic Watch Topic
  • New Topic

create directory  RSS feed

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i just wonder how to create a directory using
com.sun.jndi.fscontext.RefFSContextFactory, because all examples i saw were using LDAP and i still can't make LDAP working
so thank you for any help.
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi andrew
what do you mean bu "ldap not working"?
if u are able to compile the LDAP code using com.sun.jndi.fscontext.RefFSContextFactory and query the file system then u can also create directories.
here the LDAP server doesn't come into picture if thats what u meant.
hopefully i got ur question correctly.
regards
maulin
 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for your reply
Originally posted by Maulin Vasavada:
hi andrew
what do you mean bu "ldap not working"?

i mean that i get an exception when i run the programm
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi andrew
please post ur code if u can. ushdn't get this error i guess as u r using local file system provider.
i have run this file system provider on my machine via ldap and i didn't have the ldap server running or anything. it was working fine..
regards
maulin
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!