[Samba] Re: useradd command takes 35 seconds when winbindd is running.

John H Terpstra jht at samba.org
Thu Mar 20 22:48:06 GMT 2003


On Thu, 20 Mar 2003, Lynn wrote:

>
> Dear Mr. Terpstra:
>
>       I am running samba 2.2.8 and Winbindd, and the "wbinfo -u",
>       "wbinfo -g", "getent passwd", and "getent group" all work
>       correctly. The problem I have is this: If I issue a command
>       "useradd jeff" on a Linux machine, it takes 35 seconds to add a
>       user. If I stop winbindd, the command useradd will add a user
>       immediately. This problem also applied to the groupadd and
>       groupdel command.
>
> Question: Is there anyway that I could use the useradd command to add a
> user quickly while Winbindd is running ?

Ok. So what are the contents of:

	/etc/default/useradd
	/etc/pam.d/passwd
	/etc/pam.d/login
	/etc/nsswitch.conf
	/etc/samba/smb.conf

These are the key files that are involved in the game.

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


More information about the samba mailing list