image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
Thread Tools
  #1  
Old January 25th, 2008, 12:39 PM
Registered User
 
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
cupojava is on a distinguished road
Exclamation dscl - please help

I upgraded from OS X Server 10.4.10 to 10.5 recently and I've experienced nothing but problems.

It seems as though whenever I use Server Admin to set up a file share, then attempt to "unshare" it, client nodes are still attempting to mount it.

For example, I have a folder called "scratch" which I "shared" then "unshared".

After "unsharing", running the command `showmount -e` fails to show the directory "scratch" as an export... which is correct.

However, running this command:

dscl /LDAPv3/127.0.0.1 -list /Mounts

does in fact reveal the directory... which is wrong.

I know for a fact that this is where it needs to be deleted because I had this exact problem on another 10.4 Server. I'm pretty sure I remember the dscl syntax for deleting a node, but on this machine I only get an error.

% dscl -u <admin> -p /LDAPv3/127.0.0.1 -delete /Mounts/server.name.priv:\/scratch

delete: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

When I try deleting in interactive mode (using auth), I get the same error.

Just to show that LDAP and dscl are working to some extent, I created a fake user into the /Users section (using -create) and then deleted that user (using -delete) successfully.

Is my syntax just wrong, or is there perhaps a bigger problem here?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 03:52 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.