Hello community,
here is the log from the commit of package pam_csync for openSUSE:Factory
checked in at Mon Apr 5 18:46:04 CEST 2010.
--------
--- pam_csync/pam_csync.changes 2010-02-01 13:15:45.000000000 +0100
+++ /mounts/work_src_done/STABLE/pam_csync/pam_csync.changes 2010-04-04 20:51:40.000000000 +0200
@@ -11,0 +12,6 @@
+Mon Jun 15 11:14:32 CEST 2009 - anschneider@exsuse.de
+
+- update to version 0.42.0
+ + Added support to sync with the Windows Home Directory
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
pam_csync-0.41.94.tar.bz2
New:
----
pam_csync-0.42.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam_csync.spec ++++++
--- /var/tmp/diff_new_pack.lVNrbn/_old 2010-04-05 18:45:07.000000000 +0200
+++ /var/tmp/diff_new_pack.lVNrbn/_new 2010-04-05 18:45:07.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam_csync (Version 0.41.94)
+# spec file for package pam_csync (Version 0.42.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -22,8 +22,8 @@
BuildRequires: cmake libcsync-devel libiniparser-devel pam-devel
License: GPLv2+
Group: System/Libraries
-Version: 0.41.94
-Release: 3
+Version: 0.42.0
+Release: 1
Summary: A PAM module for roaming home directories
Url: http://www.csync.org/
Source0: %{name}-%{version}.tar.bz2
@@ -40,7 +40,8 @@
Authors:
--------
- Andreas Schneider
+ Andreas Schneider
+
%prep
%setup -q
@@ -50,17 +51,17 @@
mkdir build
fi
pushd build
-CFLAGS="%{optflags} -g" \
-CXXFLAGS="%{optflags} -g" \
cmake \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+ -DCMAKE_C_FLAGS:STRING="%{optflags}" \
+ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
%if %{_lib} == lib64
-DLIB_SUFFIX=64 \
%endif
%{_builddir}/%{name}-%{version}
+
%__make %{?jobs:-j%jobs} VERBOSE=1
popd build
++++++ pam_csync-0.41.94.tar.bz2 -> pam_csync-0.42.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/CPackConfig.cmake new/pam_csync-0.42.0/CPackConfig.cmake
--- old/pam_csync-0.41.94/CPackConfig.cmake 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/CPackConfig.cmake 2009-06-15 11:12:55.000000000 +0200
@@ -12,8 +12,8 @@
### versions
set(CPACK_PACKAGE_VERSION_MAJOR "0")
-set(CPACK_PACKAGE_VERSION_MINOR "41")
-set(CPACK_PACKAGE_VERSION_PATCH "94")
+set(CPACK_PACKAGE_VERSION_MINOR "42")
+set(CPACK_PACKAGE_VERSION_PATCH "0")
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
set(CPACK_GENERATOR "TGZ")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/ChangeLog new/pam_csync-0.42.0/ChangeLog
--- old/pam_csync-0.41.94/ChangeLog 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/ChangeLog 2009-06-15 11:12:55.000000000 +0200
@@ -1,6 +1,10 @@
ChangeLog
==========
+version 0.42.0 (released 2009-06-15)
+
+ * Add support to sync with Windows Home Directory too.
+
version 0.42.0 beta2 (released 2008-10-28)
* Improved debugging output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/cmake/Modules/DefineInstallationPaths.cmake new/pam_csync-0.42.0/cmake/Modules/DefineInstallationPaths.cmake
--- old/pam_csync-0.41.94/cmake/Modules/DefineInstallationPaths.cmake 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/cmake/Modules/DefineInstallationPaths.cmake 2009-06-15 11:12:55.000000000 +0200
@@ -12,106 +12,88 @@
SET(EXEC_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}"
CACHE PATH "Base directory for executables and libraries"
- FORCE
)
SET(SHARE_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}/share"
CACHE PATH "Base directory for files which go to share/"
- FORCE
)
SET(DATA_INSTALL_PREFIX
"${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}"
- CACHE PATH "The parent directory where applications can install their data" FORCE)
+ CACHE PATH "The parent directory where applications can install their data")
# The following are directories where stuff will be installed to
SET(BIN_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/bin"
CACHE PATH "The ${APPLICATION_NAME} binary install dir (default prefix/bin)"
- FORCE
)
SET(SBIN_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/sbin"
CACHE PATH "The ${APPLICATION_NAME} sbin install dir (default prefix/sbin)"
- FORCE
)
SET(LIB_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}"
CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/lib)"
- FORCE
)
SET(LIBEXEC_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/libexec"
CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/libexec)"
- FORCE
)
SET(PLUGIN_INSTALL_DIR
"${LIB_INSTALL_DIR}/${APPLICATION_NAME}"
CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is prefix/lib/${APPLICATION_NAME})"
- FORCE
)
SET(INCLUDE_INSTALL_DIR
"${CMAKE_INSTALL_PREFIX}/include"
CACHE PATH "The subdirectory to the header prefix (default prefix/include)"
- FORCE
)
SET(DATA_INSTALL_DIR
"${DATA_INSTALL_PREFIX}"
CACHE PATH "The parent directory where applications can install their data (default prefix/share/${APPLICATION_NAME})"
- FORCE
)
SET(HTML_INSTALL_DIR
"${DATA_INSTALL_PREFIX}/doc/HTML"
CACHE PATH "The HTML install dir for documentation (default data/doc/html)"
- FORCE
)
SET(ICON_INSTALL_DIR
"${DATA_INSTALL_PREFIX}/icons"
CACHE PATH "The icon install dir (default data/icons/)"
- FORCE
)
SET(SOUND_INSTALL_DIR
"${DATA_INSTALL_PREFIX}/sounds"
CACHE PATH "The install dir for sound files (default data/sounds)"
- FORCE
)
SET(LOCALE_INSTALL_DIR
"${SHARE_INSTALL_PREFIX}/locale"
CACHE PATH "The install dir for translations (default prefix/share/locale)"
- FORCE
)
SET(XDG_APPS_DIR
"${SHARE_INSTALL_PREFIX}/applications/"
CACHE PATH "The XDG apps dir"
- FORCE
)
SET(XDG_DIRECTORY_DIR
"${SHARE_INSTALL_PREFIX}/desktop-directories"
CACHE PATH "The XDG directory"
- FORCE
+ )
+
+ SET(PAM_MODULE_INSTALL_DIR
+ "/lib${LIB_SUFFIX}/security"
+ CACHE PATH "The directory where pam modules will be installed (default is /lib/security)"
)
SET(SYSCONF_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/etc"
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
- FORCE
)
SET(MAN_INSTALL_DIR
"${SHARE_INSTALL_PREFIX}/man"
CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
- FORCE
)
SET(INFO_INSTALL_DIR
"${SHARE_INSTALL_PREFIX}/info"
CACHE PATH "The ${APPLICATION_NAME} info install dir (default prefix/info)"
- FORCE
- )
- SET(PAM_MODULE_INSTALL_DIR
- "/lib${LIB_SUFFIX}/security"
- CACHE PATH "The ${APPLICATION_NAME} info install dir (default prefix/info)"
- FORCE
)
endif (UNIX)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/config/pam_csync.conf new/pam_csync-0.42.0/config/pam_csync.conf
--- old/pam_csync-0.41.94/config/pam_csync.conf 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/config/pam_csync.conf 2009-06-15 11:12:55.000000000 +0200
@@ -1,8 +1,16 @@
# pam_csync config file
[global]
-# The URI specifies the remote replica. If the value is set to "winbind"
-# pam_csync tries to get the profile path from pam_winbind.
+# The URI specifies the remote replica. If the value is set to 'winbind_profile'
+# or to 'winbind_homeir' pam_csync tries to get uri from winbind.
+#
+# Values:
+#
+# winbind_profile - This will set the path to the users profile path.
+# winbind_homedir - This will set the uri to the home directory of the user.
+# Normally this is a share mapped to a drive on Windows.
+#
+# scheme://%(USER):%(PASS)@server/share/directory/%(USER)
#
# Expansion:
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/doc/CMakeLists.txt new/pam_csync-0.42.0/doc/CMakeLists.txt
--- old/pam_csync-0.41.94/doc/CMakeLists.txt 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/doc/CMakeLists.txt 2009-06-15 11:12:55.000000000 +0200
@@ -13,6 +13,6 @@
FILES
pam_csync.8
DESTINATION
- ${MAN_INSTALL_DIR}/man7
+ ${MAN_INSTALL_DIR}/man8
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/doc/pam_csync.8 new/pam_csync-0.42.0/doc/pam_csync.8
--- old/pam_csync-0.41.94/doc/pam_csync.8 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/doc/pam_csync.8 2009-06-15 11:12:55.000000000 +0200
@@ -1,126 +1,292 @@
.\" Title: pam_csync
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.73.2 http://docbook.sf.net/
-.\" Date: 07/24/2008
-.\" Manual:
-.\" Source:
+.\" Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.74.0 http://docbook.sf.net/
+.\" Date: 06/15/2009
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
+.\" Language: English
.\"
-.TH "PAM_CSYNC" "8" "07/24/2008" "" ""
+.TH "PAM_CSYNC" "8" "06/15/2009" "[FIXME: source]" "[FIXME: manual]"
+.\" -----------------------------------------------------------------
+.\" * (re)Define some macros
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" toupper - uppercase a string (locale-aware)
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de toupper
+.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
+\\$*
+.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SH-xref - format a cross-reference to an SH section
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de SH-xref
+.ie n \{\
+.\}
+.toupper \\$*
+.el \{\
+\\$*
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SH - level-one heading that works better for non-TTY output
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de1 SH
+.\" put an extra blank line of space above the head in non-TTY output
+.if t \{\
+.sp 1
+.\}
+.sp \\n[PD]u
+.nr an-level 1
+.set-an-margin
+.nr an-prevailing-indent \\n[IN]
+.fi
+.in \\n[an-margin]u
+.ti 0
+.HTML-TAG ".NH \\n[an-level]"
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+\." make the size of the head bigger
+.ps +3
+.ft B
+.ne (2v + 1u)
+.ie n \{\
+.\" if n (TTY output), use uppercase
+.toupper \\$*
+.\}
+.el \{\
+.nr an-break-flag 0
+.\" if not n (not TTY), use normal case (not uppercase)
+\\$1
+.in \\n[an-margin]u
+.ti 0
+.\" if not n (not TTY), put a border/line under subheading
+.sp -.6
+\l'\n(.lu'
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" SS - level-two heading that works better for non-TTY output
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de1 SS
+.sp \\n[PD]u
+.nr an-level 1
+.set-an-margin
+.nr an-prevailing-indent \\n[IN]
+.fi
+.in \\n[IN]u
+.ti \\n[SN]u
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.ps \\n[PS-SS]u
+\." make the size of the head bigger
+.ps +2
+.ft B
+.ne (2v + 1u)
+.if \\n[.$] \&\\$*
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" BB/BE - put background/screen (filled box) around block of text
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de BB
+.if t \{\
+.sp -.5
+.br
+.in +2n
+.ll -2n
+.gcolor red
+.di BX
+.\}
+..
+.de EB
+.if t \{\
+.if "\\$2"adjust-for-leading-newline" \{\
+.sp -1
+.\}
+.br
+.di
+.in
+.ll
+.gcolor
+.nr BW \\n(.lu-\\n(.i
+.nr BH \\n(dn+.5v
+.ne \\n(BHu+.5v
+.ie "\\$2"adjust-for-leading-newline" \{\
+\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
+.\}
+.el \{\
+\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
+.\}
+.in 0
+.sp -.5v
+.nf
+.BX
+.in
+.sp .5v
+.fi
+.\}
+..
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" BM/EM - put colored marker in margin next to block of text
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.de BM
+.if t \{\
+.br
+.ll -2n
+.gcolor red
+.di BX
+.\}
+..
+.de EM
+.if t \{\
+.br
+.di
+.ll
+.gcolor
+.nr BH \\n(dn
+.ne \\n(BHu
+\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
+.in 0
+.nf
+.BX
+.in
+.fi
+.\}
+..
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
-.SH "NAME"
-pam_csync - A PAM module to provide roaming home directories for a user session
-.SH "SYNOPSIS"
-Edit the PAM system config /etc/pam\.d/service and modify it as the following example shows:
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "Name"
+pam_csync \- A PAM module to provide roaming home directories for a user session
+.SH "Synopsis"
.sp
+Edit the PAM system config /etc/pam\&.d/service and modify it as the following example shows:
.sp
-.RS 4
+.fam C
+.ps -1
.nf
- \.\.\.
- auth required pam_env\.so
- auth required pam_unix2\.so
-+++ auth optional pam_csync\.so try_first_pass
- account required pam_unix2\.so
- password requisite pam_pwcheck\.so nullok cracklib
- password required pam_unix2\.so use_authtok nullok
- session required pam_limits\.so
- session required pam_unix2\.so
- session optional pam_umask\.so
-+++ session optional pam_csync\.so
- \.\.\.
+ \&.\&.\&.
+ auth required pam_env\&.so
+ auth required pam_unix2\&.so
++++ auth optional pam_csync\&.so try_first_pass
+ account required pam_unix2\&.so
+ password requisite pam_pwcheck\&.so nullok cracklib
+ password required pam_unix2\&.so use_authtok nullok
+ session required pam_limits\&.so
+ session required pam_unix2\&.so
+ session optional pam_umask\&.so
++++ session optional pam_csync\&.so
+ \&.\&.\&.
.fi
-.RE
-When "sufficient" is used in the second column, you must make sure that pam_csync is added before this entry as an authentication service\. Otherwise pam_csync will not get executed should a previous PAM module succeed\. Also be aware of the "include" statements\. These make PAM look into the specified file\. If there is a "sufficient" statement, then the pam_csync entry must either be in the included file before the "sufficient" statement or before the "include" statement\.
+.fam
+.ps +1
.sp
+When "sufficient" is used in the second column, you must make sure that pam_csync is added before this entry as an authentication service\&. Otherwise pam_csync will not get executed should a previous PAM module succeed\&. Also be aware of the "include" statements\&. These make PAM look into the specified file\&. If there is a "sufficient" statement, then the pam_csync entry must either be in the included file before the "sufficient" statement or before the "include" statement\&.
.sp
-.RS 4
+.fam C
+.ps -1
.nf
- \.\.\.
-+++ auth required pam_csync\.so
- auth sufficient pam_ldap\.so use_first_pass
- auth required pam_unix\.so use_first_pass
-+++ session optional pam_csync\.so
- \.\.\.
+ \&.\&.\&.
++++ auth required pam_csync\&.so
+ auth sufficient pam_ldap\&.so use_first_pass
+ auth required pam_unix\&.so use_first_pass
++++ session optional pam_csync\&.so
+ \&.\&.\&.
.fi
-.RE
-If pam_winbind or pam_krb5 is used, make sure that pam_csync in the session part is added after the pam_winbind or pam_krb5 module\.
+.fam
+.ps +1
.sp
+If pam_winbind or pam_krb5 is used, make sure that pam_csync in the session part is added after the pam_winbind or pam_krb5 module\&.
.sp
-.RS 4
+.fam C
+.ps -1
.nf
- \.\.\.
- auth required pam_env\.so
- auth required pam_unix2\.so
- auth required pam_winbind\.so use_first_pass
-+++ auth optional pam_csync\.so try_first_pass
- account required pam_unix2\.so
- account required pam_winbind\.so use_first_pass
- password sufficient pam_winbind\.so
- password requisite pam_pwcheck\.so nullok cracklib
- password required pam_unix2\.so use_authtok nullok
- session required pam_limits\.so
- session required pam_unix2\.so
- session optional pam_umask\.so
- session required pam_winbind\.so
-+++ session optional pam_csync\.so
- \.\.\.
+ \&.\&.\&.
+ auth required pam_env\&.so
+ auth required pam_unix2\&.so
+ auth required pam_winbind\&.so use_first_pass
++++ auth optional pam_csync\&.so try_first_pass
+ account required pam_unix2\&.so
+ account required pam_winbind\&.so use_first_pass
+ password sufficient pam_winbind\&.so
+ password requisite pam_pwcheck\&.so nullok cracklib
+ password required pam_unix2\&.so use_authtok nullok
+ session required pam_limits\&.so
+ session required pam_unix2\&.so
+ session optional pam_umask\&.so
+ session required pam_winbind\&.so
++++ session optional pam_csync\&.so
+ \&.\&.\&.
.fi
-.RE
+.fam
+.ps +1
.SH "DESCRIPTION"
-This module is aimed at environments with central file servers a user wishes to store his home directory\.
.sp
-The Authentication Module verifies the identity of a user and triggers a synchronization with the server on the first login and the last logout\.
+This module is aimed at environments with central file servers a user wishes to store his home directory\&.
.sp
+The Authentication Module verifies the identity of a user and triggers a synchronization with the server on the first login and the last logout\&.
.SH "CONFIGURATION"
-The configuration file for the pam_csync module is pam_csync\.conf\. The file can be found at /etc/security/pam_csync\.conf on most platforms\.
.sp
-The pam_csync\.conf contains many comments documenting its use\.
+The configuration file for the pam_csync module is \FCpam_csync\&.conf\F[]\&. The file can be found at \FC/etc/security/pam_csync\&.conf\F[] on most platforms\&.
.sp
+The \FCpam_csync\&.conf\F[] contains many comments documenting its use\&.
.SH "OPTIONS"
-The Authentication Module supports six options: use_first_pass, try_first_pass, soft_try_pass, nullok, debug, silent
.sp
-The following paragraphs list and describe each of these options\.
+The Authentication Module supports six options: \FCuse_first_pass, try_first_pass, soft_try_pass, nullok, debug, silent\F[]
+.sp
+The following paragraphs list and describe each of these options\&.
.PP
\fBuse_first_pass\fR
.RS 4
-Uses the same password given to the first module configured for authentication\. The module should not ask for the password if the user cannot be authenticated by the first password\. This option is used when the system administrator wants to enforce the same password across multiple modules\. In this case the module will return PAM_AUTHINFO_UNAVAIL as exit code\.
+Uses the same password given to the first module configured for authentication\&. The module should not ask for the password if the user cannot be authenticated by the first password\&. This option is used when the system administrator wants to enforce the same password across multiple modules\&. In this case the module will return PAM_AUTHINFO_UNAVAIL as exit code\&.
.RE
.PP
\fBtry_first_pass\fR
.RS 4
-Same as the use_first_pass option (previous item), except that if the primary password is not valid, PAM will prompt for a password\.
+Same as the use_first_pass option (previous item), except that if the primary password is not valid, PAM will prompt for a password\&.
.RE
.PP
\fBsoft_try_pass\fR
.RS 4
-Same as the try_first_pass option (previous item), except that if the primary password is not valid, PAM will NOT prompt for the password\. In this case the module will return PAM_SUCESS as exit code\.
+Same as the try_first_pass option (previous item), except that if the primary password is not valid, PAM will NOT prompt for the password\&. In this case the module will return PAM_SUCESS as exit code\&.
.RE
.PP
\fBnullok\fR
.RS 4
-Do not fail if the authentication token was NULL (i\.e\. if the user was not asked by another PAM auth module to provide a password) and pam_csync was configured not to ask (e\.g\. with use_first_pass), and pam_csync\.so is "required" in the PAM stack\.
+Do not fail if the authentication token was NULL (i\&.e\&. if the user was not asked by another PAM auth module to provide a password) and pam_csync was configured not to ask (e\&.g\&. with use_first_pass), and pam_csync\&.so is "required" in the PAM stack\&.
.RE
.PP
\fBdebug\fR
.RS 4
-Print debug messages to syslog and stderr\.
+Print debug messages to syslog and stderr\&.
.RE
.PP
\fBsilent\fR
.RS 4
-Don\'t print any logging messages\.
+Don\'t print any logging messages\&.
.RE
+.SH "TROUBLESHOOTING"
+.sp
+Read the FAQ shipped with pam_csync\&.
.SH "BUGS"
-Please report bugs at https://dev\.csync\.org/\.
.sp
+Please report bugs at https://dev\&.csync\&.org/\&.
.SH "SEE ALSO"
-\fBpam\fR(8), \fBlibcsync\fR(7)
.sp
+\fBpam\fR(8), \fBlibcsync\fR(7)
.SH "AUTHORS"
-Andreas Schneider
.sp
+Andreas Schneider
.SH "COPYING"
-Copyright \e(c) 2006\-2008 Andreas Schneider\. Free use of this software is granted under the terms of the GNU General Public License (GPL)\.
.sp
+Copyright \e(c) 2006\-2008 Andreas Schneider\&. Free use of this software is granted under the terms of the GNU General Public License (GPL)\&.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/look new/pam_csync-0.42.0/look
--- old/pam_csync-0.41.94/look 1970-01-01 01:00:00.000000000 +0100
+++ new/pam_csync-0.42.0/look 2009-06-15 11:12:55.000000000 +0200
@@ -0,0 +1,26 @@
+ src/pam_csync.c | 12 ++++++++++--
+ 1 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/src/pam_csync.c b/src/pam_csync.c
+index c562bcd..0e98f7b 100644
+--- a/src/pam_csync.c
++++ b/src/pam_csync.c
+@@ -657,8 +657,16 @@ PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc,
+
+ if (count == 0) {
+ /* if uri is set to winbind, get the path from pam_winbind */
+- if (strcmp(pc_config.uri, "winbind") == 0) {
+- val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
++ if (strncmp(pc_config.uri, "winbind", 7) == 0) {
++ if (strcmp(pc_config.uri, "winbind") == 0 ||
++ strcmp(pc_config.uri, "winbind_profile") == 0) {
++ val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
++ } else if (strcmp(pc_config.uri, "winbind_homedir") == 0) {
++ val = pam_get_data(pamh, PAM_WINBIND_HOMEDIR, &tmp);
++ } else {
++ goto out;
++ }
++
+ if (val == PAM_NO_MODULE_DATA) {
+ pc_log("ERROR: trying to get winbind profile path\n");
+ goto out;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_csync-0.41.94/src/pam_csync.c new/pam_csync-0.42.0/src/pam_csync.c
--- old/pam_csync-0.41.94/src/pam_csync.c 2008-10-27 16:09:41.000000000 +0100
+++ new/pam_csync-0.42.0/src/pam_csync.c 2009-06-15 11:12:55.000000000 +0200
@@ -657,10 +657,18 @@
if (count == 0) {
/* if uri is set to winbind, get the path from pam_winbind */
- if (strcmp(pc_config.uri, "winbind") == 0) {
- val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
+ if (strncmp(pc_config.uri, "winbind", 7) == 0) {
+ if (strcmp(pc_config.uri, "winbind") == 0 ||
+ strcmp(pc_config.uri, "winbind_profile") == 0) {
+ val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
+ } else if (strcmp(pc_config.uri, "winbind_homedir") == 0) {
+ val = pam_get_data(pamh, PAM_WINBIND_HOMEDIR, &tmp);
+ } else {
+ goto out;
+ }
+
if (val == PAM_NO_MODULE_DATA) {
- pc_log("ERROR: trying to get winbind profile path\n");
+ pc_log("ERROR: trying to get %s from winbind\n", pc_config.uri);
goto out;
}
val = pc_winbind_uri(&pc_config.uri, tmp, !pc_config.krb5_set);
@@ -671,7 +679,7 @@
}
}
- pc_log("INFO: expanding uri: %s ", pc_config.uri);
+ pc_log("INFO: expanding uri: %s\n", pc_config.uri);
pc_config.uri = c_strreplace(pc_config.uri, "%(USER)", pc_config.user);
if (pc_config.uri == NULL) {
pc_log("ERROR: expanding user\n");
@@ -786,11 +794,19 @@
}
if (count == 0) {
- /* if uri is set to winbind, get the path from pam_winbind */
- if (strcmp(pc_config.uri, "winbind") == 0) {
- val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
+ /* if uri is set to winbind_*, get the path from pam_winbind */
+ if (strncmp(pc_config.uri, "winbind", 7) == 0) {
+ if (strcmp(pc_config.uri, "winbind") == 0 ||
+ strcmp(pc_config.uri, "winbind_profile") == 0) {
+ val = pam_get_data(pamh, PAM_WINBIND_PROFILEPATH, &tmp);
+ } else if (strcmp(pc_config.uri, "winbind_homedir") == 0) {
+ val = pam_get_data(pamh, PAM_WINBIND_HOMEDIR, &tmp);
+ } else {
+ goto out;
+ }
+
if (val == PAM_NO_MODULE_DATA) {
- pc_log("ERROR: trying to get winbind profile path\n");
+ pc_log("ERROR: trying to get %s from winbind\n", pc_config.uri);
goto out;
}
val = pc_winbind_uri(&pc_config.uri, tmp, !pc_config.krb5_set);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org