CM019:
( post #7)
did this:
>Ok try installing SWAT which is a gui for configuring samba. Type as root:
>apt-get install swat
and then the linux box returned to a prompt.
[actually, swat was already installed, so i apt-get remove'd it, then reinstalled it (apt-get install swat)]
This did not happen:
>It will ask u whether u want to overwrite smb.conf file. Let it do that and choose yes. It
>will ask u again if u want encrypted password choose yes.
did this:
>Then from mozilla at address bar type:
>
http://localhost:901/
and got an error message
message:
the connection was refused when attempting to contact192.168.1.103:901
:end message
so, i did this:
>If it gives an error message then u've to do the following.
>Again at commandline type:
>vi /etc/inetd.conf
but i couldn't find this:
>Press Insert on keyboard. And the file should've the following line under services section.
>If it isn't there enter it.
>swat 901/tcp
but i did do this:
>And uncomment this line at the end of the file by pressing enter on keyboard after #<off>#
>swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat
then i restarted the linux box. logged on with ssh, and did this:
>Now type
http://localhost:901/ at the mozilla browser. It will ask for username and password
>Type root as username and give the root password. it should present u with a samba
>configuration gui. Click on Shares icon at the top after the title samba. Beside the button
>CreateShare, type the full path of the folder u wan't to share mine is
>home/UserName/folderName.
>Then press CreateShare button. Now choose the same folder from the list of top field located
>after ChooseShare button. And now press ChooseShare button. Now press on GLOBALS icon
>at the top and click on CommitChanges(this will save ur changes). That's it. NOw close
>the window. Restart Winxp and Debian computer. You should now be able to access from Winxp.
did all that and still cannot access the share.
this time, i can only see the workgroup, and if i try to access the workgroup, i get the
error message:
Ranchosnake-o is not accessible. You might not have permission to use this netowrk resource.
contact the administrator of this server to find out if you have access permissions.
the network path was not found.
:end error message
not sure what to do with this.
>if not try using smbpasswd again.
I have already used the command 'smbpasswd spargonaut'
and entered the password, using the same PW that i use to log into the xp box.
i have done this both before and after following your suggestions.
i was making progress with your suggestions, (or at least i thought i was) yet have seem to hit another brick wall.
got more suggestions?
thanks!
js
my new smb.conf file:
# Samba config file created using SWAT
# from 192.168.1.100 (192.168.1.100)
# Date: 2005/03/26 23:15:47
# Global parameters
[global]
workgroup = RANCHOSNAKE-O
netbios name = BEARLY
server string = music for the ranch
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
invalid users = root
hosts allow = 192.168.1.100
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[public]
comment = User Public read-only
path = /mnt/music
read only = No
create mask = 0770
guest ok = Yes
[/mnt/music]
path = /tmp
read only = No
guest ok = Yes