Hi, testparm: --------- testparm shows: ERROR: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter. You can see, passwd program _is_ /usr/bin/passwd %u smbstatus: ---------- smbstatus command always shows processes _and_ shares even if using the switches '-p' for showing processes only or '-S' for showing shares only or '-B' for showing locks only: test2 # smbstatus -p Samba version 3.0.8 PID Username Group Machine ------------------------------------------------------------------- 32010 tb users r40 (192.168.0.9) Service pid machine Connected at ------------------------------------------------------- public 32010 r40 Tue Nov 9 23:29:20 2004 IPC$ 32010 r40 Tue Nov 9 23:29:18 2004 test2 # smbstatus -S Samba version 3.0.8 PID Username Group Machine ------------------------------------------------------------------- 32010 tb users r40 (192.168.0.9) Service pid machine Connected at ------------------------------------------------------- public 32010 r40 Tue Nov 9 23:29:20 2004 IPC$ 32010 r40 Tue Nov 9 23:29:18 2004 test2 # smbstatus -B Samba version 3.0.8 PID Username Group Machine ------------------------------------------------------------------- 32010 tb users r40 (192.168.0.9) Service pid machine Connected at ------------------------------------------------------- public 32010 r40 Tue Nov 9 23:29:20 2004 IPC$ 32010 r40 Tue Nov 9 23:29:18 2004 No locked files tdbbackup: ---------- Backing up and verifying _printing_ databases uses 20-96% cpu and takes a long time (there are only few entries and smbd and nmbd were not running): for i in /var/lock/samba/?*.tdb /var/lock/samba/printing/?*.tdb /etc/?*.tdb do date echo $i.samba.bak rm -f $i.samba.bak tdbbackup -s .samba.bak $i tdbbackup -v $i # 1> /dev/null done Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/account_policy.tdb.samba.bak /var/lock/samba/account_policy.tdb : 10 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/brlock.tdb.samba.bak /var/lock/samba/brlock.tdb : 0 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/connections.tdb.samba.bak /var/lock/samba/connections.tdb : 5 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/gencache.tdb.samba.bak /var/lock/samba/gencache.tdb : 8 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/group_mapping.tdb.samba.bak /var/lock/samba/group_mapping.tdb : 13 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/locking.tdb.samba.bak /var/lock/samba/locking.tdb : 0 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/messages.tdb.samba.bak /var/lock/samba/messages.tdb : 0 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/ntdrivers.tdb.samba.bak /var/lock/samba/ntdrivers.tdb : 1 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/ntforms.tdb.samba.bak /var/lock/samba/ntforms.tdb : 0 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/ntprinters.tdb.samba.bak /var/lock/samba/ntprinters.tdb : 21 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/registry.tdb.samba.bak /var/lock/samba/registry.tdb : 10 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/sessionid.tdb.samba.bak /var/lock/samba/sessionid.tdb : 1 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/share_info.tdb.samba.bak /var/lock/samba/share_info.tdb : 1 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/unexpected.tdb.samba.bak /var/lock/samba/unexpected.tdb : 0 records Tue Nov 9 23:39:07 CET 2004 /var/lock/samba/printing/eisfax.tdb.samba.bak /var/lock/samba/printing/eisfax.tdb : 6 records Tue Nov 9 23:39:13 CET 2004 /var/lock/samba/printing/pdf.tdb.samba.bak /var/lock/samba/printing/pdf.tdb : 8 records Tue Nov 9 23:39:18 CET 2004 /var/lock/samba/printing/pdfdef.tdb.samba.bak /var/lock/samba/printing/pdfdef.tdb : 1 records Tue Nov 9 23:39:24 CET 2004 /var/lock/samba/printing/pdfpre.tdb.samba.bak /var/lock/samba/printing/pdfpre.tdb : 1 records Tue Nov 9 23:39:28 CET 2004 /var/lock/samba/printing/pr2.tdb.samba.bak /var/lock/samba/printing/pr2.tdb : 8 records Tue Nov 9 23:39:34 CET 2004 /var/lock/samba/printing/pr3.tdb.samba.bak /var/lock/samba/printing/pr3.tdb : 6 records Tue Nov 9 23:39:39 CET 2004 /var/lock/samba/printing/printerlong.tdb.samba.bak /var/lock/samba/printing/printerlong.tdb : 1 records Tue Nov 9 23:39:44 CET 2004 /var/lock/samba/printing/repr1.tdb.samba.bak /var/lock/samba/printing/repr1.tdb : 6 records Tue Nov 9 23:39:49 CET 2004 /var/lock/samba/printing/repr10.tdb.samba.bak /var/lock/samba/printing/repr10.tdb : 6 records Tue Nov 9 23:39:55 CET 2004 /var/lock/samba/printing/repr11.tdb.samba.bak /var/lock/samba/printing/repr11.tdb : 6 records Tue Nov 9 23:40:00 CET 2004 /var/lock/samba/printing/repr2.tdb.samba.bak /var/lock/samba/printing/repr2.tdb : 6 records Tue Nov 9 23:40:05 CET 2004 /var/lock/samba/printing/repr3.tdb.samba.bak /var/lock/samba/printing/repr3.tdb : 6 records Tue Nov 9 23:40:10 CET 2004 /var/lock/samba/printing/repr4.tdb.samba.bak /var/lock/samba/printing/repr4.tdb : 6 records Tue Nov 9 23:40:16 CET 2004 /var/lock/samba/printing/repr5.tdb.samba.bak /var/lock/samba/printing/repr5.tdb : 6 records Tue Nov 9 23:40:20 CET 2004 /var/lock/samba/printing/repr6.tdb.samba.bak /var/lock/samba/printing/repr6.tdb : 6 records Tue Nov 9 23:40:26 CET 2004 /var/lock/samba/printing/repr7.tdb.samba.bak /var/lock/samba/printing/repr7.tdb : 6 records Tue Nov 9 23:40:31 CET 2004 /var/lock/samba/printing/repr8.tdb.samba.bak /var/lock/samba/printing/repr8.tdb : 6 records Tue Nov 9 23:40:37 CET 2004 /var/lock/samba/printing/repr9.tdb.samba.bak /var/lock/samba/printing/repr9.tdb : 6 records Tue Nov 9 23:40:41 CET 2004 /etc/secrets.tdb.samba.bak /etc/secrets.tdb : 4 records Is this normal? The goal was to do backup in samba init but 1 minute and 35 seconds for every start? -- der tom
Gerald (Jerry) Carter
2004-Nov-11 18:01 UTC
[Samba] 3.0.8 and testparm, smbstatus, tdbbackup
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Bork wrote: | | testparm: | --------- | | testparm shows: | | ERROR: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' parameter. | You can see, passwd program _is_ /usr/bin/passwd %u fixed. BUG # 2017 | smbstatus: | ---------- | | smbstatus command always shows processes _and_ shares even | if using the switches '-p' for showing processes only or | '-S' for showing shares only or '-B' for showing locks only: I'll look into this. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBk6ijIR7qMdg1EfYRAsg7AKDz6VGRvBC/1XoOELsLJTjRn9rpqQCg0ibf wMHhkDg6oVanW7jsBLKljTo=l1qI -----END PGP SIGNATURE-----
Hallo Jerry,> | testparm shows: > | > | ERROR: the 'passwd program' (/usr/bin/passwd %u) requires a '%u' > parameter. > | You can see, passwd program _is_ /usr/bin/passwd %u > > fixed. BUG # 2017thanks a lot.> | smbstatus command always shows processes _and_ shares even > | if using the switches '-p' for showing processes only or > | '-S' for showing shares only or '-B' for showing locks only: > > I'll look into this.Thanks again! der tom __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201
Possibly Parallel Threads
- 3.0.8pre2 and tdbackup
- [PATCH] nv50/ir: Propagate third immediate src when folding OP_MAD
- ThinkPad R40 Centrino Wireless NIC Success
- [PATCH] nv50/ir: Propagate third immediate src when folding OP_MAD
- [PATCH] nv50/ir: Propagate third immediate src when folding OP_MAD