()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-08-25 10:23
samba ġ ġ OS : solaris 9 sparc
 ۾ :
ȸ : 10,338  
   http://www.sunfreeware.com [1975]
(Samba)?

ٶ ϸ鼭 Ŵ 䳻 ƮԴϴ. ʿ ϵũ Ʈ ڿ ϵ ȯ ְ, ٸ ʿ Ͻý۰ ͷε ֽϴ. ̷ ټ SMB(Server Message Block)/CIFS(Common Internet File System) 䳻ν ϴ.

- ٴ Ʈũ ȯ濡 ִ ü ϳ ؼ ϸ ֵ Ѵ. NT, 98 繫̳ ǿ ϴ ü ΰ ƴϴ. Ų, 98, ME, ֶ󸮽, , FreeBSD, HP-UX ü ȥ ٰ ̴.

- ٴ ϼ ƴ϶ μ μ ߿ ô´. ϸ "Network Printing" 캸 н() ͸ , ߾ ߽ ϴ Ұϴµ, ⼭ ٷ óѴ.

- ٴ ִ. ٸ ϸ 98/ME NT ũ̼ ׷ ̻ NT ʿ .
ٸ ϸ NT δ н ϳ ü ִ.


ٴ Ǿ ణ ٸ ۵Ǵ α׷ ̷ ִ.

- smbd : Ŭ̾Ʈ ҽ ϴ Ȱ ϴ α׷. Ʈũ ϴ Ŭ̾Ʈ , , Ž 񽺸 Ѵ. ׿ , SMB Ÿ , ҽ Ѵ.
- nmbd : WINS NetBIOS Ӽ Ͽ Ӽ񽺸 ϴ ̴.

ܿ ٴ unix ɾ ϰ ִ.
* smbclient : Ǿ ִ 丮 ϴ н Ŀǵ
* smbtar : Ǿ ִ 丮 ϱ Ŀǵ. tar · Ѵ.
* nmblookup : NetBIOS Ӽ񽺸 ִ ƿ
* smbadduser : ߰ϴ ƿ
* smbpasswd : α׷ н带 ϴ
* smbstatus : Ʈ Ǿ ִ 丮 κ ͼ ִ ƿ
* testparm : ټ(smb.conf) ռ θ ׽Ʈϴ ƿ
* testrns : smbd ͸ ˻ Ǵ ƿ

ġ ϴ ҽ İ Ű ִµ ⼭ Ű ġ ڽϴ.

---------------------------------------------------------------------------------

ġ ϱ ؼ  Ű ʿ մϴ.

-------Ű Ȯ-----
#pkginfo | grep ncurses
#pkginfo | grep popt
#pkginfo | grep gcc
#pkginfo | readline

ġ Ǵ Ȯغ samba ġ ϱ ִ ͵
ġ ؾ մϴ.

---------------------------------------------------------------------------------

------- ٿε------
Ű ٿε......

www.sunfreeware.com
samba-3.0.10-sol9-sparc-local.gz
readline-5.0-sol9-sparc-local.gz
popt-1.7-sol9-sparc-local.gz
ncurses-5.4-sol9-sparc-local.gz

---------------------------------------------------------------------------------

--------Ű gzip Ǯ -----
#gunzip *
#gunzip samba-3.0.10-sol9-sparc-local.gz


---------------------------------------------------------------------------------

--------Ű ġ -------

Ű  ġ Ұ Ӽ 濡 Ȯ ϴµ
y ȴ.

#pkgadd -d readline-5.0-sol9-sparc-local
#pkgadd -d ncurses-5.4-sol9-sparc-local
#pkgadd -d popt-1.7-sol9-sparc-local
#pkgadd -d samba-3.0.10-sol9-sparc-local


---------------------------------------------------------------------------------

Ű ġ

丮      :/usr/local/samba 丮 ˴ϴ.
ȯ :/etc/sfw/smb.conf
                      smb.conf ../sfw/ ʿ smb.conf-example Ϸ
                      ؼ ų touch Ҽ ֽϴ.
ེũƮ  :/etc/init.d/samba {start|stop}


---------------------------------------------------------------------------------

--------/etc/services , /etc/inetd.conf ---------

#vi /etc/services

swat            901/tcp    ߰

#vi /etc/inetd.conf

swat stream tcp nowait.400 root /usr/sfw/sbin/swat swat ߰

---------------------------------------------------------------------------------


---------ũƮ ------

#ps -ef | grep inetd
    root  154    1  0 08:27:14 ?        0:00 /usr/sbin/inetd -s
    root  948  475  0 10:07:27 pts/3    0:00 grep inet
#pkill -HUP 154


---------------------------------------------------------------------------------

---------smb.conf -------

: /etc/sfw/smb.conf

#touch /etc/sfw/smb.conf
#vi /etc/sfw/smb.conf

[global]
                workgroup = test    --------- Ʈũ ׷
                server string = test1 -------- ǻ ̸
                guest account = samba ---- ǻ
                printing =sysv
                printcap name = /etc/printcap
                mangle case = no
                load printers = no
                short Preserve case = yes
                preserve case = yes
                security = SHARE

  [data]
                comment = news -------
                path = /export/home/samba  ------- 丮             
                writeable = yes
                guest ok = yes
 - data guest ok =yes ϸ ؼ а Ⱑ մϴ.

---------------------------------------------------------------------------------


-------------- 丮 ------

: samba
׷ : sambagrp
丮 : /export/home/samba

#groupadd sambagrp
#useradd -m -d /export/home/samba -G sambagrp -s /bin/false samba

---------------------------------------------------------------------------------

 

#/etc/init.d/samba {start|stop|

൥ Ȯ

#ps -ef | grep bd
    root  719    1  0 09:17:16 ?        0:00 /usr/sfw/sbin/nmbd -D
    root  720  717  0 09:17:20 ?        0:00 /usr/sfw/sbin/smbd -D

ڵũƮ Ȯ

#vi /etc/rc3.d/S90samba

---------------------------------------------------------------------------------

 
 

Total 185
ȣ     ۾ ¥ ȸ
5 NTP (Network Time Protocol) ġ OS - solaris 9 s
2005/08/25 11453
4 samba ġ ġ OS : solaris 9 sparc
2005/08/25 10339
3 vxvm:vxdctl: ERROR: enabled: Error in disk group configurati
2005/08/24 6890
2 cron error - queue max run limit reached
2005/08/19 8439
1 Telnet, Ftp
2005/08/19 12339
   11  12  13
 
 
 
Administrator Login