Solaris 9 & Samba

I'm new to Solaris but have a fresh install of Solaris 9 4/04 release. I did the full plus OEM install. I thought from what I read that this would install samba too. But, the only reference I can find to samba on this system is the smb.conf-example file. I can't find what looks like a working installation of Samba. Am I going to have to download Samba, or does it just not get installed in /usr/local like the examples I've read.

A Basic Samba Configuration File
The key to configuring Samba is its lone configuration file: smb.conf. This configuration file can be very simple or extremely complex, and the rest of this book is devoted to helping you get deeply personal with this file. For now, however, we'll show you how to set up a single file service, which will allow you to fire up the Samba daemons and see that everything is running as it should be. In later chapters, you will see how to configure Samba for more complicated and interesting tasks.
The installation process does not automatically create an smb.conf configuration file, although several example files are included in the Samba distribution. To test the server software, though, we'll use the following file. It should be named smb.conf and placed in the /usr/local/samba/lib directory.
[5] If you did not compile Samba, but instead downloaded a binary, check with the documentation for the package to find out where it expects the smb.conf file. If Samba came preinstalled with your Unix system, there is probably already an smb.conf file somewhere on your system.
[global]
     workgroup = SIMPLE
[test]
     comment = For testing only, please
     path = /export/samba/test
     read only = no
     guest ok = yes
This brief configuration file tells the Samba server to offer the directory /export/samba/test on the server as an SMB/CIFS share called test. The server also becomes part of the named workgroup SIMPLE, which each of the clients must also be a part of. (Use your own workgroup here if you already know what it is.) We'll use the [test] share in the next chapter to set up the Windows clients. For now, you can complete the setup by performing the following commands as root on your Unix server:
# mkdir /export/samba/test
# chmod 777 /export/samba/test
We should point out that in terms of system security, this is the worst setup possible. For the moment, however, we only wish to test Samba, so we'll leave security out of the picture. In addition, there are some encrypted password issues that we will encounter with Windows clients later on, so this setup will afford us the least amount of headaches.
If you are using Windows 98 or Windows NT Service Pack 3 or above, you must add the following entry to the [global] section of the Samba configuration file: encrypt passwords = yes. In addition, you must use the smbpassword program (typically located in /usr/local/samba/bin/) to reenter the username/password combinations of those users on the Unix server who should be able to access shares into Samba's encrypted client database. For example, if you wanted to allow Unix user steve to access shares from an SMB client, you could type: smbpassword -a steve. The first time a user is added, the program will output an error saying that the encrypted password database does not exist. Don't worry, it will then create the database for you. Make sure that the username/password combinations that you add to the encrypted database match the usernames and passwords that you intend to use on the Windows client side.

Similar Messages

  • Mounting an NT Share

    I have installed Solaris on intel.
    I would like to be able to mount a share on my local NT server (bdc). I have installed Samba but I am unable to detemine how to mount the share.
    The only way that I think may work is to join the NT domain?
    I would really prefer another method.
    Thanks
    Chris Hax

    hi,
    This will help
    http://www.samba.org/samba/oreilly/using_samba/
    http://www.kempston.net/solaris/samba.html
    the command to connect to NT server is
    smbclient //nt_computer_name/share_name -I nt_ip -Uuser_name
    for example
    smbclient //myserver/c$ -I10.1.1.1 -Uvardi

  • SMB userhome's GUID/UID syncronisation with Mac OS X WGM/OD

    Hi all,
    Well - it has taken some time, but I've finally gotten to a point where I have SMB userhomes working correctly within Mac OS X Server. The clients authenticate against their username/password pair in OpenDirectory, on the Mac OS X server 10.4.9, then use their share located on a large Solaris Samba share.
    Now, the big problem that exists? When the initial sharepoint was created for these users, we used the following string as the connection mechanism within the dscl tool:
    append . VFSOpts "url=smb://;AUTH=NO%20USER%[email protected]/sharenamehere"
    Now, can anyone see the problem with this? The user is "always" authenticating to OD first and passing through to the large, raw solaris SMB shares as "nobody". A directory listing on the OSX_Userhomes directory on the samba server shows:
    nobody:nobody userhomefolder
    ...as the effective permissions, with a UID of 60001 or something to this effect. How can I:
    1. Make OD force the user to use THEIR credentials on the userhome account
    2. Make the effective permissions on the shares not just "nobody:nobody"
    I assume there is some synchronisation between /etc/password and /etc/group required on the Solaris box with Mac OS X's - but how? LDAP? Little help?
    Cheers.
    z.

    VFSOpts "url=smb://;AUTH=NO%20USER%[email protected]/sharenamehere"
    Why not just change this to:
    "url=smb://xxx.xxx.xxx.xxx/sharenamehere"
    LoginWindow.app should be able to do an authenticated mount using the typed in user credentials.
    -Ralph

  • Max. members of a group??

    Hello,
    does anybody know the maximum number of members in a group of a solaris 5.9-system?
    Environment:
    Solaris-Samba-Fileserver; connected to an ADS.
    Problem:
    members of groups with a large number of members, can not be displayed with the command "groups [User]"; the command get stuck; a truss-command will end in an endless-loop

    Get-ADGroupMember -Identity (Read-Host 'Group name') -Recursive |
    Select Name,SamAccountName |
    Export-Csv .\groupMembers.csv -NoTypeInformation
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • New to Solaris, Some Samba and NTFS issues.

    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/samba/log/log.%m
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    passdb backend = smbpasswd
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/sfw/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # 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
    # 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
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    #     Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one     WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/sfw/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[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
    [Series]
    comment = TV Series
    path = /home/Kirby/Series
    public = yes
    only guest = yes
    writable = yes
    printable = no

    875739 wrote:
    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.I never had a need for it but I think you'll have to compile fuse ntfs-3g manually.
    http://web.archiveorange.com/archive/v/u46DbWSGcIzl7pexf4hQ
    >
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.You don't need to use Samba in Solaris 11 Express.
    http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gaynd.html#gayne

  • Samba and Solaris, access slow via XP

    Hi everyone,
    I've new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer.
    Both are on a local network (connected via a Belkin router) and in the same workgroup. I can see the XP machine from solaris, but not access anything (I just get a 'cannot show contents of directory' message). This is not my main problem, since I mostly want to access the solaris system from XP (I want to set up the solaris box as a RAID Z NAS). This works to a degree. I can see and access my solaris filesystem from XP. Hurray. I have two problems:
    1. I have set guest to NO, but I never get asked for a password (I've set up an account on the solaris system with a password using smbpasswd). I just get access. Why is this? I don't want a bunch of ner-do-wels skulking about my server and erasing files and such.
    2. While I can stream music fine, after a minute or so, if I want to browse files from XP it stalls for about one minute (I think it is re-logging in) and while this happens any music being streamed stops. How do I stay connected and logged in? Here is my smb.conf:
    # Samba config file created using SWAT
    # from 192.168.2.3 (192.168.2.3)
    # Date: 2008/05/11 18:46:15
    [global]
         socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
         ldap ssl = no
    [home]
         read only = No
         guest ok = No
         available = No
    [homes]
         valid users = %S
         read only = No
         guest ok = No
    As you can tell I'm pretty new to all this so you may have to dumb down your answers a little. Thanks for the help.
    Cisco

    Yup.....repeatable!
    Delete mapped drive.
    Connect via USB
    Playbook shows in windows explorer as PlayBook [Pin: number] Y:  being the drive that XP has mapped it to.
    Then search for the PlayBook by ip address \\192.168.1.x
    It shows up under workgroup by its ip address
    Disconect USB cable
    Workgroup connect remains (via wifi)
    Strange to say the least.

  • Issues with Samba and Solaris 10 when number of group is greater than 16

    Has anyone heard if Sun plan to increase the value of ngroups_max from 16 to something larger in the next release of Solaris.
    I have just upgraded Samba from version 3.2 to 3.3-3.4 and now users that belong to more than 16 groups have no access the shares.
    I know the value can be increased via /etc/system but this breaks other stuff.
    What I need is either Samba to take this limitation into account or SUN to overcome the restriction.
    Edited by: neilnewman on Sep 22, 2009 8:30 AM
    Edited by: neilnewman on Sep 22, 2009 8:34 AM

    After some more digging around to help myself, I found a way to get users that belong to more than 16 Windows groups access to the Samba shares under Solaris.
    Using a source copy of Samba 3.2.15
    cd source/lib
    edit util.c
    around line 460 I added the following of lines of code:
    if (*num_gids >14)
    *num_gids=15;
    Provided the users in question that require Samba access have the group they need within the first 15 groups, all works OK.
    I presume this could also be done with latter versions of Samba, but I have not taken a look at this point.

  • Samba problem in solaris 10

    Hi Experts
    I configure smb.conf file and i ran test parm and started my smbd and nmb service also i am getting given below error message when i used to connect from my XP box to solaris 10 i checked the firewall it is disabled.
    Error: The network connection was aborted by the local system
    Given is my smb.conf out put file...
    # Global parameters
    [global]
    server string = Samba Server
    log file = /usr/local/samba/var/log.%m
    max log size = 50
    dns proxy = No
    comment = All Printers
    path = /var/spool/samba
    hosts allow = localhost, blr-abi, 192.168.1., 192.168.2., 127.
    printable = Yes
    browseable = No
    [myshare]
    comment = Mary's and Fred's stuff
    path = /usr
    valid users = root, apun
    read only = No
    create mask = 0765
    guest ok = Yes
    printable = No
    browseable = Yes

    hi all
    issue resolved actually port was conflicting in /etc/services i have readded the entry in /etc/service
    Thanks

  • Retain SAMBA permissions while migrating from linux to solaris 10 x86

    Hello,
    We are migrating a system from Redhat to Solaris 10 x86 and this has brought up a question on how we can restore our SAMBA files and retain our permissions that are associated by the users name rather then their numeric ID(UID/GID). So far my research hasnt produced anything that gives a solid answer to how we do this and is it even possible.
    The problem is that Windows user and group accounts are mapped locally per host by default. That mapping is defined as the accounts are referenced, so unless there is a way to guarantee the order of accounts being referenced, the mappings from Windows SIDs to Unix UIDs will be different between old and new.
    If the data restoration option we choose for the new server is naive and restores only by UID and GID, the permissions in the ACLs will not map to the correct Windows accounts. We either must find a restoration option which restores permissions by name rather than ID or we must create a script which can automate pushing the ACLs into the restored filesystem correctly by name.
    Initially I thought ufsdump could handle this but we are on ext3 filesystem going to vxfs. I have read a little on star but havent heard about it before. Has anyone used star for backup/restore for the purpose of retaining ACL ownership/permissions? It seems like its an old utility, maybe not used much anymore. Does anyone have a utility they have used for this purpose?
    Your help is much appreciated!!
    LR

    The problem is that Windows user and group accounts are mapped locally per host by default. That mapping is defined as the accounts are referenced, so unless there is a way to guarantee the order of accounts being referenced, the mappings from Windows SIDs to Unix UIDs will be different between old and new.Is there anyway that you can sanitize and post a small snippet of what's going on with the mapping files? I think I can follow this but I'm a bit confused by the username/UID thing since usually if a username is defined in /etc/passwd than the files will display the username. If a username is not defined in /etc/passwd then the ls command will revert to just showing the numbers which I take it is what you don't want to happen.
    If you could also sanitize and post even one of the acl's that might help clear up that portion of the problem as well.
    alan

  • Samba on Solaris 10 x86

    I tried to install Samba (samba-3.0.10-sol10-intel-local.gz) on my Solaris 10 OS that is running on VMWare5. Samba reports an error message:
    ld.so.1: ./smbd: fatal: libiconv.so.2: open failed: No such file or directory Killed.
    Prior to Samba installation I have installed following packages:
    - readline-5.0-sol10-intel-local.gz
    - popt-1.7-sol10-intel-local.gz
    - ncurses-5.4-sol10-intel-local.gz
    - libiconv-1.8-sol10-intel-local.gz
    - libgcc-3.3-sol10-intel-local.gz
    I was following this order respectively and there were some conflicting files in this process so I replace them. Didnt know what else to do...?
    Please help. hilfe. aiuto. pomoc.

    Also, if you are running any of the SMB commands from the command line and still get the same error, make sure you have libiconv's lib path in your "LD_LIBRARY_PATH" setting.
    Brady R. Jones
    Sr. Systems Administrator
    National Solar Observatory
    Sunspot, NM 88349
    DSN: 572-7542 ex 7038
    PH: (505) 434-7038
    FX: (505) 434-7029
    http://www.nso.edu
    bjones&#64;nso.edu

  • How To Enable Samba And SWAT In Solaris 10

    Link: http://bensweb.no-ip.info/ultrasparc/samba.htm
    This is a short and simple guide that I wrote for new Solaris users who want to get Samba and SWAT up and running quickly. (It works with SPARC and x86.) Enjoy!

    i try go to link http://bensweb.no-ip.info/ultrasparc/samba.htm but
    the result is not found ...The requested URL /ultrasparc/samba.htm was not found on this server.
    anyone..help me how to enable samba on solaris 10

  • Solaris 10 u5 Samba slow transfer rates?

    Hi!
    I've installed Solaris 10 x86 (Core2Duo - x64) server, with Samba over ZFS RAID-Z. Samba is a part of Active Directory Domain. I've managed to join it to domain, to get the users and groups from A.D. and to translate them to Unix IDs. Everything works really good. Samba is installed from the packages from Solaris 10 DVD.
    Only problem I have is the performance :( It's disastrous!
    On 100Mbit Realtek NIC, Samba can manage around 4 MB/s if log level is set to very high (10). If I lower it to 0, then transfer rates go up to 7.5-8.5MB/s and they fluctuate in that interval.
    On the same network, there is a Debian Samba server, and transfer rates go high as 10.5-11.0MB/s.
    Next test I did was switching to Gbit interface. That increased transfer rates up to 25 MB/s, but that is still 5 times slower than the theoretical limit.
    So, next thing I've tried was to switch to Blastwave (CSW) Samba instead of SUNW Samba.... My transfer rates went back to normal immediately! It was a bit of shock for me... I could transfer about 10MB/s on 100Mbit interface, and around 45MB/s on 1Gbit interface. 45MB/s is theoretically limit of the workstation hard drive I was doing transfers from.
    Sun packaged (SUNW) Samba is 3.0.28 patched today to the latest patchlevel, and CSW uses 3.0.23. I used CSW Samba with the exact same smb.conf file. Only problem is - I never managed to connect CSW samba to ADS on my network :( So I gave up on that, and I'm facing a dilemma. Managers request full speed of the Samba server (comparable to Linux/Windows shares), but I just can't connect to Domain with CSW package.
    So I'm asking you guys - any ideas what could be the problem with SUNW Samba and performance? Is it just the 3.0.28 vs 3.0.23 issue, or what? Why is there so big difference in transfer rates? :(
    Please help!

    OK, here goes my smb.conf:
    [global]
    workgroup = MYCOMPANY
    realm = MYCOMPANY.LOCAL
    server string = server4 (Samba, Solaris 10)
    security = ADS
    map to guest = Bad User
    obey pam restrictions = Yes
    password server = server1.mycompany.local
    passdb backend = tdbsam
    log file = /var/samba/log/log.%m
    max log size = 50
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
    load printers = No
    local master = No
    domain master = No
    dns proxy = No
    idmap uid = 10000-90000
    idmap gid = 10000-90000
    winbind separator = +
    winbind enum users = Yes
    winbind enum groups = Yes
    winbind use default domain = Yes
    [share]
    comment = Share on ZFS Raid-Z
    path = /tank/share
    force user = local_user
    force group = users
    read only = No
    guest ok = Yes
    vfs objects = zfsacl

  • Samba security on solaris 10

    Is samba now considered a secure way to allow access to files on solaris 10?
    When ever we have had security reports done on servers in the past, they always seem to complain that it is not a secure way to transfer files and advise that it is turned off.
    We have always tried to use scripts using sftp where possible.
    Is the general feeling that sftp/scp is the preferred method to samba?
    Thank you.

    Dear Fieropunk,
    Now I have problem with wget utility below with the same URL, please kindly help to check to check and give advice.
    If access with URL below is can receive data
    #./wget no-check-certificate private-key=/cert/data.pem --certificate=/cert/data.crt "https://server1.com.kh"
    10:29:13 https://server1.com.kh
    => `index.html'
    Resolving https://server1.com.kh... 172.168.100.67
    Connecting to https://server1.com.kh. connected.
    WARNING: Certificate verification error for https://server1.com.kh: self signed certificate in certificate chain
    HTTP request sent, awaiting response... 200 OK
    Length: 285 [text/html]
    100%[====================================>] 285 --.--K/s
    10:29:13 (8.85 MB/s) - `index.html' saved [285/285]
    If I access with long URL below is cannot receive data too but on Linux OS(Debian) can receive data
    #./wget no-check-certificate private-key=/cert/data.pem --certificate=/cert/data.crt "https://server1.com.kh/data/?action=datano;datano=aaaa"
    10:38:56 https://server1.com.kh/data/?action=datano;datano=aaaa
    => `index.html?action=datano;datano=aaaa'
    Resolving server1.com.kh... 172.168.100.67
    Connecting to server1.com.kh|172.168.100.67|:443... connected.
    WARNING: Certificate verification error for server1.com.kh: self signed certificate in certificate chain
    HTTP request sent, awaiting response... No data received.
    Retrying.
    Note: this domain (server1.com.kh) is running on CentOS
    Please kindly give advice,
    Thanks and regards,
    Heng

  • Samba 4.x in Solaris 10 1/13 SPARC

    Hi,
    Can I get samba version 4.x in Solaris 10 1/13 SPARC?
    I need to work Windows Server 2012 shares with encryption and SMB version 3
    I have smbclient 3.6.20
    thanks
    fabian

    As we don't provide this version, the only ways to obtain it is to compile directly the code source or find a package in Internet that works with Solaris 10.

  • Samba errors & how to resolve them on Solaris 10?

    Hi All,
    I found the following errors in a number of /var/samba/logs Samba 3.0.37 on our Solaris servers even though they are working fine:
    log.smbd
    [2011/03/11 14:25:56, 0] auth/auth_util.c:(844)
    create_builtin_administrators: Failed to create Administrators
    [2011/03/11 14:28:44, 0] lib/util_sock.c:(1224)
    getpeername failed. Error was Transport endpoint is not connected
    [2011/03/11 14:28:44, 0] lib/util_sock.c:(261)
    Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
    [2011/03/11 14:28:44, 0] lib/util_sock.c:(261)
    Failed to set socket option TCP_NODELAY (Error Invalid argument)
    [2011/03/11 14:28:44, 0] lib/util_sock.c:(1224)
    getpeername failed. Error was Transport endpoint is not connected
    [2011/03/11 14:28:44, 1] lib/util_sock.c:(1183)
    Gethostbyaddr failed for 0.0.0.0
    [2011/03/11 14:28:44, 0] lib/util_sock.c:(1224)
    log.wb-testSERVER
    [2011/05/10 10:31:21, 0] nsswitch/winbindd_passdb.c:(126)
    Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend
    log.einbindd-idmap
    [2011/05/10 10:03:21, 0] nsswitch/idmap.c:(820)
    ERROR: Initialization failed for alloc backend, deferred!
    [2011/05/10 10:03:21, 1] nsswitch/idmap_tdb.c:(397)
    idmap uid range missing or invalid
    idmap will be unable to map foreign SIDs
    [2011/05/10 12:07:45, 0] nsswitch/idmap.c:(820)
    ERROR: Initialization failed for alloc backend, deferred!
    Any ideas on what is causing these and suggestion on resolving them?
    Also like to find out where to get the latest version of Samba that is packaged for Solaris 10 environment.
    Thanks a million,
    Crystal

    Hi 799713,
    The ideal solution would be to apply patches 119757-19 & 146363-01 to update Samba to 3.5.5 as advised by bobthesungeek76036. Unfortunately, this is not an option for us since one require a software contract with Oracle to get patches these days. As a result, below are some of the steps that I have attempted but still needing further advice to complete:
    ( i ) Neither do Windows XP / 2008 clients can connect after excluding port 445 with 139. Keeping port 445 would end up with “transport endpoint” errors but I will try to live with it for now.
    ( ii ) Downloaded Samba 3.4.2 (samba-3.4.2-sol10-sparc-local.gz) from Sunfreeware but having trouble installing it with “pkgadd –d /tmp/samba-3.4.2-sol10-sparc-local with the following output:
    # showrev
    Hostname: venus
    Hostid: 85wt6521
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:
    Kernel version: SunOS 5.10 Generic_141444-09
    # ls -lt samba-3.4.2-sol10-sparc-local
    -rwxr-xr-x   1 root  bin  269462528 Mar  3 17:09 samba-3.4.2-sol10-sparc-local
    # pkgadd -d /tmp/samba-3.4.2-sol10-sparc-local
    ld.so.1: pkgadd: fatal: libdlpi.so.1: open failed: No such file or directory
    Killed
    # /tmp/samba-3.4.2-sol10-sparc-local
    /tmp/samba-3.4.2-sol10-sparc-local[2]: SMCsamba:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[4]: 07070100024738000081a40000000a0000000a000000
    014aceecfa000000af000000200000000000000000000000000000001100000000SMCsamba/pkgin
    foPKG=SMCsamba:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[9]: Samba:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[11]: Christensen:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[14]: 07070100024737000081a40000000a0000000a00000
    0014aceecfa0003a34d000000200000000000000000000000000000001000000000SMCsamba/pkgm
    ap::  not found
    /tmp/samba-3.4.2-sol10-sparc-local[15]: 1:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[16]: 1:  not found
    /tmp/samba-3.4.2-sol10-sparc-local[17]: 1:  not found
    ……..( iii ) Is it still necessary to install all these dependencies as stated on Sunfreeware even though samba-3.4.2-sol10-sparc-local.gz is already 257MB:
    popt,
    libiconv,
    libintl,
    readline,
    ncurses,
    kerberos,
    openssl-1.0.0d,
    openldap,
    sasl2,
    zlib,
    and either the libgcc-3.4.6 or the gcc-3.4.6 packages.
    ( iv ) How to turn off existing version 3.0.37 before replacing it with 3.4.2 once it is successfully installed? ? The current version install samba files in /usr/sfw, /etc/sfw and /var/samba. Where will the new installation files go to?
    ( v ) Couldn’t find anything on samba from Blastwave. Do you have an URL that I could try?
    It would be simpler to do a single bundled install as opposed to adding dependency libraries individually where possible.
    Many thanks again,
    Crystal

  • How to configure Samba on Solaris 9.0 x86

    Dear All :
    I installed Solaris 9.0 on my machine , i know that Samba is installed " i used pkginfo | grep samba "
    . but the related services are not in /etc/inetd.conf or /etc/services files .
    what to do to activate samba and make it to run at start up .
    Thank s

    Try to see the following links, I did get my samba up and running and its working fine, these two links did help me a lot in configuring the file.
    http://www.oreilly.com/catalog/samba/chapter/book/index.html
    http://www.swlink.net/~styma/SunAtHome/Samba.html
    Samir Patel

Maybe you are looking for

  • MRP issue -reg

    Hi Friends, The quiery is like this MD01 is scheduled as a background job using MDBT transaction . Here  values are maintained for MRP control parameters which appear on MD01 initial screen like Processing key   Create purchase req Schedule lines   C

  • How to copy a link in a CODE box?

    Is there an app/program/workaround to be able to copy a link that's inside of a forums CODE box? Or do I need an iOS download manager? If so, any recommendations would be apprectiated.

  • Open office document viewer

    Hi ,     Is there any way to view open office documents  in flex ? Thanks for help in advance

  • Can you auto resize when tethered shooting?

    Is it possible to have lightoom automatically resize an image when you are tethered capturing?

  • Issues to be aware of when upgrading from SP1 to SP7

    Dear All, We are planning to upgrade from SP1 to SP7 of Microsoft version of SAP BPC. Are there any major pitfalls that we should be aware of with this upgrade? Is SP7 a stable release? Thanks in advance, Mark