discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] NetInfo on Linux (Documentation?)


From: Lars Sonchocky-Helldorf
Subject: Re: [Q] NetInfo on Linux (Documentation?)
Date: Tue, 13 Apr 2004 12:29:45 +0200

Sungjin Chun <chunsj@embian.com> wrote on 12.04.2004 16:10:15:

> Hi,
> As some of you know, I am currently interested in Directory Service 
> with GNUstep.
> I found PADL's NetInfo for Linux and with some nodification, it runs. 
> Is there any
> howto alike documentation for NetInfo? In Apple's site, I found some 
> man pages and
> one PDF file but is not proper for me because it heavily uses its own 
> GUI tools.
> 
> Thanks in advance.

niutil is the way to go to use NetInfo w/o a GUI. niutil -h itself prints 
a help message:

localhost:~ root# niutil -h
usage:
        niutil -create      [opts] <domain> <path>
        niutil -destroy     [opts] <domain> <path>
        niutil -createprop  [opts] <domain> <path> <propkey> [<val>...]
        niutil -appendprop  [opts] <domain> <path> <propkey> <val>...
        niutil -mergeprop   [opts] <domain> <path> <propkey> <val>...
        niutil -insertval   [opts] <domain> <path> <propkey> <val> <index>
        niutil -destroyprop [opts] <domain> <path> <propkey>...
        niutil -destroyval  [opts] <domain> <path> <propkey> <val>...
        niutil -renameprop  [opts] <domain> <path> <oldkey> <newkey>
        niutil -read        [opts] <domain> <path>
        niutil -list        [opts] <domain> <path> [<propkey>]
        niutil -readprop    [opts] <domain> <path> <propkey>
        niutil -readval     [opts] <domain> <path> <propkey> <index>
        niutil -rparent     [opts] <domain>
        niutil -resync      [opts] <domain>
        niutil -statistics  [opts] <domain>
        niutil -domainname  [opts] <domain>
opts:
        -t              domain specified by <hostname>/<tag>
        -p              prompt for password
        -u <user>       authenticate as another user (implies -p)
        -P <password>   password supplied on command line (overrides -p)
        -T <timeout>    read & write timeout in seconds (default 30)
        -n              numeric output for -rparent
        -R              Retry operation if master is busy
localhost:~ root#

and there is also a man page for niutil (man niutil of course) but I can't 
paste it here since I am at work currently and I only can ssh to my Darwin 
machine at home and the ssh client here (putty) doesn't let me display the 
whole man page at once so I can't copy it ...

If you want to get hold of niutil go to 
http://cvs.opendarwin.org/index.cgi/src/netinfo/tools/niutil/ or 
http://www.opensource.apple.com/darwinsource/10.3.3/netinfo-324.2.1/tools/niutil/
 
(this requires a free registration, fear not, Apple doesn't spam you). If 
you just want to try out niutil w/o porting it to Linux first just try 
Darwin 7.0.1 
http://www.opensource.apple.com/darwinsource/images/darwin-701.iso.gz 
which runs on Mac and most of newer PCs as well.

Good luck!

> 
> 
> 

regards, Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]