Hallo to everybody out there, I have downloaded and compiled Samba3b2 on a SuSE 8.2 machine. For testing purpose, I connect to this machine with a Win2k-Box ... most things seem to work fine, but I am unable so change passwords from the win-box with unix password sync enanbled. I changed loglevel to 103 and enabled password chat debug. From what I found in the log-files, I can conclude that the the passwd program ist NOT run as root (obviously, the OLD password is requested as well). nmbd and smbd are run as root ... unix password sync is set to yes ... I don't have any useful idea anymore ... maybe somebody from the list? ;-) Thanks in advance Thilo
Hi,> I have downloaded and compiled Samba3b2 on a SuSE 8.2 machine. For > testing purpose, I connect to this machine with a Win2k-Box ... most > things seem to work fine, but I am unable so change passwords from > the win-box with unix password sync enanbled. > I changed loglevel to 103 and enabled password chat debug. From what > I found in the log-files, I can conclude that the the passwd program > ist NOT run as root (obviously, the OLD password is requested as > well).This does not have to mean it is not run as root. Do you run NIS? Is your samba server the NIS master? If not, passwd will ask for the old password. Does it work for you, if you run passwd manually? To find out what happens, you can write a wrapper for passwd that prints out UID, GID, EUID, EGID (simple thing in perl). Christopher -- ===================================================== Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb odenbach@uni-paderborn.de Tel.: +49 5251 60 6215 ======================================================
Hi, I found the same thing when I was trying to use passwd chat. I wrapped the passwd command and checked and saw that during the chat passwd was called with UID being that of the user that tried to change the passwd. This is the case at least for Samba 3.0beta2. It was not that for samba2.2.8a. I am not sure why myself. --- Christopher Odenbach <odenbach@hni.upb.de> wrote:> > Hi, > > > I have downloaded and compiled Samba3b2 on a SuSE > 8.2 machine. For > > testing purpose, I connect to this machine with a > Win2k-Box ... most > > things seem to work fine, but I am unable so > change passwords from > > the win-box with unix password sync enanbled. > > I changed loglevel to 103 and enabled password > chat debug. From what > > I found in the log-files, I can conclude that the > the passwd program > > ist NOT run as root (obviously, the OLD password > is requested as > > well). > > This does not have to mean it is not run as root. Do > you run NIS? Is > your samba server the NIS master? If not, passwd > will ask for the old > password. > > Does it work for you, if you run passwd manually? > > To find out what happens, you can write a wrapper > for passwd that > prints out UID, GID, EUID, EGID (simple thing in > perl). > > Christopher > > -- >=====================================================> Dipl.-Ing. Christopher Odenbach> HNI Rechnerbetrieb > odenbach@uni-paderborn.de > Tel.: +49 5251 60 6215 >=====================================================> --> To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Am Mittwoch, 16. Juli 2003 10:49 schrieb Chee Wai Yeung:> Hi, I found the same thing when I was trying to use > passwd chat. I wrapped the passwd command and checked > and saw that during the chat passwd was called with > UID being that of the user that tried to change the > passwd. This is the case at least for Samba 3.0beta2. > It was not that for samba2.2.8a.So it seems to me that we have to call this a bug ;-) I created a bug-report and mentioned you Chee Wai because you were able to prove this "misbehaviour" ... hope you are fine with that. Thilo
Thilo, it is fine - since I still have not been able to get samba3.0beta to work well I am back to have my PDC running 2.2.8a anyways. Chee Wai --- Thilo Rößler <el-nino@gmx.li> wrote:> Am Mittwoch, 16. Juli 2003 10:49 schrieb Chee Wai > Yeung: > > Hi, I found the same thing when I was trying to > use > > passwd chat. I wrapped the passwd command and > checked > > and saw that during the chat passwd was called > with > > UID being that of the user that tried to change > the > > passwd. This is the case at least for Samba > 3.0beta2. > > It was not that for samba2.2.8a. > > So it seems to me that we have to call this a bug > ;-) > I created a bug-report and mentioned you Chee Wai > because you were able to > prove this "misbehaviour" ... hope you are fine with > that. > > Thilo__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Hi all as my result , everything works fine with suse 8.2 samba 3 beta2 working as pdc. passwd change (passwd sync with entry in /etc/pam/login) ,create, groupadd, groupmod using usrmgr from winxp prof serv pack 1a exept the user delete parameter, nobody gives me a usefull answer about that , log says feature not implemented yet. to me it seems that userdel gets simply not executed , that its not running as root would be a reason for that bug, any ideas? Regards> Thilo, > > it is fine - since I still have not been able to get > samba3.0beta to work well I am back to have my PDC > running 2.2.8a anyways. > > Chee Wai > > --- Thilo R??ler <el-nino@gmx.li> wrote: > > Am Mittwoch, 16. Juli 2003 10:49 schrieb Chee Wai > > Yeung: > > > Hi, I found the same thing when I was trying to > > use > > > passwd chat. I wrapped the passwd command and > > checked > > > and saw that during the chat passwd was called > > with > > > UID being that of the user that tried to change > > the > > > passwd. This is the case at least for Samba > > 3.0beta2. > > > It was not that for samba2.2.8a. > > > > So it seems to me that we have to call this a bug > > ;-) > > I created a bug-report and mentioned you Chee Wai > > because you were able to > > prove this "misbehaviour" ... hope you are fine with > > that. > > > > Thilo > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr?mie sichern!