Delay when using ipc share

Arne de Bruijn
Sun, 06 Feb 2000 11:08:50 -0000

Hello,

I have a simple network where usernames are not needed and every PC/user
is allowed to connect to the samba server. With security=share, guest
ok=yes, guest only=yes, this works great. But when using the IPC share
for e.g. setting the time, there is 2 second delay before there is a
response, which I would like to avoid.

It seems the problem is that the IPC share is never guest only, so Samba
always tries to authenticate as a non-guest user first, which fails, and
causes the 2 second delay (anti brute force delay? configuration
problem? (PAM complains about structure no longer valid)).

If it would be possible to make the IPC share guest only, I think the
delay will go away. Is there a reason the IPC share can't be customized
like this? What about allowing to use a [ipc$] section in smb.conf to
override the guest only parameter? (I saw in the source that the ipc$
share is initialized after loading the smb.conf entries, could that be
moved to before loading the smb.conf entries)?

Arne