Re: [LDAPsh-devel] Cannot get apply to work
Status: Beta
Brought to you by:
rcorvalan
|
From: Ski K. <kac...@co...> - 2005-04-07 21:04:08
|
Rafael,
That doesn't help. Now I cannot even do the ls uid=ski* (this used to
work before). BTW, I am running debian sarge on a 2.6 kernel. I did
have psh installed.
ski@apple:~$ ldapsh
[LDAP @ ] > laptop
Password > ********
[LDAP @ localhost] dc=nsd,dc=org > cd ou=people
[LDAP @ localhost] ou=people,dc=nsd,dc=org > ls uid=ski*
uid=ski
uid=ski1
-----
2 entries found.
[LDAP @ localhost] ou=people,dc=nsd,dc=org > apply {$_->attributes}
Can't use string ("{->attributes}") as a subroutine ref while "strict
refs" in use at /usr/local/bin/ldapsh line 2538, <DATA> line 283.
[LDAP @ localhost] ou=people,dc=nsd,dc=org > quit
ski@apple:~$ export LDAPSH_PARSER=ldapsh
ski@apple:~$ ldapsh
[LDAP @ ] > laptop
Password > ********
[LDAP @ localhost] dc=nsd,dc=org > cd ou=people
[LDAP @ localhost] ou=people,dc=nsd,dc=org > ls uid=ski*
syntax error at (eval 25) line 2, at EOF
If I remove psh, I get the same error. Thanks for your time in helping
me to debug this.
cheers,
ski
Rco Mli wrote:
> Hello Ski,
>
> I suspect a conflict with psh. Have you psh? If so, can you try running ldapsh with psh deactivated (set env variable LDAPSH_PARSER to ldapsh)?
>
> If this works, my suggestion depend on whether you WANT use Psh or not. I don't. By the way, let me know the result of this and then we can go further.
>
> Cheers,
>
> Rafael
>
> -----Original Message-----
>
>>De: Ski Kacoroski <kac...@co...>
>>A: lda...@li...
>>Sujet: [LDAPsh-devel] Cannot get apply to work
>>Date: Mon, 04 Apr 2005 17:01:44 -0700
>>
>>Attached is a listing of what happens.
>>
>>ski@apple:~$ ldapsh
>>[LDAP @ ] > laptop
>>Password > ********
>>[LDAP @ localhost] dc=nsd,dc=org > cd ou=people
>>[LDAP @ localhost] ou=people,dc=nsd,dc=org > ls uid=ski*
>>uid=ski
>>uid=ski1
>>-----
>>2 entries found.
>>[LDAP @ localhost] ou=people,dc=nsd,dc=org > nbentries
>>2
>>[LDAP @ localhost] ou=people,dc=nsd,dc=org > apply {$_->attributes}
>>Can't use string ("{->attributes}") as a subroutine ref while "strict
>>refs" in use at /
>>LDAP @ localhost] ou=people,dc=nsd,dc=org > version
>>LDAP Shell (ldapsh) by Rafael Corvalan, Peder O. Klingenberg
>>CVS File ID: $Id: ldapsh,v 1.40 2003/12/23 10:46:45 rcorvalan
>>Shell release: 0.9.4pre1
>>http://ldapsh.sourceforge.net/
>>
>>
>>
>>Thanks for your help.
>>
>>cheers,
>>
>>ski
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>LDAPsh-devel mailing list
>>LDA...@li...
>>https://lists.sourceforge.net/lists/listinfo/ldapsh-devel
>>
>>
>
>
> -------------------------------------------------------------
> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
> Web/Wap : www.netcourrier.com
> Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
> Minitel: 3615 NETCOURRIER (0,16 € TTC/min)
>
>
>
>
--
"When we try to pick out anything by itself, we find it
connected to the entire universe" John Muir
Chris "Ski" Kacoroski, kac...@co..., 425-681-0092
|