This is a discussion on samba (smb.conf) config within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I am trying to configure my /etc/samba/smb.conf file to work with windows xp. Here is what I have set ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to configure my /etc/samba/smb.conf file to work with windows xp. Here is what I have set up so far. [global] netbios name = Samba workgroup = HOME security = SHARE [data] path = /home/rjakes/data guest ok = yes read only = no browseable = yes writeable = yes I can't make it work. I can see my win xp box over the network by //smb/<computer name> but I cannot see my slackware shared data directory folder from win xp's "My network places". I had it working with slack 9.1, but can't find the exact script I was using. What am I mising? Thanks in advance Rory Jakes roryjakes@yahoo.com |
| |||
| Rory Jakes wrote: >>> > I had it working with slack 9.1, but can't find the exact script I was > using. What am I mising? > > Thanks in advance > Rory Jakes > roryjakes@yahoo.com First it would help knowing if u use samba 3.x or 2.x. Slight diffrence in the way you set it up. But some lines are missing as I can see. [global] workgroup = home server string = Somthing_of your choice hosts allow = 172.16. # if you want to! load printers = yes # if You want to printing = cups # or what ever you choose log file = /var/log/samba.%m # Not a big must max log size = 50 # your choice : ) security = user # don't use security=share on nt based systems #(NT,W2K,XP. encrypt passwords = yes # This is a must since NT based systems require #(how the he-- does that spell??) Here comes a questionmark [data] Perhaps you should consider this: path = /home/rjakes/data guest ok = yes read only = no browseable = yes writable = yes --------------- Look here! writable NOT writeable! (Guess the programmer was just as bad in english as me??) For the rest check /etc/samba/smb.conf_example or even the howto or man pages! : ) Micke |
| |||
| Rory Jakes wrote: > I am trying to configure my /etc/samba/smb.conf file to work with > windows xp. Here is what I have set up so far. > > [global] > > netbios name = Samba > workgroup = HOME > security = SHARE > > [data] > > path = /home/rjakes/data > guest ok = yes > read only = no > browseable = yes > writeable = yes > > I can't make it work. I can see my win xp box over the network by > //smb/<computer name> but I cannot see my slackware shared data > directory folder from win xp's "My network places". > > I had it working with slack 9.1, but can't find the exact script I was > using. What am I mising? > > Thanks in advance > Rory Jakes > roryjakes@yahoo.com if you r a linux amateur like me, just using SWAT to configure samba then reverse to look back /etc/samba/smb.conf, learn more and fast.. If you like build it from finger by finger, read man smb.conf and a heap of docs available on web cheers |
| |||
| Dieu Phan <phannhatdieu_NOSPAM@yahoo.com.au> wrote in message news:<ce2vhk$1ts$1@lust.ihug.co.nz>... > Rory Jakes wrote: > > > I am trying to configure my /etc/samba/smb.conf file to work with > > windows xp. Here is what I have set up so far. > > > > [global] > > > > netbios name = Samba > > workgroup = HOME > > security = SHARE > > > > [data] > > > > path = /home/rjakes/data > > guest ok = yes > > read only = no > > browseable = yes > > writeable = yes > > > > I can't make it work. I can see my win xp box over the network by > > //smb/<computer name> but I cannot see my slackware shared data > > directory folder from win xp's "My network places". > > > > I had it working with slack 9.1, but can't find the exact script I was > > using. What am I mising? > > > > Thanks in advance > > Rory Jakes > > roryjakes@yahoo.com > if you r a linux amateur like me, just using SWAT to configure samba > then reverse to look back /etc/samba/smb.conf, learn more and fast.. > If you like build it from finger by finger, read man smb.conf and a heap > of docs available on web > cheers ************ ************ I have tried your suggestions and to no avail. I am running the following now and it still does not work: [global] netbios name = Samba workgroup = HOME security = SHARE ;encrypt passwords = yes [data] path = /home/rjakes/data read onfiltered = no guest onfiltered = yes guest ok = yes read only = no browseable = yes writable = yes I tried it with encrypt passwords = yes uncommented and it did not work either. I displayed folders from a Samba link on both windows machines on my network with 9.1, but I don't know what configuration I used. I changed the spaelling of writable (above) and by the way I am running Samba 3.x. Please help. Rory Jakes roryjakes@yahoo.com |
| |||
| Rory Jakes wrote: > I tried it with encrypt passwords = yes uncommented and it did not > work either. I displayed folders from a Samba link on both windows > machines on my network with 9.1, but I don't know what configuration I > used. I changed the spaelling of writable (above) and by the way I am > running Samba 3.x. > > Please help. > Rory Jakes > roryjakes@yahoo.com Are u sure you have the users on you server then? You must have them as ordinary user and samba users. 'smbpassw -a username' you don't have to set the same password as the unix password BUT the same as it is on the wdos account. Then u uncomment the encrypt passwords line. If still not working then run the guide to setup a network on the XP again. I have to do that once or twice a week since of some reason the XP-box loses it's contact to smb once in a while with no reason. (W2K didn't) My other clients running Slack 9.1, 10.0 and Mandrake 10 never done either. But XP should spell Xellent Pollution. Micke Micke |
| |||
| Add this line to the share section: guest only = yes or try public = yes if all else fails check your unix permissions on the shared folder and adjust accordingly. For a peer to peer id say chown <linux username>:users /path/to/shared/folder then chmod 770 that same folder. -J On Tue, 27 Jul 2004, mike wrote: > Rory Jakes wrote: > > > > I tried it with encrypt passwords = yes uncommented and it did not > > work either. I displayed folders from a Samba link on both windows > > machines on my network with 9.1, but I don't know what configuration I > > used. I changed the spaelling of writable (above) and by the way I am > > running Samba 3.x. > > > > Please help. > > Rory Jakes > > roryjakes@yahoo.com > > Are u sure you have the users on you server then? You must have them as > ordinary user and samba users. 'smbpassw -a username' you don't have to set > the same password as the unix password BUT the same as it is on the wdos > account. > Then u uncomment the encrypt passwords line. > > If still not working then run the guide to setup a network on the XP again. > I have to do that once or twice a week since of some reason the XP-box > loses it's contact to smb once in a while with no reason. (W2K didn't) My > other clients running Slack 9.1, 10.0 and Mandrake 10 never done either. > But XP should spell Xellent Pollution. > > Micke > Micke > |
| |||
| my sincere apologies if you have already found the answer, and for this late reply, but i dont check the newsgroup too often. you need to make the share "public" by adding "public = yes" under the data share. another problem i experienced with samba 3 is they've changed the default security-level from share to user. this was an issue for me because i like to have a pulicly accessible guest share, that didnt require a special login to access. i got around this by adding "map guest user = Bad User" under the general config of samba. by doing this, the client will still be prompted for a login into the samba server. however if they enter a user name which does not exist, then they will automatically be mapped to a guest account, and thus able to access the public share. a bit off track there, but it might be a problem you'll experience once you get the share to display in the first place (seeing that you want to make use of a guest account) ;-) anyway hope that helps. Dieu Phan wrote: > Rory Jakes wrote: > >> I am trying to configure my /etc/samba/smb.conf file to work with >> windows xp. Here is what I have set up so far. >> >> [global] >> >> netbios name = Samba >> workgroup = HOME >> security = SHARE >> >> [data] >> >> path = /home/rjakes/data >> guest ok = yes >> read only = no >> browseable = yes >> writeable = yes >> >> I can't make it work. I can see my win xp box over the network by >> //smb/<computer name> but I cannot see my slackware shared data >> directory folder from win xp's "My network places". >> >> I had it working with slack 9.1, but can't find the exact script I was >> using. What am I mising? >> >> Thanks in advance >> Rory Jakes >> roryjakes@yahoo.com > > if you r a linux amateur like me, just using SWAT to configure samba > then reverse to look back /etc/samba/smb.conf, learn more and fast.. > If you like build it from finger by finger, read man smb.conf and a heap > of docs available on web > cheers |
| |||
| NixerX <root@seraphim.jspazi.com> wrote in message news:<Pine.LNX.4.58.0407291117350.16533@seraphim.j spazi.com>... > Add this line to the share section: > guest only = yes > or try > public = yes > > > if all else fails check your unix permissions on the shared folder and > adjust accordingly. > > For a peer to peer id say chown <linux username>:users > /path/to/shared/folder > then chmod 770 that same folder. > > -J > > > On Tue, 27 Jul 2004, mike wrote: ****************** ****************** I found a way to make it all work. It turns out that I needed to make /etc/rc.d/rc.samba an executable and then reboot, then I found that I could share files with a variety of configurations in /etc/samba/smb.conf. Thanks for all your help!! > > > Rory Jakes wrote: > > > > > > > I tried it with encrypt passwords = yes uncommented and it did not > > > work either. I displayed folders from a Samba link on both windows > > > machines on my network with 9.1, but I don't know what configuration I > > > used. I changed the spaelling of writable (above) and by the way I am > > > running Samba 3.x. > > > > > > Please help. > > > Rory Jakes > > > roryjakes@yahoo.com > > > > Are u sure you have the users on you server then? You must have them as > > ordinary user and samba users. 'smbpassw -a username' you don't have to set > > the same password as the unix password BUT the same as it is on the wdos > > account. > > Then u uncomment the encrypt passwords line. > > > > If still not working then run the guide to setup a network on the XP again. > > I have to do that once or twice a week since of some reason the XP-box > > loses it's contact to smb once in a while with no reason. (W2K didn't) My > > other clients running Slack 9.1, 10.0 and Mandrake 10 never done either. > > But XP should spell Xellent Pollution. > > > > Micke > > Micke > > |
| |||
| Rory Jakes wrote: > NixerX <root@seraphim.jspazi.com> wrote in message >> Add this line to the share section: >> guest only = yes >> or try >> public = yes >> > > I found a way to make it all work. It turns out that I needed to make > /etc/rc.d/rc.samba an executable and then reboot, then I found that I > could share files with a variety of configurations in > /etc/samba/smb.conf. Just for the sake of pedantry, after setting rc.samba executable, you don't have to reboot - this isn't Windoze. Just restart inetd: # kill -HUP `cat /var/run/inetd.pid` Dawg! I love Slackware! Cheers! Rich |
| ||||
| On Fri, 30 Jul 2004 02:56:24 GMT, Rich Grise <null@example.net> wrote: >Rory Jakes wrote: >> NixerX <root@seraphim.jspazi.com> wrote in message >>> Add this line to the share section: >>> guest only = yes >>> or try >>> public = yes >>> >> >> I found a way to make it all work. It turns out that I needed to make >> /etc/rc.d/rc.samba an executable and then reboot, then I found that I >> could share files with a variety of configurations in >> /etc/samba/smb.conf. > >Just for the sake of pedantry, after setting rc.samba executable, >you don't have to reboot - this isn't Windoze. Just restart inetd: ># kill -HUP `cat /var/run/inetd.pid` This will activate swat, assuming the line for swat exists in /etc/inetd.conf and is not commented out. To start/stop samba, you simply need: /etc/rc.d/rc.samba [start|stop] > >Dawg! I love Slackware! > >Cheers! >Rich Scott McMillan |
| Thread Tools | |
| Display Modes | |
|
|