Sponsored Content
Special Forums Cybersecurity Unable to configure samba on linux 7.1 Post 6134 by LivinFree on Thursday 30th of August 2001 09:29:58 AM
Old 08-30-2001

Check your /etc/smb.conf file. Depending on whether you've set up server security, user security, or the other (I can't think of the name right now), you might actually have to have the user ID that is connecting (the windows user name) added to your /etc/passwd file - basically set up as a regular user. Also, did you run testparm after you set up the smb.conf file? Make sure the Unix permissions for the Samba-shared directories are set up to allow that particular user the appropriate access.

Samba is a tough thing to get set up the way you want it at first, but once you get the hang of it, it's worth it. Just keep trying... it comes eventually Smilie
 

10 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. Red Hat

Unable to install & configure Sendmail

Hi All • Regarding installing sendmail pkg in server, I tried to install the pkg but getting the below errors as shown below - any idea on this? • But I have successfully installed sendmail-cf pkg in the server box • But that is not sufficient we also need to install sendmail pkg • Help is... (2 Replies)
Discussion started by: csaha
2 Replies

3. Windows & DOS: Issues & Discussions

Unable to delete a file through SAMBA

We have AIX box with a share. We have a Windows 2000 server with a mapped drive to this share. We were able to create and delete files inside the mapped drive. I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share. However, now we can... (3 Replies)
Discussion started by: mcubitt
3 Replies

4. IP Networking

How to configure Samba 3 for IPv6 operation with Window XP for IPv4

Need help...! I want to configure Samba 3 for IPv6 operation with Window XP for IPv4. I appreciate any guide. Thanks HSV (0 Replies)
Discussion started by: Sovan
0 Replies

5. Solaris

Server unable to send mail-how to configure

Hi All, I'm unable to send out email using mailx command in a new server. I guess the server has to be configured for this. I searched a lot and everywhere it was asked to check /etc/sendmail.cf (I don't have this file in that path.) And I don't have a folder called host or hosts in /etc... (6 Replies)
Discussion started by: Qwerty123
6 Replies

6. Linux

Unable to configure in VMWARE

Hi All, I installed Red-hat linux(64bit-x86) os on vmware 8,configure IP address and services but it is unable to come in to network.it is production server. please provide solution to me , it is very urgent... (2 Replies)
Discussion started by: Rajesh_Apple
2 Replies

7. Shell Programming and Scripting

unable to configure NIS client server

Dear all, I am using solaris 10 OS. I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error. Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Discussion started by: bhargav90
2 Replies

8. Red Hat

Configure Samba with Remote LDAP for Authentications.

I am working on configuring Samba with Remote LDAP for Authentications but facing issue on the same. I googled for the this but most of the setup is to connect local Samba and LDAP with samba-ldap tools but in my case this is on a separate machines. Please help me to configure this. ... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

9. Red Hat

Unable to configure Photon3G in RHEL6.5

Hi All, Has Any body configured Photon3G ( ZTE MF190 ) on RHEL6.5. Any Device as below .. Bus 001 Device 033: ID 19d2:1254 ZTE WCDMA Technologies MSM Kernel -- 2.6.32-431.30.1.el6.x86_64 Usb modeswitch Version .. usb_modeswitch-data-20120815-2.el6.noarch... (0 Replies)
Discussion started by: linux.amrit
0 Replies

10. UNIX for Advanced & Expert Users

Configure samba with PAM point 2 different LDAP

Hi, I would like to configure samba with PEM (with LDAP). I've already found, on the server, configured the PAM Authentication(with LDAP) for ssh. I wanted to know if it was possible to configure PAM for to authenticate to another LDAP only for SAMBA. Is possibile duplicate the... (2 Replies)
Discussion started by: mark888
2 Replies
TESTPARM(1)															       TESTPARM(1)

NAME
testparm - check an smb.conf configuration file for internal correctness SYNOPSIS
testparm [-s] [-h] [-v] [-L<servername>] [-t<encoding>] {configfilename} [hostnamehostIP] DESCRIPTION
This tool is part of the samba(7) suite. testparm is a very simple test program to check an smbd(8) configuration file for internal correctness. If this program reports no prob- lems, you can use the configuration file with confidence that smbd will successfully load the configuration file. Note that this is NOT a guarantee that the services specified in the configuration file will be available or will operate as expected. If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service. If testparm finds an error in the smb.conf file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from testparm. OPTIONS
-s Without this option, testparm will prompt for a carriage return after printing the service names and before dumping the service defini- tions. -h|--help Print a summary of command line options. -V Prints the program version number. -L servername Sets the value of the %L macro to servername. This is useful for testing include files specified with the %L macro. -v If this option is specified, testparm will also output all options that were not used in smb.conf(5) and are thus set to their defaults. -t encoding Output data in specified encoding. --parameter-name parametername Dumps the named parameter. If no section-name is set the view is limited by default to the global section. It is also possible to dump a parametrical option. Therfore the option has to be separated by a colon from the parametername. --section-name sectionname Dumps the named section. configfilename This is the name of the configuration file to check. If this parameter is not present then the default smb.conf(5) file will be checked. hostname If this parameter and the following are specified, then testparm will examine the hosts allow and hosts deny parameters in the smb.conf(5) file to determine if the hostname with this IP address would be allowed access to the smbd server. If this parameter is sup- plied, the hostIP parameter must also be supplied. hostIP This is the IP address of the host specified in the previous parameter. This address must be supplied if the hostname parameter is sup- plied. FILES
smb.conf(5) This is usually the name of the configuration file used by smbd(8). DIAGNOSTICS
The program will issue a message saying whether the configuration file loaded OK or not. This message may be preceded by errors and warn- ings if the file did not load. If the file was loaded OK, the program then dumps all known service details to stdout. VERSION
This man page is correct for version 3.0 of the Samba suite. SEE ALSO
smb.conf(5), smbd(8) 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 original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. TESTPARM(1)
All times are GMT -4. The time now is 11:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy