Re: [squid-users] smb_auth

From: Ren� Bouchard <[email protected]>
Date: Wed, 26 Feb 2003 09:23:44 -0500

Hi,

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

ERR

ERR

ERR

ERR

Nothing that I'v tried is working...and believe me, I've tried almost
anything.

Rene

----- Original Message -----
From: "Rost, Werner" <Werner.Rost@zfboge.com>
To: "'Ren� Bouchard'" <rene.bouchard@webnet.qc.ca>;
<squid-users@squid-cache.org>
Sent: Wednesday, February 26, 2003 2:20 AM
Subject: AW: [squid-users] smb_auth

Please try smb_auth with option -d (debugging).

# smb_auth -W bureau -U akira

Example:

Domain name: ntdomain
Pass-through authentication: no
Query address options: -U bureau -R
Domain controller IP address: 10.1.14.3
Domain controller NETBIOS name: akira
Contents of file://akira/NETLOGON/proxyauth: allow
OK

> Mit freundlichen Gr��en / regards
> Werner Rost
>
> ---------------------------------------------------------------------
> ZF Boge GmbH
> Werner Rost
> IT
> Friesdorfer Str. 175
> D-53175 Bonn
>
>
> phone: +49/228/3825 420
> fax: +49/228/3825 398
> werner.rost@zfboge.com
>
> www.boge-vibrationcontrol.com/
> ---------------------------------------------------------------------
>

-----Urspr�ngliche Nachricht-----
Von: Ren� Bouchard [mailto:rene.bouchard@webnet.qc.ca]
Gesendet am: Dienstag, 25. Februar 2003 22:04
An: squid-users@squid-cache.org
Betreff: [squid-users] smb_auth

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 Wed Feb 26 2003 - 07:24:36 MST

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