To everyone who ever gave up on RedHat when they got:
wbinfo -t - Failed...
Well I am here to tell you i HAVE SUCCEEDED and am currently looking for anything that might go wrong...
Here is how i did it.
PS. I have and win2k and active directory going - SO HA
How to authenticate windows users on Fedora Core 2
This is how I manage to authenticate windows users on Fedora Core 2.
This is what I’m currently using: Fedora Core 2
I installed: Samba-client-3.0.3-5, Samba-3.0.3-5, Samba-common-3.0.3-5. Winbind is automatically installed with these packages.
I made the following changes in my smb.conf file:
[Global]
workgroup = “DomainName”
netbios name = “Name”
log file = /var/log/samba/%m.log
max log size = 50
security = server
password server = *
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *password:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = eth0
local master = no
domain master = no
preferred master = no
name resolve order = dns host lmhosts bcast
wins server = “IP.ADDRESS”
preserve case = yes
short preserve case = yes
default case = lower
case sensitive = no
allow trusted domains = yes
#=============== Share Definitions ====================
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind cache time = 15
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = yes
[Homes]
comment = Home Directories
browseable = yes
writeable = yes
valid users = %S
create mode = 0775
That is it on the RedHat box now comes the part that everybody leaves out – STUPID
Make sure you do have the following available to you.
DHCP, WINS, DNS (I have these things installed onto one Win2k + Small business server machine)
<START><Programs><Administrative Tools>
DHCP **Active**
DNS: Forward and Reverse Lookup Zones (Folders)
WINS: Active Registrations Replication Partners (Folders)
Now when that is all done and dandy on the RedHat box do the following:
Service smb status – It must be stopped if not stop it.
Service winbind status - It must be stopped if not stop it.
Net rpc join –S “Servername.Domain” –U Administrator
Password: **********
It sould say you have joined your domain
Now start your smb and winbind services
Wbinfo –t – Checking the trust secret via RPC calls succeeded
Wbinfo –u – List of users on server
Wbinfo –g – List of groups on server
There you have it and if this does not work for you I WILL EAT MY SHOES unless you made a dumb mistake.
HAVE FUN EVERYONE :lol: