Re: samba + winbindd with NT-DC problem... i'm stuck.

leopardb <[email protected]> Fri, 21 Nov 2003 11:30:44 +0100
Newsgroups gmane.network.samba.general,gmane.network.samba.internals,gmane.network.samba.binaries
Message-ID <[email protected]>
Bj=F6rn Andersen wrote:

>Hello Group,
>
>I'm really stuck here.  I try to get an samba to authenticate it's users
>nicely
>against an NT-DC, which will later be upgraded to W2K or W2K3
>
>My system : Suse 8.1, samba-2.2.5-80, samba-client-2.2.5-80
>
>My test-config for smb:
>[global]
>    winbind separator =3D +
>    winbind cache time =3D 0
>    template shell =3D /bin/bash
>    template homedir =3D /home/%D/%U
>    winbind uid =3D 10000-20000
>    winbind gid =3D 10000-20000
>    workgroup =3D FOERDE
>    security =3D domain
>    encrypt passwords =3D Yes
>    password server =3D SMSERVER SERVER01
>[daten]
>    path =3D /srv/samba/daten
>    writeable =3D no
>    write list =3D root FOERDE+300
>    valid users =3D root 300 FOERDE+300 @FOERDE+218
>
>winbindd runs as daemon, "wbinfo -u" and  "wbinfo -g"  gives the right
>domain users & groups,
>as well as "getent group"  and   "getent passwd".
>strangely even ...
>  # wbinfo -a foerde+300%password
>works with an output of...
>  plaintext password authentication succeeded
>  error code was NT_STATUS_OK (0x0)
>  challenge/response password authentication succeeded
>  error code was NT_STATUS_OK (0x0)
>
>I inserted in /etc/nsswitch.conf
>  passwd: files winbind
>  group:  files winbind
>  shadow: files winbind nis
>to activate winbind. I have not changed anything in PAM because I only n=
eed
>Domain Users
>to access Win-Shares, not to login or anything else.
>But with ... :
>  web1-50:~ # smbclient //web3-77/daten -U 300 -W foerde
>i only get this output... :
>  added interface ip=3D150.10.30.50 bcast=3D150.10.30.255 nmask=3D255.25=
5.255.0
>  added interface ip=3D10.1.110.20 bcast=3D10.1.110.255 nmask=3D255.255.=
255.0
>  Password: *****
>  Domain=3D[FOERDE] OS=3D[Unix] Server=3D[Samba 2.2.5]
>  tree connect failed: NT_STATUS_WRONG_PASSWORD
>
>Logfiles :
>messages: nothing
>log.winbind : nothing
>log.smbd : nothing
>log.nmbd : nothing
>
>With a wrong PW i get logentries "Error was NT_STATUS_WRONG_PASSWORD."
>which seems right. But nothing with right PW. Sadly no logon as well. My
>Testuser is "300",
>as you can see i tryed some different syntax for user in smb.conf as wel=
l as
>in smbclient. No good.
>
>What am I doing wrong ? Especially because "wbinfo -a" works, I thought =
I
>was quite close.
>But I didn't make any progress for days now..
>What did I forget ?
>
>Please Help..
>
>Bj=F6rn Andersen
>
>
>
>
> =20
>
I've exactly the same problem. Did you receive any answer ?


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