dosdragon
03-09-2006, 02:46 AM
Edit the file
/usr/sbin/sambastart
remove everything out of it except the stop and start command.
open a root window and execute the command
#smbpasswd -a <username>
Do that for each user you want to add, the user must also be a user on that machine
you may add a password or no password to the user name "nobody"
Edit the file
/etc/samba/smb.conf
Add a section for the shared path
[scratch]
comment = Marty's Scratch directory
writeable = yes
path = /scratch
public = yes
The above is just a sample, make sure the path is shared.
Run samba
You should now see that machine from any windows machine.
/usr/sbin/sambastart
remove everything out of it except the stop and start command.
open a root window and execute the command
#smbpasswd -a <username>
Do that for each user you want to add, the user must also be a user on that machine
you may add a password or no password to the user name "nobody"
Edit the file
/etc/samba/smb.conf
Add a section for the shared path
[scratch]
comment = Marty's Scratch directory
writeable = yes
path = /scratch
public = yes
The above is just a sample, make sure the path is shared.
Run samba
You should now see that machine from any windows machine.