[Samba] SAMBA + KERBEROS + AD

ciro samba ciro.samba at gmail.com
Fri Mar 7 02:51:22 GMT 2008


Helio,
have you tested nsswitch with
`getent passwd`
should return

root:x:0:0::/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
adm:x:3:4:adm:/var/log:/bin/false
lp:x:4:7:lp:/var/spool/lpd:/bin/false
sync:x:5:0:sync:/sbin:/bin/sync
... etc
gdm:x:42:42:GDM:/var/state/gdm:/bin/bash
apache:x:80:80:User for Apache:/srv/httpd:/bin/false
messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false
haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
pop:x:90:90:POP:/:/bin/false
nobody:x:99:99:nobody:/:/bin/false
EDITORA\administrator:*:10000:10000:Administrator:/home/EDITORA/administrator:/bin/false
EDITORA\guest:*:10001:10001:Guest:/home/EDITORA/guest:/bin/false
etc..;
your domain users must be mapped to linux users, with "winbind uid", which
you have in your smb.conf
if getent does not return domain users at all but wbinfo -u does, the
problems is with libnss_winbind.so

i download source code into /lib/usr/apps/whatsappname so my samba is in
/usr/local/apps/samba-3.0.28/ and the correct libnss_winbind.so is
/usr/local/apps/samba-3.0.28/source/nsswitch/libnss_winbind.so. copy this
file over /lib/libnss_winbind.so and
$ cd /lib
$ ln -s libnss_winbind.so libnss_winbind.so.2

and then getent passwd again, this sould do the trick

tks
Ciro


On Wed, Mar 5, 2008 at 4:05 PM, Helio Calaça Filho <helio.calaca at gmail.com>
wrote:

> But i have to try with the "+"symbol, just like this exemple?
>
> SAMBA+Administrator
> or
> i have to try like this way
>
> SAMBAAdminitrator
>
> ???
>
>
>
>
>
> --
> Atte,
> Hélio Calaça Filho
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list