Password changing (remote) not working.

Harald H. Hannelius Harald at iki.fi
Mon May 31 09:22:40 GMT 1999


Please help me on this one, I am trying to change the password on the
samba pdc with 'smbpasswd -r SERVER'. This has worked for us, but
somewhere along the road it stopped working.

This is what I get on the remote machine trying to change the password:

bash$ ./smbpasswd -r SERVER             
cli_connect_serverlist: Domain password server not available.
get_member_domain_sid: unable to initialise client connection.
Can't setup password database vectors.

If I try the same thing on the PDC (smbpasswd -r SERVER) it works. I am
using the same smbpasswd program from today's cvs on both machines.

However, if I try re-enabling the 'unix password sync', which has worked
for over half a year for us, I get a internal error.

[1999/05/31 11:17:27, 10] passdb/passdb.c:pwdb_smb_map_names(269)
  pwdb_smb_map_names
[1999/05/31 11:17:27, 10] lib/domain_namemap.c:lookupsmbpwnam(886)
  lookupsmbpwnam: unix user name harald
[1999/05/31 11:17:27, 5] lib/username.c:hashed_getpwnam(233)
  getpwnam(harald)
[1999/05/31 11:17:27, 5] lib/username.c:hashed_getpwnam(248)
  Found: harald:XXXXXXXXXX:527:100:Harald	<-- pass obfuscated :)
Hannelius:/home/harald:/bin/bash
[1999/05/31 11:17:27, 10] lib/domain_namemap.c:lookupsmbpwuid(1020)
  lookupsmbpwuid: unix uid 527
[1999/05/31 11:17:27, 5] lib/username.c:uidtoname(271)
  uidtoname(527)
[1999/05/31 11:17:27, 5] lib/username.c:uidtoname(284)
  Found: harald:XXXXXXXXXXXX:527:100:Harald	<-- pass obfuscated
Hannelius:/home/harald:/bin/bash
[1999/05/31 11:17:27, 10] passdb/passdb.c:iterate_getsmbpwnam(148)
  found by name: harald
[1999/05/31 11:17:27, 7] lib/util_file.c:endfilepwent(161)
  endfilepwent: closed file.
[1999/05/31 11:17:27, 10] passdb/passdb.c:pwdb_smb_map_names(269)
  pwdb_smb_map_names
[1999/05/31 11:17:27, 3] smbd/chgpasswd.c:chgpasswd(381)
  Password change for user: harald
[1999/05/31 11:17:27, 0] lib/fault.c:fault_report(40)
  ===============================================================
[1999/05/31 11:17:27, 0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 20008 (2.1.0-prealpha)
  Please read the file BUGS.txt in the distribution
[1999/05/31 11:17:27, 0] lib/fault.c:fault_report(43)
  ===============================================================
[1999/05/31 11:17:27, 0] lib/util.c:smb_panic(2527)
  PANIC: internal error

Also I get this in the log files:

rite_socket(3,635) wrote 635
receive_smb: length < 0!
client_receive_smb failed

Here's how my smb.conf is setup:

[global]
        printing = bsd
        printcap name = /etc/printcap
        load printers = no
        guest account = guest
        workgroup = SAMBA
        log file = /usr/local/samba/logs/log.%m
        null passwords = no
        wins support = yes
        name resolve order = wins lmhosts host bcast
        domain master = yes
        local master = yes
        os level = 64
        preferred master = yes
        domain logons = yes
        logon script = scripts\login.bat
        security = user
        logon path = \\server\%U\Windows
        preserve case = yes
        case sensitive = no
        smb passwd file = /usr/local/samba/private/smbpasswd
        encrypt passwords = yes
        log level = 20

        unix password sync = yes 
        passwd program = /usr/bin/passwd %u 
        passwd chat = *word: %n\n *word: %n\n *changed*
        passwd chat debug = true
        domain group map = /usr/local/samba/lib/domaingroup.map
        username map = /usr/local/samba/lib/username.map
        unix realname = yes


Could someone please help me with this? With some help I could probably
produce more verbose logs if someone would be interested.

===========================================================        
Harald H Hannelius | Harald at iki.fi      | GSM +358405470870
===========================================================  



More information about the samba-ntdom mailing list