PCLinuxOS to access Windows shared files

Heeter

Overclocked Like A Mother
#1
Hey all,

I am wondering if anyone here knows how to get PClinuxOS to access Windows shared folders. I need read/write access.

I really like this distro, because it has everything I like, but it simply doesn't what to access the shared folders from my Windows machine.

I am at te point that I am trying to create a mount point with Samba, My Windows machine is listed on the "Available servers" list, I can input a user/pass/workgroup name into the authentication, but it doesn't do anything after that.

I tried posting this question on their forums, but with little support from them.



Thanks,


Heeter
 

Dark Atheist

OSNN Veteran Addict
Staff member
Political User
#4
thought ntfs-3g was a replacement for the driver that ships with most kernels, allowing direct access to the drive, and i had samba in there so i was partly right ;)
 

Dark Atheist

OSNN Veteran Addict
Staff member
Political User
#6
you know what i mean - if your dual booting - it claims to offer read and write support :) , and yes i releaise he was asking about network now, if your on the meds i am things like rather different than they are ;)
 

Heeter

Overclocked Like A Mother
#7
Thanks guys,

But I am still stuck.

I really want to give a Linux workstation a go within a Windows workgroup environment. This PCLinuxOS samba worked with a dualboot setup and accessing files from the dualboot drive, but samba wants nothing to do with the Windows network. Their forums have not helped at all.

I already have OpenOffice on all Windows workstations, working without a hitch.

But Linux does need to have full read/write priviledges to all the files on those Windows shared drives and folders.

Is there maybe another full workstation distro that can have samba working better (maybe even out of the box)?


Thanks,


Heeter
 

Heeter

Overclocked Like A Mother
#9
I did not even get to that point J,

I am still at the point of trying to "see" the windows shared folders so I can mount them.




Heeter
 

j79zlr

Glaanies script monkey
Political User
#10
Well you need to configure samba and add the proper users before it will work. What happens if you type "smbtree" at a command line?
 

Dark Atheist

OSNN Veteran Addict
Staff member
Political User
#11
smb.conf

[global]
smb passwd file = /etc/samba/smbpasswd
sync always = no
hide dot files = no
interfaces = eth0
encrypt passwords = true
netbios name = NAME_HERE
oplocks = no
delete readonly = yes
locking = no
workgroup = GROUP_HERE
debug level = 0
hosts deny = ALL
hosts allow = 192.168.1.
security = user
bind interfaces only = yes
printing = cups
printcap name = cups
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384

[system]
comment = Home
valid users = USER_HERE
path = /home/username
read only = no
available = yes
browseable = yes
writable = yes
public = no



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


[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
guest ok = yes
read only = yes

change as required, this config works fine for me, you will have to add users to the smbpasswd file on the linux pc, smbpasswd -a username
 

Heeter

Overclocked Like A Mother
#12
Thanks J,

Thanks Carpo,

When I get back, I will answer back as right now, I am not in front of that machine.

Can' wait to see if I can get this to work,



Heeter
 

Heeter

Overclocked Like A Mother
#13
Hey J,


I typed in smbtree into a command line, and nothing happened. The command line window just disappears.

But if I open it in Konsole, I attached the screenie.





Heeter
 

Attachments

Last edited:

Heeter

Overclocked Like A Mother
#14
Hi Carpo,

Where would I add these lines into smb.conf? At the end? Should I post a copy of my smb.conf file here?

Heeter
 

Heeter

Overclocked Like A Mother
#16
Thanks a million, Carpo.


One quick question, The IP address of the "hosts allow" is the server Windows machine?

I have copied n' pasted your smb.conf post.

I have finally been able to put shortcuts on my desktop now to my shared Windows folders. There are still a few quirks. Like double clicking on the shortcut keeps asking for my server password. Opening a document opens OpenOffice Writer, but then OO asks for a password again and I am not able to play music from the server folder, but I have to download it to the desktop. I am thinking that all this just means I don't have full permissions to the folders yet. I haven't mounted anything yet, should I, or does this smb.conf editing moves past all that?

But I am now closer than I was before in the last two weeks.

If I get this password/permission things resolved, this is going to be our main workstation. I can't wait, Yahoo!!!!!!!!!!!!!

Heeter
 
Last edited:

Dark Atheist

OSNN Veteran Addict
Staff member
Political User
#17
what desktop are you using gnome/kde/xfce ? I know under kde there is an option in the control panel to put in the user and pass for samba, other thing is make sure the user on the linux pc is using the same log/pass as the windows account, that way it wont ask for the log/pass any more, or put log/pass in and tell it to remember it for the session
 

Heeter

Overclocked Like A Mother
#18
I am using KDE.

It does ask for the password, and it does remember it for the session, but I will change the username/password to being the same as the Windows Server. I will see how that goes.

I am wondering since I just replaced the smb.conf contents with your post, does the "hosts allow" ip address that of the Windows Server? The file path for all the stuff matches except for the the last one "path = /usr/share/cups/drivers" There is no drivers folder in the cups folder, should I just create one there, or do you think that it might exist somewhere else, and that I would need to change the file path in this smb.conf file? I have not installed a printer yet.

Thanks again,

Heeter
 

j79zlr

Glaanies script monkey
Political User
#19
Somehow I think you are making this harder than it really is. Networking Windows and Linux with Samba is fairly straightforward. Do you have identical user acconts with passwords on both Linux and Windows? Is this XP Home or Pro?

Lets get the shares working then start adding printers., they can be a little more touchy.
 

Dark Atheist

OSNN Veteran Addict
Staff member
Political User
#20
Somehow I think you are making this harder than it really is. Networking Windows and Linux with Samba is fairly straightforward. Do you have identical user acconts with passwords on both Linux and Windows? Is this XP Home or Pro?
could have sworn i said to do that too :D

thats how i have it on my linux/nix/windows network - 1 log 1 pass makes life so much easier :)
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,969
Messages
673,295
Members
89,015
Latest member
arrangel