Forum Replies Created

Viewing 15 posts - 1 through 15 (of 35 total)
  • Author
    Posts
  • in reply to: Scripting: Changing name of printer in Print & Fax prefpane #379860
    Magus255
    Participant

    Stop 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 cups

    launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist

    in reply to: Error -50 when copying folders to NTFS SMB share #379216
    Magus255
    Participant

    None 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.

    in reply to: Error -50 when copying folders to NTFS SMB share #379201
    Magus255
    Participant

    I had the same problem. Add

    [default]
    streams=no

    To /etc/nsmb.conf and it should work.

    in reply to: 10.5 iCal server and wiki data migration to 10.6 #377385
    Magus255
    Participant

    Just 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.

    Magus255
    Participant

    Obviously 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.

    in reply to: Dual Boot Time #375433
    Magus255
    Participant

    The 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:00000001

    You 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:00000001

    Magus255
    Participant

    It 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.

    Magus255
    Participant

    Are 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?

    in reply to: Terminal Command to Create Folder for Every User #375011
    Magus255
    Participant

    Put 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.

    in reply to: Terminal Command to Create Folder for Every User #374995
    Magus255
    Participant

    You 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
    done

    in reply to: Setting homepage for all users #374810
    Magus255
    Participant

    Just 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.

    in reply to: group wikis not showing up #374791
    Magus255
    Participant

    Have 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.

    in reply to: Detailed tutorial on setting ACLs from the command line #372054
    Magus255
    Participant

    Yeah, 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.

    in reply to: Detailed tutorial on setting ACLs from the command line #371996
    Magus255
    Participant

    Do 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.

    in reply to: Detailed tutorial on setting ACLs from the command line #371976
    Magus255
    Participant

    The 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.

Viewing 15 posts - 1 through 15 (of 35 total)