[Pkg-samba-maint] r1764 - trunk/samba/debian/patches

vorlon at alioth.debian.org vorlon at alioth.debian.org
Fri Mar 14 05:10:12 UTC 2008


Author: vorlon
Date: 2008-03-14 05:10:12 +0000 (Fri, 14 Mar 2008)
New Revision: 1764

Modified:
   trunk/samba/debian/patches/smbpasswd-syslog.patch
Log:
revert inconsistent whitespace changes to patch



Modified: trunk/samba/debian/patches/smbpasswd-syslog.patch
===================================================================
--- trunk/samba/debian/patches/smbpasswd-syslog.patch	2008-03-11 21:59:44 UTC (rev 1763)
+++ trunk/samba/debian/patches/smbpasswd-syslog.patch	2008-03-14 05:10:12 UTC (rev 1764)
@@ -319,7 +319,7 @@
  	}
  	if (on( SMB_DEBUG, ctrl )) {
 -		_log_err( LOG_DEBUG, "username [%s] obtained", name );
-+		_log_err(pamh, LOG_DEBUG, "username [%s] obtained", name );
++		_log_err(pamh, LOG_DEBUG, "username [%s] obtained", name);
  	}
  
  	if (geteuid() != 0) {
@@ -328,7 +328,7 @@
  
  	if (!initialize_password_db(True)) {
 -		_log_err( LOG_ALERT, "Cannot access samba password database" );
-+		_log_err(pamh, LOG_ALERT, "Cannot access samba password database" );
++		_log_err(pamh, LOG_ALERT, "Cannot access samba password database");
  		retval = PAM_AUTHINFO_UNAVAIL;
  		AUTH_RETURN;
  	}
@@ -336,7 +336,7 @@
  	sampass = samu_new( NULL );
      	if (!sampass) {
 -		_log_err( LOG_ALERT, "Cannot talloc a samu struct" );
-+		_log_err(pamh, LOG_ALERT, "Cannot talloc a samu struct" );
++		_log_err(pamh, LOG_ALERT, "Cannot talloc a samu struct");
  		retval = nt_status_to_pam(NT_STATUS_NO_MEMORY);
  		AUTH_RETURN;
  	}
@@ -381,7 +381,7 @@
  	in_client = True;
  
 -	ctrl = set_ctrl( flags, argc, argv );
-+	ctrl = set_ctrl(pamh, flags, argc, argv );
++	ctrl = set_ctrl(pamh, flags, argc, argv);
  
  	/* get the username */
  
@@ -389,13 +389,13 @@
  	if (retval != PAM_SUCCESS) {
  		if (on( SMB_DEBUG, ctrl )) {
 -			_log_err( LOG_DEBUG, "acct: could not identify user" );
-+			_log_err(pamh, LOG_DEBUG, "acct: could not identify user" );
++			_log_err(pamh, LOG_DEBUG, "acct: could not identify user");
  		}
  		return retval;
  	}
  	if (on( SMB_DEBUG, ctrl )) {
 -		_log_err( LOG_DEBUG, "acct: username [%s] obtained", name );
-+		_log_err(pamh, LOG_DEBUG, "acct: username [%s] obtained", name );
++		_log_err(pamh, LOG_DEBUG, "acct: username [%s] obtained", name);
  	}
  
  	if (geteuid() != 0) {
@@ -404,7 +404,7 @@
  	oldsig_handler = CatchSignal(SIGPIPE, SIGNAL_CAST SIG_IGN);
  	if (!initialize_password_db(True)) {
 -		_log_err( LOG_ALERT, "Cannot access samba password database" );
-+		_log_err(pamh, LOG_ALERT, "Cannot access samba password database" );
++		_log_err(pamh, LOG_ALERT, "Cannot access samba password database");
  		CatchSignal(SIGPIPE, SIGNAL_CAST oldsig_handler);
  		return PAM_AUTHINFO_UNAVAIL;
  	}




More information about the Pkg-samba-maint mailing list