[Samba]Winbind and RH7.2

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Tue Jan 29 08:09:12 GMT 2002


Hi Piotr,
I don't see anything wrong with your config;
with a log level = 10 ,you should have a pretty substantial
/var/log/samba/log.winbindd;
you should be able to look at that after your wbinfo -u and get a hint as to
whats going wrong...
Note that wbinfo -m comming back to the prompt without information is not
unusual, esp. if the domain you have joined HAS no trusts established with
any other domains....
Hope this helps,
Don
-----Original Message-----
From: Piotr Paszynski [mailto:Safon at jedynka.com.pl]
Sent: Tuesday, January 29, 2002 7:39 AM
To: samba at lists.samba.org
Subject: [Samba]Winbind and RH7.2


Hi,

Ive Samba 2.2.2 installed on RH7.2.
Ive copied all the correct links across and edited my smb.conf file to
include the following:
-----------------------
[global]
winbind separator = +
winbind uid = 20001-30000
winbind gid = 20001-30000
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
template homedir = /home/winnt/%D/%U

workgroup = DWU
server string = Samba GIMLI Server
security = domain
password server = DROMADER
encrypt passwords = yes
wins support = no
wins server = 192.168.10.2
domain logons = no
preferred master = no
local master = no
netbios name = gimli
domain master = no
log file = /var/log/samba/log.%m
max log size = 5000
nt pipe support = yes
log level = 10

[homes]
comment = home
browseable = no
writable = yes
------------------------
In /etc/nsswitch.conf put the following:

passwd:     files winbind nisplus
shadow:     files winbind nisplus
group:      files winbind nisplus

Also adding the following to '/etc/pam.d/system-auth'

auth       sufficient   /lib/security/pam_winbind.so use_first_pass
after the line which reads
auth       sufficient    /lib/security/pam_unix.so likeauth nullok

My '/etc/pam.d/samba'

auth requisite /lib/security/pam_securetty.so
auth requisite pam_nologin.so
auth optional  pam_env.so
auth sufficient     pam_winbind.so
auth sufficient     pam_pwdb.so    shadow nullok use_first_pass
account   sufficient     pam_winbind.so
account   required  pam_pwdb.so    shadow nullok
session required        /lib/security/pam_mkhomedir.so
session   required  pam_pwdb.so    shadow nullok
session   optional  pam_lastlog.so
session   optional  pam_mail.so
session   optional  pam_motd.so
password  required  pam_pwdb.so    shadow nullok
--------------------------------------------------------------------

then I ran:

smbpasswd -j DWU -r DROMADER -U admin
password: password

That got accepted into the domain: joined domain DWU

I then started winbindd and checked the output of 'wbinfo -t'
which ouputed: secret is o.k
I then ran :

wbinfo -u
Error looking up domain users

Also if I run wbinfo -m
It just takes me back to the prompt.

What doing???

--
Piotr Paszyński


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list