summaryrefslogtreecommitdiffstats
path: root/docs/manpages/pdbedit.8
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/pdbedit.8')
-rw-r--r--docs/manpages/pdbedit.859
1 files changed, 26 insertions, 33 deletions
diff --git a/docs/manpages/pdbedit.8 b/docs/manpages/pdbedit.8
index 523751712da..8e59ba336cd 100644
--- a/docs/manpages/pdbedit.8
+++ b/docs/manpages/pdbedit.8
@@ -1,18 +1,17 @@
-.\" This manpage has been automatically generated by docbook2man
-.\" from a DocBook document. This tool can be found at:
-.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" This manpage has been automatically generated by docbook2man-spec
+.\" from a DocBook document. docbook2man-spec can be found at:
+.\" <http://shell.ipoline.com/~elmert/hacks/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "PDBEDIT" "8" "20 August 2002" "" ""
+.TH "PDBEDIT" "8" "28 August 2002" "" ""
.SH NAME
pdbedit \- manage the SAM database
.SH SYNOPSIS
-
-\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-d drive\fR ] [ \fB-s script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i passdb-backend\fR ] [ \fB-e passdb-backend\fR ] [ \fB-b passdb-backend\fR ] [ \fB-D debuglevel\fR ]
-
+.sp
+\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-d drive\fR ] [ \fB-s script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i file\fR ]
.SH "DESCRIPTION"
.PP
-This tool is part of the Sambasuite.
+This tool is part of the Samba suite.
.PP
The pdbedit program is used to manage the users accounts
stored in the sam database and can be run only by root.
@@ -35,11 +34,12 @@ the ':' character.
Example: \fBpdbedit -l\fR
-
+.sp
.nf
sorce:500:Simo Sorce
samba:45:Test User
+.sp
.fi
.TP
\fB-v\fR
@@ -49,7 +49,7 @@ out the account fields in a descriptive format.
Example: \fBpdbedit -l -v\fR
-
+.sp
.nf
---------------
username: sorce
@@ -70,21 +70,23 @@ Example: \fBpdbedit -l -v\fR
Logon Script:
Profile Path: \\\\BERSERKER\\profile
+.sp
.fi
.TP
\fB-w\fR
This option sets the "smbpasswd" listing format.
It will make pdbedit list the users in the database printing
out the account fields in a format compatible with the
-\fIsmbpasswd\fR file format. (see the \fIsmbpasswd(5)\fRfor details)
+\fIsmbpasswd\fR file format. (see the \fIsmbpasswd(5)\fR for details)
Example: \fBpdbedit -l -w\fR
-
+.sp
.nf
sorce:500:508818B733CE64BEAAD3B435B51404EE:D2A2418EFC466A8A0F6B1DBB5C3DB80C:[UX ]:LCT-00000000:
samba:45:0F2B255F7B67A7A9AAD3B435B51404EE:BC281CE3F53B6A5146629CD4751D3490:[UX ]:LCT-3BFA1E8D:
+.sp
.fi
.TP
\fB-u username\fR
@@ -136,10 +138,11 @@ the -u switch. When adding a new user pdbedit will also
ask for the password to be used
Example: \fBpdbedit -a -u sorce\fR
-
+.sp
.nf
new password:
retype new password
+.sp
.fi
.TP
\fB-m\fR
@@ -157,25 +160,15 @@ from the database. It need the username be specified with the
Example: \fBpdbedit -x -u bob\fR
.TP
-\fB-i passdb-backend\fR
-Use a different passdb backend to retrieve users than the one specified in smb.conf. Can be used to import data into your
-local user database.
+\fB-i file\fR
+This command is used to import a smbpasswd
+file into the database.
-This option will ease migration from one passdb backend to another.
-
-Example: \fBpdbedit -i smbpasswd:/etc/smbpasswd.old\fR
-.TP
-\fB-e passdb-backend\fR
-Export all currently available users to the specified password database backend.
-
-This option will ease migration from one passdb backend to another and will ease backupping
-
-Example: \fBpdbedit -e smbpasswd:/root/samba-users.backup\fR
-.TP
-\fB-b passdb-backend\fR
-Use a different default passdb backend.
+This option will ease migration from the plain smbpasswd
+file database to more powerful backend databases like tdb and
+ldap.
-Example: \fBpdbedit -b xml:/root/pdb-backup.xml -l\fR
+Example: \fBpdbedit -i /etc/smbpasswd.old\fR
.SH "NOTES"
.PP
This command may be used only by root.
@@ -185,7 +178,7 @@ This man page is correct for version 2.2 of
the Samba suite.
.SH "SEE ALSO"
.PP
-smbpasswd(8),
+smbpasswd(8)
samba(7)
.SH "AUTHOR"
.PP
@@ -197,6 +190,6 @@ to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer.
The man page sources were converted to YODL format (another
excellent piece of Open Source software, available at
-ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0
-release by Jeremy Allison. The conversion to DocBook for
+ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0
+release by Jeremy Allison. The conversion to DocBook for
Samba 2.2 was done by Gerald Carter