8.5.
nmblookup
nmblookup <options> <netbios_name>
The
nmblookup
program resolves NetBIOS names into IP addresses. The program broadcasts
its query on the local subnet until the target machine replies.
Here is an example:
nmblookup trek
querying trek on 10.1.59.255
10.1.56.45 trek<00>
8.6.
pdbedit
pdbedit <options>
The
pdbedit
program manages accounts located in the SAM database. All backends are
supported including
smbpasswd
, LDAP, NIS+, and the
tdb
database library.
The following are examples of adding, deleting, and listing users:
pdbedit -a kristin
new password:
retype new password:
Unix username:
kristin
NT username:
Account Flags:
[U
]
User SID:
S-1-5-21-1210235352-3804200048-1474496110-2012
Primary Group SID:
S-1-5-21-1210235352-3804200048-1474496110-2077
Full Name:
Home Directory:
\\wakko\kristin
HomeDir Drive:
Logon Script:
Profile Path:
\\wakko\kristin\profile
Domain:
WAKKO
Account desc:
Workstations:
Munged dial:
Logon time:
0
Logoff time:
Mon, 18 Jan 2038 22:14:07 GMT
Kickoff time:
Mon, 18 Jan 2038 22:14:07 GMT
Password last set:
Thu, 29 Jan 2004 08:29:28 GMT
Password can change:
Thu, 29 Jan 2004 08:29:28 GMT
Password must change: Mon, 18 Jan 2038 22:14:07 GMTpdbedit -v -L kristin
Unix username:
kristin
NT username:
Account Flags:
[U
]
User SID:
S-1-5-21-1210235352-3804200048-1474496110-2012
Primary Group SID:
S-1-5-21-1210235352-3804200048-1474496110-2077
Full Name:
Chapter 14. Samba
270
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......