Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS, samba & sol9

Status
Not open for further replies.

Igaduma

Technical User
Nov 23, 2001
322
BE
Hi all,

I posted this in the samba thread but no one replied.

I need to set up a box with an automounted directory on a big server.
Then I need to install samba and share that directory to the outside NT world.

I remember vaguely some stuff about samba & nfs a inetd running at the same time.
Do I need to setup some priviledged ports on the nfs side ?
If i'm not mistaking there is some issue with nfsclient & samba & ports.

Thanks,

Iga-Duma
 
haven't seen any problem with automount and samba over here. Been using it for 3+ yrs.

Let me know if you find any problem
 
For Samba, you can download from website.
You can use samba to share your the directory like Windows NT/Windows 2000.
I already downloaded samba for Sun Solaris Intel.
But I forgot the website.
Yes,you can use nfsclient to automounted the partition.
You also can enable web nfs from Sun Solaris
So your nfs client can access nfs server using browser.
You can check this website :
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top