Networking Forums

Networking Forums > Computer Networking > Linux Networking > Wireless-G router, 2 computers, cable modem

Reply
Thread Tools Display Modes

Wireless-G router, 2 computers, cable modem

 
 
asdasdas
Guest
Posts: n/a

 
      03-01-2009, 03:39 PM
Here's how I got a working Samba configuration for a Linux box sharing
everything "/" to a Windows XP box:

(note: only use this for test purposes. it is a huge security risk for
anything else!)

------------------------------------
[global]
idmap gid = 16777216-33554431
passwd chat = *New*password* %n\n *ReType*new*password* %n\n
*passwd*changed*\n
obey pam restrictions = yes
preserve case = yes
delete user from group script = /usr/sbin/userdel '%u' '%g'
time server = no
dns proxy = no
netbios name = Samba24
cups options = raw
printing = cups
idmap uid = 16777216-33554431
disable netbios = no
logon script = %G.bat
winbind refresh tickets = no
update encrypted = yes
security = user
machine password timeout = 120
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c
'Samba Machine Account' -s /dev/null -M '%u'
short preserve case = yes
delete user script = /usr/sbin/userdel '%u'
server schannel = no
max log size = 1000
winbind nss info = no
log file = /var/log/samba/samba.log
printer = iP2600-series
load printers = yes
guest account = smbguest
passwd chat timeout = 120
delete group script = /usr/sbin/groupdel '%g'
username level = 6
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
client use spnego = no
follow symlinks = no
null passwords = no
domain master = no
winbind trusted domains only = yes
winbind use default domain = yes
template shell = /dev/null
client plaintext auth = no
path = /
bind interfaces only = yes
pam password change = no
enable spoolss = yes
domain logons = no
name resolve order = wins lmhosts bcast
client signing = no
hostname lookups = no
remote browse sync = 192.168.1.255
client schannel = no
hosts allow = 127. 192.168.1.
passwd program = /usr/bin/passwd '%u'
remote announce = 192.168.1.255
local master = no
workgroup = Home
os level = 33
server signing = no
printcap name = cups
winbind separator = @
winbind offline logon = no
smb passwd file = /etc/samba/smbpasswd
allow trusted domains = no
add group script = /usr/sbin/groupadd '%g'
nt pipe support = yes
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba
User Account' -s /dev/null -g '%g' '%u'
nt status support = yes
logon drive = m:
interfaces = 127.0.0.1/8 192.168.1.0/24
username map = /etc/samba/smbusers
encrypt passwords = yes
logon home = \\%L\homes\%u
wins proxy = no
password level = 6
server string = Samba file and print server
winbind nested groups = no
unix password sync = yes
logon path = \\%L\profiles\%u
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User
Account' -s /dev/null '%u'
preferred master = no
winbind cache time = 360


[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = no
available = yes
browseable = no
writable = yes
guest ok = no
public = no
printable = no
locking = no
create mode = 0600
directory mask = 0700

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
writable = no
guest ok = no
public = no
printable = yes
share modes = no
locking = no

[filesystem]
path = /
comment = Root filesystem
read only = no
available = yes
browseable = yes
writable = yes
guest ok = yes
public = yes
--------------------------
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless router for cable modem? John Broadband 9 09-16-2007 01:47 PM
Cable Modem > Router > Vonage Modem > Wireless Print Server RubyTechie Wireless Internet 1 07-31-2007 12:50 AM
aol cable dsl modem and wireless router mik27rc1 Wireless Networks 3 05-08-2007 11:56 PM
ADSL Modem-Router that also works as Wireless Router for cable modem..? Steph Broadband 7 03-03-2006 12:48 PM
Using cable modem on 2 computers? Steve Windows Networking 2 02-03-2004 05:49 PM



1 2 3 4 5 6 7 8 9 10 11