RE: [squid-users] winbind!

From: Scott Wrosch <[email protected]>
Date: Fri, 9 May 2003 09:12:58 -0400

Just making sure, but did you join the domain?

And, here's a snippet from my smb.conf (trimmed down, of course):

[global]
   workgroup = MA
   security = domain
   password server = ma-main
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

   preserve case = yes

# Winbind entires.
   winbind separator = _
   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind enum users = yes
   winbind enum groups = yes
   template shell = /bin/bash
   winbind use default domain = yes

# Tell Samba that yes, it does need to obey pam restrictions
   obey pam restrictions = yes

# Get rid of that pesky printer option that we're not using
   disable spoolss = yes

Also, it may be beneficial to go through the configuration docs again, especially when setting up winbind. These are the documents I used:
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#WINBIND

Good luck!

-----Original Message-----
From: KRISS BOUCHET [mailto:zergos@ifrance.com]
Sent: Friday, May 09, 2003 9:05 AM
To: squid-users@squid-cache.org
Subject: [squid-users] winbind!

Hello users!
I'm trying to use winbind to authenticate users on active directory but
i can't suceed:
first, i try without the wb_group...
i've included the linux in the AD
i've change my nss_switch.conf to have this :

passwd: db files winbind nisplus nis
shadow: db files nisplus nis
group: db files winbind nisplus nis

i've put the libnss_winbind.so in the /lib/

i've configured smb.conf :
[global]
        workgroup = SCIENCEU.ORG
        netbios name = TT
        security = DOMAIN
        encrypt passwords = Yes
        password server = srv-win-2000
        wins server = 11.1.9.100
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        template shell = /bin/bash
        winbind separator = %

i've launched the winbindd daemon, but i can't contact it :

wbinfo -p fail
[root@TT bin]# ./wbinfo -p
'ping' to winbindd failed
could not ping winbindd!

and if i try to launch wb_ntlmauth :
[root@TT libexec]# ./wb_ntlmauth
wb_ntlmauth[26759](wb_ntlm_auth.c:414): Can't contact winbindd. Dying

I don't understand, what do i forget ...?

thanks !
Chris

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France
Received on Fri May 09 2003 - 07:15:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:30 MST