LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-06-2011, 01:24 PM   #1
michzap
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
SAMBA moving user accounts from tdbsam to LDAP on new server


Hi everyone

I'm trying to move whole SAMBA domain from one machine (old) to the second (new one). Old machine has tdbsam backend and new would accomodate LDAP SAMBA accounts. New sever is SLES 11. LDAP was installed with standard settings, SAMBA was installed and configured. LDAP by default is creating, among others, two ou: people (for users) and group (for groups). I copied Linux users from old machine to new, and on new server users are also held in LDAP.
In SAMBA there are three settings connected with LDAP: ldap group suffix, ldap user suffix and ldap machine suffix. I set it to:
ldap group suffix = ou=SambaGroup
ldap user suffix = ou=SambaUsers
ldap machine suffix = ou=SambaComputers

In SAMBA moving user accounts between backends are by using pdbedit utility. So I used it. And what happend: user accounts were imported not into ou=SambaUsers as I expected. In ou=people standard Linux accounts (imported earlier) were upgraded into Samba accounts ! And of course machine accounts also were imported there. So ou=SambaUsers and ou=SambaComputers are empty. And new accounts added on new machine are created as smb.conf said: in ou=SambaUsers and ou=SambaComputers... So it's becoming a little bit messy..

Is this a normal behaviour ? I simply wanted to have Posix accounts in oueople and SAMBA accounts in ou=SambaUsers. Is it possible ? Or I made something (mean importing things from old machine) in wrong sequence ??

Michal
 
  


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
Moving of user accounts from one server to other zealkabi Linux - Enterprise 2 06-16-2006 02:02 AM
Moving profile data between user accounts =dn Linux - General 2 02-19-2006 11:19 PM
moving user accounts gurra Linux - Security 1 11-25-2003 09:14 AM
moving user accounts to an NFS server esteeven Linux - Networking 1 08-28-2003 09:21 PM
moving user accounts to an NFS server esteeven Linux - Networking 3 08-28-2003 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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