Distribution Point on Linux

dhowell
Contributor

I run SMB shares off 5 Redhart VMs 2 things is make sure File Sharing has username and Passwords when you set up Pints in the JSS, As in my screen shot. below is the Contents of my smb.conf also

[global] workgroup = MYGROUP server string = Samba Server Version %v passdb backend = tdbsam cups options = raw

[caspershare] comment = CasperShareadmin browseable = no path = /casper printable = yes guest ok = no read only = no create mask = 0777 valid users = casperadmin

[casper] comment = CasperShare path = /casper/casper browseable = yes read only = yes guest ok = yes
create mode = 0755
valid users = casperinstall,casperadmin

D. Trey Howell ACMT, ACHDS, CCA
trey.howell at austinisd.org
Desktop Engineering
twitter @aisdmacgeek

2 REPLIES 2

Not applicable

Thanks Trey, have double checked my JSS config and usernames and passwords are set. I can see computers that have been built are using the casperinstall credentials successfully. It’s just Casper Imaging that isn’t passing a username/password at all. :/

There must be something in the NetBoot / Casper Imaging setup that I’m missing as Rich mentioned..

RB

jarednichols
Honored Contributor

Not sure if this will help, but on my dev jss, here's how my configuration looks:

smb.conf:

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP

# server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no

####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details. security = user

# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using. passdb backend = tdbsam

obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed. unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan at informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Entersnewsspassword:* %n *Retypesnewsspassword:* %n *passwordsupdatedssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'. pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped # to anonymous connections map to guest = bad user

#======================= Share Definitions ======================
[CasperShare]
comment = Casper's file share
path=/srv/CasperShare
guest ok = no
readonly = no

Share permissions:

administrator at devjss:/srv$ ls -la
total 12
drwxr-xr-x 3 root root 4096 2011-07-26 10:35 .
drwxr-xr-x 22 root root 4096 2011-07-27 07:51 ..
drwxr-xr-x 6 casperadmin root 4096 2011-07-26 13:13 CasperShare

casperadmin and casperinstall are users on the box. I also added them as samba users.

j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436