Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. libmount1/bionic-updates,now 2.31.1-0.4ubuntu3.3 amd64 [installed]
  2. libpam-mount/bionic-updates,now 2.16-3ubuntu0.1 amd64 [installed]
  3. mount/bionic-updates,now 2.31.1-0.4ubuntu3.3 amd64 [installed]
  4. cifs-utils/bionic,now 2:6.8-1 amd64 [installed]
  5. libsmbclient/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed]
  6. python-samba/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed,automatic]
  7. samba/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed,automatic]
  8. samba-common/bionic-updates,bionic-updates,bionic-security,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 all [installed,automatic]
  9. samba-common-bin/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed,automatic]
  10. samba-dsdb-modules/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed,automatic]
  11. samba-libs/bionic-updates,bionic-security,now 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 [installed]
  12.  
  13. <?xml version="1.0" encoding="utf-8" ?>
  14. <!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
  15. <pam_mount>
  16. <debug enable="0" />
  17.  
  18. <!-- Volume definitions -->
  19. <volume fstype="cifs"
  20. path="//SMB-Server.SAMBA-AD.de/testshare"
  21. mountpoint="/mnt/AD-User"
  22. options="user=AD-User,domain=SAMBA-AD,exec,vers=3.0"
  23. gid="1234"/>
  24.  
  25. <!-- pam_mount parameters: General tunables -->
  26.  
  27. <mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
  28. <mntoptions require="nosuid,nodev" />
  29.  
  30. <!-- requires ofl from hxtools to be present -->
  31. <logout wait="0" hup="no" term="no" kill="no" />
  32.  
  33. <mkmountpoint enable="1" remove="true" />
  34. </pam_mount>
  35.  
  36. auth [success=3 default=ignore] pam_krb5.so minimum_uid=1000
  37. auth [success=2 default=ignore] pam_unix.so nullok_secure try_first_pass
  38. auth [success=1 default=ignore] pam_winbind.so krb5_auth krb5_ccache_type=FILE cached_login try_first_pass
  39. auth requisite pam_deny.so
  40. auth required pam_permit.so
  41. auth optional pam_mount.so
  42. auth optional pam_cap.so
  43. auth optional pam_mount.so
  44. # end of pam-auth-update config
  45.  
  46. session [default=1] pam_permit.so
  47. session requisite pam_deny.so
  48. session required pam_permit.so
  49. session optional pam_umask.so
  50. session optional pam_krb5.so minimum_uid=1000
  51. session required pam_unix.so
  52. session optional pam_winbind.so
  53. session optional pam_mount.so
  54. session optional pam_systemd.so
  55. session optional pam_mount.so
  56. # end of pam-auth-update config
  57.  
  58. root@logToComputerName:/#mount -t cifs -o rw,user=AD-User,domain=SAMBA-AD \\SMB-Server\testshare /mnt/AD-User
  59. Password for AD-User@SMB-Servertestshare: ********
  60.  
  61. root@logToComputerName:/# df -h
  62. Filesystem Size Used Avail Use% Mounted on
  63. udev 7,9G 0 7,9G 0% /dev
  64. tmpfs 1,6G 2,9M 1,6G 1% /run
  65. /dev/sda1 458G 29G 406G 7% /
  66. (...snip...)
  67. \SMB-Servertestshare 23T 0 23T 0% /mnt/AD-User
  68.  
  69. AD-User@localTerm:~$ ssh AD-User@logToComputerName
  70. Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.18.0-20-generic x86_64)
  71. (...snip...)
  72. Your Hardware Enablement Stack (HWE) is supported until April 2023.
  73. Last login: Tue May 28 14:42:45 2019 from xxx.xxx.x8.149
  74. AD-User@logToComputerName:~$ df -h
  75. Filesystem Size Used Avail Use% Mounted on
  76. udev 7,9G 0 7,9G 0% /dev
  77. tmpfs 1,6G 2,9M 1,6G 1% /run
  78. /dev/sda1 458G 29G 406G 7% /
  79. (...snip...)
  80. (No mount)
  81.  
  82. May 28 14:51:56 logToComputerName kernel: [14958.849509] Status code returned 0xc000006d STATUS_LOGON_FAILURE
  83. May 28 14:51:56 logToComputerName kernel: [14958.849518] CIFS VFS: Send error in SessSetup = -13
  84. May 28 14:51:56 logToComputerName kernel: [14958.849527] CIFS VFS: cifs_mount failed w/return code = -13
  85. May 28 14:51:56 logToComputerName systemd[1]: Created slice User Slice of AD-User.
  86. May 28 14:51:56 logToComputerName systemd[1]: Starting User Manager for UID 123456...
  87. May 28 14:51:56 logToComputerName systemd[1]: Started Session 59 of user AD-User.
  88. May 28 14:51:57 logToComputerName systemd[16601]: Listening on GnuPG network certificate management daemon.
  89. May 28 14:51:57 logToComputerName systemd[16601]: Started Pending report trigger for Ubuntu Report.
  90. May 28 14:51:57 logToComputerName systemd[16601]: Reached target Paths.
  91. May 28 14:51:57 logToComputerName systemd[16601]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
  92. May 28 14:51:57 logToComputerName systemd[16601]: Reached target Timers.
  93. May 28 14:51:57 logToComputerName systemd[16601]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
  94. May 28 14:51:57 logToComputerName systemd[16601]: Listening on GnuPG cryptographic agent and passphrase cache.
  95. May 28 14:51:57 logToComputerName systemd[16601]: Starting D-Bus User Message Bus Socket.
  96. May 28 14:51:57 logToComputerName systemd[16601]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
  97. May 28 14:51:57 logToComputerName systemd[16601]: Listening on D-Bus User Message Bus Socket.
  98. May 28 14:51:57 logToComputerName systemd[16601]: Reached target Sockets.
  99. May 28 14:51:57 logToComputerName systemd[16601]: Reached target Basic System.
  100. May 28 14:51:57 logToComputerName systemd[1]: Started User Manager for UID 123456.
  101. May 28 14:51:57 logToComputerName systemd[16601]: Reached target Default.
  102. May 28 14:51:57 logToComputerName systemd[16601]: Startup finished in 504ms.
  103. May 28 14:51:57 logToComputerName kernel: [14959.422369] FS-Cache: Duplicate cookie detected
  104. May 28 14:51:57 logToComputerName kernel: [14959.422376] FS-Cache: O-cookie c=00000000439a062a [p=00000000aec79842 fl=222 nc=1 na=1]
  105. May 28 14:51:57 logToComputerName kernel: [14959.422378] FS-Cache: O-cookie d=00000000ddea9b97 n=000000000ee78c37
  106. May 28 14:51:57 logToComputerName kernel: [14959.422381] FS-Cache: O-key=[8] '020001bd8d03590a'
  107. May 28 14:51:57 logToComputerName kernel: [14959.422389] FS-Cache: N-cookie c=000000005644be78 [p=00000000aec79842 fl=2 nc=0 na=1]
  108. May 28 14:51:57 logToComputerName kernel: [14959.422392] FS-Cache: N-cookie d=00000000ddea9b97 n=00000000c3c538f7
  109. May 28 14:51:57 logToComputerName kernel: [14959.422393] FS-Cache: N-key=[8] '020001bd8d03590a'
  110. May 28 14:51:57 logToComputerName kernel: [14959.485780] Status code returned 0xc000006d STATUS_LOGON_FAILURE
  111. May 28 14:51:57 logToComputerName kernel: [14959.485788] CIFS VFS: Send error in SessSetup = -13
  112. May 28 14:51:57 logToComputerName kernel: [14959.485798] CIFS VFS: cifs_mount failed w/return code = -13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement