Bug 120355 - [patch] net/smbldap-tools: smbldap-useradd don't copy skel
Summary: [patch] net/smbldap-tools: smbldap-useradd don't copy skel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 17:30 UTC by Dmitry A Grigorovich
Modified: 2008-04-12 10:51 UTC (History)
0 users

See Also:


Attachments
patch-smbldap-useradd (697 bytes, text/plain)
2008-02-07 17:30 UTC, Dmitry A Grigorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry A Grigorovich 2008-02-07 17:30:01 UTC
Before we need prepare /etc/skel for skel files as in Linux

Prepare /etc/skel:
Copy /usr/share/skel/dot.<NAME> to /etc/skel/.<NAME>
Edit smbldap config to using /etc/skel instead of /usr/share/skel

This is needed because skel dot-files from *BSD using different scheme vs Linux

Try adding any user: smbldap-useradd -u <UID> -g <GID> -m <USERNAME>

But files from /etc/skel is not copied to /home/<USERNAME> !!!

Fix: Copy following patch to /usr/ports/net/smbldap-tools/files/

Reinstall smbldap-tools, e.g. portupgrade -pN -f 'net/smbldap-tools'

Try adding user again
How-To-Repeat: 
See above section
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-02-07 19:20:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-04-12 10:40:15 UTC
mm          2008-04-12 09:40:06 UTC

  FreeBSD ports repository

  Modified files:
    net/smbldap-tools    Makefile 
  Added files:
    net/smbldap-tools/files patch-smbldap-useradd 
  Log:
  - Fix cp flags if copying skel files in smbldap-useradd
  - Fix MASTER_SITES
  - Bump PORTREVISION
  
  PR:             ports/120355
  Submitted by:   Dmitry A Grigorovich <odip@bionet.nsc.ru>
  Approved by:    mm (maintainer)
  
  Revision  Changes    Path
  1.20      +2 -2      ports/net/smbldap-tools/Makefile
  1.1       +11 -0     ports/net/smbldap-tools/files/patch-smbldap-useradd (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2008-04-12 10:51:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!