AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Mount a CIFS share hosted on Windows Server 2008 (2)

  • 1.  Mount a CIFS share hosted on Windows Server 2008 (2)

    Posted Tue December 08, 2015 08:55 AM

    Originally posted by: Richlion2


    Hello,

     

    I can see this topic has been covered by some old threads:

    https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014252730

    However I found no solution to this problem in my environment. Since I don't have any problems mapping the Windows 2008 share, I would like to know if my AIX 6.1 system is affected.

    I am on this level:

    root:/home/usr/root >oslevel -s
    6100-07-04-1216
    root:/home/usr/root >oslevel -r
    6100-07

    The previous thread point to an APAR IZ44103 , but it seems to be closed.

    http://www-01.ibm.com/support/docview.wss?uid=isg1IZ44103

    Does anyone have any suggestions?

    By the way, no other firewalls are in the way, as both servers are on the same switch and same IP range and no firewall between them.

     

    I've explored all options. Mounting a Windows 2003 share does not cause any issues. Windows 2008 firewall is completely disabled, I explored a couple of Windows fixes proposed:

    https://support.microsoft.com/en-us/kb/975512

    http://newforma.custhelp.com/app/answers/detail/a_id/1009/~/problem-accessing-shares-on-windows-2008-server

    http://www.unix.com/aix/157701-aix-cifs-mount-windows-server-2008-share.html

     

    There were some suggesitons to change this registry entry:

    Change "UseNewSmb"

    To no avail, cant mount the Windows 2008 share. Message is all the same:

    /home/usr/root >mount /workspace/tmp/webdocs/prs2
    Password:
    There was an error connecting the share or the server.
    Make sure the lsdev command shows that device nsmb0 is in
    the Available state.  Also make sure that the share name,
    user name and password are accurate.

     

    I would really appreciate some hints.

    Thank you ,

    Ryszard

     

     

     


    #AIX-Forum


  • 2.  Re: Mount a CIFS share hosted on Windows Server 2008 (2)

    Posted Tue December 08, 2015 09:05 AM

    Originally posted by: ppereira


    Could you please paste the stanza in the /etc/filesystem file for the /workspace/tmp/webdocs/prs2 nfs filesystem?

     

    Regards.

    Pablo.


    #AIX-Forum


  • 3.  Re: Mount a CIFS share hosted on Windows Server 2008 (2)

    Posted Tue December 08, 2015 10:45 AM

    Originally posted by: Richlion2


    Hi, this is it:

     

    /workspace/tmp/webdocs/prs2:
            dev             = /prs
            vfs             = cifs
            nodename        = 10.137.2.37/Administartor
            mount           = false
            account         = false

     

    Windows share is "prs"

    I also use Smitty -> Communications Applications and Services ->  cifs_fs for AIX

    * Pathname of mount point                             /workspace/tmp/webdocs/prs2
      SERVER Name                                        [10.137.2.37]
      USER Name                                          [Administartor]
      Password                                           [Password]
      Share name                                         [/prs]
      Mount as a READ-ONLY system?                       [no]                                                                                                    +
      User ID                                            [0]
      Group ID                                           [0]
      Mode                                               [755]
      Domain to Authenticate against                     []
      Remount now,add entry to /etc/filesystems, or both [Both]                                                                                                  +
      /etc/filesystems entry will mount on start         [no]                                                                                                    +
      Mount type name                                    []

     


    #AIX-Forum


  • 4.  Re: Mount a CIFS share hosted on Windows Server 2008 (2)

    Posted Wed December 09, 2015 05:58 AM

    Originally posted by: Richlion2


    Helllo,

    just wanted to add that some people insist on this:

    "The [windows] user must exist on Windows, and you must provide the workgroup or domain that windows is using."

    I try doing that, first I check:

    smitty tcpip:

    * HOSTNAME                                           [falcondr]
    * Internet ADDRESS (dotted decimal)                  [10.142.1.12]
      Network MASK (dotted decimal)                      [255.255.255.192]
    * Network INTERFACE                                   en0
      NAMESERVER
               Internet ADDRESS (dotted decimal)         [10.137.2.102]
               DOMAIN Name                               [makro.uk.com]
      Default Gateway
           Address (dotted decimal or symbolic name)     [10.142.1.1]
           Cost                                          [0]                     
           Do Active Dead Gateway Detection?              no                     
      Your CABLE Type                                     N/A                    
      START Now                                           no                    

     

    So I use my makro.uk.com , however the information in the web does not specify whether the user should be a domain user or local user.

    I am using the local Windows Admin user, so I assume I should not put in the domain whem mounting the share. At least that's how it works with the Windows 2003 server.

    Here is an example of some instructions, unfortunately they dont' work in my case:

    http://www.aixmind.com/?p=1856

     

    Regards,

    Ryszard


    #AIX-Forum


  • 5.  Re: Mount a CIFS share hosted on Windows Server 2008 (2)

    Posted Mon December 14, 2015 09:51 AM
      |   view attached

    Originally posted by: Richlion2


    So I managed to solve the problem today. Here are the key issues:

    1) I was using a local Administrator account - I suspect Windows 2008 does not allow this, however there is no information on the web, so just a guess.

    2) I created a local User account and used that one.

    Attached is a sample procedure I used to get is working. Although I mention not to use a domain account I think if someone wants to it may work. I rather like the idea of not using a domain account as it simplifies the procedure and eliminates the need of changes due to Windows domain admins changing things every 6 months (creating, moving, removing domains too frequently).

     

    There also seems to be a very specific way and sequence in which the share is create and adding permissions is also important, I tried various options and not all of them seem to be accepted by the SMB protocol. Feel free to comment.

     

    Regards,

    Ryszard


    #AIX-Forum

    Attachment(s)