LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 11:32 AM   #1
p03p
Member
 
Registered: Feb 2009
Posts: 52

Rep: Reputation: 15
samba file server help


Im using debian and have samba installed on my machine now. Im also using Gnome.

I have selected system->shared folder

Here i can select which directory i can share and and workgroup name and then hit the button "share". But when i logon to windows xp and check the workgroup i cant find my linux workgroup.

Can someone please help me out?
 
Old 03-04-2009, 01:00 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,314

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
Quote:
Originally Posted by p03p View Post
Im using debian and have samba installed on my machine now. Im also using Gnome.

I have selected system->shared folder

Here i can select which directory i can share and and workgroup name and then hit the button "share". But when i logon to windows xp and check the workgroup i cant find my linux workgroup.

Can someone please help me out?
Have you shared it as Samba, or as NFS?
 
Old 03-04-2009, 01:03 PM   #3
p03p
Member
 
Registered: Feb 2009
Posts: 52

Original Poster
Rep: Reputation: 15
I shared it as samba. And i found the workgroup now, but the next problem is that its empty although there should be something

Last edited by p03p; 03-04-2009 at 01:19 PM.
 
Old 03-04-2009, 03:38 PM   #4
bohdie
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
Samba connections

Most of the time when I encounter this issue, it is one of two things.
Fisrt is access, is the server I am using for the samba share have on the same domain. So all of my systems are on the hitchhiker domain.

If this is not the case, I would execute the \\ip-address from the start-run commandline. The system and then the share should show.

The second is permissions. I can see the share, but I am unable to create anything, but read is fine. So either a group setting in the samba configuration or a chmod on the directory.

Last and related is the well constructed and designed ultimate superbly defined Windows Firewall (NOT!!!) settings has hosed you.

After these items a whole heap of things could be the issue.
 
Old 03-04-2009, 04:23 PM   #5
p03p
Member
 
Registered: Feb 2009
Posts: 52

Original Poster
Rep: Reputation: 15
I just tried to acces it again but suddenly i cant find the domain/workgroup anymore. I am doing something very wrong but im not sure what :P
 
Old 03-04-2009, 05:27 PM   #6
p03p
Member
 
Registered: Feb 2009
Posts: 52

Original Poster
Rep: Reputation: 15
i also have gsambad installed now a gui for samba but still no luck
 
Old 03-05-2009, 11:05 AM   #7
bohdie
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
Sorry from the Slackware Essentials 2.0. Did not have time to write this myself, but this is usually where I start:

You will most likely wish to edit your -+$! 
)" file to reflect the network settings in
your LAN. I would suggest modifying the items listed below:
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = MYGROUP
Change the workgroup name to reflect the workgroup or domain name that you are
using locally.
# server string is the equivalent of the NT Description field
server string = Samba Server
This will be the name of your Slackware computer displayed in the Network Neighborhood
(or My Network Places) folder.
# Security mode. Most people will want user level security. See
# security_level.txt for details. NOTE: To get the behaviour of
# Samba-1.9.18, you’ll need to use "security = share".
security = user
You’ll almost certainly wish to implement user level security on your Slackware
system.
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba
# documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
If encrypt passwords is not enabled, you will not be able to use Samba with NT4.0,
Win2k, WinXP, and Win2003. Earlier Windows operating systems did not require
encryption to share files.
SMB is an authenticated protocol, meaning you must supply a correct username
and password in order to use this service. We tell the samba server what usernames
and passwords are valid with the smbpasswd command. smbpasswd takes a couple of
common switches to tell it to either add traditional users, or add machine users (SMB
requires that you add the computers’ NETBIOS names as machine users, restricting
what computers one can authenticate from).
Adding a user to the /etc/samba/private/smbpasswd file.
# smbpasswd -a user
Adding a machine name to the /etc/samba/private/smbpasswd file.
# smbpasswd -a -m machine
It’s important to note that a given username or machine name must already exist in the /etc/passwd file.
Note that when using the adduser command to add a machine name one must append
a dollar sign (“ $”) to the machine name. This should not however, be done
with smbpasswd. smbpasswd appends the dollar sign on its own. Failing to mangle
the machine name this way with adduser will result in an error when adding the
machine name to samba.
# adduser machine$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba File Server matsyuf Linux - Server 1 05-09-2008 03:23 PM
samba file server neocontrol Linux - Networking 1 05-07-2006 06:55 AM
Samba file server Temujin_12 *BSD 14 06-11-2005 08:50 PM
File Server - File system? Samba SUSE9 crazyswede Linux - Newbie 1 04-14-2005 11:04 AM
Samba file server pili Linux - Software 9 08-18-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration