Koozali.org: home of the SME Server

LDAP, Squid.

Patrik

LDAP, Squid.
« on: February 10, 2000, 07:28:43 PM »
Hello.
First i must say that this is a very good forum with quick answers and everything:-)

I have som problems.

1.LDAP how to configure other entrys than the user like, eg: "everyone" goes to everyone
2.what is the searchbase for the LDAP-Server?

3.Is it possible to denie filextensions for example *.mp3, and how do u do it ? :)
4.I also need some kind of loggingfunction for HTTP and FTP that resolves IPAddress to NetBios name.

Thanks ahead for a quick answer<---- hmm my english

Charlie Brady

RE: LDAP, Squid.
« Reply #1 on: February 13, 2000, 04:39:00 AM »
Patrik wrote:

> Hello. First i must say that this is a very good forum with
> quick answers and everything:-)

Not really in this case.. :-)

> I have som problems.
>
> 1.LDAP how to configure other entrys than the user like, eg:
> "everyone" goes to everyone 2.what is the searchbase
> for the LDAP-Server?

The LDAP base is generated from your domain name: dc=you,dc=domain,dc=com.

There is documentation about customising your e-smith system on line at http://www.e-smith.org/custom/. There is also a developers mailing list, and your question about extending the LDAP system is probably better asked there.

> 3.Is it possible to denie filextensions for example *.mp3, and
> how do u do it ? :)

If you mean deny access to them on the web, then you could do that by installing a redirection script and configuring squid to make use of it. Again I'd direct you to the customisation advice above.

> 4.I also need some kind of loggingfunction
> for HTTP and FTP that resolves IPAddress to NetBios name.

You can find Netbios to IP address information in /var/locks/samba/wins.dat and /var/log/samba/nmb.log. You will need to write some scripts to merge thar information with your other logs, or do it by hand :-)

Charlie