[Samba] yet another wbinfo & getent problem

Pierig Le Saux pierig56 at yahoo.com
Fri Jun 15 15:31:21 GMT 2007


I am running a RHEL5 server as a member in a NT4 domain. I am not using 
an AD.

my nsswitch.conf and /etc/pam.d/{login,authconfig,samba} are configured 
(auth-config in RHEL4 is now renamed to authconfig on RHEL5).

My problem is that wbinfo -u & wbinfo -g work fine, but getent passwd 
only returns local linux users;

Also smbclient -L localhost -Uusers  will only work anonymously...

What could I be missing?

Here are some of my configuration files.



passwd:     files winbind
shadow:     files
group:      files winbind

auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_nologin.so
auth       sufficient   /lib/security/pam_winbind.so
auth       required     /lib/security/pam_pwdb.so use_first_pass shadow 
account    required     /lib/security/pam_winbind.so


auth        required    /lib/security/pam_securetty.so
auth        sufficient  /lib/security/pam_winbind.so
auth        sufficient  /lib/security/pam_unix.so use_first_pass
auth        required    /lib/security/pam_stack.so service=system-auth
auth        required    /lib/security/pam_nologin.so
account     sufficient  /lib/security/pam_stack.so service=system-auth
account     sufficient  /lib/security/pam_winbind.so
password    required    /lib/security/pam_stack.so service=system-auth


auth required /lib/security/pam_winbind.so
auth required /lib/security/pam_pwdb.so nullok shadow
account required /lib/security/pam_winbind.so
account required /lib/security/pam_pwdb.so
session required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth

unix charset = LOCALE
workgroup = PARDIR
security = DOMAIN
#username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 0
smb ports = 139
name resolve order = wins bcast hosts
#password server = *
netbios name = SRV-SAMBA
#printcap name = CUPS
#inherit acl = yes
#client schannel = no
nt acl support = yes
#map inherit acl = yess
inherit owner = yes
inherit permissions = yes
local master = No
os level = 33
domain master = no
preferred master = no
wins server =
idmap uid = 10000-20000
idmap gid = 10000-20000

More information about the samba mailing list