[samba] squid auth

Герасимов Дмитрий =?iso-8859-1?q?matrix_=CE=C1_podlipki=2Eru?=
Пн Окт 20 14:46:10 MSD 2003


On Mon, 20 Oct 2003 13:21:56 +0300
Alexander Bokovoy <a.bokovoy на sam-solutions.net> wrote:

> On Mon, Oct 20, 2003 at 02:22:32PM +0400, Герасимов Дмитрий wrote:

<skip>

> > обновил. теперь имею такое.
> > 
> > [root на dima root]# /usr/lib/squid/wb_group 
> > /wb_group[10434](wb_check_group.c:308): Can't contact winbindd.
> > Dying
> > 
> > чудно... :-(
> А strace?

[root на dima root]# /etc/rc.d/init.d/winbind start
Starting Winbind services: 

[root на dima root]# wbinfo -u
Administrator
AlexanderB
AlexanderKr
AlexanderS
AlexD
<skip>

[root на dima root]# /usr/lib/squid/wb_ntlmauth 
wb_ntlmauth[2757](wb_ntlm_auth.c:416): Can't contact winbindd. Dying

[root на dima root]# strace /usr/lib/squid/wb_ntlmauth 
<skip>
close(3)                                = 0
getpid()                                = 2771
getpid()                                = 2771
lstat64("/tmp/.winbindd", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/tmp/.winbindd/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...})
= 0 socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/tmp/.winbindd/pipe"}, 110) = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, "\30\5\0\0\0\0\0\0\323\n\0\0\254\364\377\277\361|\0@\262"...,
1304) = 1304 read(3, "", 1304)                       = 0
close(3)                                = 0
write(2, "wb_ntlmauth[2771](wb_ntlm_auth.c"...,
39wb_ntlmauth[2771](wb_ntlm_auth.c:416): ) = 39 write(2, "Can\'t contact
winbindd. Dying\n", 30Can't contact winbindd. Dying) = 30
_exit(1)                                = ?

[root на dima root]# ls -l /tmp/.winbindd/
total 0
srwxrwxrwx    1 root     root            0 Oct 20 14:42 pipe

[root на dima root]# stat /tmp/.winbindd/pipe 
  File: `/tmp/.winbindd/pipe'
  Size: 0         	Blocks: 0          IO Block: 4096   socket
Device: 307h/775d	Inode: 17623       Links: 1    
Access: (0777/srwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2003-10-20 14:44:40.000000000 +0400
Modify: 2003-10-20 14:42:23.000000000 +0400
Change: 2003-10-20 14:42:23.000000000 +0400





Подробная информация о списке рассылки Samba