AIX

AIX

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


#Power
#Power
 View Only

aix 7.2 smbc to azure files

  • 1.  aix 7.2 smbc to azure files

    Posted 14 hours ago

    We have an aix 7.2 server where we need to upgrade our current mounts to azure.
    For this we use:

    # lslpp -L | grep -i smb
    smbc.msg.en_US        7.2.302.5002    C     F    SMBC Messages - U.S. English
    smbc.rte              7.2.302.5002    C     F    AIX Runtime for SMB Client
    libsmbclient              4.21.9-1    C     R    The SMB client library

    Mounts connect using kerberos, we can obtain a ticket using kinit for the service user that is connecting.
    SPN is present, 'kvno cifs/azurefqdn' also present
    Tested this on a rhel8 server, and mounting works.
    We are not mounting a sub-directory. Our command:

    mount -v smbc -n 'azurefqdn/kerberosuser' -o "wrkgrp=workgroup,spn=cifs/azurefqdn,signing=enabled,secure_negotiate=desired,encryption=enabled,pver=3.0.2" /sharename /mnt/target

    With smbc.rte 7.2.302.5002 this fails:
    Netbios name must be 15 characters or less

    With smbc.rte 7.2.302.5001 no syntax error, but we hit a generic error:
    'There was an error connecting the share or the server.  Make sure the lsdev command shows that device nsmbc0 is in the Available state.  Also make sure that the share name, user name and password are accurate.'

    We ran the mount command under root after using 'kinit serviceaccount'. Root should see the correct ticket cache?
    I wonder if anyone made this work: aix7.2 smbc to azure?



    ------------------------------
    Anton van Vliet
    ------------------------------