Relevance to extarct lan domain or netbios name

(imported topic written by Darknight)

Hi All,

I have below relevance to extract the netbios name of computer :

if

(
exists

netbios domainname

of

local computer

of

active directory)

then

(netbios domainname

of

local computer

of

active directory

as

string)

else

(
“N/A”
)

i am getting error on machines where active directory is not defined , expecially on unix machines :

error : the operator ‘active directory’ is not defined

Can someone please advise how to remove this error or modify the relevance in such a way that it will first check whetehr active directory is defined on machine or not…

(imported comment written by BrianPGreen)

Try:

if (windows of operating system) then (your original relevance) else (whatever you want to run on unix)

For example:

if (windows of operating system) then (your original relevance) else computer name

(imported comment written by Darknight)

H iBrianPGreen … thanks for teh reply.

As per my knowledge there is no AD configured on any unix machine in general (correct me if i am wrong) if this is teh case then how can i retrive the netbios name of unix machine…please advise.

(imported comment written by Darknight)

Hi Brian, Can you please reply…

(imported comment written by Darknight)

Can someone please assist…

(imported comment written by jgstew)

Please see my answer here:
https://www.ibm.com/developerworks/community/forums/html/topic?id=105dbc09-ad9d-42fb-aadc-6294d605e0e8

If you are going to post the same question multiple times to different bigfix forums, please provide a link to the other posts.