Sponsored Content
Full Discussion: Samba configuration (?)
Operating Systems Linux Samba configuration (?) Post 302300877 by woofie on Wednesday 25th of March 2009 09:24:12 AM
Old 03-25-2009
After doing some more reading I think I might have to edit the smb.conf file the old fashion way Smilie

I've found some information which might help me. Just to confirm I'm going in the right direction though;
- I configure the smb.conf file
- add a user to the linux box
- use the adduser to add the client_pc then change this from user to a PC?
Quote:
John is the user that we are going to use and to client_pc is the machine that is going to enter the domain
Now we must publish the configuration file so that client_pc does not stay as user.

dc#nano /etc/passwd


It is necessary to put sign $ of such form that is left something like this

John:x:1004:1004:,,,:/home/leonardo:/bin/bash
client_pc$:x:1010:1010:,,,:/home/manager$:/bin/bash
- then create the above in samba
- then reboot (or manually restart samba)
- join the Windows XP machine to the domain

Can someone just confirm if I'm going down the right path here with this?

Thanks heaps Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Samba 3.0.24 Configuration Problem

Dear all, I have set the security level to user. My samba is running on Unixware 7.1.4. I get the following screen error when trying to login from windows clients.... (0 Replies)
Discussion started by: ndege
0 Replies

2. Red Hat

krb5.h not usable and not found during samba configuration error

Hi folks, I am using RH linux server 8.0 and have downloaded latest samba package for it. While configuring samba with --with-krb5 option while making this server join a windows AD domain, it gives the following error. active directory cannot be supported... (1 Reply)
Discussion started by: dextergenious
1 Replies

3. Red Hat

Re:Configuration of samba services

Hi, Can any one give me the simple way of configuring samba services on the linux server & similarly what are the thing that have to be done on the client side. Thanks & Regards Venky (0 Replies)
Discussion started by: venky_vemuri
0 Replies

4. UNIX for Dummies Questions & Answers

samba server configuration on linux.

Today I have configured samba server on my linux machine .I thought it would be better if i share it here and get feedback from an experienced users. This configuration is based on Redhat release 5. # lsb_release -a LSB Version: ... (0 Replies)
Discussion started by: pinga123
0 Replies

5. Solaris

solaris samba configuration without wins service from authentication window server/Active directory

Hi All, We are using solaris samba server for our company project to provide access to code to our development team.Recently our ICT has disabled wins service on Active directory due which user are not able to connect to samba share and they are getting error "No logon server available" as samba... (2 Replies)
Discussion started by: sahil_shine
2 Replies

6. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

7. UNIX and Linux Applications

Samba configuration

Good morning. I installed Samba on my server but I need some help in consfiguratin: 1. Access only for users from my network 2. Create catalog for all users, users not login - only read, users log in - all(read, create, write) 3. Create catalog for users group. If we create some group users... (2 Replies)
Discussion started by: Budrys
2 Replies

8. UNIX for Dummies Questions & Answers

Ubuntu Server 14.04 LTS - domain controller configuration (SAMBA)

Hello! Never configured a Linux server from a scratch. Reviewed the official documentation and dozens of different "how to", but now one of them helped me to solve the issue. The need: My final goal is to install a small network (later with around 10 stations) where I can controle the... (0 Replies)
Discussion started by: AQwert
0 Replies

9. IP Networking

Samba ha configuration require

I HAVE TO DESIGN TWO NODE SAMBA HA SERVER, TO DO THIS I NEED YOUR HELP, HOW CAN CONFIGURE SUCH SCENARIO? REGARDS PRAMOD INGOLE (4 Replies)
Discussion started by: pramod_ingole
4 Replies
LIBSMBCLIENT(7) 							 7							   LIBSMBCLIENT(7)

NAME
libsmbclient - An extension library for browsers and that can be used as a generic browsing API. SYNOPSIS
Browser URL: smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]] [?options] DESCRIPTION
This tool is part of the samba(7) suite. libsmbclient is a library toolset that permits applications to manipulate CIFS/SMB network resources using many of the standards POSIX functions available for manipulating local UNIX/Linux files. It permits much more than just browsing, files can be opened and read or written, permissions changed, file times modified, attributes and ACL's can be manipulated, and so on. Of course, its functionality includes all the capabilities commonly called browsing. libsmbclient can not be used directly from the command line, instead it provides an extension of the capabilities of tools such as file managers and browsers. This man page describes the configuration options for this tool so that the user may obtain greatest utility of use. OPTIONS
What the URLs mean: smb:// Shows all workgroups or domains that are visible in the network. The behavior matches that of the Microsoft Windows Explorer. The method of locating the list of workgroups (domains also) varies depending on the setting of the context variable (context->options.browse_max_lmb_count). It is the responsibility of the application that calls this library to set this to a sensible value. This is a compile-time option. This value determines the maximum number of local master browsers to query for the list of workgroups. In order to ensure that the list is complete for those present on the network, all master browsers must be querried. If there are a large number of workgroups on the network, the time spent querying will be significant. For small networks (just a few workgroups), it is suggested to set this value to 0, instructing libsmbclient to query all local master browsers. In an environment that has many workgroups a more reasonable setting may be around 3. smb://name/ This command causes libsmbclient to perform a name look-up. If the NAME<1D> or NAME<1B> exists (workgroup name), libsmbclient will list all servers in the workgroup (or domain). Otherwise, a name look-up for the NAME<20> (machine name) will be performed, and the list of shared resources on the server will be displayed. When libsmbclient is invoked by an application it searches for a directory called .smb in the $HOME directory that is specified in the users shell environment. It then searches for a file called smb.conf which, if present, will fully over-ride the system /etc/samba/smb.conf file. If instead libsmbclient finds a file called ~/.smb/smb.conf.append, it will read the system /etc/samba/smb.conf and then append the contents of the ~/.smb/smb.conf.append to it. libsmbclient will check the users shell environment for the USER parameter and will use its value when if the user parameter was not included in the URL. PROGRAMMERS GUIDE
Watch this space for future updates. VERSION
This man page is correct for version 3 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 libsmbclient manpage page was written by John H Terpstra. Samba 3.5 06/18/2010 LIBSMBCLIENT(7)
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy