Toon posts:

[debian, samba] error en fout

Pagina: 1
Acties:

Verwijderd

Topicstarter
Op debian heb ik samba staan. Ik heb het met een aantal handlijdingen ingesteld maar ik kom er niet helemaal uit. Zo ziet mijn smb.conf file eruit.

[global]
workgroup = thuis
interfaces = 192.168.0.99/255.255.255.0 localhost
security = user
server string = Samba%v op server2
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes
max log size = 1000
lock directory = /var/lock/samba
hosts allow = 129.168.0. localhost
guest ok = no

[public]
comment = linux-pc
path = /home/kick
public = yes
writable = yes
browsable = yes

[homes]
comment = Home Directories
browseable = yes
read only = no

[tmp]
comment = tempory file space
path = /tmp
read only = no
public = yes

[data]
path = /export/smbshares/data
comment = data op server2, alleen lezen
read only = yes
browsable = yes
write list = @kick @ton @server

Via windows kan ik er niet inkomen. De host heb ik op bijde computers ingesteld. Maar er word een fout aangegeven als ik smbpasswd start. Dan staat er namelijk iet dat /etc/samba/secrets.tdb niet gevonden kan worden maar daarna kan ik wel weer mijn paswoord opgeven. Wat heb ik eigenlijk helemaal fout gedaan???

Verwijderd

Ik zou beginnen het ipnummer bij hosts allow eens aan te passen. 129.168 zal wel 192.168 zijn :)

  • a casema user
  • Registratie: Januari 2000
  • Laatst online: 14-08 13:49
bekijk je samba logfiles ff ?
bij mij onder /var/log/samba/

Taaaa taa taa taaaa taa taa ta taaataaaaa.


Verwijderd

Topicstarter
Ik heb de logfile bekeken en wat daar stond staat nu hier
[2002/02/15 09:40:34, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/02/15 09:40:34, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/02/15 09:40:34, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
[2002/02/15 09:46:18, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/02/15 09:46:18, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/02/15 09:46:18, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
[2002/02/15 17:53:24, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/02/15 17:53:24, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/02/15 17:53:24, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
[2002/03/02 15:41:50, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/03/02 15:41:50, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/03/02 15:41:50, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
[2002/03/02 20:14:10, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/03/02 20:14:10, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/03/02 20:14:10, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
[2002/03/02 21:31:13, 1] smbd/server.c:main(641)
smbd version 2.0.8 started.
Copyright Andrew Tridgell 1992-1998
[2002/03/02 21:31:13, 0] printing/pcap.c:pcap_printer_fn(366)
Unable to open printcap file /etc/printcap for read!
[2002/03/02 21:31:13, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.

deze fouten zien er oud uit. Ik heb het bestand gewist en na het herstarten stond hij er weer maar toen helemaal leeg. Maar moet je ook niet nog andere dingen instellen behalve het smb.conf bestand?

Verwijderd

Topicstarter
Niemand die het weet. Kan het zo zijn dat samba niet goed is geisntaleerd???.

  • JMW761
  • Registratie: Oktober 2001
  • Laatst online: 09:57
ff om te checken hoor: je hebt wel voor je users een smbpasswd gemaakt?

met smbpasswd -a "username"??

just to check he.... heb je dat niet, dan kom je er namelijk niet in...

Verwijderd

Topicstarter
Op donderdag 11 april 2002 14:49 schreef JMW het volgende:
ff om te checken hoor: je hebt wel voor je users een smbpasswd gemaakt?

met smbpasswd -a "username"??

just to check he.... heb je dat niet, dan kom je er namelijk niet in...
zoals ik al zij :) Als ik smbpasswd -a gebruik geeft hij een fout aan dat hij een bestand niet kon vinden. En na tien keer smbpasswd -a blijft hij hetzelfde aangeven
Pagina: 1