[Samba] nss winbind AD Problem ?!

andy.ladanyi at web.de andy.ladanyi at web.de
Mon Apr 30 07:01:33 GMT 2007


Hi all,

ldapsearch shows "uidNumber" attribute from ad.

samba 0.24

security=ads
idmap backend = ad
winbind nss info = sfu , rfc2307

wbinfo-t -u- g OK !

net ads join or net rpc join -> OK.

pam_winbind OK !

log.winbind: cat out for my username !
=========

[2007/04/27 22:52:24, 1] nsswitch/winbindd_user.c:winbindd_getpwent(729)
could not lookup domain user ladanyi
[2007/04/27 22:52:24, 10] sam/idmap_util.c:idmap_sid_to_uid(70)
idmap_sid_to_uid: sid = [S-1-5-21-1783225922-323520374-3920701801-1187]
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:db_get_id_from_sid(277)
db_get_id_from_sid
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:internal_get_id_from_sid(183)
internal_get_id_from_sid: fetching record S-1-5-21-1783225922-323520374-3920701801-1187 of type 0x1
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:internal_get_id_from_sid(190)
internal_get_id_from_sid: record S-1-5-21-1783225922-323520374-3920701801-1187 -> UID 30001
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:internal_get_id_from_sid(205)
internal_get_id_from_sid: ID_USERID fetching record S-1-5-21-1783225922-323520374-3920701801-1187 -> UID 30001
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:internal_get_sid_from_id(152)
internal_get_sid_from_id: fetching record UID 30001
[2007/04/27 22:52:24, 10] sam/idmap_tdb.c:internal_get_sid_from_id(158)
internal_get_sid_from_id: fetching record UID 30001 -> S-1-5-21-1783225922-323520374-3920701801-1187
[2007/04/27 22:52:24, 10] sam/idmap_util.c:idmap_sid_to_uid(77)
idmap_sid_to_uid: uid = [30001]

I think mapping SID -> UID works !?

nsswitch.conf:
============

passwd files winbind
group files winbind

"su ladanyi" -> Unknown ID. There is noch nscd !

getent passwd -> After "files" was read and winbind should list the users, getent exit after about 10 seconds with no nss winbind result.

See the nsswitch/winbind message above !

winbind enumerating is activated.

I couldnt find something similar on www.

Any ideas ? Thank you very much !


Andy

_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192



More information about the samba mailing list