—A—

 

—B—

—C—

CIFS – Common Internet File System

CIFS From Eight Miles High

configuration - /etc/samba/smb.conf

—D—

Documentation - /usr/share/doc/samba-doc/htmldocs/samba-pdc.html

Domain – see PDC (Primary Domain Controler)

—E—

—F—

 

—G—

 

—H—

 

—I—

id and password required to navigate to shared file on a UNIX server – see user id and password required to navigate to shared file on a UNIX server

—J—

—K—

—L—

log files - /var/log/samba, look for log.nmbd, log.smbd

—M—

—N—

“nobody” user shows up when trying to connect to Samba server from client PC as evidenced by issuing command:

ps -aux | grep smb

make sure the Windows user is the same as the Linux id when you right click “My Computer”/manage and in the window that pops up go to

System Tools/Local Users and Groups/Users

and make sure the “Name” and “Full Name” are the same

also, on the Linux end, make sure you set the samba password

smbpasswd -a userid

—O—

 

—P—

password, change samba password – depending on what’s specified in the “passdb backend =” section of smb.conf (e.g., “passdb backend = tdbsam)

pdbedit -a -u userid

smbpasswd -a userid (smbpasswd is deprecated)

password expiration

pdbedit -v  -P  'maximum password age'  -C 2592000

to set Thirty days before expiration , -C in seconds

password and ID required to navigate to shared file on a UNIX server – see user id and password required to navigate to shared file on a UNIX server

PDC (Primary Domain Controler)

PDC Mini How-to

processes – ps -aux | grep nmbd and ps -aux | grep smbd

—Q—

—R—

restart - /etc/init.d/samba restart

—S—

share file on Leo - /usr/loca/company_shared_files

start – smbd -D -s, nmbd -D – but restart instead whenever possible

stop – – use restart instead whenever possible.  But otherwise:

kill -TERM -a <PID> or, supposedly, kill -TERM smbd (also, kill -TERM -a nmbd and kill -HUP -a inetd)

if you get

-su: kill: -a: no such pid

-su: kill: smbd: no such pid

then

ps -aux | grep smbd

to find the number of the process you’re looking for, and kill it instead

SWAT

—T—

testparms – need to be in /usr/sbin for this to work

troubleshooting article sent by Dave S.

—U—

user id and password required to navigate to shared file on a UNIX server – emacs /etc/samba/smb.conf and look for

security = user

and change it to

security = share

—V—

version – smbd -V

—W—

Windows

server tools –srvtools.exe

who’s logged in?  use command:

ps -aux | grep smb

—X—

—Y—

—Z—

—No's—

1