Getting Username Account from client IP address

Ron Alexander rcalex at
Tue Jul 18 17:51:51 GMT 2000

Have you looked at the 'include=%I.conf'.

Then in each of the conf files place a 'guest account = guestX'.


-----Original Message-----
From: samba-technical-admin at
[mailto:samba-technical-admin at]On Behalf Of Bernard Dugas
Sent: July 18, 2000 1:12 PM
To: samba-technical at
Subject: Getting Username Account from client IP address


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 |
|  50 Rue Gustave Eiffel            Tel.: +33 450 205 105         |
| FR 01630 St Genis Pouilly         Fax : +33 450 205 106         |

More information about the samba-technical mailing list