Problems with smbpasswd-program

William Stuart william at hae.com
Mon May 11 15:52:17 GMT 1998


I have Andrew's problem too, on Red Hat.  I didn't bug it because I
thought it might be Red Hat specific.  I have the exact same symtoms,
gives error but works with no file, will not work subsequently.

I'm using a 3-5 day old cvs tree (main branch) code.

William

On Tue, 12 May 1998, Andrew Perrin - Demography wrote:

> Date: Tue, 12 May 1998 01:27:32 +1000
> From: Andrew Perrin - Demography <aperrin at demog.Berkeley.EDU>
> To: Multiple recipients of list <samba-ntdom at samba.anu.edu.au>
> Subject: Re: Problems with smbpasswd-program
> 
> Looks suspiciously similar to our problem:
> 
> #@boserup:/usr/LOCAL/samba/bin>./smbpasswd aperrin
> ..
> New SMB password:
> Retype new SMB password:
> startsmbpwent: opening file /usr/LOCAL/samba/private/smbpasswd
> /smbpasswd: Failed to open password file
> /usr/LOCAL/samba/private/smbpasswd.
> /smbpasswd: Error 0
> 
> using 1.9.19-prealpha on Solaris 2.6.  It will work the first time (i.e.,
> when there's no smbpasswd file) but always bombs subsequent times.
> 
> ---------------------------------------------------------------------
> Andrew J. Perrin - aperrin at demog.berkeley.edu - NT/Unix Admin/Support
> Department of Demography    -    University of California at Berkeley
> 2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA
> http://demog.berkeley.edu/~aperrin --------------------------SEIU1199
> 
> On Mon, 11 May 1998, Philipp Grau wrote:
> 
> > Hello,
> > 
> > i have some troubles with the current smpasswd program,
> > here some output:
> > 
> > root at samba:~# smbpasswd root test
> > smbpasswd: Failed to open password file /usr/local/samba/private/smbpasswd.
> > smbpasswd: Address already in use.
> > 
> > root at samba:~# ls -l /usr/local/samba/private/smbpasswd
> > -rw-------   1 root root    18767 May 11 11:05 /usr/local/samba/private/smbpasswd
> > 
> > root at samba:~# grep root /usr/local/samba/private/smbpasswd
> > root:0:[...]:[...]:root:/root:/bin/bash
> > 
> > when I try is as root for for another user: same problem
> > 
> > When I try this for a maschine which is in /etc/passwd:
> > 
> > root at samba:~# smbpasswd -a -m bs8
> > smbpasswd: Failed to open password file /usr/local/samba/private/smbpasswd.
> > smbpasswd: Address already in use.
> > 
> > "user at samba:~$ smbpasswd" runs fine!!
> > 
> > What am I missing???
> > Any hints??
> > 
> > \bye
> > Philipp
> > 
> > 
> > -- 
> > 
> >  Philipp Grau,   phgrau at wi-bw.tfh-wildau.de in Wildau
> > ---------------------------------------------The-Answer-is-42-!------
> > 
> 
> 



More information about the samba-ntdom mailing list