You are able to access the Solaris files and folders from Windows 2000 server using Samba server.
The Samba server configuration file should be present in this location.
/usr/local/samba/lib/smb.conf
1. edit the smb.conf file
2. Workgroup name must be the same name for Solaris server and Windows 2000 server
example :
# workgroup = NT-Domain-Name or Workgroup-Name, eg: Solaris
workgroup = MYGROUP
# server string is the equivalent of the NT Description field server string = Samba Server
3. It allows you to restrict connections to machines which are on your local network.
example:
hosts allow = 129.158.224.125
4. This tells Samba to use a separate log file for each machine that connects log file = /usr/local/samba/var/log.%m
Put a capping on the size of the log files (in Kb). max log size = 50
5. Security mode
The preferred mode of security with Samba is user level security.
In this method, each share is assigned specific users that can access it.
The user account is authenticated by samba using the configuration file and the passwords in the password database (ie./etc/passwd) of the Samba server.
So, users can only access the shared resources if they have the appropriate permissions.
Example:
[global]
security = user
[shared]
valid users = user1 user2 user3
Another mode of security with Samba is server level security. Server level security is similar to user level security. By setting the following variable
password authentication can be done by a different samba server of a Windows 2000 server acting as a primary domain controller.
A user is requesting a shared resource from samba server, the user account will be authenticated by the password server. Once the user has been authorized, then he/she can access the shared resource.
Example:
[global]
security = server
password server = Windows NT
6. Domain Master specifies Samba to be the Domain Master Browser. This allows Samba to collate browse lists between subnets. Don't use this if you already have a Windows NT domain controller doing this job domain master = yes
7. Preferred Master causes Samba to force a local browser election on startup and gives it a slightly higher chance of winning the election preferred master = yes
Browsing election is nothing but in each network a system maintains a list of currently active servers. This list is called browse list. And system that maintains the browse list is called local master browser.
8. The domain logons option enables Samba to perform domain authentication^on behalf of other clients (Windows 95/98) that request it.
9. Share Definitions
Example:
[myshare]
comment = Mary's and Fred's stuff
path = /usr/somewhere/shared
valid users = mary fred
public = no
writable = yes
printable = no
create mask = 0765
regards ph