Help!

[Samba] Domain with public shares


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba RSS
Next:  [Samba] Enforcing Password Policies...  
Author Message
samba-list
External


Since: Aug 08, 2007
Posts: 2



PostPosted: Wed Aug 08, 2007 8:40 pm    Post subject: [Samba] Domain with public shares
Archived from groups: linux>samba (more info?)

I have a samba server setup with security = user (NT-domain). I use
openldap for authentiation and that part is working fine. People can log in
and see the files they have permission to.
I need to have some public folders on the samba server that anybody can use
(also non domain users (ie. WinXP Home users that can't join a domain)).
And the printers should be public in the same way. Unfortunately this is
not happening as I was hoping.

Here is my smb.conf:

---------------------------------------
[global]
workgroup = jaegergaarden
netbios name = mainserver
security = user
enable privileges = yes
server string = Samba Server %v
encrypt passwords = Yes
admin users=root smbadmin

ldap passwd sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = "Changing password for*\nNew password*" %n\n "*Retype
new password*" %n\n"

log level = 0
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
Unix charset = UTF8
display charset = UTF8

logon drive = P:
logon home = \\mainserver\%U
logon path = ""


domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes

passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=admin,dc=jaegergaarden,dc=skolesys,dc=org
ldap suffix = dc=jaegergaarden,dc=skolesys,dc=org
ldap group suffix = ou=Groups,ou=Samba
ldap user suffix = ou=Users,ou=Samba
ldap machine suffix = ou=Computers,ou=Samba
add machine script = ss_hostmanager join_domain "%u" %D

load printers = Yes
create mask = 0640
directory mask = 0750

nt acl support = No
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile
folders:
preserve case = yes
short preserve case = yes
case sensitive = no

[netlogon]
path = /home/netlogon/
browseable = No
read only = yes

[homes]
comment = Home Directories
path = /skolesys/jaegergaarden.dk/users/%S/.windows
browseable = yes
read only = no
create mode = 0600
directory mode = 0700


[profiles]
path = /skolesys/jaegergaarden.dk/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
force user = %U
valid users = %U "Domain Admins"

[printers]
comment = Network Printers
printer admin = @"Print Operators"
guest ok = yes
printable = yes
path = /home/spool/
browseable = No
read only = Yes
printable = Yes
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j


[print$]
path = /home/printers
guest ok = Yes
browseable = Yes
read only = Yes
valid users = @"Print Operators"
write list = @"Print Operators"
create mask = 0664
directory mask = 0775
------------------------------------------------

P.S. Profiles aren't working either, but let's take that another time

Best regards Jakob Simon-Gaarde

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Chris Smith
External


Since: Sep 25, 2006
Posts: 65



PostPosted: Wed Aug 08, 2007 9:00 pm    Post subject: Re: [Samba] Domain with public shares [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wednesday 08 August 2007, samba-list wrote:
> I need to have some public folders on the samba server that anybody can use

Use a "username map" and set nobody = guest.

--
Chris
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum