View previous topic :: View next topic |
Author |
Message |
zjcim n00b

Joined: 17 Mar 2007 Posts: 71
|
Posted: Thu Nov 06, 2008 9:31 am Post subject: samba issue |
|
|
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 |
|
 |
nurachi Tux's lil' helper

Joined: 16 May 2008 Posts: 92 Location: Paris
|
Posted: Fri Nov 07, 2008 3:09 am Post subject: |
|
|
Yes. Remove this line.
And restart samba.
You can find examples here: /etc/samba/smb.conf.example |
|
Back to top |
|
 |
pappy_mcfae Watchman


Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Fri Nov 07, 2008 6:14 am Post subject: |
|
|
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 |
|
 |
zjcim n00b

Joined: 17 Mar 2007 Posts: 71
|
Posted: Sun Nov 09, 2008 1:13 am Post subject: |
|
|
nurachi wrote: | Yes. Remove this line.
And restart samba.
You can find examples here: /etc/samba/smb.conf.example |
thank you |
|
Back to top |
|
 |
|