Just to add my 2 cents... this does NOT work, this is why the original poster
asked for help. Password sync is broken under FreeBSD with samba-2.x, and
this is not a configuration issue.
I ran into the same issue a month ago and add to use samba-3.
Antoine
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
> Nice, I had thought to do that as well, but still found no time. Do
> you plan to make your code public?
>
I'd be embarrassed to show this hack to the public. You could write
your own in the time it would take to adapt mine for another
enivironment.
I basically used Expect to call smbpasswd for the user. I also have
unix password sync on to change the unix password at the same time.
You can use SWAT, and there are other public interfaces available,
trust me, you don't need mine. I'll be glad to help out in any way if
you want to work on your own. It's only about 50 lines of code.
;)
> There doesn't seem to be anyone out there with a solution. I guess the
> moral of the story is don't run Samba 2.x on FreeBSD if you want your
Sorry, I've just entered this mailing list and haven't read the other
mails in this thread, but it should not be a problem at all to get this
password sync to work. We use LDAP, so our config wouldn't help you, but
a quick google-search leads to this example:
FreeBSD 4 passwd chat for smb.conf:
passwd chat = *New*password* %n\n *Retype*new**password* %n\n
*password*has*been*changed*
This has to be a single line of course. Put it into the [global] section
of your smb.conf, together with a "unix password sync = yes". Please
read the smb.conf man page, it's all there.
And please, don't let me see statements like "don't run Samba 2.x on
FreeBSD" again, because I've been doing this for many years. Thank you... ;)
cu,
Uwe
On Oct 7, 2003, at 3:16 PM, Markie wrote:
> Just like to say that I have this same problem too :o) Posted it to the
> Samba list and here quite a while ago but.. no answer! 4.8 and Samba
> 2.2.8a
> here too, I am going to try 3.0 soon.....
I receive the following error when trying to change a samba password
from a windows client: "The system cannot change your password now
because the domain is not available".
Samba logs indicate:
[2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=CPUXSV01 name2=IPAQDK
[2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(111)
netbios connect: local=cpuxsv01 remote=ipaqdk
[2003/10/07 11:00:09, 0] lib/util_sec.c:assert_gid(114)
Failed to set gid privileges to (0,1001) now set to (1001,1001)
uid=(0,1001)
[2003/10/07 11:00:09, 0] lib/util.c:smb_panic(1094)
PANIC: failed to set gid
Any help would be appreciated,
Clay