Getting Username Account from client IP address
dale at bewley.net
Tue Jul 18 19:11:26 GMT 2000
I'm finishing up something similar.
We have different offices on multiple /24's. Each one of the offices
doesn't know of each other so, the windows usernames can be the same.
These are mapped to unix usernames based on the officename
i.e. officename-fred and office names are mapped to /24's via a
I changed username.c:map_username() to use our file to match the
3rd octect of the clients source address to their office and then to the
On Tue, 18 Jul 2000, Bernard Dugas wrote:
> As the search on the list doesn't seem to work, may I ask a question to
> you :
> In a security=share mode (orother mode), is it possible to have a
> procedure which would choose the guest account on the basis of the IP
> number of the client ?
> ie "if the client IP is 192.168.X.*, then the guest account is guestX"
> I would find such a process very useful as I have quite a large user
> base and I don't want to manage a large account base, specially as
> Windows9x usernames are useless for security.
> Thanks a lot for any answer !
> __________ Bernard DUGAS ________________________________________
> | |
> | Technoparc Pays de Gex mailto:bernard.dugas at is-production.com |
> | 50 Rue Gustave Eiffel Tel.: +33 450 205 105 |
> | FR 01630 St Genis Pouilly Fax : +33 450 205 106 |
Dale Bewley - Bewley Internet Solutions Inc. http://bewley.net/
More information about the samba-technical