Wrong name for Public folder
Bill Cheeseman
bill at cheeseman.name
Sat Apr 19 11:10:18 PDT 2008
on 2008-04-19 1:50 PM, Bill Cheeseman at bill at cheeseman.name wrote:
>> and contrast its output to the one provided by:
>>
>> dscl . read '/SharePoints/Bill Cheeseman's Public Folder'
>>
>> on a "regular" box.
>
> Either gives no response at all, or error -14136 (eDSRecordNotFound),
> depending on the machine.
I tried
dscl . -list /SharePoints
on the problem machine and got
Public
and on a good machine I got
Public Folder
But
dscl . read '/SharePoints/Public Folder'
returns the record not found error.
AHA! The apostrophe in "Cheeseman's" is messing up the quoting. So this on a
good machine
dscl. read "/SharePoints/Bill Cheeseman's Public Folder"
returns a good record where all the name fields are
Bill Cheeseman's Public Folder
instead of
Public
on the bad machine.
I'm really not clear about how to change the record on the bad machine.
-change record_path key old_val new_val
looks promising, but there's the little problem of the sharepoints having
different names on different machines, "Pubic" vs. "Public Folder",
according the -list command. I assume "Public Folder" is correct, but I
don't see how to change "Public" to "Public Folder" on the bad machine.
--
Bill Cheeseman - bill at cheeseman.name
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
More information about the MacOSX-admin
mailing list