Sponsored Content
Operating Systems Solaris samba wouldn't start on solaris 10 Post 302266733 by incredible on Thursday 11th of December 2008 12:24:29 AM
Old 12-11-2008
Make sure that /usr/sfw/bin and /usr/sfw/sbin are on the root user's path.

Check you have the latest version of SAMBA installed:

root# /usr/sfw/sbin/smbd -V
Version 3.0.21b

This is the most recent version supported by Sun at this time. If you find you have an older version than the above then you should patch the system. The latest patch for SAMBA on Solaris 10 SPARC is 119757-04 and Solaris 10 x86 is 119758-04. If you have access to Sunsolve then Sun InfoDoc 80581 talks about this some more.

By default, all files create by the windows server in the Solaris directories shared by SAMBA will be owned by user nobody. If you want to change this then you can force the ownership to another user. I created a user evault in group other for this purpose. Make sure that the user you choose has permission to write to the directories in the file systems that you are sharing with SAMBA. You can use the user root if you wish.


Create an entry in the SAMBA user database for the user with the below command:

root# smbpasswd -a evault

Create the file /etc/sfw/smb.conf. Below is the /etc/sfw/smb.conf that I used. The SAM-FS file system was mounted as /ev_test and vaultstores was the subdirectory I wanted to share.

[global]
workgroup = EV-SAMFS
server string = Samba Server
log file = /var/adm/samba_log.%m
security = SHARE

[vaultstores]
comment = vaultstores
path = /ev_test/vaultstores
force user = evault
force group = other
read only = No
guest ok = Yes

It is not obvious, but the share is defined in the square brackets and is "vaultstores" in this case.

Note that once the file /etc/sfw/smb.conf exists SAMBA will start automatically when the system boots.

You should check the syntax of /etc/sfw/smb.conf using the command testparm. Assuming that all is well you can start SAMBA.
root# /etc/init.d/samba start
 

8 More Discussions You Might Find Interesting

1. IP Networking

how can I start and configure samba?

Well, that's my question, I'm looking for a tutorial or something to start & work with samba, any help would be much appericiated. (1 Reply)
Discussion started by: AshkanAlmaspour
1 Replies

2. Linux

samba for solaris 9 help!!

I'm trying to install samba-3.0.0, I downloaded it from samba.org. After extracting the tarball i cd into source and typed ./congifure and it's responding back like: checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C... (18 Replies)
Discussion started by: N0C717
18 Replies

3. Solaris

Samba on Solaris 9, Sparc.

hi guys, This is prolly more of a dummies question, but here goes. I want to make my Ultra 5 workstation into a samba server. I have solaris 9 installed with the latest patch cluster. if I do: pkginfo | grep samba I get : # pkginfo | grep samba system SUNWsmbac ... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

4. Solaris

Samba 3.0.14 on Solaris 10 issues

Hello All, I am facing a wierd problem with the Samba 3.0.14a on Solaris 10 and CUPS (1.1.12) printing. First of all am not sure if this combination works well. If someone could throw some light, it would be of great help. Samba is setup with security=server, and it is currently a member of... (0 Replies)
Discussion started by: Sapna
0 Replies

5. Solaris

installing samba on solaris 8

i am a rookie so please give every detail... i need help installing samba on my solaris 8 (intel) box so i can share with WXP box. i can get online, but can only see websites as outline\text form but managed to download "samba-latest.tar.z" is this correct? and what is next step to get it up and... (1 Reply)
Discussion started by: flir11
1 Replies

6. Solaris

Configuring samba in solaris x-86

I just wanted to know if I can configure samba on solaris 10 x-86. I was just wondering if the samba is in-built software gets shipped with Operating System CD. I have searched a lot on many sites and forums but still not getting any way to make it. It would be really appreciable if some can... (1 Reply)
Discussion started by: naw_deepak
1 Replies

7. Solaris

How to stop samba on solaris 10?

Hello to everybody from Argentina. I need to stop samba because i need to fsck a filesystem How can i do this? I presume that the version is higher than 3.0. /usr/sfw/sbin/smbd -D This is the out of ps -ef | grep smbd. Thank you very much for your time i am a litle lost. The... (4 Replies)
Discussion started by: enkei17
4 Replies

8. Solaris

Samba on Solaris 10

Somebody has installed samba 3.0.24 on (not only mine) a sun solaris 10. I can see the dir /usr/local/samba with all the files in, well I suppose that there are all its files in but, I can't see the file smb.conf that, reading various help on the net should be in dir /etc/samba or /etc. In this... (2 Replies)
Discussion started by: aemme
2 Replies
PROFILES(1)							   User Commands						       PROFILES(1)

NAME
profiles - A utility to report and change SIDs in registry files SYNOPSIS
profiles [-v] [-c SID] [-n SID] {file} DESCRIPTION
This tool is part of the samba(7) suite. profiles is a utility that reports and changes SIDs in windows registry files. It currently only supports NT. OPTIONS
file Registry file to view or edit. -v,--verbose Increases verbosity of messages. -c SID1 -n SID2 Change all occurences of SID1 in file by SID2. -h|--help Print a summary of command line options. VERSION
This man page is correct for version 3.0 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The profiles man page was written by Jelmer Vernooij. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+----------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+----------------------+ |Availability | SUNWsmbar, SUNWsmbau | +--------------------+----------------------+ |Interface Stability | External | +--------------------+----------------------+ NOTES
Source for Samba is available on http://opensolaris.org. Samba(7) delivers the set of four SMF(5) services as can be seen from the following example: $ svcs samba wins winbind swat STATE STIME FMRI disabled Apr_21 svc:/network/samba:default disabled Apr_21 svc:/network/winbind:default disabled Apr_21 svc:/network/wins:default disabled Apr_21 svc:/network/swat:default where the services are: "samba" runs the smbd daemon managing the CIFS sessions "wins" runs the nmbd daemon enabling the browsing (WINS) "winbind" runs the winbindd daemon making the domain idmap "swat" Samba Web Administration Tool is a service providing access to browser-based Samba administration interface and on-line documentation. The service runs on software loopback network interface on port 901/tcp, i.e. opening "http://localhost:901/" in browser will access the SWAT service on local machine. Please note: SWAT uses HTTP Basic Authentication scheme where user name and passwords are sent over the network in clear text. In the SWAT case the user name is root. Transferring such sensitive data is advisable only on the software loopback network interface or over secure networks. Samba 3.0 01/19/2009 PROFILES(1)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy