[Samba] Samba and private shares
Thron Havens
thavens at minkagroup.net
Mon Nov 3 20:45:25 GMT 2003
I'm running samba 2.5 on a FreeBSD box using winbind to do authentication
with my PDC/BDC. I'm able to configure shares that everyone on the NT
network can access but when I configure private shares (only 1 or 2 users
have access to) the users get prompted for a username and password and are
not allowed access. What am I doing wrong? Below I have included a copy of
my smb.conf and pam.conf . Any suggestions will help.
SMB.conf
workgroup = domain-name
netbios name = comp-name
server string = comp-name
security = domain
log file = /var/log/sambalog.%m
encrypt passwords = yes
local master = no
os level = 0
domain master = no
preferred master = no
wins support = no
wins server = 0.0.0.0
wins proxy = no
dns proxy = no
log level = 3
max log size = 100000000
load printers = no
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind separator = .
winbind use default domain = yes
template homedir = /usr/share/%U
template shell = /bin/false
password server = *
name resolve order = hosts lmhosts wins bcast
nt acl support = yes
[share]
comment = temporary file space
path = path
browsable = yes
read only = no
public = yes
printable = no
writeable = yes
[sarg]
comment = sarg report files
path = /usr/report
username = domain-name.username
browsable = yes
read only = no
#public = yes
printable = no
writeable = yes
Pam.conf
auth required pam_nologin.so
no_warn
auth sufficient pam_winbind.so
auth sufficient pam_opie.so
no_warn no_fake_prompts
auth requisite pam_opieaccess.so no_warn
allow_local
#auth sufficient pam_krb5.so
no_warn try_first_pass
#auth sufficient pam_ssh.so
no_warn try_first_pass
auth required pam_unix.so
no_warn try_first_pass
# account
#account required pam_krb5.so
account sufficient pam_winbind.so
account required pam_unix.so
# session
#session optional pam_ssh.so
session required pam_permit.so
# password
password required pam_permit.so
Thanks
Thron
More information about the samba
mailing list