[Samba] authenticating PDC against itself

2006-01-11 Thread alphac
I need to let squid authenticate against the domain controller but both
samba and squid are running on the same machine, but I cannot get to use
ntlm.

Is it possible do join to the PDC the same machine running the PDC with:
net join -S DOMAIN -U Administrator ?.

wbinfo -p :
Ping to winbindd succeeded on fd 4

wbinfo -g --domain=DOMAIN :
Error looking up domain groups

 wbinfo -a alphac%alphac --domain=DOMAIN :
(doesn't give back the prompt, I have to break with ctrl+c )

From samba logs the last thing I see is that a the user is autenticating
against samba no errors or anything else.

Thanks
-- 
Guglielmo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] authenticating PDC against itself

2006-01-11 Thread simo
On Wed, 2006-01-11 at 20:31 +0100, alphac wrote:
 I need to let squid authenticate against the domain controller but both
 samba and squid are running on the same machine, but I cannot get to use
 ntlm.
 
 Is it possible do join to the PDC the same machine running the PDC with:
 net join -S DOMAIN -U Administrator ?.

yes, you need to do that otherwise you will not be able to make
ntlm_auth work. 

pay attention to the permissions on the winbindd privileged socket you
must have the correct permission to make things work.

See:
http://www.squid-cache.org/Doc/FAQ/FAQ-23.html

section 23.5 should be enough

Simo.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] authenticating PDC against itself

2006-01-11 Thread alphac

simo ha scritto:


On Wed, 2006-01-11 at 20:31 +0100, alphac wrote:
 


I need to let squid authenticate against the domain controller but both
samba and squid are running on the same machine, but I cannot get to use
ntlm.

Is it possible do join to the PDC the same machine running the PDC with:
net join -S DOMAIN -U Administrator ?.
   



yes, you need to do that otherwise you will not be able to make
ntlm_auth work. 


pay attention to the permissions on the winbindd privileged socket you
must have the correct permission to make things work.

 

Yes privileges are ok, but I can't use ntlm nor wbinfo, and I can't 
understand why, from another linux box with debian I can use wbinfo and 
net join without hassels.



See:
http://www.squid-cache.org/Doc/FAQ/FAQ-23.html

section 23.5 should be enough

 

thanks, I'm reading that but the problem is not squid, it is winbind and 
samba authenticating vs itself on localhost.


thanks
--
Guglielmo Dapavo
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba