Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zjcim
n00b
n00b


Joined: 17 Mar 2007
Posts: 71

PostPosted: Thu Nov 06, 2008 9:31 am    Post subject: samba issue Reply with quote

testparm output:
Code:
[joey@txk:~]$testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[emuletemp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   dos charset = utf8
   unix charset = utf8
   display charset = utf8
   server string = archlinux
   security = SHARE
   log file = /var/log/samba/%m.log
   max log size = 50

[emuletemp]
   comment = xixi
   path = /mnt/win_e/emuletemp
   read only = No
   guest ok = Yes
   printable = Yes


But a xp-system pc access my linux pc through MS network ,only see a printer named emuletemp
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 92
Location: Paris

PostPosted: Fri Nov 07, 2008 3:09 am    Post subject: Reply with quote

Yes. Remove this line.
Code:
   printable = Yes


And restart samba.

You can find examples here: /etc/samba/smb.conf.example
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Nov 07, 2008 6:14 am    Post subject: Reply with quote

You don't have a share defined in [globals]. You have to set one up.

Just to give you an idea, here's my /etc/samba/smb.conf:
Code:
[global]
   interfaces = eth0
   security = SHARE
   root directory = /
   log file = /var/log/samba.%m
   max log size = 50
   min protocol = NT1
   max protocol = NT1
   server signing = auto
   printcap name = cups
   preferred master = No
   local master = No
   domain master = No
   dns proxy = No
   ldap ssl = no
   hosts allow = 192.168.0.100, 192.168.0.115, 192.168.0.120, 192.168.0.125, 192.168.0.130, 127.0.0.1
   hosts deny = ALL
   printing = cups
   print command =
   lpq command = %p
   lprm command =


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

[homes]
   comment = Home Directories
   path = /
   read only = No


Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
zjcim
n00b
n00b


Joined: 17 Mar 2007
Posts: 71

PostPosted: Sun Nov 09, 2008 1:13 am    Post subject: Reply with quote

nurachi wrote:
Yes. Remove this line.
Code:
   printable = Yes


And restart samba.

You can find examples here: /etc/samba/smb.conf.example


thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum