Domain users not listed in getent passwd.Only local posix users displayed.
My Configurations:
smb.conf:
/etc/pam.d/login
but
what missing here?
My Configurations:
smb.conf:
Code:
#======================= Global Settings =====================================
[global]
workgroup = EXAMPLESERVER
realm=EXAMPLESERVER.COM
server string = OUR Server
security = ads
allow trusted domains =Yes
log file = /var/log/samba/log.%m
max log size = 1024
log level = 10
dns proxy = No
wins server = XXX.XXX.X.X
ldap ssl = no
idmap backend = ad
#idmap uid = 10000-20000
#idmap gid = 10000-20000
idmap uid = 12000
idmap gid = 3000-3500
#idmap uid = 16777216-33554431
#idmap gid = 16777216-33554431
template shell = /bin/bash
winbind use default domain = Yes
remote announce =255.255.255.0/EXAMPLESERVER
#client use spnego = yes
password server = XXX.XXX.X.X
auth methods = winbind
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = no
#winbind nss info = sfu
encrypt passwords = yes
#============================ Share Definitions ==============================
[poorani]
comment = poorani Share
path=/tank/poorani-share
valid users = DOMAINSERVER+poorani, DOMAINSERVER+preethi,DOMAINSERVER+annapoorani
writable = yes
create mask = 0775
[B]KRB5.CONF[/B]
[libdefaults]
default_realm = EXAMPLESERVER.COM
dns_lookup_realm=false
dns_lookup_kdc=false
ticket_lifetime=24h
forwardable=yes
krb4_config = /usr/kerberos/lib/krb.conf
krb4_realms = /usr/kerberos/lib/krb.realms
[realms]
EXAMPLESERVER.COM= {
kdc = XXX.XXX.X.XX
}
[domain_realm]
.exampleserver.com = EXAMPLESERVER.COM
.exampleserver=EXAMPLESERVER
exampleserver=EXAMPLESERVER
*************************************
Code:
# auth
auth sufficient pam_self.so no_warn
auth include system
auth sufficient /usr/local/lib/pam_winbind.so
# account
account requisite pam_securetty.so
account required pam_nologin.so
account include system
account sufficient /usr/local/lib/pam_winbind.so
# session
session include system
# password
password include system
***********************
wbinfo -u,wbinfo -g
display domain users and groupsbut
getent passwd
wontwhat missing here?