← Back to team overview

sslug-teknik team mailing list archive

Samba igen og igen

 

hej igen

Nu har jeg kun min linux box (calden) og en pc (pc1)

resolv.conf

search image.dk
nameserver 194.234.57.8
nameserver 195.41.100.12

smbusers

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest smbuser pc1 pc2
~

hosts
# /etc/hosts
#
# IP Address

127.0.0.1       localhost       localhost.localdomain
#
192.168.100.1   calden  calden
192.168.100.2   pc1     pc1
192.168.100.3   pc2     pc2
~

hosts
 #/etc/lmhosts
#
# IP            NetBIOS Name

localhost       server
192.168.100.1   calden
192.168.100.2   pc1
192.168.100.3   pc2
~
smb.conf
[global]
   workgroup = DHI
   printing =bsd
   printcap name = /etc/printcap
   load printers =yes
   log file = /var/log/samba-log.%m
   preserve case = yes
   lock directory = /var/lock/samba
   locking = yes
   strict locking = yes
   security = user
   socket options = TCP_NODELAY
   domain master = yes
   domain logons = yes
   encrypt passwords = yes


[public]
comment = Public
path = /home/public
public = yes
writable = yes
printable = no
create mask = 0666
directory mask = 0777
available = yes
available = yes
guest only = no
browseable = yes
only user = no

[data]
comment = Data
path = /home/samba/data
public = yes
writable = yes
printable = no
create mask = 0660
directory mask = 0770
available = yes
guest only = no
writable = yes
browseable = yes
only user = no

[deskjet]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    printable = yes
 ; Set public = yes to allow user 'guest account' to print
    public = no
    writable = no
    create mode = 0700


if I run route -n


[jcs]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        8
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        4
lo



Juan



--
Juan Savioli
Aarhusgade 2, st. tv.
2100 Kbh Oesterbro
Tel: +45 35421146
mail: juaniris@xxxxxxxx



Follow ups