Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
only able to access internet when logged into samba PDC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Sat Jun 28, 2003 2:00 am    Post subject: only able to access internet when logged into samba PDC Reply with quote

Is this possible?
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Sat Jun 28, 2003 2:07 am    Post subject: Reply with quote

Anything's possible. :wink:
Being a bit more specific would help though.
Back to top
View user's profile Send private message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Sat Jun 28, 2003 3:43 am    Post subject: Reply with quote

PowerFactor wrote:
Anything's possible. :wink:
Being a bit more specific would help though.


I don't want users to be able to access ANYTHING until they are authenticated through the domain.
Back to top
View user's profile Send private message
PowerFactor
Veteran
Veteran


Joined: 30 Jan 2003
Posts: 1693
Location: out of it

PostPosted: Sat Jun 28, 2003 4:57 am    Post subject: Reply with quote

Well, I have to admit that I've never dealt with NT domains except as a user so I don't know how to setup whatever it is you want. But you really should provide more details in order for anyone to help you. These users, are they on windows clients authenticating to a samba pdc? Or are they on linux clients that you want to integrate into an NT domain. I do know that linux can use samba to control logins, I've never done it myself though. Is something like that what you're looking for?
Back to top
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Sat Jun 28, 2003 7:45 am    Post subject: Reply with quote

Fraggle wrote:
PowerFactor wrote:
Anything's possible. :wink:
Being a bit more specific would help though.


I don't want users to be able to access ANYTHING until they are authenticated through the domain.


You could force them through a proxy and have them authenticate themselves there.
for example - setup squid with the SMB authentication module, so they have to authenticate with NT username/password before having web/ftp access.
Back to top
View user's profile Send private message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Sat Jun 28, 2003 1:20 pm    Post subject: Reply with quote

PowerFactor wrote:
Well, I have to admit that I've never dealt with NT domains except as a user so I don't know how to setup whatever it is you want. But you really should provide more details in order for anyone to help you. These users, are they on windows clients authenticating to a samba pdc? Or are they on linux clients that you want to integrate into an NT domain. I do know that linux can use samba to control logins, I've never done it myself though. Is something like that what you're looking for?


Windows Clients connecting to a samba pdc. I already use samba to control logins :) Sorry I just didn't know what information you wanted :)
Back to top
View user's profile Send private message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Sat Jun 28, 2003 7:16 pm    Post subject: Reply with quote

Any other ideas?
Back to top
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Sat Jun 28, 2003 7:59 pm    Post subject: Reply with quote

Fraggle wrote:
Any other ideas?


You could try using the pre/postexec statements in smb.conf to add the client address to a firewall allow list.

ie something like:
Code:

[home]
preexec = ssh firewall_machine allow_ip_through_fw.script  %I
postexec = ssh firewall_machine allow_ip_through_fw.script %I


Don't know how it'd work out.
Using a proxy is much better for security and performance reasons among other things.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum