Password Changing

Tavis Barr tavis at mahler.econ.columbia.edu
Mon Feb 22 21:47:25 GMT 1999


I'm not sure if this is the right list, but I'm having a problem with 
regular old smbpasswd password changes, and I'm wondering if anyone has 
seen it before and knows what it is.

Password changing works fine for root, but when a non-root user tries to 
change his or her password, it fails with a notice of "The specified 
password is invalid" even though both the given Unix and SMB password are 
the same and work fine.

I also get a message in the client machine log for the server of 
"password changing not compiled for user ([the relevant user])."

I'm running 2.0.2 on SunOS 4.1.3U1, though I've had the problem with 
previous versions as well.  I'm enclosing my smb.conf and log.[server] 
files in case they help.


Many thanks for any attention,
Tavis

******************************************************************

; Configuration file for smbd.
; ============================================================================

[global]
   workgroup=SAMBADC
   server string=Sparc2 in Sociology

   hosts allow = 128.59.226.78 , 128.59. , 127.
   guest account = nobody
   socket options = TCP_NODELAY 
   domain logons = yes
   domain master = yes
   local master = yes
   os level = 100
   security = user

   encrypt passwords = yes
   null passwords = true
   unix password sync = yes
   passwd program = /bin/passwd %u
   passwd chat = "*New password*" %n\n "*new password*" %n\n
   passwd chat debug = true

   logon script = %U.bat
   logon drive = l:


   wins support = yes
   wins proxy = yes
   remote announce = 128.59.226.175 , 128.59.226.42, 128.59.194.255, 128.59.220.255
   remote browse sync = 128.59.220.18
   preferred master = yes

   printing = bsd
   printcap name = /etc/printcap
   load printers = yes

   log file = /usr/local/samba/log.%m
   debug level = 3

   lock directory = /usr/local/samba/var/locks
   share modes = yes
   case sensitive = no
   preserve case = yes
   short preserve case = yes
  

[NETLOGON]
   path = /usr/local/samba/lib/netlogon
   writeable = no
   guest ok = yes
   locking = no
   share modes = no

[homes]
   comment = Home Directories
   read only = no
   create mode = 0750

[printers]
   comment = All Printers
   printable = yes
   public = no
   writable = no
   create mode = 0700



************************************************************

log.markov [ Markov is the server]

[1999/02/22 16:29:22, 3] smbd/process.c:process_smb(565)
  Transaction 1 of length 168
[1999/02/22 16:29:22, 3] smbd/process.c:switch_message(402)
  switch message SMBnegprot (pid 6017)
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN1.0]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LM1.2X002]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [Samba]
[1999/02/22 16:29:22, 3] smbd/negprot.c:reply_negprot(409)
  Selected protocol NT LANMAN 1.0
[1999/02/22 16:29:22, 3] smbd/process.c:process_smb(565)
  Transaction 2 of length 78
[1999/02/22 16:29:22, 3] smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 6017)
[1999/02/22 16:29:22, 3] smbd/reply.c:reply_sesssetup_and_X(675)
  Domain=[]  NativeOS=[Unix] NativeLanMan=[Samba]
[1999/02/22 16:29:22, 3] smbd/reply.c:reply_sesssetup_and_X(679)
  sesssetupX:name=[]
[1999/02/22 16:29:22, 3] smbd/password.c:setup_groups(192)
  nobody is in 1 groups: 65534
[1999/02/22 16:29:22, 3] smbd/password.c:register_vuid(270)
  uid 65534 registered to name nobody
[1999/02/22 16:29:22, 3] smbd/password.c:register_vuid(272)
  Clearing default real name
[1999/02/22 16:29:22, 3] smbd/process.c:process_smb(565)
  Transaction 3 of length 69
[1999/02/22 16:29:22, 3] smbd/process.c:switch_message(402)
  switch message SMBtconX (pid 6017)
[1999/02/22 16:29:22, 2] lib/access.c:check_access(249)
  Allowed connection from localhost (127.0.0.1)
[1999/02/22 16:29:22, 3] smbd/password.c:pass_check_smb(506)
  account for user nobody was disabled.
[1999/02/22 16:29:22, 3] smbd/password.c:pass_check_smb(506)
  account for user nobody was disabled.
[1999/02/22 16:29:22, 3] smbd/password.c:authorise_login(794)
  ACCEPTED: guest account and guest ok
[1999/02/22 16:29:22, 3] smbd/service.c:make_connection(386)
  Connect path is /tmp
[1999/02/22 16:29:22, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /tmp
[1999/02/22 16:29:22, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /usr/local/samba/var
[1999/02/22 16:29:22, 3] smbd/service.c:make_connection(488)
  markov (127.0.0.1) connect to service IPC$ as user nobody (uid=65534, gid=65534) (pid 6017)
[1999/02/22 16:29:22, 3] smbd/reply.c:reply_tcon_and_X(340)
  tconX service=ipc$ user=nobody
[1999/02/22 16:29:23, 3] smbd/process.c:process_smb(565)
  Transaction 4 of length 634
[1999/02/22 16:29:23, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans (pid 6017)
[1999/02/22 16:29:23, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /tmp
[1999/02/22 16:29:23, 3] smbd/ipc.c:reply_trans(3624)
  trans <\PIPE\LANMAN> data=532 params=22 setup=0
[1999/02/22 16:29:23, 3] smbd/ipc.c:named_pipe(3479)
  named pipe command on <LANMAN> name
[1999/02/22 16:29:23, 3] smbd/ipc.c:api_reply(3424)
  Got API command 214 of form <zsT> <B516B16> (tdscnt=532,tpscnt=22,mdrcnt=0,mprcnt=2)
[1999/02/22 16:29:23, 3] smbd/ipc.c:api_reply(3429)
  Doing SamOEMChangePassword
[1999/02/22 16:29:23, 3] smbd/ipc.c:api_SamOEMChangePassword(1769)
  api_SamOEMChangePassword: Change password for <tavis>
[1999/02/22 16:29:23, 0] smbd/chgpasswd.c:chgpasswd(463)
  Password changing not compiled in (user=tavis)
[1999/02/22 16:29:23, 3] smbd/process.c:timeout_processing(755)
  end of file from client
[1999/02/22 16:29:23, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /usr/local/samba/var
[1999/02/22 16:29:23, 2] smbd/server.c:exit_server(406)
  Closing connections
[1999/02/22 16:29:23, 3] smbd/service.c:close_cnum(514)
  markov (0.0.0.0) closed connection to service IPC$
[1999/02/22 16:29:23, 3] smbd/connection.c:yield_connection(40)
  Yielding connection to IPC$
[1999/02/22 16:29:23, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)










More information about the samba-ntdom mailing list