Problems with 2.0beta4

Rob Naccarato rob.naccarato at sheridanc.on.ca
Wed Dec 16 17:56:57 GMT 1998


This patch appears to work as suggested.  Thanks very much.

log file:

[1998/12/16 12:55:10, 4] passdb/pass_check.c:(791)
  Checking password for user rob (l=7)
[1998/12/16 12:55:10, 5] passdb/pass_check.c:(836)
  Checking password for user rob in OSF1_ENH_SEC
[1998/12/16 12:55:10, 5] passdb/pass_check.c:(843)
  OSF1_ENH_SEC: No entry for user rob in protected database !
[1998/12/16 12:55:10, 2] passdb/pass_check.c:(727)
  OSF1_ENH_SEC failed. Trying normal crypt.
[1998/12/16 12:55:10, 2] passdb/pass_check.c:(727)
  OSF1_ENH_SEC failed. Trying normal crypt.
[1998/12/16 12:55:10, 7] param/loadparm.c:(2588)
  lp_servicenumber: couldn't find rob
[1998/12/16 12:55:10, 3] param/loadparm.c:(1437)
  adding home directory rob at /home/rob
[1998/12/16 12:55:10, 3] smbd/password.c:(192)
  rob is in 4 groups: 80, 0, 126, 101
[1998/12/16 12:55:10, 3] smbd/password.c:(270)
  uid 2084 registered to name rob
[1998/12/16 12:55:10, 3] smbd/password.c:(272)
  Clearing default real name
[1998/12/16 12:55:10, 3] smbd/password.c:(277)
  User name: rob        Real name: The Main Man
[1998/12/16 12:55:10, 6] smbd/reply.c:(859)
  Client requested max send size of 2920
[1998/12/16 12:55:10, 3] smbd/process.c:(715)


On Tue, 15 Dec 1998, Jeremy Allison wrote:

> Rob Naccarato wrote:
> 
> > I've now got it to work.  In includes/includes.h, I removed these lines:
> > 
> > #if defined(HAVE_PUTPRPWNAM) && defined(AUTH_CLEARTEXT_SEG_CHARS)
> > #define OSF1_ENH_SEC 1
> > #endif
> 
> Could you try putting these lines back, and instead applying
> the following patch and let me know if this works instead.
> 
> ---------------cut here----------------------
> --- /usr/people/jallison/tmp/samba-2.0.0beta4/source/passdb/pass_check.c       
> Mon Dec 14 17:21:09 1998
> +++ passdb/pass_check.c Tue Dec 15 14:15:39 1998
> @@ -840,9 +840,8 @@
>                         fstrcpy(pass->pw_name,mypasswd->ufld.fd_name);
>                         fstrcpy(pass->pw_passwd,mypasswd->ufld.fd_encrypt);
>                 } else {
> -                       DEBUG(5,("No entry for user %s in protected database
> !\n",
> +                       DEBUG(5,("OSF1_ENH_SEC: No entry for user %s in
> protected database !\n",
>                                  user));
> -                       return(False);
>                 }
>         }
>  #endif
> ---------------end cut-----------------------
> 
> This patch would actually fit better with the
> way the current code is structured - ie. the use
> of the OSF1_ENH_SEC detabase is supported but 
> not mandatory.
> 
> Cheers,
> 
> 	Jeremy Allison,
> 	Samba Team.
> 
> -- 
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------
> 


Rob Naccarato           "Civilized men are more discourteous than savages
Sys Admin               because they know they can be impolite without
Sheridan College        having their skulls split, as a general thing."
Oakville, Ont. Canada                      - Robert E. Howard



More information about the samba-technical mailing list