69
edits
No edit summary |
|||
Line 52: | Line 52: | ||
<code>dscl /LDAPv3/127.0.0.1 -readall /Users</code><br> | <code>dscl /LDAPv3/127.0.0.1 -readall /Users</code><br> | ||
<code>dscl /LDAPv3/127.0.0.1 -readall /Computers RecordName macAddress</code> | <code>dscl /LDAPv3/127.0.0.1 -readall /Computers RecordName macAddress</code> | ||
== Messages / Jabber == | |||
<code>sudo serveradmin fullstatus jabber</code> | |||
Get User List<br> | |||
<code>sudo sqlite3 /var/jabberd/sqlite/jabberd2.db "select * from active" | |||
sudo sqlite3 {Service Data Alternate Location }/sqlite/jabberd2.db "select * from active" | |||
sudo sqlite3 /Volumes/Promise\ RAID/Library/Server/Messages/Data/sqlite/jabberd2.db "select * from active"</code> | |||
Delete <br> | |||
<code>sudo jabber_autobuddy -d [email protected]</code> | |||
<cdoe>sudo serveradmin settings jabber:enableAutoBuddy = yes* | |||
jabber_autobuddy -i [email protected] | |||
sudo serveradmin settings jabber:enableAutoBuddy = no*</code>> | |||
<code>sudo serveradmin stop jabber | |||
sudo serveradmin start jabber<code> | |||
This will do the same thing but the above command is better.<br> | |||
*server:~ ladmin$ sudo /usr/bin/jabber_autobuddy -m*<br> | |||
This will automatically add users to your buddy list but not necessarily "authorise" them (to be able to see availability status). I've read a suggestion it is better to leave enableAutoBudy = 'no' and let people add others manually to their buddy list. I haven't decided which is better. | |||
https://discussions.apple.com/thread/2720379 | |||
== Time / Misc Errors in Logs == | |||
https://discussions.apple.com/thread/5084848 | |||
Ok, after digging a bit, I've found what cause this warning: the DOT @ the end of the NTP server name... | |||
in /System/Library/Sandbox/Profiles/system.sb | |||
sudo nano /System/Library/Sandbox/Profiles/system.sb | |||
;;; Allow access to standard special files. | |||
(allow file-read* | |||
(literal "/dev/autofs_nowait") | |||
(literal "/dev/random") | |||
(literal "/dev/urandom") | |||
(literal "/private/etc/master.passwd") | |||
(literal "/private/etc/passwd") | |||
-> (literal "/private/var/run/resolv.conf")) | |||
== postmaster@ == | |||
edit /var/root/.forward | |||
https://discussions.apple.com/thread/5545402?start=15&tstart=0 | |||
vs | |||
http://blog.gmane.org/gmane.comp.macosx.admin/page=118 | |||
== UnZipping Password Protected Zips == | |||
cd / ( location of zip ) | |||
unzip -j filename.zip | |||
== MCX / Folder Redirection == | |||
http://houseofmac.wordpress.com/2010/11/03/os-x-network-home-folder-redirection/<br> | |||
== Misc == | |||
mount_url ERROR: AFP_OpenSession - CreateSVEFromURL failed -5997 | |||
https://discussions.apple.com/thread/1747144?tstart=0 | |||
http://support.apple.com/kb/HT200121?viewlocale=en_US | |||
[[Category:Server]][[Category:OSX]] | [[Category:Server]][[Category:OSX]] |
edits