[samba-jp:19187] Re: プリンターの共有(Win2KやWinXPに対してのプリンタードライバーの自動ダウンロード機能付き)

柴田 健郎 takeofuture @ hotmail.com
2007年 1月 26日 (金) 04:11:35 JST


返答ありがとうございます

>結局、どんな smb.conf にしたんでしょうか?

最終的には以下のようにして試行してます。
==============
[global]
   workgroup = MYDOMAIN
   netbios name = PRTSMB
   server string = Samba Server
   security = ads
   admin users = administrator
   load printers = yes
   printcap name = /etc/printcap
   printing = cups
   cups options = raw
   log level= 3
   log file = /var/log/samba/%m.log
   max log size = 50
   realm = MYDOMAIN.COM
   dns proxy = no

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

[printers]
   comment = All Printers
   path = /usr/spool/samba
   browseable = yes
   guest ok = yes
   writable = yes
   printable = yes
   public = yes
   default devmode = yes

[PRINT$]
   comment = Printer Drives for Win clients
   path = /var/samba/printer
   admin users = administrator
   write list = administrator
   guest ok = Yes
   
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
   browseable = yes

>あと testparm(1) を実行してチェックしましたか?

してみました(あまりこのツールのことはしらなかったのですが。。)。

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[PRINT$]"
Processing section "[tmp]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

[global]
        workgroup = MYDOMAIN
        realm = MYDOMAIN.COM
        server string = Samba Server
        security = ADS
        log level = 3
        log file = /var/log/samba/%m.log
        max log size = 50
        printcap name = /etc/printcap
        dns proxy = No
        admin users = administrator
        cups options = raw

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /usr/spool/samba
        read only = No
        guest ok = Yes
        printable = Yes
        browseable = No

[PRINT$]
        comment = Printer Drives for Win clients
        path = /var/samba/printer
        write list = administrator
        guest ok = Yes

[tmp]
        comment = Temporary file space
        path = /tmp
        read only = No
        guest ok = Yes

testparmの出力と
少し違うところがあるので、
修正してみます。
ありがとうございました。

_________________________________________________________________
全米大ヒットの映画『ハッピー フィート』がメッセンジャーに登場 
http://messenger.live.jp/ 




samba-jp メーリングリストの案内