Guest User

Untitled

a guest
Jan 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. root@server:/home/admin# net ads join -U administrator
  2. Enter administrator's password:
  3. Failed to join domain: failed to connect to AD: No results returned
  4.  
  5. [2017/01/18 10:29:20.937704, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  6. change_to_root_user: now uid=(0,0) gid=(0,0)
  7. [2017/01/18 10:29:20.937713, 3] ../source3/smbd/service.c:1148(close_cnum)
  8. 192.168.56.135 (ipv4:192.168.56.135:42032) closed connection to service IPC$
  9. [2017/01/18 10:29:20.937738, 4] ../source3/smbd/vfs.c:844(vfs_ChDir)
  10. vfs_ChDir to /
  11. [2017/01/18 10:29:20.937759, 4] ../source3/smbd/vfs.c:855(vfs_ChDir)
  12. vfs_ChDir got /
  13. [2017/01/18 10:29:20.937768, 4] ../source3/smbd/sec_ctx.c:321(set_sec_ctx_internal)
  14. setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
  15. [2017/01/18 10:29:20.937776, 5] ../libcli/security/security_token.c:53(security_token_debug)
  16. Security token: (NULL)
  17. [2017/01/18 10:29:20.937783, 5] ../source3/auth/token_util.c:639(debug_unix_user_token)
  18. UNIX token of user 0
  19. Primary group is 0 and contains 0 supplementary groups
  20. [2017/01/18 10:29:20.937796, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  21. change_to_root_user: now uid=(0,0) gid=(0,0)
  22. [2017/01/18 10:29:20.937817, 4] ../source3/auth/pampass.c:483(smb_pam_start)
  23. smb_pam_start: PAM: Init user: DOMAINAdministrator
  24. [2017/01/18 10:29:20.941624, 4] ../source3/auth/pampass.c:492(smb_pam_start)
  25. smb_pam_start: PAM: setting rhost to: 192.168.56.135
  26. [2017/01/18 10:29:20.941777, 4] ../source3/auth/pampass.c:501(smb_pam_start)
  27. smb_pam_start: PAM: setting tty
  28. [2017/01/18 10:29:20.941789, 4] ../source3/auth/pampass.c:509(smb_pam_start)
  29. smb_pam_start: PAM: Init passed for user: DOMAINAdministrator
  30. [2017/01/18 10:29:20.941797, 4] ../source3/auth/pampass.c:646(smb_internal_pam_session)
  31. smb_internal_pam_session: PAM: tty set to: smb/1889038790
  32. [2017/01/18 10:29:20.942435, 4] ../source3/auth/pampass.c:465(smb_pam_end)
  33. smb_pam_end: PAM: PAM_END OK.
  34. [2017/01/18 10:29:20.942457, 4] ../source3/smbd/sec_ctx.c:321(set_sec_ctx_internal)
  35. setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
  36. [2017/01/18 10:29:20.942466, 5] ../libcli/security/security_token.c:53(security_token_debug)
  37. Security token: (NULL)
  38. [2017/01/18 10:29:20.942474, 5] ../source3/auth/token_util.c:639(debug_unix_user_token)
  39. UNIX token of user 0
  40. Primary group is 0 and contains 0 supplementary groups
  41. [2017/01/18 10:29:20.942491, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  42. change_to_root_user: now uid=(0,0) gid=(0,0)
  43. [2017/01/18 10:29:20.943269, 3] ../source3/smbd/server_exit.c:252(exit_server_common)
  44. Server exit (NT_STATUS_END_OF_FILE)
  45.  
  46. [global]
  47. workgroup = DOMAIN
  48. realm = domain.local
  49. netbios name = SERVER-S01
  50. server role = active directory domain controller
  51. idmap_ldb:use rfc2307 = yes
  52. server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,winbindd, ntp_signd, kcc, dnsupdate
  53. #ACL support
  54. vfs objects = acl_xattr
  55. map acl inherit = yes
  56. store dos attributes = yes
  57.  
  58. ######################
  59. winbind enum groups=yes
  60. winbind enum users=yes
  61. dns forwarder=8.8.8.8
  62. winbind nss info = rfc2307
  63. #####################
  64.  
  65. domain logons = Yes
  66. domain master = Yes
  67. # Be a WINS server ..
  68. wins support = yes
  69.  
  70.  
  71. time server = Yes
  72.  
  73. obey pam restrictions = Yes
  74. dns proxy = No
  75. os level = 65
  76. log file = /var/log/samba/log.%m
  77. max log size = 1000
  78. syslog = 0
  79. panic action = /usr/share/samba/panic-action %d
  80. pam password change = Yes
  81.  
  82. unix password sync = no
  83. ldap passwd sync = yes
  84.  
  85. load printers = yes
  86. printing = cups
  87. printcap name = cups
  88. log level = 5
  89. # Use LDAP for Samba user accounts and groups ..
  90.  
  91.  
  92. ## LDAP Auth
  93. ldap server require strong auth = no
  94.  
  95. net ads info
  96. Failed to get server's current time!
  97. LDAP server: XXX.XXX.XXX.XXX
  98. LDAP server name: server-s01.domain.local
  99. Realm: DOMAIN.LOCAL
  100. Bind Path: dc=DOMAIN,dc=LOCAL
  101. LDAP port: 389
  102. Server time: Don, 01 Jan 1970 01:00:00 CET
  103. KDC server: XXX.XXX.XXX.XXX
  104. Server time offset: 0
Add Comment
Please, Sign In to add comment