<문제 해설>
### samba 설정 정보 확인
# testparm
Load smb config files from /etc/samba/smb.conf
Processing section “[Storage]”
Processing section “[read only]”
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
dos charset = cp949
unix charset = euc-kr
netbios name = FILE SERVER
server string = File Server
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
### samba 접속 정보 확인
# smbstatus
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file “/etc/samba/smb.conf”
Processing section “[global]”
Processing section “[Storage]”
Processing section “[read only]”
Samba version 3.2.5
PID Username Group Machine
——————————————————————-
26030 yjj yjj mycom (::ffff:10.0.0.4)
Service pid machine Connected at
——————————————————-
Storage 26030 mycom Fri Dec 24 16:53:30 2010
No locked files
출처 - http://blog.seabow.pe.kr/?p=729
pdbedit : SAM 데이터베이스 관리 (Samba 사용자 데이터베이스)
smbcontrol : smbd, nmbd 또는 winbindd 프로세스에 메시지 보내기