-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Could you send out the output of "testparm" (better than your entire smb.conf file as this will drop settings that use the default values and enhance what's specific to your system) ?
Christian, The result of testpar, basic setings, only to test the server. Linux arvore 2.6.24-etchnhalf.1-686 #1 SMP Mon Oct 13 07:27:05 UTC 2008 i686 GNU/Linux [EMAIL PROTECTED]:/etc/samba/lib# cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux LennyBeta2 _Lenny_ - Official Beta i386 DVD Binary-1 20080607-17:21]/ lenny contrib main # deb cdrom:[Debian GNU/Linux LennyBeta2 _Lenny_ - Official Beta i386 DVD Binary-1 20080607-17:21]/ lenny contrib main deb http://ftp.br.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.br.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free [EMAIL PROTECTED]:/etc/samba/lib# ps aux | grep smb root 4672 0.0 0.2 13880 2592 ? Ss 00:38 0:00 /usr/sbin/smbd -D root 4678 0.0 0.1 13880 1040 ? S 00:38 0:00 /usr/sbin/smbd -D root 4776 0.0 0.0 3360 692 pts/0 R+ 00:44 0:00 grep --color=auto smb [EMAIL PROTECTED]:/etc/samba/lib# ps aux | grep nmb root 4670 0.0 0.1 8292 1420 ? Ss 00:38 0:00 /usr/sbin/nmbd -D root 4778 0.0 0.0 3360 688 pts/0 R+ 00:44 0:00 grep --color=auto nmb [EMAIL PROTECTED]:/etc/samba/lib# [EMAIL PROTECTED]:~# testparm Load smb config files from /etc/samba//lib/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. ERROR: lock directory /etc/samba//var/locks does not exist ERROR: pid directory /etc/samba//var/locks does not exist Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = CASA server string = %h server obey pam restrictions = Yes passdb backend = tdbsam pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No panic action = /usr/share/samba/panic-action %d [homes] comment = Home Directories valid users = %S create mask = 0700 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers Does that file exist? Could you look around (particularly in /var for occurrences of secrets.tdb?) [EMAIL PROTECTED]:/var/lib/samba# ls account_policy.tdb group_mapping.ldb ntdrivers.tdb ntforms.tdb ntprinters.tdb passdb.tdb perfmon printers registry.tdb secrets.tdb usershares Even if they do not exist, would not have to be created at the facility, or when I restart the server? Steve Langasek escreveu: > On Thu, Nov 20, 2008 at 08:09:42AM -0200, Flamarion Jorge wrote: > >> After the last upgrade in many packages, samba does not work correctly. >> When i try add a user into samba with command smbpasswd i receive this >> message: > >> [EMAIL PROTECTED]:/etc/samba# smbpasswd -a flamarion >> Failed to open /etc/samba//private/secrets.tdb >> Failed to open /etc/samba//private/secrets.tdb > > This is not where secrets.tdb is supposed to be located on Debian. Either > we have a misapplied patch in 3.2.4, or this is not the Debian version of > smbpasswd. > It's Debian version friend. Thank's Flamarion Jorge -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkmIA8ACgkQ0SDRnmynUOF91QCdF55oIijGt84GgVxvLlt1b1kv 64QAn2SMw81/W7SnhQyiN/e6jCDETyx/ =1u6g -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]