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