Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] "getent passwd" doesn't list domain users

1 view
Skip to first unread message

VU...@cz.soluziona.com

unread,
Dec 17, 2003, 11:40:10 AM12/17/03
to

__________________

Hi all,
I've configured samba 3.0 as a domain memeber in NT 4.0 domain.
Server has been added to the domain, without any problems, BUT, for three
days...., I'm not able to find a way how to use NT domain resourses for
this samba server. I can list domain users and groups with "wbinfo"
command from but "getent passwd" lists only the local users. Does anyone
know where can be the problem?

Thanks

Vasek

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

Ganguly, Sapan

unread,
Dec 17, 2003, 11:40:15 AM12/17/03
to

Did you remember to edit /etc/nsswitch.conf, I always forget that.

passwd: files winbind
shadow: files
group: files winbind

Ganguly, Sapan

unread,
Dec 17, 2003, 12:20:22 PM12/17/03
to

Try putting -

winbind use default domain = yes

In your smb.conf


-----Original Message-----
From: VU...@cz.soluziona.com [mailto:VU...@cz.soluziona.com]

Sent: 17 December 2003 16:51
To: Ganguly, Sapan
Subject: Odp: RE: [Samba] "getent passwd" doesn't list domain users


Yes I did. I edited pam.d/login and system-auth, as well.

any other idea? I'll appreciate all of them.......

V.


"Ganguly, Sapan "
<Sapan.Ganguly@th
alesgroup.com> Komu
"'VU...@cz.soluziona.com'"
17.12.2003 17:30 <VU...@cz.soluziona.com>,
"'sa...@lists.samba.org'"
<sa...@lists.samba.org>
Kopie

Předmět
RE: [Samba] "getent passwd"

Joe Blow

unread,
Dec 17, 2003, 12:30:54 PM12/17/03
to
--- "Ganguly, Sapan " <Sapan....@thalesgroup.com>
wrote:

>
>
> Try putting -
>
> winbind use default domain = yes
>
> In your smb.conf
>
>

Also, make sure all your symlinks are good especially
the ones in /lib.

For example:

lrwxrwxrwx 1 root root 19 2003-12-01
17:48 libnss_winbind.so -> libnss_winbind.so.2
lrwxrwxrwx 1 root root 32 2003-12-01
17:48 libnss_winbind.so.2 ->
/usr/local/lib/libnss_winbind.so

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

VU...@cz.soluziona.com

unread,
Dec 17, 2003, 12:50:09 PM12/17/03
to

Yes both of those thinks are probably ok.

I've just one link, but it should be enought
:
.......lrwxrwxrwx 1 root root 17 Nov 5 12:04
/lib/libnss_winbind.so.2 -> libnss_winbind.so

in a log "log.mycomputer" where mycomputer is a machine from which I'm
trying access the samba server via srvmgr is a following record

......[2003/12/17 16:27:57, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [VUlik] -> [VUlik]
FAILED with error NT_STATUS_NO_SUCH_USER


and there is my smb.conf

[global]
dos charset = UTF-8
display charset = UTF-8
workgroup = MYDOMAIN
server string = Backup Server
interfaces = eth0, 172.17.1.x/24
security = DOMAIN
auth methods = guest, sam, winbind
obey pam restrictions = Yes
passdb backend = tdbsam:/usr/local/samba/private/passdb.tdb, \
smbpasswd:/usr/local/samba/private/smbpasswd
log level = 3
log file = /var/log/samba/log.%m
name resolve order = hosts lmhosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
add machine script = /usr/sbin/useradd -n -d /dev/null -c -s
/bin/false -M %u
os level = 0
preferred master = No
local master = No
domain master = No
wins server = 172.17.1.x
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind cache time = 15
winbind use default domain = Yes
admin users = root, MYDOMAIN\vulik

I'm really helpless



Joe Blow
<sambaigen2004@ya
hoo.com> Komu
Odeslal: sa...@lists.samba.org
samba-bounces+vul Kopie
ik=cz.soluziona.c
o...@lists.samba.or Předmět
g RE: RE: [Samba] "getent passwd"

doesn't list domain users

17.12.2003 18:27

Ganguly, Sapan

unread,
Dec 17, 2003, 1:20:08 PM12/17/03
to

Try putting both links in anyway, it says you have to in the HOWTO.

-----Original Message-----
From: VU...@cz.soluziona.com [mailto:VU...@cz.soluziona.com]

0 new messages