diff options
author | Jim McDonough <jmcd@samba.org> | 2002-03-06 19:14:37 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-03-06 19:14:37 +0000 |
commit | 37a9d2a9c2fe00094bd1788c9b572d395e1fa6e7 (patch) | |
tree | f54b79f7881fc4de218711b8f51a7d9fca637c60 /source3/passdb | |
parent | b9998ace1f75531ea8b7d927c18ad5bd668212ff (diff) | |
download | samba-37a9d2a9c2fe00094bd1788c9b572d395e1fa6e7.tar.gz samba-37a9d2a9c2fe00094bd1788c9b572d395e1fa6e7.tar.bz2 samba-37a9d2a9c2fe00094bd1788c9b572d395e1fa6e7.zip |
Fix SIGSEGV on error message when trying to add a user to smbpasswd file without a unix account.
(This used to be commit 2fdd601f2efaf3515f0e4c30fa176651eb4bb387)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_smbpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index e32af604fd..78c1a91d48 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -610,7 +610,7 @@ static BOOL add_smbfilepwd_entry(struct smbpasswd_privates *smbpasswd_state, str /* Account not in /etc/passwd hack!!! */ if (!newpwd->smb_userid_set) { if (!smbpasswd_state->permit_non_unix_accounts) { - DEBUG(0, ("add_smbfilepwd_entry: cannot add account %s without unix identity\n", pwd->smb_name)); + DEBUG(0, ("add_smbfilepwd_entry: cannot add account %s without unix identity\n", newpwd->smb_name)); endsmbfilepwent(fp, &(smbpasswd_state->pw_file_lock_depth)); return False; } |