Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: trouble in smb setting



Hi,
  I am trying to configure smb to connect my Linux box with my Win98 box.  
Linux box is named tetsu, and Win98 is yuki.  A printer named "canon" is 
connected to tetsu and it is to be shared with yuki.

  I tried to make smb.conf.  I want to share the printer with both machines.  
Even "smbclient -L tetsu" says "Your server software is being unfriendly".   
I am quite new to smb, so I guess I must make a big mistake.
Here is my result of smbclient -L yuki, smbclient -L tetsu and smb.conf
  What should I do?

Best regards...

----smbclient -L yuki---------
MailAndNews% smbclient -L yuki                                                ~
Get_Hostbyname: Unknown host MailAndNews.com.
Failed to get my hostname.
Get_Hostbyname: Unknown host MailAndNews.com.
No interface found for address 200.117.14.64
Added interface ip=200.117.14.64 bcast=200.117.14.255 nmask=255.255.255.0
Get_Hostbyname: Unknown host MailAndNews.com.
Get_Hostbyname: Unknown host MailAndNews.com.
Server time is Wed Feb 17 18:16:46 1999
Timezone is UTC+9.0
security=share

Server=[YUKI] User=[] Workgroup=[WORKGROUP] Domain=[WORKGROUP]

        Sharename      Type      Comment
        ---------      ----      -------
        DOWNLOAD       Disk      
        IPC$           IPC       (japanese letters)$B%j%b!<%H(B $B%W%m%;%94VDL?.(B
        MY DOCUMENTS   Disk      

NOTE: There were share names longer than 8 chars.
On older clients these may not be accessible or may give browsing errors


This machine has a browse list:

        Server               Comment
        ---------            -------
        TETSU                Samba 1.9.18p10
        YUKI                 Yukiko's site
-----smbclient -L tetsu----------
MailAndNews% smbclient -L tetsu                                               ~
Get_Hostbyname: Unknown host MailAndNews.com.
Failed to get my hostname.
Get_Hostbyname: Unknown host MailAndNews.com.
No interface found for address 200.117.14.64
Added interface ip=200.117.14.64 bcast=200.117.14.255 nmask=255.255.255.0
Get_Hostbyname: Unknown host MailAndNews.com.
Get_Hostbyname: Unknown host MailAndNews.com.
Session request failed (0,0) with myname= destname=TETSU
Unspecified error 0x0
Your server software is being unfriendly
-------/etc/smb.conf------------
; /etc/smb.conf
;
; Make sure and restart the server after making changes to this file, ex:
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start
 [global]
; Uncomment this if you want a guest account
; guest account = nobody
   log file = /var/log/samba-log.%m
   lock directory = /var/lock/samba
   share modes = yes
   workgroup = workgroup

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mode = 0750

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

  [public]
     comment = Public Stuff
     path = /home/tetsuji
     public = yes
     writable = no
     printable = yes

  [global]
     printing = bsd
     printcap name = /etc/printcap
     load printers = yes
     log file = /var/log/samba-log.%m
     lock directory = /var/lock/samba

  [printers]
     comment = All Printers
     security = server
     path = /var/spool/lpd/lp
     browseable = no
     printable = yes
     public = yes
     writable = no
     create mode = 0700

  [canon]
     security = server
     path = /var/spool/lpd/lp
     printer name = lp
     writable = yes
     public = yes
     printable = yes
     print command = lpr -r -h -P %p %s
-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links