Re: Trouble Populating FDS with PDC Entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That's clearly a problem...

 ldapsearch -x -D 'cn=Directory Manager' -W '(objectclass=sambadomain)'
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectclass=sambadomain)
# requesting: ALL
#

# example, example.com
dn: sambaDomainName=example,dc=example,dc=com
sambaSID: S-1-5-21-9999999999-9999999999-9999999999
objectClass: top
objectClass: sambaDomain
objectClass: sambaunixidpool
sambaAlgorithmicRidBase: 1000
sambaDomainName: example
gidNumber: 1000
uidNumber: 1001

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Craig

On Wed, 2006-03-15 at 10:11 -0800, Mont Rothstein wrote:
> Just to clarify, if I do a ldapsearch for "objectclass=sambaDomain" I
> get nothing back.
> 
> I believe the "Already exists" is erroneous, but I don't know why.
> 
> -Mont
> 
> 
> On 3/14/06, Mont Rothstein <mont.rothstein at gmail.com> wrote:
>         I am trying to follow
>         http://directory.fedora.redhat.com/wiki/Howto:Samba and
>         running into trouble.
>         
>         I'm at the "Populating FDS with PDC Entry" section.  I get my
>         SID, and create my domainName.ldif file as sepcified (contents
>         below).
>         
>         I then run the command:
>         
>         /opt/fedora-ds/slapd-rheles4rs1/ldif2ldap "cn=Directory manager" myDMPassword /tmp/forayadams.ldif
>         What this gives me is:
>         
>         adding new entry
>         sambaDomainName=forayadams,dc=forayadams,dc=foray,dc=com
>         ldap_add: Already exists
>         
>         I can't find anything on this.
>         
>         None of the log files (admin-serv/logs/access,
>         admin-serv/logs/error, slapd-rheles4rs1/logs/access,
>         slapd-rheles4rs1/logs/errors) show anything when I issue this
>         command.
>         
>         Any ideas as to what I've done wrong?
>         
>         Thanks,
>         -Mont
>         
>         Contents of my /tmp/forayadams.ldif:
>         
>         dn: sambaDomainName=forayadams,dc=forayadams,dc=foray,dc=com
>         objectclass: sambaDomain
>         objectclass: sambaUnixIDPool
>         objectclass: top
>         sambaDomainName: forayadams
>         sambaSID: S-1-5-21-807157010-1821471989-4121009367
>         uidNumber: 550
>         gidNumber: 550
>         
>         
>         
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux