Joseph Doran
2004-Apr-03 03:43 UTC
[Samba] USRMGR.EXE, passwd sync and failed user addition
Hi, Sorry if I am stating the obvious, but I could not find any info anywhere about this issue. Just a quick email to alert people to the fact that some posts that I have been scouring over suggest that certain individuals are unable to add users through usrmgr.exe. I have spent the last 4~5 hours hunting down this very problem looking at permissions, groups and so on. So I thought I would pass the info on. It would appear the problem can arise due to the passwd chat (when called as root). I am running Redhat 9.0 and the usual passwd chat is slightly different to version 7.1 from which I took the smb.conf over from. Keyword (UNIX) seems to have been dropped. I did read somewhere that some versions of unix/linux display ReType instead of Retype, although I cant confirm this. 7.0 expects *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* 7.1 expects *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* whereas 7.2 expects *Changing*password*for*user*%u.\n*New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* and 9.x expects *Changing*password*for*user*%u.\n*New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* Dont have access to a version 8.0 box. Hopefully this will save someone trawling though, passwd chat debug = yes, and 101 level debugs :-). To:- samba-technical list. Would it not be possible to say add a dummy user account, change the passwd and capture the stdout, and delete dummy account, to populate the chat script automatically? Best Regards Joe. PS: I am not on list, so reply directly if you wish to make contact.
Joseph Doran schrieb:> Hi, > > Sorry if I am stating the obvious, but I could not find any info anywhere > about this issue. > > Just a quick email to alert people to the fact that some posts that I have > been scouring over suggest that certain individuals are unable to add > users through usrmgr.exe. I have spent the last 4~5 hours hunting down > this very problem looking at permissions, groups and so on. So I thought I > would pass the info on. > > It would appear the problem can arise due to the passwd chat (when called > as root). I am running Redhat 9.0 and the usual passwd chat is slightly > different to version 7.1 from which I took the smb.conf over from. Keyword > (UNIX) seems to have been dropped. > > I did read somewhere that some versions of unix/linux display ReType > instead of Retype, although I cant confirm this. > > 7.0 expects > *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n > *Retype*new*UNIX*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > > > > 7.1 expects > *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n > *Retype*new*UNIX*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > > whereas > > 7.2 expects > *Changing*password*for*user*%u.\n*New*password* %n\n *Retype*new*password* > %n\n *passwd:*all*authentication*tokens*updated*successfully* > > and > > 9.x expects > *Changing*password*for*user*%u.\n*New*password* %n\n *Retype*new*password* > %n\n *passwd:*all*authentication*tokens*updated*successfully* > > Dont have access to a version 8.0 box. > > > Hopefully this will save someone trawling though, passwd chat debug = yes, > and 101 level debugs :-). > > To:- samba-technical list. > Would it not be possible to say add a dummy user account, change the > passwd and capture the stdout, and delete dummy account, to populate the > chat script automatically? > > Best Regards > Joe. > > PS: I am not on list, so reply directly if you wish to make contact. >Hi ,nice to see that, but including the samba versions would be the more related info ,instead of redhat versions Regards
Joseph Doran
2004-Apr-03 11:06 UTC
[Samba] USRMGR.EXE, passwd sync and failed user addition
Hi Robert, I am running Version 3.0.2a. I did not add the version number as I would have thought that it would affect any version that uses passwd chat. Regards Joe.> Joseph Doran schrieb: >> Hi, >> >> Sorry if I am stating the obvious, but I could not find any info >> anywhere >> about this issue. >> >> Just a quick email to alert people to the fact that some posts that I >> have >> been scouring over suggest that certain individuals are unable to add >> users through usrmgr.exe. I have spent the last 4~5 hours hunting down >> this very problem looking at permissions, groups and so on. So I thought >> I >> would pass the info on. >> >> It would appear the problem can arise due to the passwd chat (when >> called >> as root). I am running Redhat 9.0 and the usual passwd chat is slightly >> different to version 7.1 from which I took the smb.conf over from. >> Keyword >> (UNIX) seems to have been dropped. >> >> I did read somewhere that some versions of unix/linux display ReType >> instead of Retype, although I cant confirm this. >> >> 7.0 expects >> *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n >> *Retype*new*UNIX*password* %n\n >> *passwd:*all*authentication*tokens*updated*successfully* >> >> >> >> 7.1 expects >> *Changing*password*for*user*%u.\n*New*UNIX*password* %n\n >> *Retype*new*UNIX*password* %n\n >> *passwd:*all*authentication*tokens*updated*successfully* >> >> whereas >> >> 7.2 expects >> *Changing*password*for*user*%u.\n*New*password* %n\n >> *Retype*new*password* >> %n\n *passwd:*all*authentication*tokens*updated*successfully* >> >> and >> >> 9.x expects >> *Changing*password*for*user*%u.\n*New*password* %n\n >> *Retype*new*password* >> %n\n *passwd:*all*authentication*tokens*updated*successfully* >> >> Dont have access to a version 8.0 box. >> >> >> Hopefully this will save someone trawling though, passwd chat debug >> yes, >> and 101 level debugs :-). >> >> To:- samba-technical list. >> Would it not be possible to say add a dummy user account, change the >> passwd and capture the stdout, and delete dummy account, to populate the >> chat script automatically? >> >> Best Regards >> Joe. >> >> PS: I am not on list, so reply directly if you wish to make contact. >> > Hi ,nice to see that, but including the samba versions would be the more > related info ,instead of redhat versions > Regards >