[SATLUG] Samba problems.

Enrique Sanchez esanchezvela.satlug at gmail.com
Wed Aug 12 12:17:42 CDT 2009


Hey folks, I am trying to configure a samba share for our beloved SAP
admins (NOT!!) and I am having a little problem.

they want a read/write share on one particular sever be available at
all times and accessible w/o password, so I have setup the following
configuration.....


[global]
       workgroup = XYZ
       security = ADS
       realm = XYZ.LOCAL
       netbios name = sambasrv
       map to guest = Bad User
       logon path = \\%L\profiles\.msprofile
       logon home = \\%L\%U\.9xprofile
       logon drive = P:
       usershare allow guests = No
       hosts deny  = ALL
       hosts allow = 127.0.0.1  10.20.30.155/32

[sapmnt]
       security = SHARE
       comment = /usr/sap from SAMBA server
       path = /usr/sap
       read only = No
       force user = sap2adm
       force group = sapsys
       force create mode = 0660
       directory mask = 0775
       force directory  mode = 0755


however, when I try to mount the share from a different location, the
SAMBA server allows me to do that.

I've switched the order back and forth of the "hosts deny" and "hosts
allow" directives without success...

thank you,
Enrique Sanchez.


--
Enrique Sanchez Vela
------------------------------------------
"What you have been obliged to discover
by yourself leaves a path in your mind
which you can use again when the need
arises."    --G. C. Lichtenberg
http://themathcircle.org/


More information about the SATLUG mailing list