Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Samba Change Password from Windows using ctrl-alt-delete

0 views
Skip to first unread message

Antoine Jacoutot

unread,
Oct 10, 2003, 4:39:48 AM10/10/03
to
On Wednesday 08 October 2003 23:15, Uwe Laverenz wrote:
> passwd chat = *New*password* %n\n *Retype*new**password* %n\n
> *password*has*been*changed*
> 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...

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"

Clay

unread,
Oct 10, 2003, 4:40:21 AM10/10/03
to
> I too have the same problem, I too searched google and I too found no
> solution.
> Does anyone know if 3.0 is ok?
I haven't tried yet. I'm a cautious upgrader.

> 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.
;)

Uwe Laverenz

unread,
Oct 10, 2003, 4:42:34 AM10/10/03
to
Clay wrote:

> 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

Clay

unread,
Oct 10, 2003, 4:42:34 AM10/10/03
to
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
users to be able to change their own passwords. I've written a web
interface for them to do so, but it doesn't sell the 'free' solution to
management if you have to use non-standard administration tools and
spend a lot of time creating them, at that.

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.....

List

unread,
Oct 10, 2003, 4:57:05 AM10/10/03
to
I have seen this question posted a number of times without an answer,
and there's a bug from June in the ports database regarding this issue.
Running 4.8 and samba 2.2.8a.

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

Markie

unread,
Oct 10, 2003, 4:57:27 AM10/10/03
to
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.....
0 new messages