[Samba] yet another wbinfo & getent problem

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


Hello,

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 
accordingly.
(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.

Regards,
Pierig


/etc/nsswitch.conf:

passwd:     files winbind
shadow:     files
group:      files winbind

/etc/pam.d/authconfig:
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 
nullok
account    required     /lib/security/pam_winbind.so

/etc/pam.d/login:

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

/etc/pam.d/samba:

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

/etc/samba/smb.conf
[global]
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 = 172.25.1.9
idmap uid = 10000-20000
idmap gid = 10000-20000





More information about the samba mailing list