LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Configure Samba file (https://www.linuxquestions.org/questions/linux-networking-3/configure-samba-file-248401/)

sirlboy 10-28-2004 11:07 AM

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 :newbie: and any help to get anything to work, would be appreciated.
James

sirlboy 10-28-2004 11:10 AM

i also get told that the smb protocol is not supported

baz2 10-28-2004 11:17 AM

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.


All times are GMT -5. The time now is 03:01 AM.