summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-03-27 19:59:14 +0000
committerJeremy Allison <jra@samba.org>1998-03-27 19:59:14 +0000
commita4156f9b50c81fe40823cd8e32ec990690d3884c (patch)
treef23772c046178ec4a0d9efcbfeee619c2e39f20f /source3/libsmb
parentf52bb48748cf330d8d9a9c6350f53e84e4adaece (diff)
downloadsamba-a4156f9b50c81fe40823cd8e32ec990690d3884c.tar.gz
samba-a4156f9b50c81fe40823cd8e32ec990690d3884c.tar.bz2
samba-a4156f9b50c81fe40823cd8e32ec990690d3884c.zip
chgpasswd.c, ipc.c, loadparm.c: Added boolean "unix password sync"
parameter which allows the new change password code to change the unix password also. Defaults to OFF. includes.h: Added termios.h to FreeBSD to allow password changing. namequery.c: Fixed missing name parameters to debug statements. Jeremy. (This used to be commit 4ac50c0f0aa5af084ddad89b1f9baf6c2c1ddcb8)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 7b8a01b28f..faa2a09007 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -460,7 +460,7 @@ BOOL resolve_name(char *name, struct in_addr *return_ip)
struct hostent *hp;
- DEBUG(3,("resolve_name: Attempting host lookup for name %s\n"));
+ DEBUG(3,("resolve_name: Attempting host lookup for name %s\n", name));
if (((hp = Get_Hostbyname(name)) != NULL) && (hp->h_addr != NULL)) {
putip((char *)return_ip,(char *)hp->h_addr);
@@ -477,7 +477,7 @@ BOOL resolve_name(char *name, struct in_addr *return_ip)
pstring lmhost_name;
int name_type;
- DEBUG(3,("resolve_name: Attempting lmhosts lookup for name %s\n"));
+ DEBUG(3,("resolve_name: Attempting lmhosts lookup for name %s\n", name));
fp = startlmhosts( LMHOSTSFILE );
if(fp) {
@@ -502,7 +502,7 @@ BOOL resolve_name(char *name, struct in_addr *return_ip)
* would then block).
*/
- DEBUG(3,("resolve_name: Attempting wins lookup for name %s\n"));
+ DEBUG(3,("resolve_name: Attempting wins lookup for name %s<0x20>\n", name));
if(*lp_wins_server()) {
struct in_addr wins_ip = *interpret_addr2(lp_wins_server());
@@ -536,7 +536,7 @@ BOOL resolve_name(char *name, struct in_addr *return_ip)
* "bcast" means do a broadcast lookup on all the local interfaces.
*/
- DEBUG(3,("resolve_name: Attempting broadcast lookup for name %s\n"));
+ DEBUG(3,("resolve_name: Attempting broadcast lookup for name %s<0x20>\n", name));
sock = open_socket_in( SOCK_DGRAM, 0, 3,
interpret_addr(lp_socket_address()) );