Forum Replies Created
-
AuthorPosts
-
November 15, 2010 at 7:26 pm in reply to: Scripting: Changing name of printer in Print & Fax prefpane #379860
Magus255
ParticipantStop cups
launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
then make changes to the /etc/cups/printers.conf
you need to change the Info field.
then reload cupslaunchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
Magus255
ParticipantNone that I have found and its also the only solution I have found. Here is a page with more info from apple. http://support.apple.com/kb/HT4017.
You could probably make changes to the NAS too. I don’t have any real access to the administrative end of our EMC NAS and the admin that does is afraid to break something so I haven’t been able to explore that option.
Magus255
ParticipantI had the same problem. Add
[default]
streams=noTo /etc/nsmb.conf and it should work.
Magus255
ParticipantJust did this recently. I made a backup of OD and copied all the wiki and ical files. The wiki’s all copied fine but I had some trouble the the calendars. I currently only use the calendar for the wikis so I’m not sure if it will cause problems with the personal calendars.
March 13, 2009 at 6:18 pm in reply to: script for binding to AD (default write SearchNodeConfig question) #375690Magus255
ParticipantObviously you figured out that your line is right for the multiple items. To get it to take effect you just need to kill Directory Services. killall DirectoryService will work for that and it will restart itself. I don’t remember for sure if that makes the change show up in the gui but it does cause Directory Service to refresh and make your new settings take effect.
Magus255
ParticipantThe easiest way I have found is to change the way windows stores time, basically so it uses UTC for the hardware clock instead of local time. To do this just change this registry entry. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
“RealTimeIsUniversal”=dword:00000001You could also put this into a .reg file that just needs to be double clicked in windows.
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
“RealTimeIsUniversal”=dword:00000001February 4, 2009 at 8:00 pm in reply to: Portable Home Directories syncing things that haven’t changed #375324Magus255
ParticipantIt appears to be 10.5.6. Replacing file sync and filesyncagent appears to fix it.
Check http://discussions.apple.com/thread.jspa?threadID=1866117&tstart=0 for more info.February 4, 2009 at 6:42 pm in reply to: Portable Home Directories syncing things that haven’t changed #375321Magus255
ParticipantAre you running leopard on the mac? I am having what seems to be the same problem syncing to a CIFS share. Have you found any more info?
Magus255
ParticipantPut all of that into a text file, make it executable then run it as root or with sudo. Obviously you should test it before running it on your main server.
Magus255
ParticipantYou might need more than just a single command. Something like this should work.
#!/bin/bash
for i in `ls | grep -v [.]`; do
mkdir /Users/”$i””/Sites
chown “$i” /Users/”$i”/Sites
doneMagus255
ParticipantJust use WGM. The setting is moved in leopard and you have to go to details in the preferences now. You want Internet Configuration or com.apple.internet both are the same thing. Then just add “Home Page” as a url type and put in the address.
Magus255
ParticipantHave you restarted the wikis? sudo serveradmin stop teams && sudo serveradmin start teams usually works for me. The group site might take a min to update when you go to it the first time but, should be ok after that.
March 31, 2008 at 6:05 pm in reply to: Detailed tutorial on setting ACLs from the command line #372054Magus255
ParticipantYeah, looks about right. I was thinking you were doing their home folders which you would want full control for. You may want this but I don’t think you need readsecurity. You can also just check and see what WGM uses when you set it on a file and pretty much copy it.
March 25, 2008 at 6:04 pm in reply to: Detailed tutorial on setting ACLs from the command line #371996Magus255
ParticipantDo you want read write or full control? For either 1 you could use WGM on tiger and take your pick and set it to inherit. Then hit propagate permissions from the little action menu. To do it through the command line it is just chmod like normal only with +a. So an example would be
[code]chmod -R +a “allstaff allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit” “/path/to/folder”[/code]
That would do full control. Then you can just eliminate what you don’t want them to be able to do. So if you don’t want them to be able to add new files then you remove add_file. The different options are in the man page for chmod in leopard and tiger server, not sure about tiger client. That is also for a directory, the options for files are a little bit different, but they are sill applied the same way. The -R options is optional and just makes it recurse though all the files and sub folders like a normal chmod.
You can check the permissions that you set though the command line with ls -le they should also show up in WGM.
And the last thing is you may have worry about is using group:allstaff or user:allstaff instead of just allstaff. If should work fine without the group: or user: as long as you don’t have users and groups with the same name.March 24, 2008 at 3:26 pm in reply to: Detailed tutorial on setting ACLs from the command line #371976Magus255
ParticipantThe man page in leopard seems to be pretty detailed. I don’t know of any tutorials for ACLs. I have set them up to some extent or another on both tiger and leopard though, so if you have specific questions I might be able to help. There isn’t really that much to them for a tutorial to cover.
-
AuthorPosts
Recent Comments