LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-02-2004, 11:37 AM   #1
chado
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Servers: Gentoo/Centos
Posts: 45

Rep: Reputation: 15
SMB PDC + LDAP (all auth) FC2


Hello,

I have 2 machines used for this PDC + LDAP setup.

The first machine:

Fedora Core 2 all updates running LDAP (ip 192.168.1.31) ldap directory seems to work fine, I can use ldap browser and login to my directory make changes and see everything...all is pretty good.

Second Machine (trouble starts here):

Fedora Core 2 all updates running Samba 3 "supposedly" using ldap directory for unix auth as well as domain access. I am using the smbldap tools package and I can add the directory entries fine with that, but then of course they aren't in samba. So I use smbpasswd -a testuser and I get the following error (after entering the password).

[root@pdc samba]# smbpasswd -a test
New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user test. Does this user exist in the UNIX password database ?
Failed to modify password entry for user test
[root@pdc samba]#


Now I've pretty well rules out the ldap server as the problem at this point I'm sure I have something configured wrong on the PDC. If somene could be so kind as to explain this error to me and where I need to look to fix it I would be most grateful. Google searches turned up very little help regarding this error. I'd be happy to paste any files you want to see...but I want to see if anyone can explain that to me at this point.

Thanks in advance,
Chad K
Fast Computers
 
Old 11-02-2004, 06:29 PM   #2
chado
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Servers: Gentoo/Centos
Posts: 45

Original Poster
Rep: Reputation: 15
Update and new issues:

I can now login to the PDC. In order to do this I had to manually add the account using useradd and then I had to do smbpasswd. This is not good. It's supposed to create the account automatically. So my shell logins aren't being authenticated from the ldap directory. Could someone point out where I went wrong?

Chad
 
  


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
proftpd LDAP auth failing tisource Linux - Networking 1 03-30-2005 05:32 PM
Auth via LDAP on eDirectory jtweaker Linux - Networking 1 12-28-2004 08:18 AM
POP3 auth through LDAP and Mysql rajesh_r_r Linux - General 0 06-23-2004 09:15 AM
RH Auth from Win PDC sikandar Linux - Software 0 09-01-2003 11:13 AM
Ldap + smb auth PcHammer Linux - Software 0 02-17-2003 03:19 AM

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

All times are GMT -5. The time now is 08:15 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
Open Source Consulting | Domain Registration