Solved

Indexing a coldfusion verity collection on a netware share

Posted on 2008-10-07
5
419 Views
Last Modified: 2012-05-05
I need to index a coldfusion verity collection on a netware share.
I can access a windows share using UNC paths. eg.: /servername/sharename/folder.

The problem is that windows server 2003 does have the netware share, wich i can access, but the coldfusion server doesn't have acces. It can't see the path.

I know the problem lies with the fact that the netware share doesn't have a registered netBIOS name wich explains why the coldfusion server can't see the share. I've read something about using the lmhosts file to create a dummy netBIOS reference to the server, but that hasn't worked for me yet.
Then I also read about Windows Server 2003 not supporting the lmhosts file anymore.

Is there anyone that has a solution for this problem?
0
Comment
Question by:keijz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 27

Expert Comment

by:azadisaryev
ID: 22658018
first of all, make sure the user CF is running as (by default it is Local System account, which does not have access to any network shares) has proper access rights to the shared resource.

hth
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 22659534
az is correct. by default, cf runs under the Local System user of the machine it is installed on and as such has no access to network resoruces

the steps:

create an AD user (call it CFService)

change the logon of the coldfusion service to CFService with it's password (admin tools -> services CF app server - Logon tab -

restart service

assign appropriate dir permissions to CFservice -user- on the network folder

This is actually a security best practice as well since it allso you to specifically limit the access that cfserver has
0
 
LVL 35

Accepted Solution

by:
ShineOn earned 250 total points
ID: 22665804
NetWare doesn't have "shares" unless CIFS is installed/configured.  It has volumes.

NetWare doesn't have permissions - it has rights.

Never mind AD - the user that runs the CF service has to have an eDirectory user ID and password, if it is going to remain different from the foreground user, even if you have CIFS running on the NetWare server.  AD can't give access rights to NetWare volumes.  It can't give access rights to shares, either - those are granted at the NTFS level - but that's a bit off-topic as the backward NTFS isn't supported on NetWare - NSS is - and again, "shares" don't exist on NetWare unless you're running CIFS.

Do you know what version of NetWare you're trying to connect to?

If it's NetWare 6.0 or later, you should be able to request that CIFS be installed/configured for you, so the NetWare volume/folder can be presented to your CF user as a share.  

If that's not going to happen, then, just by using the foreground user ID as your service user, the redirector should be there for CF and you can use UNC to connect to the NetWare volume/directory using  \\server\volume\directory format.  From a security standpoint, I wouldn't find that an acceptable alternative.

You could experiment with using a different user ID and password in the service, that also exists in eDirectory and has rights to the volume/directory, and see if the service's password will be passed to the redirector, but  I wouldn't count on it.

Or, if you have ZENworks and the Windows server is imported to eDirectory as a workstation object, your administrator can give rights to the volume/directory to the workstation object, which means you can use the local system user for your CF service.  That's one of the things AD can't do - grant share access permissions to a computer.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 22666182
oops... missed that little (important) bit about netware in the q .... Shine's probably got the answer for you
0
 
LVL 1

Author Comment

by:keijz
ID: 22669259
Hi ShineOn,

Thanks for your reply. I've contacted the administrator about netware.
They're currently running NetWare 6.5 with CIFS installed.

I've got no experience when it comes to netware, and apparently the administrator doesn't know about using CIFS.

But my mind has shifted from no-solution to how-to, so thanks.

Maybe someone can point me to good documentation about CIFS and the use of it in this case?
 
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question