Sponsored Content
Operating Systems Solaris Samba config for windows server Post 302843988 by frum on Friday 16th of August 2013 07:14:34 AM
Old 08-16-2013
Samba config for windows server

Hi all,

I'm using solaris 10 with latest patches applied. I'm using samba to make a directory called /dir1 available from a windows 2003 server.

If I do a 'Map network drive' on win 2003 server, I get the error:
The specified network is no longer available

In the samba-log under /var/adm/, I get the error:
auth/auth_server.c:100(server_cryptkey) password server not available

If I do a 'Map network drive' on win 7 (my laptop), here I'm able to see the share /dir1.

Please suggest what may be causing the issue...

My smb.conf file is as follows:
Code:
[global]
workgroup = testw1
server string = Samba Server
log file = /var/adm/samba_log.%m
security = SHARE
[BO]
comment = BO
path = /dir1
force user = dir1usr
force group = gd1
read only = No
guest ok = Yes

---------- Post updated at 03:14 PM ---------- Previous update was at 12:01 PM ----------

Issue got resolved.
Security settings under Local Policy Settings were causing this problem. I undid the settings and then tested. It was successful.

rgds.

Last edited by Franklin52; 08-16-2013 at 09:31 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. IP Networking

samba config with WEBMIN Tool

HI, I configured my samba, but it doesn't work correctly, Here is the error message: "d.so.1: /usr/local/samba/sbin/smbd: fatal: libpopt.so.0: open failed: No such file or directory" But there is a file in /usr/loca/samba/sbin/smbd Can you help me please?, thankx, p. (2 Replies)
Discussion started by: pitr
2 Replies

2. UNIX for Dummies Questions & Answers

Steps to Add Windows XP to Samba server

Hi All, I have setup Samba on Redhat linux ES 3.0 server but unable to add Windows XP professional to samba server so please let me know steps for the same. Thanks in advance Bachegowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

3. Linux

samba config

I am recently trying to configure my samba so I can share my fedora9 server file to my xp clients. However, I can't make it work so far.. please help. here is what i have done so far: 1. installed samba and in /etc/samba/smb.conf i have: comment = this folder is for... (0 Replies)
Discussion started by: k2k
0 Replies

4. Red Hat

Problems running redhat config samba in the GUI

hi Recently the above option has stopped working all together. On clicking on this option it appears as though the window will open as the outline of the box appears but nothing more. On running this from a command prompt within the GUI , I get the following error: The last line... (0 Replies)
Discussion started by: timcs
0 Replies

5. UNIX for Advanced & Expert Users

Samba config file syntax

I hope I'm posting in the right forum. In the samba config file smb.conf in the global settings area... we currently have a domain in the workgroup section as workgroup = domain_name I want to add another domain name to allow attaching to samba. What is the syntax to add another domain... (1 Reply)
Discussion started by: AWSeeker
1 Replies

6. Solaris

SAMBA config / vintala Authentication

could someone Please post step-by step samba config on solaris 10 we use vintala as a authentication tool dont know how to config with vintala Thank You (0 Replies)
Discussion started by: Xterm2121
0 Replies

7. UNIX and Linux Applications

Server migration from samba+ldap to windows server 2003

Hi, i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers. Where you can read how to do it? Or can tell me how to do it? Thanks. P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies

8. UNIX for Dummies Questions & Answers

Samba setup in virtual server environment Windows/ Linux

I have a home network set up that consists of a few windows clients and 3 centos, and 1 suse client. These are all virtual machines, VMware Workstation. One centos vm is set to be the Samba server. Do I need Samba set up on the other Linux clients?I have no problem seeing the windows clients... (0 Replies)
Discussion started by: ktb231
0 Replies

9. Emergency UNIX and Linux Support

Samba server does not show up in Windows Network Places

Hi all, I have run into this problem while trying to setup a CentOS based NAS for a friend of mine. We are using CentOS 6. The share on server can be accessed by it's IP. I have setup netbios name for the server. But that does not help. We need it to show up on Windows Network Places... (3 Replies)
Discussion started by: admin_xor
3 Replies

10. UNIX and Linux Applications

Samba config for Win7 clients

Hi Guys, Kindly advise what options/settings needed in smb.conf to support win7. currently we are experiencing slow connection issues from our recently upgraded win7 from XP to our Samba server ver. 3.0.33-3.7.el5_3.1 (1 Reply)
Discussion started by: RobertG
1 Replies
samba_selinux(8)					Samba Selinux Policy documentation					  samba_selinux(8)

NAME
samba_selinux - Security Enhanced Linux Policy for Samba DESCRIPTION
Security-Enhanced Linux secures the Samba server via flexible mandatory access control. FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If you want to share files other than home directories, those files must be labeled samba_share_t. So if you created a special directory /var/eng, you would need to label the directory with the chcon tool. chcon -t samba_share_t /var/eng To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration: semanage fcontext -a -t samba_share_t "/var/eng(/.*)?" This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local: /var/eng(/.*)? system_u:object_r:samba_share_t:s0 Run the restorecon command to apply the changes: restorecon -R -v /var/eng/ SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub- lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub- lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for samba you would execute: setsebool -P allow_smbd_anon_write=1 BOOLEANS
SELinux policy is customizable based on least access required. So by default SELinux policy turns off SELinux sharing of home directories and the use of Samba shares from a remote machine as a home directory. If you are setting up this machine as a Samba server and wish to share the home directories, you need to set the samba_enable_home_dirs boolean. setsebool -P samba_enable_home_dirs 1 If you want to use a remote Samba server for the home directories on this machine, you must set the use_samba_home_dirs boolean. setsebool -P use_samba_home_dirs 1 system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), samba(7), chcon(1), setsebool(8), semanage(8) dwalsh@redhat.com 17 Jan 2005 samba_selinux(8)
All times are GMT -4. The time now is 11:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy