Hi Steve
For me it's ok unless I ask for an unknown user:

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -i administrator
TEST\Administrator:*:0:100::/home/TEST/Administrator:/bin/false

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -i ares
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user ares

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -i administrator
TEST\Administrator:*:0:100::/home/TEST/Administrator:/bin/false

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -u
Administrator
Guest
krbtgt
dns-ares

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -i Guest
TEST\Guest:*:3000013:3000014::/home/TEST/Guest:/bin/false

mat@ares:/usr/local/src/samba4$ ./bin/wbinfo -i dns-ares
TEST\dns-ares:*:3000015:100::/home/TEST/dns-ares:/bin/false


what wbinfo -u gives on your domain ?


Steve



/usr/local/samba/bin is in PATH

steve@hh3:~$ wbinfo -u
Error looking up domain users

root@hh3:/home/steve# wbinfo -u
Error looking up domain users

What is returned by which wbinfo ?


Some other stuff:

FQDN hh3.site
domain SITE

steve@hh3:~$  host -t SRV _kerberos._udp.hh3.site.
_kerberos._udp.hh3.site has SRV record 0 100 88 hh3.hh3.site.

steve@hh3:~$ kinit [email protected]
Password for [email protected]:
Warning: Your password will expire in 40 days on Sat Jan 28 20:18:06 2012

steve@hh3:~$ host hh3
hh3.hh3.site has address 192.168.1.3

steve@hh3:~$ smbclient //localhost/home -Usteve2
Password for [SITE\steve2]:
smb: \>

steve@hh3:~$ smbclient //hh3/home -Usteve2
Password for [SITE\steve2]:
Password for [SITE\steve2]:
Password for [SITE\steve2]:
Connection to \\hh3\home failed - NT_STATUS_LOGON_FAILURE

hh3 resolves fine, but hh3 is not resolved when using smbclient.

steve@hh3:~$ smbclient //192.168.1.3/home -Usteve2
Password for [SITE\steve2]:
smb: \>

DNS and kerberos seem OK. Is this Samba 4?

Now with everything as root:

root@hh3:/home/steve# smbclient //hh3.site/home -Uadministrator
Password for [SITE\administrator]:
Password for [SITE\administrator]:
Password for [SITE\administrator]:
Connection to \\hh3.site\home failed - NT_STATUS_LOGON_FAILURE
Increase log level and try to understand what's wrong in your log

root@hh3:/home/steve# smbclient //localhost/home -Uadministrator
Password for [SITE\administrator]:
smb: \>

This suggests DNS is failing.

Adding winbind here makes no difference:(

It's useless in your problem.
/etc/nsswitch.conf

passwd: files ldap lsass
group: files ldap lsass
hosts:          files dns mdns4_minimal [NOTFOUND=return] mdns4

Agghh!!
Steve.





--
Matthieu Patou
Samba Team
http://samba.org

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

Reply via email to