Re: [Samba] samba 4 how to enable winbindd

2012-02-29 Thread Alain Toussaint
 Are you running a version of wbinfo that was compiled with your Samba4
 install, or is this one your package manager installed at some point?

It was installed by my package manager but what I don't understand is that
the command getent passwd and getent group did work and enumerated the samba
4 accounts as well as the system accounts. Finally, the pam_winbind module
didn't work too.

Should I compile samba instead of using a packaged version?

Thanks you very much
Alain

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


Re: [Samba] samba 4 how to enable winbindd

2012-02-28 Thread Kai Blin
On 2012-02-27 14:13, Alain Toussaint wrote:

Hi Alain,

   I configured a domain controller on a ubuntu server using samba 4
 alpha 15 using ubuntu's distribution packages and followed this howto:
 https://wiki.samba.org/index.php/Samba4/Winbind to have unix account for
 domain users but winbindd is not running; these two commands from the howto
 does not work:
 
 Wbinfo -p
 Wbinfo -u

Are you running a version of wbinfo that was compiled with your Samba4
install, or is this one your package manager installed at some point?
The winbind named pipe wbinfo uses for communication changed location at
some point, and your wbinfo might be looking at the wrong place.

HTH,
Kai

-- 
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/



signature.asc
Description: OpenPGP digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] samba 4 how to enable winbindd

2012-02-27 Thread Alain Toussaint
Hello,
I configured a domain controller on a ubuntu server using samba 4
alpha 15 using ubuntu's distribution packages and followed this howto:
https://wiki.samba.org/index.php/Samba4/Winbind to have unix account for
domain users but winbindd is not running; these two commands from the howto
does not work:

Wbinfo -p
Wbinfo -u

I configured debug logging for pam as well as samba (log level 5) and all I
am getting is these log entries (among a few others):

Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): getting password
(0x)
Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): internal module
error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'alain')
Feb 27 07:38:07 shitbox dovecot-auth: pam_winbind(dovecot): valid_user:
wbcGetpwnam gave WBC_ERR_WINBIND_NOT_AVAILABLE

I have tried to look up the smb.conf manpage but ubuntu install the manpage
for samba 3's winbindd, not samba 4 so I couldn't find the setting needed to
enable winbindd in samba 4.

Alain

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