Forum Home
Press F1
 
Thread ID: 37128 2003-08-29 05:04:00 Networking Linux to Windows jcr1 (893) Press F1
Post ID Timestamp Content User
171585 2003-09-01 00:36:00 A bit more progress.
On a linux terminal window I used the command "/etc/init.d/samba restart" and when I checked workgroup computers in Win XP, there it was "Libranet Server (Samba 2.2.3a-12.3 for Debian). However, when I went to open it up, I got an error message "Libranet is not accessable, you might not have permission to use this network path......".
On the terminal window in linux, after typing in the samba start command I got ".......warning: failed to kill 519: No such process
smbd".
Also when I type smb/// in to Konqueror I get an error message to the effect that there is a KDE bug?
Must be something to do with permissions, would you be able to enlighten me please.
jcr1 (893)
171586 2003-09-01 00:48:00 Here's my smb.conf file (With only one of my shares), its setup so a ALL users have either Read-Only or R/W access.

Its just in case all else fails with permissions for you (Dont forget to set the relevant folder permissions too!).

Here goes:

[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = bedroom

# server string is the equivalent of the NT Description field
server string = AMD Athlon XP 1700+ Redhat 9

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
printing = lprng

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = SHARE

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

pam password change = yes

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

obey pam restrictions = yes

#============================ Share Definitions ==============================
[Misc Files]
path = /mnt/hdc9/Misc
comment = Misc Read-Only shared files
read only = yes
public = yes

[transfer]
comment = Transfer Folder between Networked PC's
read only = no
guest ok = yes
path = /transfer


It's not as secure as User security shares, but its at least a start on networking if you just want to get it up and running and progress from there!
Chilling_Silently (228)
171587 2003-09-01 09:41:00 While logged in as root you should be able to type "smbadduser" and it will prompt you for a user name. You write the Linux user name first then the samba user name (quite often the same!) See man for help. JohnD (509)
171588 2003-09-01 23:44:00 Thanks John D, Thanks Chill, for taking the time to try & help me. But nothing seems to work. I thought I had it for a while, when Linux showed up on the workgroup computer screen on XP, but then I lost it and just couldn't get it to work. I can ping both machines and start nmbd & smbd, but nothing else. Guess I'm too ingrained in Windows. Might give it ago another day....who knows? jcr1 (893)
1 2 3