Solved

Indexing a coldfusion verity collection on a netware share

Posted on 2008-10-07
5
418 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 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