caching of /etc/passwd?
Matthias Wächter
matthias at waechter.wol.at
Thu Jan 27 08:21:15 GMT 2000
On Thu, 27 Jan 2000, Thomas Stroesslin wrote:
> from a perl-script, I do:
>
> @error = `useradd -g users -d $4 -s /bin/bash -c \"$2\" -m $1`;
>
> and later:
>
> @smbpass_error= `smbpasswd -a $1 $3`;
>
> where $1 is the username (gam_test) and $3 the password
>
> Unfortunately, I always get:
> User "gam_test" was not found in system password file.
looks like you have nscd running (name service caching daemon).
Eventually, kill nscd and restart it to force a rescan of the userdb (and
other cacheable databases). Had the same problem using SuSE 6.2
Sehr Wus,
- Matthias
--
"Fire! Fire!!! FIRE!!!!!
cat?"
(from Pleasantville)
-----------------------------------------------------------------------------
More information about the samba-technical
mailing list