[Samba] Smbpasswd + password sync on OS X

John Snowdon J.P.Snowdon at newcastle.ac.uk
Thu Sep 25 08:13:48 GMT 2003


Samba 2.2.3a on OS-X 10.2.6

Trying to get a standalone server up and running with user level
security. All the users have valid accounts and passwords, but we've
enabled password sync and password chat and chat debug for the accounts
as we don't do authentication against the active directory.

unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat debug = yes
passwd chat = *ew*assword* %n\n *etype*ew*assword* %n\n

smbpasswd <USERNAME> succesfully changes the smb account, but does not
change the unix account. Looking in the log files, after the smbpasswd
transaction the following errors appear:

[2003/09/24 13:59:49, 10]
/SourceCache/samba/samba-26/source/passdb/pdb_smbpasswd.c:pdb_getsampwna
m(1344)
  pdb_getsampwnam: search by name: <USERNAME>
[2003/09/24 13:59:49, 10]
/SourceCache/samba/samba-26/source/passdb/pdb_smbpasswd.c:startsmbfilepw
ent(167)
  startsmbfilepwent_internal: opening file /var/db/samba/smbpasswd
[2003/09/24 13:59:49, 5]
/SourceCache/samba/samba-26/source/passdb/pdb_smbpasswd.c:getsmbfilepwen
t(436)
  getsmbfilepwent: returning passwd entry for user <USERNAME>, uid 620
[2003/09/24 13:59:49, 7]
/SourceCache/samba/samba-26/source/passdb/pdb_smbpasswd.c:endsmbfilepwen
t(256)
  endsmbfilepwent_internal: closed password file.
[2003/09/24 13:59:49, 10]
/SourceCache/samba/samba-26/source/passdb/pdb_smbpasswd.c:pdb_getsampwna
m(1386)
  pdb_getsampwnam: found by name: <USERNAME>
[2003/09/24 13:59:49, 4]
/SourceCache/samba/samba-26/source/lib/substitute.c:automount_server(160
)
  Home server: 127.0.0.1
[2003/09/24 13:59:49, 4]
/SourceCache/samba/samba-26/source/lib/substitute.c:automount_server(160
)
  Home server: 127.0.0.1
[2003/09/24 13:59:49, 3]
/SourceCache/samba/samba-26/source/smbd/sec_ctx.c:pop_sec_ctx(421)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/09/24 13:59:50, 0]
/SourceCache/samba/samba-26/source/lib/fault.c:fault_report(38)
  ===============================================================
[2003/09/24 13:59:50, 0]
/SourceCache/samba/samba-26/source/lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 10 in pid 16321 (2.2.3a (build 26))
  Please read the file BUGS.txt in the distribution
[2003/09/24 13:59:50, 0]
/SourceCache/samba/samba-26/source/lib/fault.c:fault_report(41)
  ===============================================================

Where <USERNAME> is the user who is changing their password.

No errors are shown in the shell, and the user simply recieves the
normal 'Password changed succesfully' message. 

Any ideas if this built in version of Samba is simply borked?

-John

 John Snowdon - IT Support Specialist
-==========================================-
 Faculty of Medical Sciences Computing Dept
 School of Medical Education Development
 University of Newcastle

 Phone : 0191 245 4230
 Email : j.p.snowdon at ncl.ac.uk



More information about the samba mailing list