LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-26-2003, 10:25 PM   #1
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Question Authenticate to 2k3 PDC with winbind


I think I've sufficiently searched this forum and other forums without finding anyone with my unigue issues. Honestly, I have no idea what these issues are, simply that they are driving me up a wall at the moment.

After a lot of tinkering and hair pulling, I've come to the following using winbind:

Mandrake 9.1
Samba 2.2.7a
2k3 Domain

~~~~~smb.conf~~~~~

[global]
workgroup = DOMAIN
netbios name = TestLinux
server string = Samba Server %v
security = domain
encrypt passwords = Yes
password server = TestPDC
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
character set = ISO8859-15
os level = 18
local master = No
dns proxy = No
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
winbind use default domain = yes

~~~~~~~~~~
root# smbpasswd -j DOMAIN -r TestPDC -U Administrator
Error connecting to TestPDC - NT_STATUS_ACCESS_DENIED
Unable to join domain DOMAIN

root# ps -ae | grep winbindd
2441 ? 00:00:00 winbindd

root# rpm -qa | grep samba
samba-client-2.2.7a-8mdk
samba-winbind-2.2.7a-8mdk
samba-common-2.2.7a-8mdk
samba-server-2.2.7a-8mdk

root# wbinfo -u
Administrator
Guest
krbtgt
SUPPORT_388945a0
#Other Misc users as well

root# wbinfo -g
Domain Admins
Domain Users
Domain Guests
Domain Computers
Domain Controllers
Schema Admins
Enterprise Admins
Group Policy Creator Owners
DnsUpdateProxy

root# wbinfo -a Domain_User
plaintext password authentication failed
error code was NT_STATUS_CANT_ACCESS_DOMAIN_INFO (0xc00000da)
Could not authenticate user Domain_User with plaintext password
challenge/response password authentication failed
error code was NT_STATUS_ACCESS_DOMAIN_INFO (0xc00000da)
Could not authenticate user Domain_User with challenge/response

root# wbinfo -p
'ping' to winbindd succeeded

root# wbinfo -t
Secret is bad
0xc00000e5

root# getent passwd
#Too much to type out, however it seems to display a list of users
#and their specific info for both my machine and for the domain.
#UIDs match what they should according to the specifications in smb.conf
#If specific lines are needed, I'll type it all/part out.

root# getent group
#Too much to type out, however it seems to display a list of groups
#and their specific info for both my machine and for the domain.
#GIDs match what they should according to the specifications in smb.conf
#If specific lines are needed, I'll type it all/part out.

~~~~~~~~~~

Tried:
root# cat /etc/passwd | /usr/bin/mksmbpasswd.sh > /etc/samba/smbpasswd
root# smbpasswd Test_User
New SMB password:
Retype new SMB password:
Password changed for Test_User.
Password changed for Test_User.

root# smbpasswd -j DOMAIN -r TestPDC -U Administrator
Error connecting to TestPDC - NT_STATUS_ACCESS_DENIED
Unable to join domain DOMAIN

Tried:
Removing "Encrypt Passwords = Yes" from smb.conf (as suggested in one forum).

root# smbpasswd -j DOMAIN -r TestPDC -U Administrator
ERROR: Must have both SECURITY = DOMAIN and ECRYPT PASSWORDS = YES!

Returned "Encrypt Passwords = Yes" to smb.conf

~~~~~~~~~~

Thanks in advance for all of your help.
 
Old 09-26-2003, 10:38 PM   #2
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Just tried:
Pre-adding TestLinux to the Computer List as a Pre-Win200 System in the "Active Directory Users and Computers"

root# smbpasswd -j DOMAIN -r TestPDC -U Administrator
Error connecting to TestPDC - NT_STATUS_ACCESS_DENIED
Unable to join domain DOMAIN

Removed TestLinux from the Computer List in the "Active Directory Users and Computers"

~~~~~~~~~~

Once again, thanks in advance for any help that you all may provide.
 
Old 09-27-2003, 05:29 PM   #3
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
With what little response that I'm getting, I'm beginning to wonder if I've stumped the experts?

Course I'll give it a little more time to completely fade away.
 
Old 09-30-2003, 10:26 PM   #4
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by VertigoRay
With what little response that I'm getting, I'm beginning to wonder if I've stumped the experts?

Course I'll give it a little more time to completely fade away.

i'v managed to have active directory users logon to my linux machine. what version of windows domains are you using?
 
Old 10-01-2003, 05:24 AM   #5
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Win2k3 (first post, line 8; also in Subject)

Last edited by VertigoRay; 10-01-2003 at 05:26 AM.
 
Old 10-01-2003, 04:22 PM   #6
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by VertigoRay
Win2k3 (first post, line 8; also in Subject)


you have to turn off smb signing. i went through the same problem. you can disable it in group policies some where under the computer policy settings, there will be two setting right next to each other. i'm not at home right now so i can't give you the exact path but i'm 100% positive that this is the answer.

good luck and let me know how ti turned out. maybe you can help me with my problem. i can't get the users to run startx. i always get an error.
 
Old 10-01-2003, 04:27 PM   #7
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
seriously try samba 3, I had a lot of unknown samba problems with a pre3 release. I upgraded and bam, everything worked.
 
Old 10-01-2003, 06:05 PM   #8
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by hakcenter
seriously try samba 3, I had a lot of unknown samba problems with a pre3 release. I upgraded and bam, everything worked.

i tried samba 3 and ran into the exact same problem. the problem lies in window security. since microsoft wants windows to be secure they have configured it to be this way. the problem with samba is that it emulates a pre-windows 2000 computer that needs netbios. microsoft is trying to due away with all operating systems that need it. so if smb signing is enabled on the post-windows DC, no 95/98/me/nt computer will be able to communicate effectively.
 
Old 10-01-2003, 06:12 PM   #9
kidd
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by VertigoRay
Win2k3 (first post, line 8; also in Subject)
on the domain controller policy,

the path to disable smb signing is computer settings, security settings, local policies, security options. there should be two settings that look like : microsoft network server: digitally sign communications.

disable those and it will work.
 
Old 10-12-2003, 06:12 PM   #10
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the reply ...

Maybe I'm not trying hard enough, but I cant seem to find where you're getting this path from. I've gone to my computer manager and can't find it. Control Panel, Network properties, etc ... can't find it. You're talking Win2k3, right?

Thanks for your help though. I seem to be stuck atm on where this is found, I'll keep digging around.
 
Old 10-12-2003, 07:06 PM   #11
azornoz
Member
 
Registered: Apr 2003
Posts: 52

Rep: Reputation: 15
just one question: do you have a domain?
Cos kidd is talking about a DC with acive directory installed.
 
Old 10-13-2003, 05:11 PM   #12
VertigoRay
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
I found it:

Administrative Tools - Default Domain Controller Security Settings - Security Settings - Local Policies - Security Options ...

Thanks. Testing now ... Everything the same except:

root# smbpasswd -j DOMAIN -r TestPDC -U Administrator
When run by root:
smbpasswd [options] [username] [password]
otherwise:
smbpasswd [options] [password]

Version: 2.2.7a
options:
(Menu ... no need to post)

The thing that bother me is:

root# wbinfo -t
Secret is bad
0xc00000e5

root# wbinfo -u
Administrator
Guest
krbtgt
SUPPORT_388945a0
#Other Misc users as well

SHOULD BE:
DOMAIN/User

root# wbinfo -g
Domain Admins
Domain Users
Domain Guests
Domain Computers
Domain Controllers
Schema Admins
Enterprise Admins
Group Policy Creator Owners
DnsUpdateProxy

SHOULD BE:
DOMAIN/Group

Am I correct in assuming these are problems?

Yes, I rebooted ...
Next step is to start over using Samba3 and possibly Mandrake 9.2

I'm lost at the moment, any more suggestions?
Am I possibly logging into the domain wrong?
How do I log into the domain? (Make sure I'm doing it right)

Thanks again for all your help.
Thanks in advance for all your help.

Last edited by VertigoRay; 10-14-2003 at 05:25 AM.
 
Old 04-28-2004, 10:00 AM   #13
over
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Question AD access without smb signing change?

Hello,

I have no chance to change the Win2000 AD settings (smb signing). We have to live with them.

Is there a other way to get access?

Its FreeBSD 4.9 with samba 3.0.3 pre2 and MIT kerberos


Thanks for help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Winbind will not authenticate new 2003 domain users kaiser.jd Linux - Networking 2 04-09-2006 08:48 PM
Samba PDC can't authenticate root account. gani Linux - Newbie 7 08-27-2004 08:20 PM
cannot authenticate users in squid through winbind bahadur Linux - Networking 1 07-28-2004 06:51 PM
Samba won't authenticate against NT PDC gvaught Linux - Networking 3 01-29-2004 03:28 PM
Authenticate to 2k3 PDC with winbind VertigoRay Linux - Software 0 09-27-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration