[squid-users] smb_auth

From: Ren� Bouchard <[email protected]>
Date: Tue, 25 Feb 2003 16:04:22 -0500

Hi,

I have configured a Red Hat 8.0 with samba 2.2.5.10.

Samba is working great :

[root@proxy bin]# /usr/local/samba/bin/findsmb

                                *=3DDMB
                                +=3DLMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION=20
---------------------------------------------------------------------
10.10.10.5 AKIRA *[BUREAU] [Windows 5.0] [Windows =
2000 LAN Manager]
10.10.10.6 BDCAKIRA [BUREAU] [Windows 5.0] [Windows =
2000 LAN Manager]]
10.10.10.106 STEEVE [BUREAU] [Windows 5.0] [Windows =
2000 LAN Manager]
10.10.10.155 RENE [BUREAU] [Windows 5.0] [Windows =
2000 LAN Manager]
10.10.10.189 NONE-GQBDVJ2L03 [BUREAU] [Windows 5.1] [Windows 2000 =
LAN Manager]

[root@proxy log]# /usr/local/samba/bin/smbpasswd -c /etc/samba/smb.conf =
-j bureau.xxxxx.qc.ca -r akira -U rbouchard
Password:=20
Joined domain BUREAU.

[root@proxy log]# smbclient -L rene -W bureau.xxxxx.qc.ca -U rbouchard
added interface ip=3D10.10.10.210 bcast=3D10.10.10.255 =
nmask=3D255.255.255.0
Got a positive name query response from 10.10.10.155 ( 10.10.10.155 )
Password:=20
Domain=3D[BUREAU] OS=3D[Windows 5.0] Server=3D[Windows 2000 LAN Manager]

        Sharename Type Comment
        --------- ---- -------
        IPC$ IPC IPC distant
        D$ Disk Partage par d,faut
        print$ Disk Pilotes d'imprimantes
        HPLaserJ Printer HP LaserJet 1100 (MS) (Copie 2)
        E Disk =20
        ADMIN$ Disk Administration . distance
        C$ Disk Partage par d,faut

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------

and I got SQUID with this squid.conf informations :

authenticate_program /usr/lib/squid/smb_auth -W bureau -B 10.10.10.255 =
-U 10.10.10.5
acl domainusers proxy_auth REQUIRED
http_access allow domainusers

I got the NETLOGON files named proxyauth with allow in it and =
permissions to everyone

but it doesn't work

[root@proxy log]# smb_auth -W bureau -U akira

ERR

[root@proxy log]# smb_auth -W bureau.xxxxxx.qc.ca -U akira -B =
10.10.10.255 -d

ERR

[root@proxy log]# smb_auth -W bureau.xxxxxx.qc.ca -U 10.10.10.5 -B =
10.10.10.255 -d

ERR

[root@proxy log]# smb_auth -W bureau -U 10.10.10.5 -B 10.10.10.255 -d

ERR

[root@proxy log]# smb_auth -W bureau -U 10.10.10.5 -d

ERR

=20
smbpassword send encrypted password : here is a part of my smb.conf :

[global]
        log file =3D /var/log/samba/%m.log
        smb passwd file =3D /etc/samba/smbpasswd
        load printers =3D no
        passwd chat =3D *New*password* %n\n *Retype*new*password* %n\n =
*passwd:*all*authentication*tokens*updated*successfully*
        socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
        obey pam restrictions =3D yes
        domain master =3D no
        encrypt passwords =3D yes
        passwd program =3D /usr/bin/passwd %u
        dns proxy =3D no=20
        server string =3D PROXY
        printing =3D lprng
        unix password sync =3D no
        workgroup =3D bureau
        printcap name =3D /etc/printcap
        security =3D domain
        preferred master =3D no
        max log size =3D 0
        pam password change =3D yes

Do you know what can solve the problem ?=20

Pleeease help me :)

thanks,

Rene Bouchard
Received on Tue Feb 25 2003 - 14:05:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:37 MST