Hi All,

I've just updated the lustre client on our Ubuntu 12.04 front end node to 2.8 (as we have new storage servers which are running 2.8). This seems to be working fine however I cannot access lustre filesystems that are shared over samba.

The Samba client appears to connect fine but cannot access the lustre filesystem the errors I'm getting reported in the samba error log are :

[2016/12/12 14:50:32.135528,  3] auth/auth.c:219(check_ntlm_password)
check_ntlm_password: Checking password for unmapped user [DRAGON]\[stsxab]@[DRAGON] with the new password interface
[2016/12/12 14:50:32.135557,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [BUSTER-FE0]\[stsxab]@[DRAGON]
[2016/12/12 14:50:32.135944, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for stsxab
[2016/12/12 14:50:32.140079,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [stsxab] succeeded
[2016/12/12 14:50:32.140131,  2] auth/auth.c:309(check_ntlm_password)
check_ntlm_password: authentication for user [stsxab] -> [stsxab] -> [stsxab] succeeded [2016/12/12 14:50:32.140181, 3] auth/token_util.c:438(finalize_local_nt_token)
  Failed to fetch domain sid for STATISTICS
[2016/12/12 14:50:32.140241, 3] auth/token_util.c:469(finalize_local_nt_token)
  Failed to fetch domain sid for STATISTICS
[2016/12/12 14:50:32.140512, 3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2016/12/12 14:50:32.140532, 3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
[2016/12/12 14:50:32.140560,  3] smbd/password.c:298(register_existing_vuid)
register_existing_vuid: User name: stsxab Real name: Mr Phill Harvey-smith
[2016/12/12 14:50:32.140577,  3] smbd/password.c:308(register_existing_vuid)
register_existing_vuid: UNIX uid 1091 is UNIX user stsxab, and will be vuid 100
[2016/12/12 14:50:32.140734,  3] smbd/password.c:238(register_homes_share)
Adding homes service for user 'stsxab' using home directory: '/home/stsxab'
[2016/12/12 14:50:32.140797,  3] param/loadparm.c:6634(lp_add_home)
  adding home's share [stsxab] for user 'stsxab' at '/home/stsxab'
[2016/12/12 14:50:32.141654,  3] smbd/process.c:1609(process_smb)
  Transaction 3 of length 86 (0 toread)
[2016/12/12 14:50:32.141682,  3] smbd/process.c:1414(switch_message)
  switch message SMBtconX (pid 21306) conn 0x0
[2016/12/12 14:50:32.141716,  3] lib/access.c:338(allow_access)
  Allowed connection from 137.205.231.2 (137.205.231.2)
[2016/12/12 14:50:32.141741, 3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2016/12/12 14:50:32.141796, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2016/12/12 14:50:32.141845, 3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID stsxab is not in a valid format
[2016/12/12 14:50:32.141893, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for stsxab
[2016/12/12 14:50:32.141949,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/home/stsxab' for service [stsxab]
[2016/12/12 14:50:32.141983,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2016/12/12 14:50:32.142004,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2016/12/12 14:50:32.142019,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [recycle]
[2016/12/12 14:50:32.142174,  2] lib/module.c:64(do_smb_load_module)
  Module '/usr/lib/samba/vfs/recycle.so' loaded
[2016/12/12 14:50:32.142323, 3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2016/12/12 14:50:32.142379, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2016/12/12 14:50:32.142429, 3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID stsxab is not in a valid format
[2016/12/12 14:50:32.142478, 3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for stsxab
[2016/12/12 14:50:32.142573,  1] smbd/service.c:1114(make_connection_snum)
dragon (137.205.231.2) connect to service stsxab initially as user stsxab (uid=1091, gid=1001) (pid 21306)
[2016/12/12 14:50:32.142600,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=STSXAB
[2016/12/12 14:50:32.143143,  3] smbd/process.c:1609(process_smb)
  Transaction 4 of length 80 (0 toread)
[2016/12/12 14:50:32.143167,  3] smbd/process.c:1414(switch_message)
  switch message SMBtrans2 (pid 21306) conn 0x7f163fefbba0
[2016/12/12 14:50:32.143208, 3] smbd/trans2.c:5288(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2016/12/12 14:50:32.143244,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [.] [/home/stsxab]
[2016/12/12 14:50:32.143263,  3] smbd/vfs.c:1057(check_reduced_name)
  check_reduced_name: . reduced to /home/stsxab
[2016/12/12 14:50:32.143294, 3] smbd/trans2.c:5432(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2016/12/12 14:50:32.143782,  3] smbd/process.c:1609(process_smb)
  Transaction 5 of length 80 (0 toread)
[2016/12/12 14:50:32.143806,  3] smbd/process.c:1414(switch_message)
  switch message SMBtrans2 (pid 21306) conn 0x7f163fefbba0
[2016/12/12 14:50:32.143823, 3] smbd/trans2.c:5288(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2016/12/12 14:50:32.143845,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [.] [/home/stsxab]
[2016/12/12 14:50:32.143864,  3] smbd/vfs.c:1057(check_reduced_name)
  check_reduced_name: . reduced to /home/stsxab
[2016/12/12 14:50:32.143886, 3] smbd/trans2.c:5432(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1005 call=5 total_data=0
[2016/12/12 14:50:32.145116,  3] smbd/process.c:1609(process_smb)
  Transaction 6 of length 74 (0 toread)
[2016/12/12 14:50:32.145144,  3] smbd/process.c:1414(switch_message)
  switch message SMBtrans2 (pid 21306) conn 0x7f163fefbba0
[2016/12/12 14:50:32.145162,  3] smbd/trans2.c:3629(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2016/12/12 14:50:32.145181,  3] smbd/trans2.c:3046(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2016/12/12 14:50:32.150267,  3] smbd/process.c:1609(process_smb)
  Transaction 7 of length 74 (0 toread)
[2016/12/12 14:50:32.150306,  3] smbd/process.c:1414(switch_message)
  switch message SMBtrans2 (pid 21306) conn 0x7f163fefbba0
[2016/12/12 14:50:32.150324,  3] smbd/trans2.c:3629(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 258
[2016/12/12 14:50:32.150342,  3] smbd/trans2.c:3046(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 258
[2016/12/12 14:50:32.155867,  3] smbd/process.c:1609(process_smb)
  Transaction 8 of length 90 (0 toread)
[2016/12/12 14:50:32.155901,  3] smbd/process.c:1414(switch_message)
  switch message SMBtrans2 (pid 21306) conn 0x7f163fefbba0
[2016/12/12 14:50:32.155923,  3] smbd/trans2.c:2377(call_trans2findfirst)
call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x102, max_data_bytes = 16384
[2016/12/12 14:50:32.155951,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [*] [/home/stsxab]
[2016/12/12 14:50:32.158388,  3] smbd/vfs.c:963(check_reduced_name)
  check_reduced_name: couldn't get realpath for *
[2016/12/12 14:50:32.158428,  3] smbd/filename.c:1365(filename_convert)
filename_convert: check_name failed for name * with NT_STATUS_ACCESS_DENIED
[2016/12/12 14:50:32.158448,  3] smbd/error.c:81(error_packet_set)
error packet at smbd/trans2.c(2430) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED

An abridged smb.conf :

[global]

   workgroup = STATISTICS
   server string = %h computing cluster (Samba, Ubuntu)
   dns proxy = no


   hosts allow = ALL
   log file = /var/log/samba/log.%m

   max log size = 1000

   syslog = 0


   panic action = /usr/share/samba/panic-action %d

log level = 3

#Turn off unix extensions, required for Lustre

unix extensions = no
#follow symlinks = yes
#wide links = yes

locking = No
posix locking = No

   security = user

   encrypt passwords = true

   passdb backend = tdbsam

   invalid users = root

   map to guest = bad user

   domain logons = no
   load printers = no

   socket options = TCP_NODELAY

   usershare allow guests = yes

   browseable = yes

[homes]
   comment = Home Directories
   browseable = no
   public = no
   read only = no
   valid users = %S

        vfs objects = recycle
        recycle:repository = %P/.recycle
        recycle:keeptree = yes

[storage]
   comment = Storage Directory
   path = /storage
   browseable = yes
   public = no
   read only = no
   #valid users = %S

[adminstore]
   comment = Admin shared directory
   path = /home/adstore
   browseable = yes
   public = no
   read only = no
   force user = xxxx
   valid users = xxxx yyyy zzzz

[tmp]
   path = /tmp/tmp
   browseable = yes
   public = no
   read only = no
   force user = xxxx
   valid users = xxxx yyyy zzzz



The luster folders are mounted on /home /scratch and /storage from /etc/fstab

192.168.0.6@tcp0:/storage /storage lustre defaults,_netdev,flock,noauto 0 0 192.168.0.6@tcp0:/home /home lustre defaults,_netdev,flock,noauto 0 0 192.168.0.6@tcp0:/scratch /scratch lustre defaults,_netdev,flock,noauto 0 0

I also tried unmaounting and remounting /home without the options and was still getting the same problems.


_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to