Login to Netware NDS ?

Feczak Szabolcs feczo at geek.hu
Thu Aug 26 09:02:34 PDT 2004


Dan Nelson dnelson at allantgroup.com wrote:
> See the mount_nwfs and ncplogin manpages.  ncplib was merged into the
> base system long ago.  
I have checked, but nothing about NDS there ...

More things here that I do not understand

ipx setting

# grep ipx /etc/rc.conf                                                                   
ifconfig_xl0f2_ipx="ipx 0x80200001"
ipxrouted_flags="-q"
ipxrouted_enable="YES"

latest release

# uname -a                                                                                   
FreeBSD backup.sdi.hu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 CEST 2004     root at backup.sdi.hu:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP  i386

after boot ipxrouted starts

# ps uaxw| grep IPXrouted
root       74  0.0  0.2   944  572  ??  Ss    5:28PM   0:00.00 IPXrouted -q
root      208  0.0  0.3  1092  660  p0  S+    5:30PM   0:00.00 grep IPXrouted

routing tables are not so right ..

# netstat -rf ipx  
Routing tables

IPX:
Destination        Gateway            Flags    Netif Expire
80200001.*         80200001.a5e3efe20 U       xl0f2

I can't see the server

# ncplist s                                                                    
Can't attach to a nearest server

Serverlog says error

Aug 26 17:32:36 backup IPXrouted[74]: DELETE        service 0278 TREE________________ addr 37dc0000#0:0:0:0:0:1.4006   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETE        service 026B TREE________________ addr 37dc0000#0:0:0:0:0:1.0005   metric 16
Aug 26 17:32:36 backup IPXrouted[74]: DELETE        service 0004 SZABO-SERVER-BAJCSY  addr 37dc0000#0:0:0:0:0:1.0451   metric 16
Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY
Aug 26 17:33:07 backup /kernel:
Aug 26 17:33:07 backup /kernel: Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY

restart IPXrouted

# killall -9 IPXrouted
# IPXrouted -q

Routing gets better

# netstat -rf ipx                                                                                       
Routing tables

IPX:
Destination        Gateway            Flags    Netif Expire
default            80200001.105abc6f5 UG      xl0f2
80200001.*         80200001.a5e3efe20 U       xl0f2

So finally I can see it

# ncplist s
Visible servers (from SZABO-SERVER-BAJCSY):
Name                                            Network    Node       Port
----------------------------------------------- -------- ------------ ----
SZABO-SERVER-BAJCSY                             37DC0000:000000000001:0451

and the volumes

# ncplist v SZABO-SERVER-BAJCSY                                                                      

Mounted volumes on server SZABO-SERVER-BAJCSY:
Number Name
------ -----------------------------------------------
0 SYS
1 DATA    

mount it (bindery)

# mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -V DATA /mnt/nwfs                                       
Netware password: 

go to one of the dirs in the mount

# cd /mnt/nwfs/xxx                                                                                  

I have a file here already

# ls                                                                                      /mnt/nwfs/xxx
aliases

Would like to copy here another one

# cp /etc/make.conf .                                                                     /mnt/nwfs/xxx
cp: ./make.conf: Unknown error: 35207

error ...

about the rights

# ls -ld .                                                                                /mnt/nwfs/xxx
drwxr-xr-x  1 root  wheel  16384 Aug 26 17:42 .

about the mount

# mount | grep nwfs
/SZABO-SERVER-BAJCSY:ADMIN/DATA on /mnt/nwfs (nwfs)

more errors ...

Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY
Aug 26 17:51:20 backup /kernel: 
Aug 26 17:51:20 backup /kernel: Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY
Aug 26 17:53:20 backup IPXrouted[281]: ADD dst 37dc0000#0:0:0:0:0:0, router 80200001#0:10:5a:bc:6f:56, metric 1, ticks 2, flags UP|GATEWAY state CHANGED
Aug 26 17:53:20 backup IPXrouted[281]: ADD           service 0004 SZABO-SERVER-BAJCSY  addr 37dc0000#0:0:0:0:0:1.0451   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD           service 026B TREE________________ addr 37dc0000#0:0:0:0:0:1.0005   metric 1
Aug 26 17:53:20 backup IPXrouted[281]: ADD           service 0278 TREE________________ addr 37dc0000#0:0:0:0:0:1.4006   metric 1


it is a fresh install of netware 4.11 btw

> You could also run Netware NFS on your Netware
> server and access it via regular NFS mounts on Unix.
First, Is this free ? Second, Is this ok with Netware 4.11 ?

I have heard some weeks ago that there is a port in the tree which can mount
nwfs shares through the nfs calls or something on the client side, but
I can not recall its name

-- 
  _(_)_
 (_. o_)            F3CZ0
   (_,)     http://feczo.nmi.rulez.org
  (    )    __________________________
  // //



More information about the freebsd-questions mailing list