Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This is easily the most helpful website I've ever used, and this is the best forum with the quickest response time bar none...."

Geography

Where in the world do Tek-Tips members come from?
roycrom (Programmer)
18 Sep 07 5:07
Hi I have a rhel4 es running on x86_64 with samba-3.0.25b.  I am also using winbind.

I have joined my samba box to the AD domain without a problem.  I can wbinfo -u, -g, -m, -t succesfully.  I can getent passwd and group.  I can log in as an AD user and chhange permissions to AD users and groups on files and folders.

My AD domain has a two way trust with my NT4 domain.

I can su to a NT4 user and AD user as root on the samba box.

From the login prompt I can login to an AD user by supplying username and password - the only thing I can not do is login as an NT4 user without su'ing from root.  The problem seems to be with authentication.

I joined the domain using 'net ads join'.

my smb.conf
[global]
   workgroup = AD
   realm = AD.FOOBAR.COM
   netbios name = RHELSAMBA
   server string = Samba TEST server
   interfaces = eth0
   security = ads
   password server = AD_DC
   client NTLMv2 auth = Yes
   client lanman auth = No
   client plaintext auth = No
   log level = 1
   log file = /var/log/samba/%m.log
   max log size = 0
   smb ports = 139
   name resolve order = wins bcast hosts
   preferred master = No
   local master = No
   domain master = No
   winbind separator = +
   dns proxy = No
   wins server = X.X.X.X
   winbind enum users = yes
   winbind enum groups = yes
   idmap uid = 10000-65000
   idmap gid = 10000-65000
   template homedir = /home/WINUsers/%D/%U
   template shell = /bin/bash
   winbind use default domain = no

When I try to log in as NT4 user the log file states

pam_winbind(su): request failed: Trusted domain failure, PAM error was System error (4), NT error was NT_STATUS_TRUSTED_DOMAIN_FAILURE

We have a load of AD users and a load of NT users and I need to be able to authenticate both lots.  Can anyone give me any pointers as to what I am doing wrong?

Many thanks

------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla

roycrom :)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close