Tugger the SLUGger!SLUG Mailing List Archives

Re: WAS: RE: [SLUG] Invalid credentials error code 49


On Fri Apr 21, 2006 at 20:24:10 +1000, Philip Greggs wrote:
>> >
>> > In Fedora 1, 2, 3, 4, and 5 it is in /etc/openldap/ldap.conf.
>> >
>> > My ldap.conf
>> > #cat /etc/openldap/ldap.conf
>> > HOST ldap.example.com.ex
>> > BASE dc=example,dc=com,dc=ex
>> You may also test a similar setup using Public LDAP Servers in your
>> 'ldap.conf'.
>>
>> For example, you may try this in your ldap.conf
>> HOST ldap.baylor.edu
>> BASE o=Baylor University,c=US
>>
>> and then do,
>>
>> $ldapsearch -x
>>
>> Or
>> HOST directory.monash.edu.au
>> BASE o=Monash University,c=AU
>> and then do,
>>
>> $ldapsearch -x
>>
>
>Makes sense.
>
>One more question. How can individual users without superuser access
>change the LDAP HOST server and/or BASE filter ? Tried this but no
>joy:
>
>$export HOST="ldap.myserver.com"
>$ldapsearch -x
>
>One moment a user wants to access Baylor U and another time
>Monash U but SysAdmin is out to lunch.  Is this possible ?
>

From the man page:

       -H ldapuri
              Specify URI(s) referring to the ldap server(s).

       -h ldaphost
              Specify an alternate host on which the ldap server  is  running.
              Deprecated in favor of -H.

       -p ldapport
              Specify  an  alternate TCP port where the ldap server is listen-
              ing.  Deprecated in favor of -H.

hth,

Benno