LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2003, 09:04 AM   #1
klnasveschuk
Member
 
Registered: Jun 2003
Location: Plymouth, Massachusetts
Distribution: CentOS, Slackware, Redhat, Ubuntu
Posts: 52

Rep: Reputation: 15
LDAP 2.1.23 - Samba 3.0.0 - trust account problems


Hello,
I've posted this many time on the samba list server and openldap list server but I still am unable to fix this problem, so I look for clues.

PROBLEM:
I am not able joind a Windows 2000 computer to a Samba domain. I get an error message logon failure: unknown username or bad password.

WHAT DOES WORK:
Can logon to domain from a Windows 95/98 and get mapped drive to home directory, netlogon on share.

After logging into local machine on Windows 2000 computer, I can browse the network, find the domain controller where it prompts me for a username and password. It accept the password and allows me to get to the shares that are allowed for my account.

I can also change passwords.

WHAT THIS IMPLIES:
This implies that samba is communicating correctlly with the backend db. It also implies that samba is using the LDAP admin account for access to the LDAP directory correctly.

The error messages I get appears to be the result of samba mapping to the root account or the password for the root account..

The root account I use in LDAP is Administrator

# Administrator, Users, tow,net
# Administrator, Users, tow.net
dn: uid=Administrator,ou=Users,dc=tow,dc=net
cn: Administrator
sn: Administrator
objectClass: inetOrgPerson
objectClass: sambaSAMAccount
objectClass: posixAccount
gidNumber: 0
uid: Administrator
uidNumber: 0
sambaPwdLastSet: 1068814077
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 1068814077
sambaPwdMustChange: 2147483647
sambaHomePath: \\whs1\Administrator
sambaHomeDrive: H:
sambaProfilePath: \\whs1\profiles\
sambaLMPassword: E3B4E05BE6A182C9E13B8E8F6853DCAC
sambaNTPassword: F4858C7E53BB628AE91E00E9DB6CD467
sambaAcctFlags: [U ]
sambaSID: S-1-5-21-1129281578-1295143107-3311307472-1000
loginShell: /bin/bash
gecos: Netbios Domain Administrator
sambaPrimaryGroupSID: S-1-5-21-1129281578-1295143107-3311307472-1001
userPassword:: e1NNRDV9ZGpiNFo3ODQ3VFlKYWJYZEM5ZGRtSkFpMklzPQ==
homeDirectory: /root


Does anyone out ther have any clues as to why I would have a problem connecting this account?


Kent N
 
Old 11-20-2003, 10:47 PM   #2
chilinski
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 1
There was a posting on the Samba lists that said you must, Must, MUST have a samba account named root. That poster said to do:
smbpasswd -a root
and put in a password different from root's Linux password. During the procedure to join the domain you are asked for a user who has the rights to join the domain. Enter root as the user and the password you set up.

There was also a step-by-step on how to do LDAP. Here, too, you needed to have a samba user called root with a UID of 0 and a rid of 1000. This was done with a: smbldap-useradd.pl -a -P root. Then use GQ to change the rid and UID.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Am having problems creating a machine account from XP WS to Samba 3 Domain Controller robertomason Linux - Wireless Networking 3 03-13-2004 05:37 PM
samba migration trust accounts kcourser Linux - Software 1 01-13-2004 02:56 PM
LDAP Account Manager (LAM) on Redhat 9 #samba# Linux - Software 2 11-25-2003 11:33 PM
LDAP Account manager, PHP and mcrypt, and so on... HOWTO???? Satriani Linux - Software 2 11-04-2003 07:46 AM
Trust relationship using SAMBA in Redhat Linux 7.2 dibakar Linux - Networking 5 02-22-2003 01:36 PM


All times are GMT -5. The time now is 11:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration