Squid: Logging der Benutzernamen über smb_auth - Wie??

Post Reply
Message
Author
chemofunk
Posts: 1
Joined: 05. Dec 2002 11:03

Squid: Logging der Benutzernamen über smb_auth - Wie??

#1 Post by chemofunk »

Hallo!

Ich habe folgendes Problem:
Ich will bei unserem WWW-Proxy (Squid2.2) statt der IP den Benutzernamen loggen, da es sonst bei DHCP nicht viel Sinn macht.
Das Netzwerk besteht aus einem NT Server und einem NT DomainController, die Clients sind Win2000...
Habe smb_auth installiert und beim Testen in der shell gibt er auch OK bei richtigem Usernamen und Passwort. Nur in der access.log erscheint NICHTS!!

<i>smb.conf:
<b>smb.conf</b>
[global]
password server = 192.168.0.3
wins server = 172.24.201.59,172.24.29.4
keep alive = 30
map to guest = Bad User
security = server
encrypt passwords = yes
null passwords = yes
server string = Junits-Server
workgroup = DZB
kernel oplocks = false
socket options = TCP_NODELAY
# by Jules:
# read prediction = yes
# read raw = yes
# write raw = yes
#-----------
netbios name = JUNITS
guest account = nobody
os level = 2

[upload]
path = /usr/local/ftp/upload
writable = yes
# force directory mode =
create mode = 666
directory mode = 777
force create mode =
comment = Datenaustausch mit BKU-Netz
wide links = no
public = yes

[stf$]
writable = yes
path = /usr/share/stf/hdb1


[homes]
writable = yes
root preexec = echo "%T logon %U %M" >>/var/log/smblogon
root postexec = echo "%T logoff %U %M" >>/var/log/smblogon

<b>squid.conf:</b>
authenticate_program /usr/bin/smb_auth -W DZB -U 192.168.0.4
authenticate_children 5
</i>

Wenn das an den ACLs liegt, kann mir jemand sagen wie ich diese konfigurieren muss???

Versuche das jetzt schon seit Tagen... kann mir bitte jemand helfen??
Last edited by chemofunk on 05. Dec 2002 11:43, edited 1 time in total.

Post Reply