min sambakconfig|Nätverk / Internet|Forum|Nordichardware

Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
The forums are currently locked and only available for read only access
sp_Feed sp_TopicIcon
min sambakconfig
oxiswoofer
Member
Medlem
Forum Posts: 2101
Member Since:
April 1, 2003
sp_UserOfflineSmall Offline
1
July 11, 2003 - 8:57 pm
sp_Permalink sp_Print

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]


# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = samba server

netbios name = server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.0.100 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this

load printers = no




# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
max log size = 500

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


encrypt passwords = yes



socket options = TCP_NODELAY

local master = yes

os level = 40

domain master = no

preferred master = yes

domain logons = no

logon drive = h:

wins support = yes

dns proxy = yes

client code page=850
character set = iso8859-1
valid chars = 0345:0305 0366:0326 0344:030

add user script = /usr/sbin/adduser -d /dev/null -g 100 -s /bin/false -M %u

#============================ Share Definitions ==============================

[Oxiswoofer]
path = /home/oxiswoofer
public = yes
writeable = yes
printable = no

så ser min sambakonfig ut....men dock fungerar den inte..vaad e fel?
på min windowsdator ser jag datorn, men jag kommer inte åt den, det står:
//Server is not accessible
The network path was not found

nån som vet? :cy:

PaPPa
Kommer du hit ofta?
Medlem
Forum Posts: 677
Member Since:
January 8, 2001
sp_UserOfflineSmall Offline
368380
July 11, 2003 - 9:30 pm
sp_Permalink sp_Print

om man inte är en fena på smb.conf så kan jag rekomendera att köra swat istället.

det är ett webinsterface till samba, det är bara att aktivera i services om jag inte minns fel. för ytterligare info kör man smbd eller man samba eller man swat

det brukar bli lättare att klara konfigurationen den vägen.

Ytterligare ett tips är att ta bort hosts.allow delen, försök att få fart på sakerna innan du börjar fintrimma och ställa in specialgrejjer

stormaz
Member
Medlem
Forum Posts: 3071
Member Since:
May 23, 2001
sp_UserOfflineSmall Offline
368387
July 11, 2003 - 9:38 pm
sp_Permalink sp_Print

Finns ju även en samba configs grej i linuxconf där konfigruerade jag min samba, fungerade fin fint...

Har du testat köra mot datorns IP?

oxiswoofer
Member
Medlem
Forum Posts: 2101
Member Since:
April 1, 2003
sp_UserOfflineSmall Offline
368389
July 11, 2003 - 9:40 pm
sp_Permalink sp_Print

stormaz wrote: Finns ju även en samba configs grej i linuxconf där konfigruerade jag min samba, fungerade fin fint...

Har du testat köra mot datorns IP?

vart ligger den configgrejjen då?

hm..köra mot datorns ip? hur menar du?

stormaz
Member
Medlem
Forum Posts: 3071
Member Since:
May 23, 2001
sp_UserOfflineSmall Offline
368858
July 12, 2003 - 9:23 pm
sp_Permalink sp_Print

Om du skriver IP nummret istället för datornamnet när du ska ansluta till den.

Du skriver bara linuxconf i konsolen sen går du på Networking > Samba File Server

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 312
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967

 

Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL