[Samba] novice - samba3+; suse linuxpro9.1

Serge Naggar naggar at sprintmail.com
Mon Jun 13 17:11:18 GMT 2005


hi,

I thought it would be easy and over quickly - it has been anything
but...

I decided to test and use Samba 3.+ on my Suse linux pro 9.1 lan but
cannot get it to work and need some help/guidance.

I have two essentially identical linux computers [east and west] and I
have both of them as both server AND client.  At a later date, after
this `simple' lan works, I plan to add a ms portable unit

As the partitions of both computers are the same I have slightly changed
the names in each smb.conf - [e.g., homes and homesw; data and dataw;
etc.] to avoid confusing samba - otherwise they are the same.

I setup, in east-machine: //west:/home/account /mnt/account cifs
rw,....etc in its fstab.  This generates share icons but no connections.
I had put the same lines in /etc/samba/smbfstab but it didn't produce
any icons

;//fjall/test    /data/test      cifs    username=tridge,password=foobar

# //east:/home/account   /mnt/account  cifs
rw,users,guest,acl,user_xattr 0 0
# //east.snj:/home/data  /mnt/data     cifs 
rw,users,guest,acl,user_xattr 0 0

I am obviously missing some fundamental facts and I'm hoping you can
point me in the right direction.

I include part of the `west' smb.conf - as you see I have tried
different approaches and then ### them.

The `testparm' function which I am using produces an error free result
except for a line saying:
server type = STANALONE SERVER which puzzles me as I expected it to
identify itself as principal server in a lan?

[global]
workgroup = SNJ
load printers = yes
printcap name = cups
printcap cache time = 750
printing = cups
# cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
netbios name = west
map to guest = Bad User
# logon path = \\%L\profiles\.msprofile
# logon drive = P:
# logon home = \\%L\%U\.9xprofile
server string = Samba Server v-%v for %h
domain master = yes
preferred master = yes
local master = yes
security = user
# ldap admin dn = ou=ldapconfig,dc=example,dc=com
# ldap suffix = dc=example,dc=com
# restrict anonymous = 0
# max protocol = NT1
# ldap ssl = 
# domain logons = yes
# add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody
-s /bin/false %m$
# bind interfaces only = yes
# write list = jvn
# admin users = scn
# inherit permissions = yes

server signing = Disabled
os level = 65
guest ok = yes
case sensitive = no
hide dot files = no
smb ports = 137 138 139 445 901
paranoid server security = no

[homesw]
comment = allow sharing of home directories
path = /home/%S
read only = no
create mask = 0664
directory mask = 0775

[accountw]
comment = mutual use data partition - home
path = /home/account/
read only = no
create mask = 0664
directory mask = 0775

[dataw]
comment = mutual use data partition - home
path = /home/data/
read only = no
create mask = 0664
directory mask = 0775

[morew]
comment = mutual use data partition
path = /more/
read only = no
create mask = 0664
directory mask = 0775

[orb]
comment = mutual use data partition - removable 2.2gb hd
path = /orb/
read only = no
# locking = no
create mask = 0664
directory mask = 0775
# With the next two lines you could automatically mount or umount the
orb hd if a connection to the share is established or closed.
# doesn't seem to have an effect.
preexec = /bin/mount /orb
postexec = /bin/umount /orb

# later ...
# [usb_storagew]
# comment = mutual use usb port - dvd
# path = /media/usb-storage-000005001878:0:0:0
# read only = yes
# locking = no
# create mask = 0664
# directory mask = 0775
# With the next two lines you could automatically mount or umount the CD
if a
# connection to the share is established or closed.
# preexec = /bin/mount /media/usb-storage-000005001878:0:0:0
# postexec = /bin/umount /media/usb-storage-000005001878:0:0:0
# inherit acls = yes

# later .........
# [cdrecorderw]
# comment = cd recorder
# The following share gives all users access to the Server's CD
recordeer drive,
# assuming it is mounted under /media/cdrom.
# path = /media/cdrecorder/
# read only = no
# locking = No
# preexec = /bin/mount /media/cdrecorder
# postexec = /bin/umount /media/cdrecorder

[printers]
comment = all printers
path = /var/spool/samba/
printable = Yes
# Make printers accessible without user authentication.
guest ok = Yes
create mask = 0600
browseable = No

# This share provides printer driver down- and upload in an Windows
NT-style # point-and-print way.  For more detailed information consult
the Printing # Support Section of the Samba-HOWTO-Collection.  For
uploading take extra # care to add the printer admins to the group lp.

# later ... with ms machine
# [print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# Make printer drivers accessible without user authentication.
# guest ok = Yes
# write list = @ntadmin root
# force group = ntadmin
# create mask = 0664
# directory mask = 0775

I look forward to being set on a path to a samba lan.
Thak you.
-- 
Cheers,
Serge [Naggar Consulting]



More information about the samba mailing list