Toon posts:

samba vraagje

Pagina: 1
Acties:

Verwijderd

Topicstarter
hallo

Ik ben nu thuis proberen samba te gebruiken voor shares (win2k,suse7.1)

Samba zit er standaard al op en start ook op ik hbe dit ook nog ff nagezocht. Nu zet ik in /etc/smb.conf

[tmp]
comment = Tijdeljike zooi
path = /Downloads
read only = no
public = yes

en restart de computer (weet niet hoe samba alleen)

maar als ik nu op me windoos pc ga zitten (encr password is plain gezet) dan zie ik dat die helemaal niks shared :?
kan iemand me plz helpen

Verwijderd

post je [global] sectie ook even.

Of is dit het enige in smb.conf??

Verwijderd

Topicstarter
;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = WORKGROUP
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user

; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10
; encrypt passwords = yes

printing = bsd
printcap name = /etc/printcap
load printers = yes

socket options = TCP_NODELAY

map to guest = Bad User

; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no

; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
; interfaces = 192.168.1.1/255.255.255.0

; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = no

; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1

; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon


[homes]
comment = Heimatverzeichnis
browseable = no
read only = no
create mode = 0750

[tmp]
comment = Tijdeljike zooi
path = /Downloads
read only = no
public = yes

; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
; comment = Linux CD-ROM
; path = /cdrom
; read only = yes
; locking = no

[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp

beetje veel maarja dit is um

  • B-BRAIN
  • Registratie: Maart 2000
  • Laatst online: 10-12-2025
weet niet hoe je in suse de samba herstart maar met RH is het zo:

/etc/rc.d/init.d/smb restart

ik heb nog nooit met suse gewerkt dus ik kan je niet een precies antwoord geven

  • Sihaya
  • Registratie: Juni 2001
  • Niet online

Sihaya

Pasfoto:

en als je \\servernaam\tmp intikt in explorer?

signature has expired


Verwijderd

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[global]
    workgroup = Thuis
    netbios name = File Server
    os level = 33
    security = share
    encrypt passwords = no
    socket options =  TCP_NODELAY 
                
[Internet]
    path = /Netwerk/Internet
    comment = Internet Downloads
    browseable = Yes
    writeable = yes
    public = yes

[Homepage]
    path = /usr/local/httpd
    comment = Apache Server
    browseable = yes
    writeable = yes
    public = yes

[Setup]
    path = /Netwerk/Setup
    comment = Setup bestanden
    browseable = yes
    writeable = yes
    public = yes
    
[Muziek (MP3)]
    path = /Netwerk/Muziek (MP3)
    comment = MP3 Files
    browseable = yes
    writable = yes
    public = yes

[Documentatie]
    path = /usr/share/doc/packages
    comment = Documentatie Bestanden
    browseable = yes
    writable = no
    public = yes
    
[Conig Bestanden]
    path = /etc
    comment = Configuratie bestanden
    browseable = yes
    writable = yes

Dit is mijn config.... Moet je natuurlijk wel aanpassen

Samba start je met rcsamba start (of bv restart of stop)

Verwijderd

Werkt het netwerk opzich wel al ??? Kun je b.v. pingen van de ene pc naar de andere ?

Verwijderd

Topicstarter
ik weet niet precies wat me computernaam is van de linuxcomputer daarom gebruik ik het ip



\\192.168.0.100\tmp



kent die niet


[edit]

ja pingen doet het wel

Verwijderd

Topicstarter
Op dinsdag 25 december 2001 21:53 schreef Markiedam het volgende:







code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[global]



    workgroup = Thuis



    netbios name = File Server



    os level = 33



    security = share



    encrypt passwords = no



    socket options =  TCP_NODELAY 



                



[Internet]



    path = /Netwerk/Internet



    comment = Internet Downloads



    browseable = Yes



    writeable = yes



    public = yes







[Homepage]



    path = /usr/local/httpd



    comment = Apache Server



    browseable = yes



    writeable = yes



    public = yes







[Setup]



    path = /Netwerk/Setup



    comment = Setup bestanden



    browseable = yes



    writeable = yes



    public = yes



    



[Muziek (MP3)]



    path = /Netwerk/Muziek (MP3)



    comment = MP3 Files



    browseable = yes



    writable = yes



    public = yes







[Documentatie]



    path = /usr/share/doc/packages



    comment = Documentatie Bestanden



    browseable = yes



    writable = no



    public = yes



    



[Conig Bestanden]



    path = /etc



    comment = Configuratie bestanden



    browseable = yes



    writable = yes







Dit is mijn config.... Moet je natuurlijk wel aanpassen







Samba start je met rcsamba start (of bv restart of stop)
thx :) ik ga gelijk ff proberen
sorry voor enorme hoeveel returns linux opera niet helemaal 100% maar das ander probleem ;)

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 17-08 09:02
overigens in je [global] sectie moet ook nog een netbios name staan :)

is wel handig anders heb je kans dat het niet werkt

[global]
netbios name = servertje

bv.

A wise man's life is based around fuck you


Verwijderd

Op dinsdag 25 december 2001 22:05 schreef zwelgje2 het volgende:
overigens in je [global] sectie moet ook nog een netbios name staan :)

is wel handig anders heb je kans dat het niet werkt

[global]
netbios name = servertje

bv.
Stond ook in mijn voorbeeld.... :9

Verwijderd

Topicstarter
Markiedam welke distr draait je? rcsamba bestaat niet bij mij. (nogmaals thx voor de hulp he :D )

Verwijderd

Op dinsdag 25 december 2001 22:08 schreef PO_Redrum het volgende:
Markiedam welke distr draait je? rcsamba bestaat niet bij mij. (nogmaals thx voor de hulp he :D )
SuSE

try smbd start of restart
en nmbd start of restart


Vergeet NMBD niet

Verwijderd

Topicstarter
umm volgens mij doe ik iets totaal fout ik start gewoon een terminal als root en typ het in en hij kent die commands niet. Misschien fout geinstalleerd ofzo?

Verwijderd

Op dinsdag 25 december 2001 22:12 schreef PO_Redrum het volgende:
umm volgens mij doe ik iets totaal fout ik start gewoon een terminal als root en typ het in en hij kent die commands niet. Misschien fout geinstalleerd ofzo?
Vreemd..... je hebt een gewone istallatie van SuSE 7.1 gedaan??

Verwijderd

Topicstarter
linux:~ # RCSamba
bash: RCSamba: command not found
linux:~ # rcsamba
bash: rcsamba: command not found
linux:~ # smbd
bash: smbd: command not found
linux:~ # nmbd
bash: nmbd: command not found
linux:~ # nmbd
bash: nmbd: command not found
linux:~ # smbd
bash: smbd: command not found
linux:~ # nmbd
bash: nmbd: command not found
linux:~ # smbd
bash: smbd: command not found
linux:~ # NMBD
bash: NMBD: command not found
linux:~ #

ja standaard desktop installatie dit kwam eruit

Verwijderd

ga naar de directory /usr/sbin

daar staat nmbd en smbd in


vergeet het woord start niet te typen achter smbd en nmbd

Verwijderd

Topicstarter
linux:/usr/sbin # nmbd
bash: nmbd: command not found
linux:/usr/sbin # smbd
bash: smbd: command not found
linux:/usr/sbin # rcsamba
bash: rcsamba: command not found
linux:/usr/sbin # smbd start
bash: smbd: command not found
linux:/usr/sbin # nmbd start
bash: nmbd: command not found
linux:/usr/sbin #

werkt ook niet echt... best wel vaag :'(

Verwijderd

Dan weet ik het effe niet meer...

Samba even opnieuw installeren.
dat kan ik je wel aanraden


Je kunt ook nog even zoeken op smbd en nmbd

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 17-08 09:02
Op dinsdag 25 december 2001 22:06 schreef Markiedam het volgende:

[..]

Stond ook in mijn voorbeeld.... :9
ja dat zag ik, alleen het stond niet in de topicstarter zijn [global] gedeelte, zodoende mijn opmerking

A wise man's life is based around fuck you


Verwijderd

Op dinsdag 25 december 2001 22:22 schreef zwelgje2 het volgende:

[..]

ja dat zag ik, alleen het stond niet in de topicstarter zijn [global] gedeelte, zodoende mijn opmerking
ok.... :)

Verwijderd

Topicstarter
ok thx voor de hulp :)

iniedergeval nog prettige kerstavond ;)

Verwijderd

Op dinsdag 25 december 2001 22:23 schreef PO_Redrum het volgende:
ok thx voor de hulp :)

iniedergeval nog prettige kerstavond ;)
Hetzelfde.....
en alle andere tweakers natuurlijk ook

Happy X-Mas *D

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 17-08 09:02
een standaard installatie van SUSE 7.1 installeerd NIET de samba file server! (wel de client)

dit verklaart waarom het niet werkt

vreemd genoeg zet ie er wel een /etc/smb.conf neer (waarom weet ik niet)

A wise man's life is based around fuck you


Verwijderd

Topicstarter
ah dat verklaart het :) dan ff samba proberen te reinstallen

Verwijderd

Op dinsdag 25 december 2001 22:24 schreef zwelgje2 het volgende:
een standaard installatie van SUSE 7.1 installeerd NIET de samba file server! (wel de client)

dit verklaart waarom het niet werkt

vreemd genoeg zet ie er wel een /etc/smb.conf neer (waarom weet ik niet)
Volgens mij gebruikt KDE dat bestand om te kunnen communiceren met Windows computers... (als dat werkt)

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 17-08 09:02
kan heel simpel dmv 'yast',

A wise man's life is based around fuck you


Verwijderd

Topicstarter
WOOHOOO hij doet het :D :D :D

thx allemaal

  • Zwelgje
  • Registratie: November 2000
  • Laatst online: 17-08 09:02
Op dinsdag 25 december 2001 22:40 schreef PO_Redrum het volgende:
WOOHOOO hij doet het :D :D :D

thx allemaal
het was ons/mij weer een waar genoegen :)

A wise man's life is based around fuck you

Pagina: 1