mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
b124351079
parsing and example for resolveName().
(This used to be commit 1a4a549317
)
14 lines
194 B
JavaScript
14 lines
194 B
JavaScript
/*
|
|
Demonstrate use of resolveName() js function
|
|
*/
|
|
|
|
var result = new Object();
|
|
|
|
res = resolveName(result, ARGV[0]);
|
|
|
|
if (res.is_ok) {
|
|
println(result.value);
|
|
} else {
|
|
println(res.errstr);
|
|
}
|