Click to See Complete Forum and Search --> : writing on a windows share
jeisma
08-23-2005, 06:52 AM
hi!
on mdk10.1 system, i included samba during installation. i can browse the windows network, see the domain, workgroups and computers, but i cannot open any share. if i try to, i get an access denied message.
what should i do to write and get files from a windows shared folder?
thanks!
ph34r
08-23-2005, 08:22 AM
mount -t smbfs -o username=windowsuser,fmask=777,dmask=777 //servername/share /place/to/mount
It should then prompt you for your windows user password. If you are on a domain, reference your user with username=domainname\\windowsusername
jeisma
08-23-2005, 07:47 PM
hi!
as a root i did:
mount -t smbfs -o 1234=1234,fmask=777,dmask=777 //192.168.0.17/public /mnt/wintspublic
Could not resolve mount point /mnt/wintspublic
Thanks
Syngin
08-24-2005, 11:13 AM
Create the directory on the Linux system that you are mounting the share into first.
Also, I was playing around with smbmount this week and found that you can also mount the share under a particular uid (Linux system specific though i believe)
ie. uid=apache
You can also pass the password through the smbmount command also if you're putting this command in a startup script.
ie. password=<user_password>
What is the 1234 parameter for?
jeisma
08-24-2005, 07:52 PM
hello!
thank you.
the 1234 is the username=windowsuser param. just substituting. :-)
good day!!
Adrnalnrsh
10-27-2005, 12:34 PM
Thanks for the syntax when using with a domain, I couldn't find that anywhere.
m3rlin
10-28-2005, 09:13 PM
you can simply open your Konqueror and type on the address bar
smb://computer/name/share