[Samba] Failed to modify entry error

John H Terpstra jht at samba.org
Thu May 8 17:12:11 GMT 2003


On Thu, 8 May 2003, Lists Account wrote:

> >-----Original Message-----
> >From: John H Terpstra [mailto:jht at samba.org]
> >> I have created the account in the /etc/passwd file.  It exists in the
> >> shadow password file.  I have created machine accounts before.
> >
> >In /etc/passwd is it there as:
> >	pc-00454
> >OR as
> >	pc-00454$
> >
> >This is critical!
>
> It is in as pc-00454$:

That is 9 characters long. Does your OS support that?

What is the platform?

Do a test.

	useradd pc00454\$
	smbpasswd -a -m pc00454

If that works then your problem is likely the underlying getpwent call
limit of 8 chars.

Let's check the simple stuff first.

- John T.


>
> pc-00454$:x:1022:102::/dev/null:/bin/false
>
> >> What should I be looking for?
> >
> >In smb.conf [globals], set "log level = 10"
> >
> >The do this again, and check to see what is failing in the log file
> >generated.
>
> I don't see anything coming up in any of the logs I am looking at... I
> have the syslog flag on, so things get written there, and I am checking
> the log.smbd and log.nmbd files.  Is there somewhere else I should look?
>
> Sorry if this is a newbie question, but I haven't been able to find
> anything on it.
>
> --Kenny
>
>

-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list