Hi

Nobody.....
Has anybody have any ideas what is going on here?

Regards,
Gerhard

On Sat, May 3, 2008 at 11:46 AM, Buggy Code <[EMAIL PROTECTED]> wrote:
> Hi
>
>  Is seems that if I manually create an alias object ldif and add a
>  extensibleObject class so that I can use a uid attribute, the alias
>  works.
>
>  I fiddled with the add function code in server_fuctions.php to
>  printout the contents of the array - ie - what phpldapadmin wants to
>  add using ldapadd function, and found something equivalent to the
>  following:
>  dn: uid=alias,ou=tests,dc=testdomain,dc=com
>  objectclass: top
>  objectclass: alias
>  aliasedObjectName: uid=testent,ou=people,dc=testdomain,dc=com
>
>  That failed with error 0x40(LDAP_NAMING_VIOLATION)
>
>  However I made the following changes
>  dn: uid=alias,ou=tests,dc=testdomain,dc=com
>  objectclass: top
>  objectclass: alias
>  objectclass: extensibleObject
>  uid: alias
>  aliasedObjectName: uid=testent,ou=people,dc=testdomain,dc=com
>
>  It works if I imported!
>  I have just started to look at the phpldapadmin code - Not sure how it
>  construct the entry array just yet to....
>
>  Regards,
>  Gerhard
>
>
>
>  On Mon, Apr 28, 2008 at 3:45 PM, Gerhard (GMAIL) <[EMAIL PROTECTED]> wrote:
>  > Hi
>  >
>  >  Sorry, I  just saw the email amongst a large amount of others....
>  >  I use alias objects as I have multiple branches of people and a cvs server
>  > authentication base is set to one which a particular user is not in -
>  > confusing...
>  >  For eg,
>  >  Some server are locked into ou=org1 and the person is in ou=org2.  I do 
> not
>  > want to exposed these sever to anything but org1 however there are people 
> in
>  > org2 that need access to org1.  So I created a alias object in org1.
>  > Problem solved.  There probably is a better way of doing this such as a
>  > referral object.
>  >
>  >  However, I manage to get the alias object working once in phpldapadmin
>  > (could have been an older version, I cannot recall).  I cannot not get them
>  > to work now.
>  >
>  >  I provide the ldif of the original object and the alias that works - (with
>  > some minor mods to remove names)
>  >
>  >  Main Entry:
>  >
>  >  dn: cn=John Smith,ou=people,ou=nz,dc=company,dc=com
>  >  givenName: John
>  >  sn: Smith
>  >  cn: John Smith
>  >  uid: jsmith
>  >  userPassword:: XXXXXXXXXXXXXXXXXXXXXXXX
>  >  uidNumber: 1470
>  >  gidNumber: 50
>  >  objectClass: inetOrgPerson
>  >  objectClass: posixAccount
>  >  objectClass: top
>  >  structuralObjectClass: inetOrgPerson
>  >  entryUUID: c0a71cc2-a3a7-102c-9802-4313110fec2a
>  >  creatorsName: cn=admin,dc=company,dc=com
>  >  createTimestamp: 20080421043253Z
>  >  homeDirectory: /home/users/jsmith
>  >  loginShell: /bin/bash
>  >  entryCSN: 20080423025943Z#000000#00#000000
>  >  modifiersName: cn=admin,dc=company,dc=com
>  >  modifyTimestamp: 20080423025943Z
>  >
>  >
>  >  Working Alias:
>  >
>  >  dn: uid=jsmith,ou=people,ou=au,dc=company,dc=com
>  >  objectClass: alias
>  >  objectClass: extensibleObject
>  >  objectClass: top
>  >  uid: swilson
>  >  structuralObjectClass: alias
>  >  entryUUID: 72775a32-0427-102c-9401-e39521d974c5
>  >  creatorsName: cn=admin,dc=printsoft,dc=com
>  >  createTimestamp: 20071001050352Z
>  >  aliasedObjectName: uid=jsmith,ou=people,ou=nz,dc=company,dc=com
>  >  entryCSN: 20071001050406Z#000000#00#000000
>  >  modifiersName: cn=admin,dc=company,,dc=com
>  >  modifyTimestamp: 20071001050406Z
>  >
>  >  The above set works
>  >
>  >  regards,
>  >  Gerhard
>  >
>  >
>  >
>  >  Deon George wrote:
>  >
>  > > Hi Gerhard,
>  > >
>  > > Gerhard (GMAIL) wrote:
>  > >
>  > >
>  > > > I seem to be having trouble adding a alias objects.
>  > > >
>  > > >
>  > > Can you provide an LDIF of a good aliased object (I dont use them), and
>  > I'll see what is going on...
>  > >
>  > > ...deon
>  > >
>  > > -------------------------------------------------------------------------
>  > > This SF.net email is sponsored by: Microsoft
>  > > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  > > _______________________________________________
>  > > phpldapadmin-users mailing list
>  > > [email protected]
>  > > https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>  > >
>  > >
>  > >
>  >
>  >
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to