R: [Samba] LS not showing AD owner username and groupname

Gianluca Culot gianlucaculot at dmsware.com
Tue May 8 13:06:37 GMT 2007


> -----Messaggio originale-----
> Da: Gerald (Jerry) Carter [mailto:jerry at samba.org]
> Inviato: martedì 8 maggio 2007 14.55
> A: Gianluca Culot
> Cc: Samba at Lists. Samba. Org
> Oggetto: Re: [Samba] LS not showing AD owner username and groupname
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gianluca Culot wrote:
> > I recently upgraded from samba 3.0.14b to 3.0.24.1 on a freebsd 6 mail
> > server
> >
> > everything went well
> >
> > authentication services accept local and AD users.,
> >
> > YET
> >
> > if I list a directory with file owned by Domain Users I see IDs
> AND DO NOT
> > SEE names of group and user owner
> >
> > drwxrwxrwx 3 1500 1513 512 Apr 20 18:14 administrator
> > drwxrwxrwx 3 2149 1513 512 Apr 4 18:06 user1
> > drwxrwxrwx 3 2119 1513 512 Apr 4 18:07 user2
> > with Samab 3.0.14d
> > drwxrwxrwx 3 root wheel 512 Apr 20 18:14 administrator
> > drwxrwxrwx 3 user1 Domain Users 512 Apr 4 18:06 user1
> > drwxrwxrwx 3 user2 Domain Users 512 Apr 4 18:07 user2
> >
> > Samba is started corerctly and I have NO error in any log
> > Any Hint ?
>
> Start by debugging the nss_winbind.so installation.
> wbinfo -i returns the same information as "getent passwd user"
> but bypasses NSS.  This can help narrow down the problem.
>
>
>
>
>
> cheers, jerry
> =====================================================================
> Samba                                    ------- http://www.samba.org
> Centeris                         -----------  http://www.centeris.com
> "What man is a man who does not make the world better?"      --Balian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGQHM0IR7qMdg1EfYRAko3AKDvi1P6qyYPgPFibUZU3KdlabhyTQCdEnZx
> 8PMJ4c3mhJElmDvTHk5MT+U=
> =lLgz
> -----END PGP SIGNATURE-----
>

Hi there

wbinfo -i returns correct infos about AD users, and none for local users
mail# /usr/local/etc/apache22 > wbinfo -i user1
user1:*:2144:1513:User One:/home/user1:/bin/csh

But I have NO GETENT executable

mail# /usr/local/etc/apache22 > locate getent
/usr/compat/linux/usr/bin/getent
/usr/ports/emulators/linux_base-8/work/linux_base-8-8.0/usr/bin/getent
/usr/ports/net/samba3/work/samba-3.0.14a/source/include/util_getent.h
/usr/ports/net/samba3/work/samba-3.0.14a/source/lib/util_getent.c

BUT Linux_base-8 has been removed by the portupgrade which update Samba
3.0.14b to Samba 3.0.24,1

Somebody knows about this possible anomaly in ports ?




More information about the samba mailing list