LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2012, 03:18 PM   #1
butch601
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
samba/ldap issue sambasid attribute type undefined


Hello Everybody,
For some reason we can not replicate the existing ldap to a second server. The error that we are seeing is the 'sambasid attribute type undefined'.
It was actually working, it stopped and we don't know why.
If somebody has any suggestions we'd appreciate it

thanks,
Butch
 
Old 05-12-2012, 10:28 PM   #2
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by butch601 View Post
Hello Everybody,
For some reason we can not replicate the existing ldap to a second server. The error that we are seeing is the 'sambasid attribute type undefined'.
It was actually working, it stopped and we don't know why.
If somebody has any suggestions we'd appreciate it

thanks,
Butch
So sambasid is an attirbute in your samba schema (should be in /etc/openldap/schema/ by default [or another dir if specified in your slapd.conf]... check your samba.schema on each server and make sure they match. Something like:
Code:
dn: sambaDomainName=myserver,ou=samba,dc=example,dc=com
objectClass: sambaDomain
sambaDomainName: myserver
sambaSID: S-1-0-0
Then when you bring up regular user entries from your db you should have something that matches that sambaSID format (except for the last digits):
Code:
objectClass: sambaSamAccount
sambaAcctFlags: [U          ]
sambaLMPassword: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sambaNTPassword: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
sambaSID: S-1-0-0-28976
For more examples you can check out the examples/LDAP/samba.schema in the Samba source distribution, or at /usr/share/doc/samba-ver/LDAP/samba.schema

Last edited by djsoundfx; 05-12-2012 at 10:30 PM.
 
  


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
PhP & Ldap : Undefined attribute type jonaskellens Linux - Newbie 3 03-24-2011 04:28 AM
find root user by sambaSID in the ldap database southhoenir Linux - Software 6 12-03-2009 04:31 AM
ldap_add: Undefined attribute type (17) additional info: ojectclass: attribute type vinaytp Linux - Newbie 2 05-28-2009 04:57 AM
samba4: LDAP memberOf: attribute type undefined touzeaud Linux - Server 10 04-13-2009 07:03 PM
OpenLDAP error ldapadd: Undefined attribute type (17) gergaholic Linux - Server 2 11-11-2007 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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