Fedora Linux Support Community & Resources Center
  #1  
Old 20th February 2008, 10:02 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
How can I remove totally Samba Server ?

I have delete all /etc/samba files either /var/lib/samba and i want to reinstall a Fresh Samba Server
Reply With Quote
  #2  
Old 20th February 2008, 10:27 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
could anyone help me about this ?
Reply With Quote
  #3  
Old 20th February 2008, 10:50 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,048
in a root term
rpm -e samba --nodeps
yum install samba

SJ
__________________
Do the Math
Reply With Quote
  #4  
Old 20th February 2008, 11:00 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
Quote:
Originally Posted by SlowJet
in a root term
rpm -e samba --nodeps
yum install samba

SJ
thanks a lot
I done these, now i have cleary install files in /var/lib/samba/ ?

I get this on /var/log/samba/log.smbd


[2008/02/20 12:43:05, 1] smbd/server.c:open_sockets_smbd(491)
Reloading services after SIGHUP
[2008/02/20 12:43:07, 0] smbd/server.c:main(944)
smbd version 3.0.28-0.fc8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/02/20 12:43:07, 0] param/loadparm.c:lp_passdb_backend(1869)
WARNING: Your 'passdb backend' configuration includes multiple backends. This
is deprecated since Samba 3.0.23. Please check WHATSNEW.txt or the section 'Passdb
Changes' from the ChangeNotes as part of the Samba HOWTO collection. Only the first
backend (tdbsam) is used. The rest is ignored.
[2008/02/20 12:43:07, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:43:07, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:43:07, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:43:07, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:50:51, 1] smbd/server.c:open_sockets_smbd(491)
Reloading services after SIGHUP
[2008/02/20 12:50:54, 0] smbd/server.c:main(944)
smbd version 3.0.28-0.fc8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/02/20 12:50:54, 0] param/loadparm.c:lp_passdb_backend(1869)
WARNING: Your 'passdb backend' configuration includes multiple backends. This
is deprecated since Samba 3.0.23. Please check WHATSNEW.txt or the section 'Passdb
Changes' from the ChangeNotes as part of the Samba HOWTO collection. Only the first
backend (tdbsam) is used. The rest is ignored.
[2008/02/20 12:50:54, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:50:54, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:50:54, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:50:54, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:54:43, 0] smbd/server.c:main(944)
smbd version 3.0.28-0.fc8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/02/20 12:54:43, 0] param/loadparm.c:lp_passdb_backend(1869)
WARNING: Your 'passdb backend' configuration includes multiple backends. This
is deprecated since Samba 3.0.23. Please check WHATSNEW.txt or the section 'Passdb
Changes' from the ChangeNotes as part of the Samba HOWTO collection. Only the first
backend (tdbsam) is used. The rest is ignored.
[2008/02/20 12:54:43, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:54:43, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:54:43, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/02/20 12:54:43, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2008/02/20 12:54:46, 1] smbd/server.c:open_sockets_smbd(491)
Reloading services after SIGHUP
Reply With Quote
  #5  
Old 20th February 2008, 11:00 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
I have in smb.conf (my old configuration from other server Ubuntu)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# 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 most of which
# are not shown in this example
#
# 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 commentary 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 many any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

#interfaces = lo eth0
#bind interfaces only = true


# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = Servers

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
; wins support = no

# 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

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast


#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
; syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc
# package for details.
; security = share
username map = /etc/samba/smbusers




# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam guest

obey pam restrictions = yes

guest account = nobody
#invalid users = root

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
; unix password sync = no

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <aluton@hybrigenics.fr> for
# sending the correct chat script for the passwd program in Debian Potato).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
; pam password change = no


########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#; load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
#; printing = bsd
#; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
#; printing = cups
#; printcap name = cups

# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
#; printer admin = @ntadmin


######## File sharing ########

# Name mangling options
; preserve case = yes
; short preserve case = yes


############ Misc ############

# 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
; include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
; domain master = auto

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = no
writable = no


# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

#[printers]
#comment = All Printers
#browseable = no
#path = /tmp
#printable = yes
#create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
#[print$]
#comment = Printer Drivers
#path = /var/lib/samba/printers

# SECURE SAMBA SERVER
[SambaShare]
comment = Samba Share Folder
path = /home/SambaShare
guest ok = yes
#public = yes
writable = no
create mask = 0700
directory mask = 0700
force user = smbstudent
force group = nogroup
browseable = yes
#read only = yes
#valid users = smbstudent
#read list = smbstudent

[SambaCopy]
comment = Samba Copy Files
path = /home/SambaCopy
available = yes
valid users = smbroot
browseable = yes
public = yes
writable = yes
force user = smbroot

and i tried from the same computer via VMware or smb://servers/"this computer"/
and i cannot access to these folders..

What i want to do is the SambaShare folder be RO to guest or smbstudent and with smbroot full access

Any suggests ?
Reply With Quote
  #6  
Old 20th February 2008, 11:23 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
My general problem is that i cannot access from other computerto share Folders
Reply With Quote
  #7  
Old 20th February 2008, 11:51 AM
tousisd Offline
Registered User
 
Join Date: Jan 2008
Posts: 23
ok i found in other forums that is a bug and will fix this till the next update..

Also i done the access
thnx a lot
Reply With Quote
Reply

Tags
remove, samba, server, totally

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Totally confused on how to remove linux. Rayth Using Fedora 7 24th July 2009 01:10 PM
How to Remove Gui from server? jmaguire123 Using Fedora 6 8th December 2007 03:05 AM
Samba & Nautilus 2.14.0 (in FC5) - Totally Screwed? futz Servers & Networking 4 2nd April 2006 04:03 AM
Scripts to Add / remove users to Samba server mahmoudkhn Servers & Networking 0 26th January 2005 05:50 PM


Current GMT-time: 04:05 (Friday, 25-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat