Updating Share Point Information

After you make a change to an SMB/CIFS share point using the sharing tool, you need to update the SMB/CIFS service information.

To update SMB/CIFS share point information:

$ sudo serveradmin command smb:command = syncPrefs

Viewing SMB/CIFS Service Logs

You can use tail or any other file-listing tool to view the contents of the SMB/CIFS service logs.

To view the latest entries in a log:

$ tail log-file

You can use the serveradmin getLogPaths command to see where the current SMB/ CIFS logs are located.

To display the log paths:

$ sudo serveradmin command smb:command = getLogPaths

The computer will respond with the following output:

smb:fileServiceLog = <smb-log>

smb:nameServiceLog = <name-log>

Value

Description

<smb-log>

The location of the SMB service log.

 

Default = /var/log/samba/log.smbd

 

 

<name-log>

The location of the name service log.

 

Default = /var/log/samba/log.nmbd

 

 

Managing ACLs

For greater flexibility in configuring and managing file permissions, Mac OS X Server implements access control lists (ACL). An ACL is a list of access control entries (ACEs), each specifying the permissions to be granted or denied to a group or user, and how these permissions are propagated throughout a folder hierarchy. ACLs in Mac OS X Server let you set file and folder access permissions for multiple users and groups, in addition to the standard POSIX permissions. This makes it easy to set up collaborative environments with smooth file sharing and uninterrupted workflows, without compromising security. Mac OS X Server has implemented file system ACLs that are fully compatible with Microsoft Windows Server 2003 and Windows XP.

For more about ACLs and how they compare to POSIX permissions, review the Overview chapter of the file services administration guide.

Chapter 9 Working with File Services

157

Page 157
Image 157
Apple Mac OS X Server manual Managing ACLs, Updating Share Point Information, Viewing SMB/CIFS Service Logs