Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 5th May 2008, 08:00 AM
lau_swat Offline
Registered User
 
Join Date: Apr 2008
Posts: 8
Hi again, I tried many times to make it work, but it doesn't work how it should. I always use a fresh install because I use a virtual machine and I just copy it. I'll upgrade my FDS today and let you know if I succeed.

Regards, Laurentiu
Reply With Quote
  #17  
Old 5th May 2008, 09:12 AM
lau_swat Offline
Registered User
 
Join Date: Apr 2008
Posts: 8
I tried to install FDS 1.1 as shown here http://directory.fedoraproject.org/wiki/Download , I use CentOS 5, but when I issue the command yum install fedora-ds it says the following:

[root@server yum.repos.d]# yum install fedora-ds
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
http://directory.fedoraproject.org/y...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: dirsrv-noarch

I followed exactly the steps from that link but I cannot do anything if the mirror is not available. What can I do? Please help because I'm going crazy.

Regards, Laurentiu
Reply With Quote
  #18  
Old 5th May 2008, 12:25 PM
lau_swat Offline
Registered User
 
Join Date: Apr 2008
Posts: 8
I'm using FDS 1.1 now, I did everything as it was in the tutorial and after I issue: /usr/lib/dirsrv/slapd-<server>/ldif2ldap "cn=Directory manager" password /tmp/sambaAdmin.ldif it enters the Administrator at ou=People and I can see it in the directory server, but when I do: smbpasswd -a Administrator it says:Failed to modify password entry for user Administrator. If I issue pdbedit -v -u Administrator it still says Username not found! Where did I do wrong.

PS Do I have to install openldap too?

Regards, Laurentiu
Reply With Quote
  #19  
Old 5th May 2008, 08:09 PM
redcap Offline
Registered User
 
Join Date: Apr 2008
Posts: 9
console's up. I'm starting on part 2. Thanks for the help
Reply With Quote
  #20  
Old 5th May 2008, 08:16 PM
lau_swat Offline
Registered User
 
Join Date: Apr 2008
Posts: 8
It still doesn't work for me, I tried like a hundred times but nothing. Still no username found when I issue pdbedit -v -u Administrator. (
Reply With Quote
  #21  
Old 7th May 2008, 06:55 PM
redcap Offline
Registered User
 
Join Date: Apr 2008
Posts: 9
Hey lau,
Finally caught up with you, and i had the same issue. Try adding an Administrator user straight into you r users and groups utility then running the smbpasswd -a
Reply With Quote
  #22  
Old 7th May 2008, 08:15 PM
redcap Offline
Registered User
 
Join Date: Apr 2008
Posts: 9
Back to whining about my own problems. I'm trying to get the scripts for adding users and machines to work. I ended up entering the lines to the machine script by hand to see where my problem was and found that the line /usr/share/openldap/migration/migrate_passwd.pl ./newMachine.tmp > ./newMachine.ldif did indeed create an ldif file called newMachine.ldif, but it was completely blank.

Since this command worked with the sambaAdmin file the only difference that I call tell is that I did not create the newMachine.tmp from hand before trying to convert it to an ldif. So here is the newMachine.tmp file:

fdsserver$:x:502:100:Workstation (fdsserver$):/nohome:/bin/false

Does this look right? Any idea why it won't convert to ldif?
Reply With Quote
  #23  
Old 8th May 2008, 01:18 PM
lau_swat Offline
Registered User
 
Join Date: Apr 2008
Posts: 8
@redcap Did you managed to solve the problem with the Administrator, I mean if you issue pdbedit -v -u Administrator it returns the info's about the user or Username not found!

Regards, Laurentiu
Reply With Quote
  #24  
Old 8th May 2008, 03:03 PM
redcap Offline
Registered User
 
Join Date: Apr 2008
Posts: 9
Create the samba admin file. Then follow the how-to as far as creating the ldif and adding to FDS. Then I ran into the same issues as you. Here's how I got around it. Create a user called Administrator in your machine with useradd or or use the "Users and Groups" utility in the gui, then do the smbpasswd -a command. When you do the pdbedit substitute the $(net getlocalsid | sed 's/SID for domain SEAGOON is: //') with the actual sid you want to use. That worked for me.
Reply With Quote
  #25  
Old 16th May 2008, 02:57 AM
barry905 Offline
Registered User
 
Join Date: Jul 2007
Posts: 115
redcap:

I just had a look at your penultimate message, and as far as I can see your newMachine,tmp file looks perfect. What the script attempts to do is to create a machine account (just a regular account, but one that ends with a $), and then extract the line listing that account from the passwd file. As you are getting a blank tmp file you should check to make sure that you really have added the machine account to the passwd file. And I have no idea why that file won't convert to an ldif. You might try comparing the file with the one you created for the Administrator account.

Laurentiu:

I have just created a new user (tester) and added it to my directory. I used the script I listed above. Everything worked, or at least seemed to. To check I first opened the console and checked in the directory server to make sure that I could see it. To do this I opened the Admin Server, then the Directory Server itself. Then I went to the 'DIrectory' tab, and under that looked under the "home" listing in the 'People' ou. And sure enough, there was the tester user.

So next I checked to see it I could access the user from outside FDS. So I ran the command /usr/lib/mozldap/ldapsearch -x -b dc=home 'uid=tester', which extracted the user details from FDS. FInally I ran pdbedit -v -u tester, which again got the user details.

Maybe you would like to try that an let us know how you fare: if this works then we can look more closely at your Administrator problem.
Reply With Quote
  #26  
Old 20th May 2008, 08:53 PM
redcap Offline
Registered User
 
Join Date: Apr 2008
Posts: 9
It's up and working! One more issue and I'm good to go. When the domain user tries to change their passwords from the domain client they are logged onto, they get a message stating that they do not have permission to change their password. Any ideas what could be causing this?
Reply With Quote
  #27  
Old 22nd May 2008, 12:30 PM
V!ctor Offline
Registered User
 
Join Date: Sep 2007
Posts: 15
Hi
I have small problem ...
After install - all worked wonderful,
computers join to domain ...
but ...
wbinfo -t
checking the trust secret via RPC calls succeeded
wbinfo -u
Error looking up domain users
wbinfo -u
Error looking up domain users

have you any ideas?

Thank's
Reply With Quote
  #28  
Old 24th May 2008, 01:45 AM
theodric Offline
Registered User
 
Join Date: May 2008
Posts: 1
I realise this is probably a very noobish question, but I'm stuck here:

Now for the groups. First create a file sambaGroups which contains:

Domain Admins:x:2512:
Domain Users:x:2513:
Domain Guests:x:2514:
Domain Computers:x:2515:

Then convert it to an ldif file and add it to FDS
Q: Exactly how to I convert that to an ldif file?
I've read up on LDIFs here -> http://www.novell.com/documentation/...wenu/ldif.html but the quantity of information there has left me bewildered and in need of coffee, or perhaps even beer.

Any assistance greatly appreciated...
Reply With Quote
  #29  
Old 13th June 2008, 02:11 AM
sangamc Offline
Registered User
 
Join Date: Jun 2008
Posts: 18
Quote:
Originally Posted by V!ctor
Hi
I have small problem ...
After install - all worked wonderful,
computers join to domain ...
but ...
wbinfo -t
checking the trust secret via RPC calls succeeded
wbinfo -u
Error looking up domain users
wbinfo -u
Error looking up domain users

have you any ideas?

Thank's
i too have the same problem once the configuratioin is done. the only difference is wbinfo -g returns BUILTIN\users which is no where in my fedora directory.

on another note, does anyone have a solif method for configuring the fds dns server. it really helps alot when windows workstations are in a domain with dns configured
Reply With Quote
  #30  
Old 15th June 2008, 11:44 AM
sangamc Offline
Registered User
 
Join Date: Jun 2008
Posts: 18
can anyone expand on the instructions for setting up the DNS server? id really like to eliminate the windows pdc's in my netowrk, and this is the last thing holding me up

thx
Reply With Quote
Reply

Tags
2003, controller, domain, fds, howto, replace, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joining linux pc with FC9 to Windows Server 2003 domain & Need to Install Squid Proxy lcsfsr1 Servers & Networking 3 6th June 2008 04:28 PM
How-to Authenticate to Windows Server 2003 Domain using LDAP cbtg2006 Guides & Solutions (No Questions) 3 31st October 2006 07:22 AM
Joining Windows 2003 Domain Greta Servers & Networking 2 21st April 2006 07:15 PM
Connecting linux system to a windows 2003 domain jinugc Servers & Networking 3 21st December 2005 08:21 AM


Current GMT-time: 10:50 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat