Can't see Linux shares with Windows [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Can't see Linux shares with Windows [SOLVED]
I have a desktop running LM14 and a laptop dual booting LM14 and Windows Vista. I can see and access the desktop from the laptop and the laptop from the desktop as long as both are running Linux. I cannot access the desktop from the laptop if the laptop is running Vista. I can't access the Vista files from the desktop either. I'm trying to access my music directory on the desktop from the laptop running Vista. I've enabled sharing on the music directory. What else should I do?
Mike
Mike
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- Fornhamfred
- Level 6
- Posts: 1243
- Joined: Wed Oct 31, 2007 3:38 pm
- Location: Suffolk UK
Re: Can't see Linux shares with Windows
Hi
This is quite a common problem but I think if you look at this thread and the associated threads with it you should be able to set it up.
http://forums.linuxmint.com/viewtopic.p ... ws#p662054
Good Luck
This is quite a common problem but I think if you look at this thread and the associated threads with it you should be able to set it up.
http://forums.linuxmint.com/viewtopic.p ... ws#p662054
Good Luck
Re: Can't see Linux shares with Windows
i had the same problem in lm11..
mayb this will help
http://forums.linuxmint.com//viewtopic. ... 0&t=116499
umm before u do any of the above just check if ur hostname is less than 15 characaters.
if not either change ur hostname or follow the instructions given in above url.
Then install a package samba (it is the gui for samba). It's really easy to use.
use this gui to share whatever files u wanna share.
P.S. make sure the partitions containing ur shared files are mounted and launch the samba gui after u boot.(u can close the gui afterwards.)
mayb this will help
http://forums.linuxmint.com//viewtopic. ... 0&t=116499
umm before u do any of the above just check if ur hostname is less than 15 characaters.
Code: Select all
hostname
Then install a package samba (it is the gui for samba). It's really easy to use.
use this gui to share whatever files u wanna share.
P.S. make sure the partitions containing ur shared files are mounted and launch the samba gui after u boot.(u can close the gui afterwards.)
Last edited by opensam on Sun Dec 30, 2012 2:43 pm, edited 1 time in total.
Re: Can't see Linux shares with Windows
Please post the output of the following commands from the LM14 Desktop:
When you say you cannot access the Linux share from Windows what do you mean?
** You can see the Linux host and it's shares but cannot gain access?
** Or you can't see the Linux host at all?
It makes a difference since one is a Samba issue and one is more a networking issue.
Code: Select all
testparm -s
Code: Select all
net usershare info --long
Code: Select all
smbtree
** You can see the Linux host and it's shares but cannot gain access?
** Or you can't see the Linux host at all?
It makes a difference since one is a Samba issue and one is more a networking issue.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Can't see Linux shares with Windows
Code: Select all
txtinman@txtinman-System-Product-Name ~ $ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, LinuxMint)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
Code: Select all
txtinman@txtinman-System-Product-Name ~ $ net usershare info --long
[mike]
path=/home/mike
comment=
usershare_acl=Everyone:R,TXTINMAN-SYSTEM-PRODUCT-NAME\txtinman:F,
guest_ok=y
[Pictures]
path=/home/txtinman/Pictures
comment=
usershare_acl=Everyone:F,
guest_ok=y
[txtinman-desktop]
path=/home/txtinman
comment=
usershare_acl=Everyone:R,TXTINMAN-SYSTEM-PRODUCT-NAME\txtinman:F,
guest_ok=y
[Linux-Music]
path=/home/txtinman/Music
comment=
usershare_acl=Everyone:F,
guest_ok=y
when I say I can't access the Linux share from Windows, I mean I cannot see the Linux host at all.
A previous post says the host name should be less than 15 characters. I changed the /etc/hosts file and the /etc/hostname file but the long hostname still shows.
Re: Can't see Linux shares with Windows
Changing /etc/hosts and /etc/hostname should have fixed it only if you ran the following command:txtinman@txtinman-System-Product-Name
Code: Select all
sudo service nmbd restart
Code: Select all
netbios name = something
Then restart samba:
Code: Select all
sudo service smbd restart
Code: Select all
sudo service nmbd restart
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Can't see Linux shares with Windows
dude don't do that..A previous post says the host name should be less than 15 characters. I changed the /etc/hosts file and the /etc/hostname file but the long hostname still shows.
If it's more that 15 characters long you could change the hostname but an easier way for samba purposes is to use a samba configuration file:
Code: Select all
gksudo gedit /etc/samba/smb.conf
netbios name = some-name
Just make sure "some-name" is 15 characters or less in length.
anyways the other guy on this topic,altair4 , is the one who helped me when i was having problems, So don't worry he'll figure it out.
Re: Can't see Linux shares with Windows
OK. This did the trick. Thank you very much.altair4 wrote:Changing /etc/hosts and /etc/hostname should have fixed it only if you ran the following command:txtinman@txtinman-System-Product-NameIf that doesn't fix it outright then edit /etc/samba/smb.conf and add a line under the workgroup line:Code: Select all
sudo service nmbd restart
Make sure something is 15 characters or less in lengthCode: Select all
netbios name = something
Then restart samba:Code: Select all
sudo service smbd restart
EDIT: BTW, there is not one thing wrong with either your smb.conf or your usershares files.Code: Select all
sudo service nmbd restart