~ubuntu-branches/ubuntu/vivid/samba/vivid

« back to all changes in this revision

Viewing changes to docs/manpages/ldbedit.1

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + 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/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'\" t
2
 
.\"     Title: ldbedit
3
 
.\"    Author: [see the "AUTHOR" section]
4
 
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 08/02/2011
6
 
.\"    Manual: User Commands
7
 
.\"    Source: Samba 3.5
8
 
.\"  Language: English
9
 
.\"
10
 
.TH "LDBEDIT" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
11
 
.\" -----------------------------------------------------------------
12
 
.\" * set default formatting
13
 
.\" -----------------------------------------------------------------
14
 
.\" disable hyphenation
15
 
.nh
16
 
.\" disable justification (adjust text to left margin only)
17
 
.ad l
18
 
.\" -----------------------------------------------------------------
19
 
.\" * MAIN CONTENT STARTS HERE *
20
 
.\" -----------------------------------------------------------------
21
 
.SH "NAME"
22
 
ldbedit \- Edit LDB databases using your preferred editor
23
 
.SH "SYNOPSIS"
24
 
.HP \w'\ 'u
25
 
ldbedit [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...]
26
 
.SH "DESCRIPTION"
27
 
.PP
28
 
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor\&. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend\&.
29
 
.SH "OPTIONS"
30
 
.PP
31
 
\-?, \-\-help
32
 
.RS 4
33
 
Show list of available options, and a phrase describing what that option does\&.
34
 
.RE
35
 
.PP
36
 
\-\-usage
37
 
.RS 4
38
 
Show list of available options\&. This is similar to the help option, however it does not provide any description, and is hence shorter\&.
39
 
.RE
40
 
.PP
41
 
\-H <ldb\-url>
42
 
.RS 4
43
 
LDB URL to connect to\&. For a tdb database, this will be of the form tdb://\fIfilename\fR\&. For a LDAP connection over unix domain sockets, this will be of the form ldapi://\fIsocket\fR\&. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://\fIhostname\fR\&. For an SQLite database, this will be of the form sqlite://\fIfilename\fR\&.
44
 
.RE
45
 
.PP
46
 
\-s one|sub|base
47
 
.RS 4
48
 
Search scope to use\&. One\-level, subtree or base\&.
49
 
.RE
50
 
.PP
51
 
\-a, \-all
52
 
.RS 4
53
 
Edit all records\&. This allows you to apply the same change to a number of records at once\&. You probably want to combine this with an expression of the form "objectclass=*"\&.
54
 
.RE
55
 
.PP
56
 
\-e editor, \-\-editor editor
57
 
.RS 4
58
 
Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables)\&. If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used\&.
59
 
.RE
60
 
.PP
61
 
\-b basedn
62
 
.RS 4
63
 
Specify Base Distinguished Name to use\&.
64
 
.RE
65
 
.PP
66
 
\-v, \-\-verbose
67
 
.RS 4
68
 
Make ldbedit more verbose about the operations that are being performed\&. Without this option, ldbedit will only provide a summary change line\&.
69
 
.RE
70
 
.SH "ENVIRONMENT"
71
 
.PP
72
 
LDB_URL
73
 
.RS 4
74
 
LDB URL to connect to\&. This can be overridden by using the \-H command\-line option\&.)
75
 
.RE
76
 
.PP
77
 
VISUAL and EDITOR
78
 
.RS 4
79
 
Environment variables used to determine what editor to use\&. VISUAL takes precedence over EDITOR, and both are overridden by the \-e command\-line option\&.
80
 
.RE
81
 
.SH "VERSION"
82
 
.PP
83
 
This man page is correct for version 4\&.0 of the Samba suite\&.
84
 
.SH "SEE ALSO"
85
 
.PP
86
 
ldb(7), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
87
 
.SH "AUTHOR"
88
 
.PP
89
 
ldb was written by
90
 
Andrew Tridgell\&.
91
 
.PP
92
 
If you wish to report a problem or make a suggestion then please see the
93
 
: http://ldb.samba.org/
94
 
web site for current contact and maintainer information\&.
95
 
.PP
96
 
This manpage was written by Jelmer Vernooij and updated by Brad Hards\&.