[Fedora-directory-users] Re: Trouble Populating FDS with PDC Entry
Craig White
craigwhite at azapple.com
Wed Mar 15 18:19:48 UTC 2006
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
More information about the Fedora-directory-users
mailing list