LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getent passwd errors - no users added (https://www.linuxquestions.org/questions/linux-software-2/getent-passwd-errors-no-users-added-604493/)

jamiegordon 12-04-2007 02:49 PM

getent passwd errors - no users added
 
I'm running Samba version Version 3.0.25b-1.el5_1.2 on RH Enterprise Linux 5. I've configured the SMB server to get users from a Windows 2003 Server Active Directory tree. I was able to join the machine to the domain with no problem.

Here's the smb.conf

Quote:

[global]
idmap gid = 60000-90000
winbind trusted domains only = yes
encrypt passwords = yes
show add printer wizard = No
winbind use default domain = Yes
realm = <domain>
netbios name = <servername>
printing = cups
idmap uid = 10000-50000
password server = <dcname>
workgroup = <domain>
os level = 20
printcap name = cups
security = domain
winbind separator = \
disable spoolss = Yes
winbind enum groups = yes
winbind enum users = yes
My nsswitch.conf has the following;
Quote:

passwd: files winbind
shadow: files
group: files winbind

wbinfo -u and wbinfo-g work well, returning a list of users and groups. However, when I issue 'getent passwd' my winbind log
(/var/log/samba/winbindd.log) shows a long list of the following and no users are added to the passwd db;

Quote:

[2007/12/04 12:11:03, 1] nsswitch/winbindd_ads.c:query_user_list(209)
Not a user account? atype=0x30000000
Not sure where to go from here. Any help or hints would be appreciated.

Jamie

G4george 01-03-2008 09:33 AM

in your smb.conf file try setting "Security = server" instead of "domain".


All times are GMT -5. The time now is 05:14 PM.