View Single Post
Old 02-12-2007, 05:43 PM   #29
jane doa
Guest
 
Posts: n/a
Re: Can't see Linux PC in Windows network

On 2007-12-01, Fokke Nauta <fnautaNO@SPAMiae.nl> wrote:
> Moog wrote:
>> Fokke Nauta illuminated alt.os.linux.ubuntu by typing:
>>
>>> <...>
>>> Hi Moog
>>>
>>> Thanks. But it wasn't a Vista box, it was XP Home and XP Pro.
>>> They don't have the options you mentioned.
>>>
>>> Fokke

>>
>> OK. Worth a try I suppose.
>>
>> If you fancy posting the contents of your samba.conf file here, I will
>> ceertainly have a look. There could well be a rogue setting knocking
>> around in there.
>>

>
> Hi,
>
> Underneath is the file.
> Perhaps you can find something!
>
> Rgs,
> Fokke


you don't appear to be sharing any part of your Ubuntu file system so I would
think that there is nothing to display to the windows machines (just printers)

I think a stanza in the smb.conf == Share Definitions == section
along the lines of;
[Ubuntu_Share]
path = /some/file/path
comment = Ubuntu shared files
available = yes
browseable = yes
public = yes
writeable = yes

should show up on a windows machine with a path (that you can map to a drive)
something like;
\\ubuntumachinename\Ubuntu_Share or maybe \\ubuntu IP address\Ubuntu_Share

I don't really know what was happening when you typed run: ubuntu ip address ...
maybe it was putting you into a home folder of the user you logged in as?
Not sure.

I think you should also uncomment the line in the == Global Settings == section;
name resolve order = lmhosts host wins bcast

cheers

>
> -------------------------------------------------
>


< sniped your smb.conf down to the share section >

> #======================= Share Definitions =======================
>
> # Un-comment the following (and tweak the other settings below to suit)
> # to enable the default home directory shares. This will share each
> # user's home directory as \\server\username
> ;[homes]
> ; comment = Home Directories
> ; browseable = no
>
> # By default, \\server\username shares can be connected to by anyone
> # with access to the samba server. Un-comment the following parameter
> # to make sure that only "username" can connect to \\server\username
> # This might need tweaking when using external authentication schemes
> ; valid users = %S
>
> # By default, the home directories are exported read-only. Change next
> # parameter to 'yes' if you want to be able to write to them.
> ; writable = no
>
> # File creation mask is set to 0700 for security reasons. If you want to
> # create files with group=rw permissions, set next parameter to 0775.
> ; create mask = 0700
>
> # Directory creation mask is set to 0700 for security reasons. If you
> want to
> # create dirs. with group=rw permissions, set next parameter to 0775.
> ; directory mask = 0700
>
> # Un-comment the following and create the netlogon directory for Domain
> Logons
> # (you need to configure Samba to act as a domain controller too.)
> ;[netlogon]
> ; comment = Network Logon Service
> ; path = /home/samba/netlogon
> ; guest ok = yes
> ; writable = no
> ; share modes = no
>
> # Un-comment the following and create the profiles directory to store
> # users profiles (see the "logon path" option above)
> # (you need to configure Samba to act as a domain controller too.)
> # The path below should be writable by all users so that their
> # profile directory may be created the first time they log on
> ;[profiles]
> ; comment = Users profiles
> ; path = /home/samba/profiles
> ; guest ok = no
> ; browseable = no
> ; create mask = 0600
> ; directory mask = 0700
>
> [printers]
> comment = All Printers
> browseable = no
> path = /var/spool/samba
> printable = yes
> public = no
> writable = no
> create mode = 0700
>
> # 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
> read only = yes
> guest ok = no
> # 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
>


  Reply With Quote