Guest User

Untitled

a guest
Oct 16th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. samba ~ # pdbedit -a -u root
  2. new password:
  3. retype new password:
  4. Unix username: root
  5. NT username:
  6. Account Flags: [U ]
  7. User SID: S-1-5-21-930424154-3096144012-1029874195-1003
  8. Primary Group SID: S-1-5-21-930424154-3096144012-1029874195-513
  9. Full Name: root
  10. Home Directory: \\sambaserver\root
  11. HomeDir Drive:
  12. Logon Script:
  13. Profile Path: \\sambaserver\root\profile
  14. Domain: SAMBASERVER
  15. Account desc:
  16. Workstations:
  17. Munged dial:
  18. Logon time: 0
  19. Logoff time: Wed, 06 Feb 2036 15:06:39 q0�
  20. Kickoff time: Wed, 06 Feb 2036 15:06:39 q0�
  21. Password last set: Sun, 03 Jun 2012 19:59:56 q0�
  22. Password can change: Sun, 03 Jun 2012 19:59:56 �.�
  23. Password must change: Tue, 19 Jan 2038 03:14:07 �.�
  24. Last bad password : 0
  25. Bad password count : 0
  26. Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  27. samba ~ # smbclient -L
  28. Usage: smbclient [-?EgBVNkPeC] [-?|--help] [--usage] [-R|--name-resolve=NAME-RESOLVE-ORDER] [-M|--message=HOST] [-I|--ip-address=IP] [-E|--stderr]
  29. [-L|--list=HOST] [-m|--max-protocol=LEVEL] [-T|--tar=<c|x>IXFqgbNan] [-D|--directory=DIR] [-c|--command=STRING] [-b|--send-buffer=BYTES]
  30. [-p|--port=PORT] [-g|--grepable] [-B|--browse] [-d|--debuglevel=DEBUGLEVEL] [-s|--configfile=CONFIGFILE] [-l|--log-basename=LOGFILEBASE]
  31. [-V|--version] [-O|--socket-options=SOCKETOPTIONS] [-n|--netbiosname=NETBIOSNAME] [-W|--workgroup=WORKGROUP] [-i|--scope=SCOPE]
  32. [-U|--user=USERNAME] [-N|--no-pass] [-k|--kerberos] [-A|--authentication-file=FILE] [-S|--signing=on|off|required] [-P|--machine-pass]
  33. [-e|--encrypt] [-C|--use-ccache] service <password>
  34. samba ~ # smbclient -L 127.0.0.1
  35. Enter root's password:
  36. Domain=[FIRMAWORKGROUP] OS=[Unix] Server=[Samba 3.5.15]
  37.  
  38. Sharename Type Comment
  39. --------- ---- -------
  40. IPC$ IPC IPC Service (Samba Server)
  41. root Disk Home Directories
  42. Domain=[FIRMAWORKGROUP] OS=[Unix] Server=[Samba 3.5.15]
  43.  
  44. Server Comment
  45. --------- -------
  46. SAMBASERVER Samba Server
  47.  
  48. Workgroup Master
  49. --------- -------
  50. FIRMAWORKGROUP SAMBASERVER
  51. MYGROUP LAPTOP
  52. NET001 NT_SERVER
  53. samba ~ #
Add Comment
Please, Sign In to add comment