2 questions - munged service names and password sync

andrew tristan atristan at math.ucr.edu
Fri Feb 12 19:19:15 GMT 1999


Using Jerry Carter's NTDOM FAQ, I've gotten samba 2.1.0-prealpha (I
checked it out on Wed)  running on a SunOS 5.5.1 box, and acting as the
PDC for a couple of NT-v4+SP4 boxes.  I can join the domain,
authentication works exactly as expected, etc.  I expect that the
problems I'm having are due to stupidity on my part.  I didn't find
either of these discussed in the archives for the list, if I missed
something please let me know.

1. password sync 

I haven't been able to get password sync working quite correctly.  With
"unix password sync" turned off, smbpasswd works correctly; that is,
the smb password gets updated correctly.  However, when I turn on
password sync, the unix password gets changed, but the smb password
does not.  Some of the relevant bits from smb.conf:

	domain master = yes
	preferred master = yes
	domain logons = yes
	security = user
	encrypt passwords = yes
	unix password sync = yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *password* %n\n *password* %n\n *successfull*

The actual error message from smbpasswd is:

	machine 127.0.0.1 rejected the password change: Error was : 
		The specified password is invalid.
	Failed to change password for luser

I turned debugging on (this is only d3, I can report higher levels if
necessary), but had little luck interpreting the results.  Here are what
I take to be the important bits:

	[1999/02/12 08:45:08, 3] smbd/ipc.c:(3399)
	  Doing SamOEMChangePassword
	[1999/02/12 08:45:08, 3] smbd/ipc.c:(1741)
	  api_SamOEMChangePassword: Change password for <luser>
	[1999/02/12 08:45:08, 3] smbd/chgpasswd.c:(381)
	  Password change for user: luser
	[1999/02/12 08:45:08, 3] smbd/chgpasswd.c:(360)
	  Dochild for user luser (uid=0,gid=0)
	[1999/02/12 08:45:11, 3] smbd/chgpasswd.c:(279)
	  response 3 incorrect
	[1999/02/12 08:45:11, 3] smbd/chgpasswd.c:(321)
	  Child failed to change password: luser
	[1999/02/12 08:45:11, 3] smbd/chgpasswd.c:(326)
	  The process is no longer waiting!

Source diving made it no more clear.

2. munged service names

With,
	load printers = yes
	printcap name = lpstat

I can see my printers with testprns, but the clients report something
like
	\\sambahost\||||||||
and I get
	[1999/02/12 09:53:21, 0] smbd/service.c:(210)
	  client (199.199.199.199) couldn't find service ????????
in the client log files.

Thanks for any help,
Andrew


-- 
andrew.tristan at ucr.edu		Unix Systems Group, UC Riverside


More information about the samba-ntdom mailing list