Menu

Network Places Problem

Help
2009-11-23
2013-05-28
  • Kevin Murray

    Kevin Murray - 2009-11-23

    I've successfully installed OpenVPN ALS on Windows XP and Ubuntu Server 9.10 and everything seems to work just fine except for when I set up a Network Places resource. We're using Active Directory on our network and setting up OpenVPN ALS to use it for authentication works really well on both the Windows and Ubuntu machines. I cannot, however, set up a Network Places resource that accesses any of our Windows file servers' shares. I've tried all sorts of variations on entering user credentials (domain\username, username@domain, etc.) and all I get when I try to access the resource is a dialog box asking for my logon credentials (FireFox and IE 7/8). Entering them there doesn't help either. When I look in the event log on our domain controller, I see the following error:
    The logon to account: testuser
    by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
    from workstation: \\VPN01
    failed. The error code was: 3221225578

    Any ideas as to what I may be doing wrong? BTW, it works just fine with a Samba server on our network that is not joined to the Active Directory domain. I should also point out that the Windows XP is joined to the domain whereas the Ubuntu server is not.

    TIA,
    Kevin

     
  • Will Sheldon

    Will Sheldon - 2009-11-24

    Hi Kevin,

    What does your adito log file say?

    In my case it's located at /var/openvpn-als/adito/logs/adito.log

     
  • Cesar Arcaro

    Cesar Arcaro - 2009-11-24

    Hi Will,

    I'm having problems with cifs, this is a fragment of my adito log with the problem. It seems like when using Windows Network (cifs smb) it won't list directories contents…

        24-11-2009 15:36:44  INFO  SshPrivateKeyFile - Parsing private key file
        24-11-2009 15:36:44  INFO  SshPrivateKeyFormatFactory - Loading private key formats
        24-11-2009 15:36:44  INFO  SshKeyPairFactory - Loading public key algorithms
        24-11-2009 15:36:44  INFO  SshPrivateKeyFile - Parsing private key file
        24-11-2009 15:36:44  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/pageInfo.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/pageInfo.jspf'
        24-11-2009 15:36:44  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/content/properties/propertiesContent.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/content/properties/propertiesContent.jspf'
        24-11-2009 15:36:44  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/content/properties/propertyFormContent.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/content/properties/propertyFormContent.jspf'
        24-11-2009 15:36:49  INFO  DefaultFileReplicator - Using "C:\WINDOWS\TEMP\vfs_cache" as temporary files store.
        24-11-2009 15:36:49  INFO  VFSRepository - Initialized repository
        24-11-2009 15:36:49  INFO  DAVServlet - Initialized repository
        24-11-2009 15:36:49  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/filterAndView.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/filterAndView.jspf'
        24-11-2009 15:36:49  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/resourcesView.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/resourcesView.jspf'
        24-11-2009 15:36:49  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/resourceList.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/resourceList.jspf'
        24-11-2009 15:36:50  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/tableItemActionBar.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/tableItemActionBar.jspf'
        24-11-2009 15:36:50  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/policyLaunch.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/policyLaunch.jspf'
        24-11-2009 15:36:51  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/layouts/componentLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/layouts/componentLayout.jsp'
        24-11-2009 15:36:51  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/theme/default/componentLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/theme/default/componentLayout.jsp'
        24-11-2009 15:36:51  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/theme/default/componentLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/theme/default/componentLayout.jsp'
        24-11-2009 15:36:51  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/content/policyframework/resourceInformation.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/content/policyframework/resourceInformation.jspf'
        24-11-2009 15:36:51  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/redirectPageHeader.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/redirectPageHeader.jspf'
        24-11-2009 15:36:52  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/content/navigation/redirectContent.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/content/navigation/redirectContent.jspf'
        24-11-2009 15:36:52  ERROR FileSystemViewDispatchAction - File system error:org.apache.commons.vfs.FileSystemException: Could not list the contents of folder "smb://administrator:********@10.0.0.12/".
        at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:561)
        at com.adito.networkplaces.store.cifs.CIFSMount.createVFSFileObject(CIFSMount.java:102)
        at com.adito.networkplaces.AbstractNetworkPlaceMount.createAuthenticatedVFSFileObject(AbstractNetworkPlaceMount.java:542)
        at com.adito.vfs.FileObjectVFSResource.getFileObject(FileObjectVFSResource.java:207)
        at com.adito.vfs.FileObjectVFSResource.getFile(FileObjectVFSResource.java:196)
        at com.adito.vfs.FileObjectVFSResource.isNull(FileObjectVFSResource.java:154)
        at com.adito.vfs.FileObjectVFSResource.isCollection(FileObjectVFSResource.java:161)
        at com.adito.networkplaces.NetworkPlaceVFSResource.getChildren(NetworkPlaceVFSResource.java:80)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.buildModel(FileSystemViewDispatchAction.java:470)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.list(FileSystemViewDispatchAction.java:413)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.launch(FileSystemViewDispatchAction.java:463)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
        at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
        at com.adito.core.actions.DefaultDispatchAction.execute(DefaultDispatchAction.java:42)
        at com.adito.core.actions.AuthenticatedDispatchAction.execute(AuthenticatedDispatchAction.java:196)
        at com.adito.core.actions.AbstractPopupAuthenticatedDispatchAction.execute(AbstractPopupAuthenticatedDispatchAction.java:87)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.execute(FileSystemViewDispatchAction.java:138)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        at com.adito.core.CoreRequestProcessor.processActionPerform(CoreRequestProcessor.java:198)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        at com.adito.core.CoreRequestProcessor.process(CoreRequestProcessor.java:129)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:594)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:426)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:831)
        at com.adito.core.filters.CompressionFilter.doFilter(CompressionFilter.java:79)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:822)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:555)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1562)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:622)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1514)
        at org.mortbay.http.HttpServer.service(HttpServer.java:955)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:813)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:980)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:830)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:243)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:356)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:533)
        Caused by: jcifs.smb.SmbException:
        jcifs.util.transport.TransportException: Connection in error
        jcifs.util.transport.TransportException
        java.net.BindException: Cannot assign requested address: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        at java.net.Socket.bind(Socket.java:571)
        at java.net.Socket.<init>(Socket.java:370)
        at java.net.Socket.<init>(Socket.java:246)
        at jcifs.smb.SmbSocketFactory.createSocket(SmbSocketFactory.java:39)
        at jcifs.smb.SmbTransport.ssn139(SmbTransport.java:180)
        at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:236)
        at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:298)
        at jcifs.util.transport.Transport.run(Transport.java:223)
        at java.lang.Thread.run(Thread.java:619)
       
        at jcifs.util.transport.Transport.run(Transport.java:239)
        at java.lang.Thread.run(Thread.java:619)
       
        at jcifs.util.transport.Transport.connect(Transport.java:157)
        at jcifs.smb.SmbTransport.connect(SmbTransport.java:286)
        at jcifs.smb.SmbTree.treeConnect(SmbTree.java:132)
        at jcifs.smb.SmbFile.connect(SmbFile.java:793)
        at jcifs.smb.SmbFile.connect0(SmbFile.java:763)
        at jcifs.smb.SmbFile.send(SmbFile.java:662)
        at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1698)
        at jcifs.smb.SmbFile.list(SmbFile.java:1563)
        at jcifs.smb.SmbFile.list(SmbFile.java:1455)
        at org.apache.commons.vfs.provider.smb.SmbFileObject.doListChildren(SmbFileObject.java:126)
        at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:557)
        at com.adito.networkplaces.store.cifs.CIFSMount.createVFSFileObject(CIFSMount.java:102)
        at com.adito.networkplaces.AbstractNetworkPlaceMount.createAuthenticatedVFSFileObject(AbstractNetworkPlaceMount.java:542)
        at com.adito.vfs.FileObjectVFSResource.getFileObject(FileObjectVFSResource.java:207)
        at com.adito.vfs.FileObjectVFSResource.getFile(FileObjectVFSResource.java:196)
        at com.adito.vfs.FileObjectVFSResource.isNull(FileObjectVFSResource.java:154)
        at com.adito.vfs.FileObjectVFSResource.isCollection(FileObjectVFSResource.java:161)
        at com.adito.networkplaces.NetworkPlaceVFSResource.getChildren(NetworkPlaceVFSResource.java:80)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.buildModel(FileSystemViewDispatchAction.java:470)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.list(FileSystemViewDispatchAction.java:413)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.launch(FileSystemViewDispatchAction.java:463)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
        at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
        at com.adito.core.actions.DefaultDispatchAction.execute(DefaultDispatchAction.java:42)
        at com.adito.core.actions.AuthenticatedDispatchAction.execute(AuthenticatedDispatchAction.java:196)
        at com.adito.core.actions.AbstractPopupAuthenticatedDispatchAction.execute(AbstractPopupAuthenticatedDispatchAction.java:87)
        at com.adito.networkplaces.actions.FileSystemViewDispatchAction.execute(FileSystemViewDispatchAction.java:138)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
        at com.adito.core.CoreRequestProcessor.processActionPerform(CoreRequestProcessor.java:198)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
        at com.adito.core.CoreRequestProcessor.process(CoreRequestProcessor.java:129)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:594)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:426)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:831)
        at com.adito.core.filters.CompressionFilter.doFilter(CompressionFilter.java:79)
        at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:822)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:555)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1562)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:622)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1514)
        at org.mortbay.http.HttpServer.service(HttpServer.java:955)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:813)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:980)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:830)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:243)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:356)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:533)
       
        at jcifs.smb.SmbTransport.connect(SmbTransport.java:288)
        at jcifs.smb.SmbTree.treeConnect(SmbTree.java:132)
        at jcifs.smb.SmbFile.connect(SmbFile.java:793)
        at jcifs.smb.SmbFile.connect0(SmbFile.java:763)
        at jcifs.smb.SmbFile.send(SmbFile.java:662)
        at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1698)
        at jcifs.smb.SmbFile.list(SmbFile.java:1563)
        at jcifs.smb.SmbFile.list(SmbFile.java:1455)
        at org.apache.commons.vfs.provider.smb.SmbFileObject.doListChildren(SmbFileObject.java:126)
        at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:557)
        … 44 more
       
        24-11-2009 15:36:52  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/layouts/popupLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/layouts/popupLayout.jsp'
        24-11-2009 15:36:52  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/theme/default/popupLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/theme/default/popupLayout.jsp'
        24-11-2009 15:36:52  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/theme/default/popupLayout.jsp' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/theme/default/popupLayout.jsp'
        24-11-2009 15:36:53  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/server/taglibs/vfs' for 'file:/c:/aditosvn/adito/conf/site/server/taglibs/vfs'
        24-11-2009 15:36:53  WARN  ResourceCache - Alias request of 'file:/C:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/filter.jspf' for 'file:/c:/aditosvn/adito/conf/site/WEB-INF/jsp/tiles/filter.jspf'

     
  • Kevin Murray

    Kevin Murray - 2009-11-25

    Hi,

    I just tested it again and appended the log results. As you can see the account is testuser and is an AD account. The resources name is AD Test so I'm assuming (hoping?) that when the log refers to the realm cifs/AD Test it is actually refering to the hostname and path information given in the resource. Thanks for your help with this!

    Kevin

    Snippet from /opt/adito-0.9.1/logs/adito.log:

    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Session logon ticket is null 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Logging on testuser for scheme Default 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Unlocking user testuser 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Adding logon ticket to session 2h12sb0kp3mgg 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Initialising session 2h12sb0kp3mgg with user testuser 
    25-11-2009 08:48:38  INFO  DefaultLogonController - Switching user testuser to profile Default 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:48:38  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:49:16  WARN  JDBCPolicyDatabase - No resource type with Id of 2003 for resource permission 1, ignoring 
    25-11-2009 08:49:16  WARN  JDBCPolicyDatabase - No resource type with Id of 2005 for resource permission 1, ignoring 
    25-11-2009 08:49:16  INFO  VFSRepository - Initialized repository 
    25-11-2009 08:49:16  INFO  DAVServlet - Initialized repository 
    25-11-2009 08:49:25  INFO  AbstractHTTPAuthenticationModule - Sending auth request for realm cifs/AD Test 
    25-11-2009 08:49:49  INFO  AbstractHTTPAuthenticationModule - Sending auth request for realm cifs/AD Test 
    25-11-2009 08:49:59  INFO  AbstractHTTPAuthenticationModule - Sending auth request for realm cifs/AD Test 
    25-11-2009 08:50:08  INFO  AbstractHTTPAuthenticationModule - Sending auth request for realm cifs/AD Test 
    25-11-2009 08:50:26  INFO  AbstractHTTPAuthenticationModule - Sending auth request for realm cifs/AD Test 

     
  • Will Sheldon

    Will Sheldon - 2009-11-25

    Hmmm,

    The bit that you need to look at is:

    Could not list the contents of folder "smb://administrator:********@10.0.0.12/".

    You seem to be trying to connect to the computer 10.0.0.12 without a share name. I would expect to see something like:

    smb://administrator:**@10.0.0.12/C$/

    for the C drive of that machine, or more generically:

    smb://administrator:**@10.0.0.12/SHARENAME

    Try appending a share name to the place where you entered 10.0.0.12 so it looks like 10.0.0.12/c$ or so

     
  • Will Sheldon

    Will Sheldon - 2009-11-25

    Oh, I should add that you are trying to connect as the local administrator of that machine, so make sure that you have the correct password, or specify the username as DOMAIN/Username

     
  • Cesar Arcaro

    Cesar Arcaro - 2009-11-25

    Hi Will, i noticed that when i saw the error.
    When i set up the network place of course i write the shared resource as your example.
    Exactly like this >>> smb://administrator:*****@10.0.0.12/fotos207$ (i've tested with cifs:// too)

    The problem is at runtime, the error log shows:
    Could not list the contents of folder "smb://administrator:********@10.0.0.12/", but in fact, I do set up the shared resource (as /fotos207$).
    Dunno why ALS is not taking the shared folder path, only user,pass and hostname.

    This is the configuration i'm using (follow the link):

    url=http://img231.imageshack.us/i/sharedsource.png/

    Thanks a lot.

    César

     
  • Will Sheldon

    Will Sheldon - 2009-11-29

    Hmm, that is odd.

    I'm using the exact same config and it works for me. I am running on deban though, so it may be an OS thing (you are running on windows aren't you?)

    I'm not sure what else to suggest. Sorry :-$

    I guess you should raise this as a bug.

     
  • hofimax

    hofimax - 2009-12-01

    I have the same problem like caesram!! Same effect, same log…

     
  • jens k. hansen

    jens k. hansen - 2009-12-21

    I have the same problem - almost.
    I am connecting to my Qnap Nas through smb protocol.
    I can se the first level of the connected share but all files are displayed as dirs - as well as the actual dirs.

    When i try to open an actual dir the log window tells that it cannot display content.

    I am using the svn version og OpenVPN ALS because if I use the downloadable 0.9.1 i cannot get the agent to syncronize.

    In 0.9.1 the webshare connection to the Nas is working ok. I can copy files create dirs etc.

    /jk

     
  • BatMat

    BatMat - 2009-12-21

    Hello,

    I've experienced the same problem as you "jenskh" moving from 0.9.1 to SVN version of OpenVPN ALS.

    You should have a look at this bug: https://sourceforge.net/tracker/?func=detail&aid=2827875&group_id=228294&atid=1073724

    You will see that user "lcs-uk" kindly added a comment giving me a simple and working workaround to this problem:

    <code>We have the same problem. Managed to find a workaround:
    If you specify the share name as //data in the path field instead of just
    data it seems to work. </code>

    It is working well on my setup in production use.

    Mat

     
  • jens k. hansen

    jens k. hansen - 2009-12-22

    Thanks a lot Mat
    This "workaround" works perfectly.
    Now i can get on to the point where i can make a tunnel into my NAS so I can handle files as though they were lokal files in a local nautilus windows on my ubuntu.
    JensK

     

Log in to post a comment.