LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-11-2011, 11:04 AM   #1
acetonitrile
Member
 
Registered: Aug 2009
Location: NYC
Distribution: Debian
Posts: 32

Rep: Reputation: 15
Need some HELP for Samba on Squeeze Debian with dockstar


I did search and tried, but looks like none of them work.

At the beginning, I still can see the Samba share folder from PC vista, but after I change the smb.conf, it is totally out of service.

Here it is:

[global]
workgroup = workgroup_liu
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
load printers =no

[SAMBA]

path=/home/pcguest
read only = no
browseable=yes
writeable=yes
public = yes
valid users = pcguest
admin users = debain

First I "added public =yes" and "read only=no" Second I made the "/home/pcguest" folder.

That is what I did. I understand I should change the folder authority. I made the folder because I checked the user pcguest can write here in /home/pcguest.

Need some link where can explain it clearly. Most information I got it is out of date.

And I can not restart Samba with samba restart.

When I checked all the step I did before, I noticed that I did restart samba once just after I installed it with the conf like this

[global]
workgroup = debian
netbios name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0

[SAMBA]

path=/samba
browseable=yes
writeable=yes
valid users = pcguest
admin users = debain

Fellow is what I got when I run restart.

root@debian:~# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.

Which means the .conf change effect the restart.

I changed the conf back, but when I do restart again nothing show up like stopping or starting.

Thanks a lot.
 
Old 03-12-2011, 07:21 AM   #2
Omnicronos
Member
 
Registered: Oct 2010
Location: N. VA
Distribution: Redhat, CentOS, Solaris
Posts: 40

Rep: Reputation: 12
What samba packages do you have? Example:
Quote:
[root@testserver]# rpm -q --all | grep samba
samba-winbind-3.2.8-0.27.fc10.i386
samba-client-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
system-config-samba-1.2.67-3.fc10.noarch
samba-common-3.2.8-0.27.fc10.i386
If you haven't already, I would make sure all your packages are up-to-date.

I would start with a barebones smb.conf file and work your way up. Something like this:

Quote:
[global]
workgroup = SIMPLE
[test]
comment = For testing only, please
path = /export/samba/test
read only = no
guest ok = yes
Once that basic config file is working, then would be the time to increase its complexity. Also, instead of using restart, does it state anything different when you use start? Have you tried using:
Quote:
service smbd start
service nmbd start
One other option you have is to use SWAT, if you have it. It can make configuring samba a bit easier.

http://www.linux.com/archive/feature/125452
 
Old 03-12-2011, 10:27 PM   #3
acetonitrile
Member
 
Registered: Aug 2009
Location: NYC
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
I tried to list all the samba related packages I have
looks like I do not have system-config-samba, but I can not find this package for debian.

Code:
#apt-cache search samba
auth2db-filters - Auth2db defaults filters pack
cadaver - command-line WebDAV client
ctdb-dbg - CTDB debugging symbols and test suite
ctdb - clustered database to store temporary data
dpsyco-samba - Automate administration of access to samba
fusesmb - filesystem client based on the SMB file transfer protocol
gadmin-samba-dbg - GTK+ configuration tool for samba (debug)
gadmin-samba - GTK+ configuration tool for samba
gadmintools - GTK+ server administration tools (meta-package)
gnome-system-tools - Cross-platform configuration utilities for GNOME
gosa-plugin-samba - samba3 plugin for GOsa?
gosa - Web Based LDAP Administration Program
kdenetwork-filesharing - network filesharing configuration module
komba2 - KDE Samba browser
ldap-account-manager - webfrontend for managing accounts in an LDAP directory
ldapscripts - Add and remove user and groups (stored in a LDAP directory)
python-ldaptor - pure-Python library for LDAP operations
libcrypt-smbhash-perl - generate LM/NT hash of a password for samba
libfilesys-smbclient-perl - perl interface to access Samba filesystem
libnet-nbname-perl - NetBIOS Name Service Requests
nautilus-share - Nautilus extension to share folder using Samba
slapd-smbk5pwd - Keeps Samba and Kerberos passwords in sync within slapd.
php-auth - PHP PEAR modules for creating an authentication system
pyneighborhood - PyGTK2 SAMBA browser
python-smbc - Python bindings for the Samba client library
python-smbpasswd - This module can generate both LANMAN and NT password hashes
libpam-smbpass - pluggable authentication module for Samba
libsmbclient-dev - development files for libsmbclient
libsmbclient - shared library for communication with SMB/CIFS servers
libwbclient0 - Samba winbind client library
samba-common-bin - common files used by both the Samba server and client
samba-common - common files used by both the Samba server and client
samba-dbg - Samba debugging symbols
samba-doc-pdf - Samba documentation in PDF format
samba-doc - Samba documentation
samba-tools - Samba testing utilities
samba - SMB/CIFS file, print, and login server for Unix
smbclient - command-line SMB/CIFS clients for Unix
swat - Samba Web Administration Tool
winbind - Samba nameservice integration server
smb2www - SMB/CIFS network client with a web interface
smb4k - A Samba (SMB) share advanced browser for KDE
smbc - samba-commander - curses based samba network browser
smbldap-tools - Scripts to manage Unix and Samba accounts stored on LDAP
snort-common-libraries - flexible Network Intrusion Detection System ruleset
snort-common - flexible Network Intrusion Detection System [common files]
snort-doc - Documentation for the Snort IDS [documentation]
snort-mysql - flexible Network Intrusion Detection System [MySQL]
snort-pgsql - flexible Network Intrusion Detection System [PostgreSQL]
snort - flexible Network Intrusion Detection System
xsmbrowser - X11 tool for navigating SMB Networks

Last edited by acetonitrile; 03-12-2011 at 10:42 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS LXer Syndicated Linux News 0 03-09-2011 05:20 AM
LXer: How to install and Configure SAMBA in Debian Squeeze LXer Syndicated Linux News 0 02-26-2011 11:04 PM
wireless usb adapter not working in Debian on Segate Dockstar saftar Linux - Wireless Networking 2 01-26-2011 07:44 PM
LXer: Goodbye Fedora, welcome back Debian, Part 2: Review of Debian Squeeze LXer Syndicated Linux News 0 12-02-2010 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration