het wil nog niet helemaal lukken

ik heb zojuist samba-client, samba en samba-common ge-uninstalled.
ging prima, dus daarna ff "samba-2.2.3a-6nbfw0.40.src.rpm" gedownload van cool_zero's site. rpmmetje geinstalleerd, ging ook prima.
nu heb ik in /usr/src/redhat/SOURCES dus een aantal patches staan;
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
| # ls -l
total 5668
-rw-r--r-- 1 root root 342 Jun 26 2000 samba-2.0.5a-gawk.patch
-rw-r--r-- 1 root root 429 Oct 16 2000 samba-2.0.7-buildroot.patch
-rw-r--r-- 1 root root 808 Jun 29 2000 samba-2.0.7-krb5-1.2.patch
-rw-rw-r-- 1 root root 734 Jun 21 2001 samba-2.2.0-logname.patch
-rw-r--r-- 1 root root 69968 May 21 2001 samba-2.2.0-ook.patch
-rw-r--r-- 1 root root 350 Jun 26 2000 samba-2.2.0-smbw.patch
-rw-rw-r-- 1 root root 2845 Nov 9 2001 samba-2.2.2-smbadduser.patch
-rw-rw-r-- 1 root root 6832 Nov 27 2001 samba-2.2.2-smb.conf.patch
-rw-rw-r-- 1 root root 3315 Nov 13 2001 samba-2.2.2-winsfixes.patch
-rw-r--r-- 1 root root 103520 May 20 20:27 samba-2.2.3a-6-nbfw-0.40.patch
-rw-rw-r-- 1 root root 551 Mar 14 2002 samba-2.2.3a-smbpass.patch
-rw-rw-r-- 1 root root 4549790 Feb 7 2002 samba-2.2.3a.tar.bz2
-rw-rw-r-- 1 root root 857 Apr 10 2002 samba-2.2.3-smbadduserloc.patc
h
-rw-r--r-- 1 root root 183850 May 21 2001 samba-j-2.patch.bz2
-rw-r--r-- 1 root root 774117 May 21 2001 samba-j.patch.bz2
-rw-r--r-- 1 root root 196 Jul 21 2000 samba.log
-rwxr-xr-x 1 root root 648 May 20 20:43 samba-nbfw
-rw-r--r-- 1 root root 125 May 17 2001 samba.pamd
-rw-r--r-- 1 root root 70 May 21 2001 samba.sysconfig
-rw-r--r-- 1 root root 363 May 21 2001 samba.xinetd
-rw-r--r-- 1 root root 1821 Jun 19 2001 smb.init
-rw-r--r-- 1 root root 2293 May 17 2001 smbprint
-rw-r--r-- 1 root root 235 May 21 2001 swat.desktop
-rw-rw-r-- 1 root root 1555 Nov 13 2001 winbind.init |
hier staat ook "Samba-2.2.3a.tar.bz2" bij. dus ik die bunzip2'en, tar file uitpakken en naar de samba dir gaan. toen heb ik dus in "/usr/src/redhat/SOURCES/samba-2.2.3a"
"./patch -p1 < /usr/src/redhat/SOURCES/samba-2.2.3a-6-nbfw-0.40.patch" gedaan.
(had ik op een of andere site gelezen, ben op google aangewezen)...
zag er goed uit, en draaide zonder errors de patch eroverheen.
en wat moet ik nu doen ?
volgens de site moet het nu werken, maar dat doet het niet. op de homepage stond dat je de installatie kunt testen
"7 - Verify if nbfw is working correctly
nmbdnbfw:
Look up an outside host from your backend (nmblookup <host> or net view <host> or nbtstat -a <host>) "
als ik /usr/local/samba/bin/nmblookup puter1 doe krijg ik:
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
| # ./nmblookup puter1
params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf":
No such file or directory
Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it
querying puter1 on 192.168.10.255
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
querying puter1 on 192.168.1.255
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /usr/local/samba/var/locks/unexpected.tdb: No such file or directory
name_query failed to find name puter1 |
de andere 2 commando's die gesuggereerd worden werken helemaal niet.
heeft iemand enig idee wat ik fout doe, hoe het wel moet en of er ergens documentatie over dit onderwerp/probleem bestaat ?
updateje:
ik heb een smb.conf gemaakt en in blabla/samba/lib gezet.
zo ziet deze eruit:
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
| [global]
smb passwd file = /etc/local/samba/bin/smbpasswd
passwd program = /usr/bin/passwd %u
pam password change = yes
printing = lprng
dns proxy = no
null passwords = yes
encrypt passwords = yes
printcap name = /etc/printcap
max log size = 0
obey pam restrictions = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
security = share
unix password sync = Yes
server string = Samba Server
workgroup = MYGROUP
log file = /usr/local/samba/var/%m.log
load printers = no
nbfw backend hosts = 192.168.10.2
nbfw deny hosts =
nbfw netbios names = "DOMAIN" BACKEND-2
name resolve order = lmhosts bcast
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
[TEST]
path = /home/server
comment = test comment
public = yes
read only = yes |
als ik nu ./smbdnbfw doe in blabla/samba/bin komt er in blabla/samba/var/smbd.log te staan:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| [2002/11/18 19:18:01, 0] tdb/tdbutil.c:tdb_log(475)
tdb((null)): tdb_open_ex: could not open file /etc/local/samba/bin/secrets.tdb: No such file or directory
[2002/11/18 19:18:01, 0] passdb/secrets.c:secrets_init(43)
Failed to open /etc/local/samba/bin/secrets.tdb
[2002/11/18 19:18:01, 0] smbd/server.c:main(846)
standard input is not a socket, assuming -D option
[2002/11/18 19:20:52, 0] passdb/machine_sid.c:pdb_generate_sam_sid(76)
can't create private directory /etc/local/samba/bin : No such file or directory
[2002/11/18 19:20:52, 0] smbd/server.c:main(910)
ERROR: Samba cannot create a SAM SID.
[2002/11/18 19:20:52, 0] passdb/machine_sid.c:pdb_generate_sam_sid(76)
can't create private directory /etc/local/samba/bin : No such file or directory
[2002/11/18 19:20:52, 0] smbd/server.c:main(910)
ERROR: Samba cannot create a SAM SID.
[2002/11/18 19:20:52, 0] passdb/machine_sid.c:pdb_generate_sam_sid(76)
can't create private directory /etc/local/samba/bin : No such file or directory
[2002/11/18 19:20:52, 0] smbd/server.c:main(910)
ERROR: Samba cannot create a SAM SID. |