Search Results

Search: Posts Made By: vanloonmichel
49,189
Posted By vanloonmichel
Connection made... and now?
Hi with the following command I can make a connection:

ldapsearch -x -h domain -D username -w password -b "dc=example,dc=nl"
This gives me acces to the ldap server

If I give the command
...
49,189
Posted By vanloonmichel
no succes with IP address
Hi,

With the ip address i get the same error!!

Regards,

Michel
49,189
Posted By vanloonmichel
Hostname not working Ip does
Hi

when I give the command telnet ip-address ldap it does work (hostname does not)

Suppose a want to find the full name for the user mloon... what command do i need to give?

Thanks,
...
49,189
Posted By vanloonmichel
ldapsearch (Can't contact ldap server)
Hi,

Can somebody help me with ldapsearch? I am a newbie with linux and trying to do a ldapquery to resolve a full name from Active Directory?

When i give the command ldapsearch -h sso541885...
12,634
Posted By vanloonmichel
Working
Thanks... I have everything working at the moment!
12,634
Posted By vanloonmichel
To Soon
I was to quick with my response... I do have a minor problem.. I am getting the command not Found. This is the trace of the code

++ USERID=5003
echo $LINE | cut -f3 -d\|
+++ echo '|#5003' '|'...
12,634
Posted By vanloonmichel
Works
That works... thanks again!! you are a lifesaver
12,634
Posted By vanloonmichel
no bc package installed
Hi,

I quick search on the internet gives that on REDHAT 7.1 the bc package is not installed by default. This could be the cause that bc is not working for me. I am not allowed to install this...
12,634
Posted By vanloonmichel
Version
Linux Version 2.4.20-28.5505.EMC
(gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98))
12,634
Posted By vanloonmichel
Locate bc
bc is not located in the usr/bin folder. Is there an easy way to locate the command so I can put it in the path?
12,634
Posted By vanloonmichel
bc | command not found
Hi when i use w3=$( echo "scale=6; ( $w1 / $w2 ) * 100" | bc )

I get the error Command not found
12,634
Posted By vanloonmichel
Round with division command
Hi I want to create a list of percentages but the shell script is bugging me.

If if I want to resolve the percentage of the quota used I get 0 because the schell script rounds by default.
...
35,075
Posted By vanloonmichel
Thanks
Thanks for your help. I understand now!!
35,075
Posted By vanloonmichel
It works
It works!! Can u explain to me what u have done so can actually understand it?
35,075
Posted By vanloonmichel
This gives the same result!! When I look at the...
This gives the same result!! When I look at the fgrep command it looks like the script puts a space behind is.

this is what is searches for fgrep '5005 ' userlist.txt
35,075
Posted By vanloonmichel
:5005:
This one exists in userlist.txt file!!
35,075
Posted By vanloonmichel
one step further
Now I get the following output

fgrep \:"$USERID"\: /home/nasadmin/quotas_michel/userlist.txt
+++ fgrep ':5005 :' /home/nasadmin/quotas_michel/userlist.txt
++ UTEMP=
++ ECHO

For some reason...
35,075
Posted By vanloonmichel
trace
#-------------------------------------------------------------------------------------------
NAS_DB=/nas
++ NAS_DB=/nas
NAS_BIN=${NAS_DB}/bin
++ NAS_BIN=/nas/bin
NAS_SBIN=${NAS_DB}/sbin
++...
35,075
Posted By vanloonmichel
Trace?
Do you meen this with trace?

[nasadmin@ns600cs_kk4 quotas_michel]$ ./quota.sh
fgrep: for: No such file or directory
fgrep: user: No such file or directory
fgrep: quotas: No such file or...
35,075
Posted By vanloonmichel
Removing double quotes loses my variable
If I remove the double quotes I lose the variable.. then the error becomes "fgrep: :: No such file or directory"
35,075
Posted By vanloonmichel
Keep getting error "No such file or directory"
Hi,

When I try to run this script I keep getting the error "/quota.sh: fgrep 5162 /home/nasadmin/quotas_michel/userlist.txt: No such file or directory" but when i run this command typed in I do...
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy