Man i've been trying to get file and print sharing on my linux mint 9 isodora edition can't seem to figure it out some commands aren't working i think i'm some how using both nautilus and samba that might be the reason...
I looked at my smb.conf file and i dont have a global section either.
$ sudo service samba restart
samba: unrecognized service
sarge@sarge-desktop ~ $
that commands says that everytime
Code: Select all
#############################################################
# Simple Generic Samba configuration file
#
# Written by Mike Tatum for the Linux Mint Forum.
# 20th May 2008
# Use at your own peril!
###############################################################
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
#
#======================= Global Settings =======================
[ printers]
comment = All Printers
; browseable = yes
path = /tmp
printable = yes
writeable = yes
create mode = 0700
valid users = avahi, sarge
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
writeable = yes
valid users = avahi, sarge
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[Public]
path = /home/sarge/Public
writeable = yes
; browseable = yes
valid users = avahi, sarge
[Downloads]
path = /home/sarge/Downloads
writeable = yes
; browseable = yes
valid users = avahi, sarge
[Documents]
path = /home/sarge/Documents
writeable = yes
; browseable = yes
valid users = avahi, sarge
thats my smb.conf file in the beginning mint 9 found my windows printer right after i installed samba by going to add printer and using the command smb://MY-ip and installed driver but got errors trying to use it then messing around more made it wose now I can't find it.
Not sure what avahi is, didn't know what to choose when i had a list just wanted to add my user name and the user for the windows computer.
My workgroup name is linux on both machines the only thing that works is in virtualbox i can share file and folders from this maching but still cant see other machine or access anything on the winXP machine.
Sorry had to run fast just edited my post..