LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-02-2005, 09:29 AM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Rep: Reputation: 17
Winbind lists AD users, but doesn't map them


Good morning
I've just added a samba file server to the W2K Domain (kinit and net ads join).
wbinfo -u lists all AD users.

The problem is that getent passwd is only retrieving the files from /etc/passwd.
As a result, when I try to access a samba share from a Windows client, the user is requested once again for his username/password, and log.smbd shows the following:

[2005/08/02 10:42:24, 1] smbd/sesssetup.c:reply_spnego_kerberos(250)
Username SRSP+henrique.hcm is invalid on this system

Being SRSP my AD domain and henrique.hcm my username.

Here's my smb.conf:

#####################################################
[global]
workgroup = SRSP
realm = SRSP.DPF
server string = Samba Test File Server
security = ADS
password server = *
allow trusted domains = No
printcap name = /etc/printcap
local master = No
encrypt passwords = yes
domain master = No
idmap uid = 10000-60000
idmap gid = 10000-60000
template homedir = /home/%U
template shell = /bin/false
winbind separator = +
winbind use default domain = Yes
winbind enum users = yes
winbind enum groups = yes
admin users = root, henrique.hcm, ronaldo.rpm
dns proxy = no
read list = @"SRSP/UsersSRSP"
write list = @"SRSP/UsersSRSP"
printing = cups
load printers = yes
valid users = @"SRSP/UsersSRSP"
[NUINF]
comment = NUINF em testfsv06
path = /home/NUINF
create mask = 0740
security mask = 0770
directory mask = 0750
directory security mask = 0770
inherit permissions = Yes
case sensitive = No
##################################################

This is my first try in configuring a samba server. I really need help with that
 
Old 08-02-2005, 01:09 PM   #2
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Original Poster
Rep: Reputation: 17
problem solved
i was missing the libnss_winbind.so.2 file
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Winbind will not authenticate new 2003 domain users kaiser.jd Linux - Networking 2 04-09-2006 08:48 PM
samba - map winbind users to nis uids and gids bkurnik Linux - Networking 0 09-20-2004 06:47 AM
cannot authenticate users in squid through winbind bahadur Linux - Networking 1 07-28-2004 06:51 PM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
authenticating windows domain users using winbind kidd Linux - Networking 2 09-24-2003 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration