samba file share with windows users
please can someone help i have replaced one of our servers with a linux box. I have a folder that i need everyone in the company to have access to it but i have shared it and when i try to access it from any computer it asks me to log in.
do i have to make a entry for each user??????????? i know in windows you normally enable the guest account is there something i need to do on linux or am i missing something [programs] path = /programs browseable = yes public = yes guest ok = yes read only = no please help me out |
hello
i have done this , but first i was trying with smb.conf file, then a find a simple and easy way. i used it in redhat 9 Gnome. (defauld samaba installation) just install samba GUI configuring tool, U can do this from add and remove programe in system setting menu. after istallation tool install in server setting menu in system setting as samaba server , run it and click on add and select share directory, then click on read and write permission,then select allow access for evry one (or urs requier permission) ok and . then go in server setting in prefereces tag, type urs workgroup name and in security tag select share in Authentication mode it will enable share level access for remote user and will not ask password, may be this will solve urs problem enjoy it will strat sharing from linux box to Microsoft. |
I use Samba to share a filesystem on my Mandrake 9.1 box to the Windows computers on my home network.
Try browsing to http://localhost:901 and log in as root to administer Samba and to view documentation. In Globas, I set the netbios name and workgroup name and "hosts allow" to "192.168.1.", which is the set of addresses behind my firewall. In Shares, create a share with the name you want to be broadcast. I set "readonly" to "no", and "guest ok" to "yes". Here's some of my settings, which I see under the "View" button. My share is called "e"; it's near the bottom of this file: # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2003/07/30 14:27:29 # Global parameters [global] netbios name = MYCOMPUTERNAMEHERE server string = Samba Server %v encrypt passwords = Yes map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups dns proxy = No printer admin = @adm hosts allow = 192.168.1. printing = cups [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. browseable = No [print$] path = /var/lib/samba/printers write list = @adm root guest ok = Yes [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp guest ok = Yes printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" & [Printer] comment = HP DESKJET 960C path = /var/spool/samba read only = No create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. printer name = Printer oplocks = No [e] path = /mnt/win_e read only = No guest ok = Yes Other commands you may find useful: smbclient, nmblookup, smbmount, smbumount |
Peds,
I just re-read your post, and see that you've already done the equivalent of what I did. One more thing... When setting up the Globals, I remember choosing SHARE security instead of USER security. If you've solved this problem, I'd be interested in hearing what the solution was. Thanks, - TSloth |
Hey guys
sorted the proble out thanks to Mobassir Sattar khan it works on the button and you can even give specific users access to that folder TSloth thanks for the post but i found the othere method much easier thanks for your help anyway |
Hello
every one I can read and write any thing on Microsoft windows machin from Redhat 9 machin, but i can only read and can not write on linux machine from microsoft machin. i used Samaba GUI tool to do this , following is my shares on linux box WorkGroup name is "workgroup" Directory name Permissions /mnt/my-share Read/Write and folowing setting in server setting tab in samaba GUI tool Authentication mode share Authentication Server None Encrypt Password No guest Account Mobassir what mistake am i doing for this simple sharing and how i can join my this linux machin to Microsoft 2000 server as a client thank u very much for all __________________ Mobassir Sattar khan |
you have probably mounted a directory that is on a fat32 partition an you will have to give write permissions to that directory for everyone not only for root. edit /etc/fstab and set the correct values (i think this will solve your problem)
|
All times are GMT -5. The time now is 06:04 PM. |