LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2004, 11:07 AM   #1
sirlboy
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Configure Samba file


I am using Suse 9.1 personal, and dowloaded and installed Samba, (which i think worked). I want to network it with windows through a router, and also print.

My current samba.conf is

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-09-16
[global]
workgroup = SIRLHOME
netbias name = Linux.default
server string = James' Linux
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = all users
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[pdf]
comment = PDF creator
path = /var/tmp
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

I changed the [QUOTE]# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-09-16
[global]
workgroup = SIRLHOME
netbias name = Linux.default
server string = James' Linux
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = all users
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[pdf]
comment = PDF creator
path = /var/tmp
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664

I changed the workgroup name to my current workgroup, and added my netbias name and server string.

I am a and any help to get anything to work, would be appreciated.
James
 
Old 10-28-2004, 11:10 AM   #2
sirlboy
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
i also get told that the smb protocol is not supported
 
Old 10-28-2004, 11:17 AM   #3
baz2
Member
 
Registered: Nov 2002
Posts: 73

Rep: Reputation: 15
I don't do SUSE, but the first that that jumps out at me is that you are editing the wrong file. You should be working with "/etc/samba/smb.conf".

Second, how do you know the smb service is running?

Third, I'm more familiar with Redhat/Fedora versions of the smb.conf file, but even with SUSE I should think there should be a "server = user" (or = something) line to indicate the type of security Samba will use.

Just some thoughts about where to start.
 
  


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
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 10:12 AM
Samba won't configure .. :( sys7em Linux - Software 3 10-30-2004 03:46 PM
I canīt configure Samba in RH9 Gekare Mandriva 1 11-23-2003 03:34 PM
Samba Configure romel Linux - Networking 9 09-08-2003 11:24 AM
help me configure my samba mmuy Linux - Distributions 5 09-07-2002 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 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