~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to source/param/loadparm.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2009-05-18 13:26:04 UTC
  • mfrom: (0.28.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090518132604-ebyuqimgymtr3h0k
Tags: 2:3.3.4-2ubuntu1
* Merge from debian unstable, remaining changes:
  + debian/patches/VERSION.patch:
    - setup SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted (LP: #312449)
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control:
    - Make libwbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against ctdb.
    - Add suggests keyutils for smbfs. (LP: #300221)
  + debian/rules:
    - enable "native" PIE hardening.
    - remove --with-ctdb and --with-cluster-support=yes
  + Add ufw integration:
    - Created debian/samba.ufw profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install 
      profile
    - debian/control: have samba sugguest ufw.
* Dropped patches:
  + debian/patches/fix-upstream-bug-6186.patch: Merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
860
860
 
861
861
/* Note: We do not initialise the defaults union - it is not allowed in ANSI C
862
862
 *
863
 
 * The FLAG_HIDE is explicit. Paramters set this way do NOT appear in any edit
 
863
 * The FLAG_HIDE is explicit. Parameters set this way do NOT appear in any edit
864
864
 * screen in SWAT. This is used to exclude parameters as well as to squash all
865
865
 * parameters that have been duplicated by pseudonyms.
866
866
 *
869
869
 *       Set FLAG_SHARE and FLAG_PRINT to specifically display parameters in
870
870
 *        respective views.
871
871
 *
872
 
 * NOTE2: Handling of duplicated (synonym) paramters:
 
872
 * NOTE2: Handling of duplicated (synonym) parameters:
873
873
 *      Only the first occurance of a parameter should be enabled by FLAG_BASIC
874
874
 *      and/or FLAG_ADVANCED. All duplicates following the first mention should be
875
875
 *      set to FLAG_HIDE. ie: Make you must place the parameter that has the preferred
4566
4566
                string_set(&pService->szLpqcommand, "vlp lpq %p");
4567
4567
                string_set(&pService->szLprmcommand, "vlp lprm %p %j");
4568
4568
                string_set(&pService->szLppausecommand, "vlp lppause %p %j");
4569
 
                string_set(&pService->szLpresumecommand, "vlp lpresum %p %j");
 
4569
                string_set(&pService->szLpresumecommand, "vlp lpresume %p %j");
4570
4570
                string_set(&pService->szQueuepausecommand, "vlp queuepause %p");
4571
4571
                string_set(&pService->szQueueresumecommand, "vlp queueresume %p");
4572
4572
                break;