Bug#434737: smbpasswd: -a not working

2007-07-27 Thread Steve Langasek
On Thu, Jul 26, 2007 at 12:51:37PM +0200, Olaf Zaplinski wrote:
 Package: samba-common
 Architecture: i386
 Version: 3.0.24-6etch4

 # smbpasswd -D 99 -a o.zaplinski
 Netbios name list:-
 my_netbios_names[0]=HAM-OZ
 Attempting to register passdb backend ldapsam
 Successfully added passdb backend 'ldapsam'
 Attempting to register passdb backend ldapsam_compat
 Successfully added passdb backend 'ldapsam_compat'
 Attempting to register passdb backend NDS_ldapsam
 Successfully added passdb backend 'NDS_ldapsam'
 Attempting to register passdb backend NDS_ldapsam_compat
 Successfully added passdb backend 'NDS_ldapsam_compat'
 Attempting to register passdb backend smbpasswd
 Successfully added passdb backend 'smbpasswd'
 Attempting to register passdb backend tdbsam
 Successfully added passdb backend 'tdbsam'
 Attempting to find an passdb backend to match smbpasswd (smbpasswd)
 Found pdb backend smbpasswd
 pdb backend smbpasswd has a valid init
 New SMB password:
 Retype new SMB password:
 getsampwnam (smbpasswd): search by name: o.zaplinski
 startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
 getsmbfilepwent: end of file reached.
 endsmbfilepwent_internal: closed password file.
 Failed to modify password entry for user o.zaplinski

I don't see this behavior with either the smbpasswd or the tdbsam backends.

Are you trying to add a username with smbpasswd that doesn't exist as a Unix
account?

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#434737: smbpasswd: -a not working

2007-07-26 Thread Olaf Zaplinski

Package: samba-common
Architecture: i386
Version: 3.0.24-6etch4


# smbpasswd -D 99 -a o.zaplinski
Netbios name list:-
my_netbios_names[0]=HAM-OZ
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to register passdb backend NDS_ldapsam_compat
Successfully added passdb backend 'NDS_ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
New SMB password:
Retype new SMB password:
getsampwnam (smbpasswd): search by name: o.zaplinski
startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
getsmbfilepwent: end of file reached.
endsmbfilepwent_internal: closed password file.
Failed to modify password entry for user o.zaplinski


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]