LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   linux server w win2k hosts (https://www.linuxquestions.org/questions/linux-networking-3/linux-server-w-win2k-hosts-10093/)

linus 12-14-2001 11:16 AM

linux server w win2k hosts
 
I want to set up a peer-to-peer network with the sever running red hat and the hosts running win2k pro.

Is there a sample smb.conf file somewhere that I can use to set this up?

Very fresh to Linux.

Thanks for any help.

trickykid 12-14-2001 02:49 PM

you might want to check out some of the documentation at www.samba.org or even at www.linuxdoc.org for some good samba documentation.

nikosuru 12-20-2001 11:31 PM

It is simple, below is a copy of a smb.conf file. The only thing that you have to do is enable plain text password. You can do so by starting regedit an following: (bye the way this info can be found in /usr/share/doc/samb{tab}/docs }



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStatio
n\Parameters]
"EnablePlainTextPassword"=dword:00000001
Registry file to enable plain text passwords in Windows 2000


# smb.conf example
# Global parameters
[global]
workgroup = Your work group name
server string = Samba Server %v
interfaces = eth0
security = user
encrypt passwords = no
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
dns proxy = No
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
unix password sync = no
map to guest = never
password level = 0
null passwords = no
os level = 0
preferred master = yes
domain master = no
wins support = no
dead time = 0
debug level = 0
load printers = yes

[homes]
comment = Home Directories
writeable = Yes
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p %s # using cups own drivers (use ge
neric PostScript on clients).
lpq command = lpstat -o %p
lprm command = cancel %p-%j
[Backup]
comment = Backup files
available = yes
browseable = yes
public = yes
guest only = no
writable = yes
allow hosts = beta uroom alpha
only user = no


All times are GMT -5. The time now is 08:11 AM.