LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-13-2007, 08:57 AM   #1
activeq
Member
 
Registered: Jul 2006
Location: Balen, Belgium
Distribution: Suse 10, Centos, Open Solaris
Posts: 76

Rep: Reputation: 15
samba-ldap problem


I'm testing a samba setup with openldap.

I'm using the howto from Suse: http://en.opensuse.org/Howto_setup_S...1_as_Samba_PDC

I've installed Suse 10.1 and followed the howto carefully.

When I'm to the section ' net getlocalsid', I get errors:

pdb backend ldapsam:ldap://127.0.0.1 did not correctly init (error was NT_STATUS_INVALID_PARAMETER)
Warning: could not open passdb - local sid may not reflect passdb backend knowledge (such as the sid is stored in LDAP)
SID for domain xx is : S-1-5-21- blah-blah-blah


btw net rpc info gives the same SID

When i do smbpasswd -a root i get the following error:

pbd_int_ldapsam: SID ["S-1-5-21-XXXX} could not be read as a valid SID
pbd backend ldapsam: ldap://127.0.0.1 did not correctly init (error was NT_STATUS_INVALID_PARAMETER)
loading ldapsam:ldap://127.0.0.1 failed!
failed to open passdb!


I can add users to ldap and slaptest was ok too.
Only I cannot add users to smbpasswd and set the passwords.

On a Windows XP box I can connect to the domain, but cannot join the domain. (invalid username or password)


This is driving me nuts.

If you need more info like smb.conf etc I can post it if necessary.
 
Old 04-14-2007, 11:02 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well I see you've been waiting for a while now, so i'll try something that might help you out. There is a how-to on my website about setting up Samba & OpenLDAP as a PDC. you read over it and maybe there is something there that you missed out on doing in your howto that would fix your problem

http://www.opensourcehowto.org/how-t...ba-as-pdc.html
 
  


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
ldap+samba problem plz help venki Linux - Newbie 2 02-17-2007 10:01 AM
Samba and LDAP problem MarioT Linux - Networking 3 01-31-2005 07:14 AM
Samba & LDAP problem barkers Linux - Networking 8 10-06-2004 04:18 AM
Samba PDC Problem or LDAP saavik Linux - Networking 2 05-05-2003 03:58 PM
Profiles problem (samba+ldap) u4113072 Linux - Software 1 02-02-2003 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 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