Bug 3408 - [PATCH] unix passwd sync fails when launching passwd program in child.
Summary: [PATCH] unix passwd sync fails when launching passwd program in child.
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.21a
Hardware: Other AIX
: P3 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-01-14 11:37 UTC by William Jojo
Modified: 2006-01-14 13:26 UTC (History)
0 users

See Also:

fix for ioctl hang. (565 bytes, patch)
2006-01-14 11:38 UTC, William Jojo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Jojo 2006-01-14 11:37:04 UTC
When researching 2770, it was discovered that on AIX dochild was failing.

This is due to the ioctl(slave,I_PUSH,"ldterm"); If ldterm is already present on the stream, the child will hang. This will subsequently cause the parent to fail on talktochild().
Comment 1 William Jojo 2006-01-14 11:38:21 UTC
Created attachment 1684 [details]
fix for ioctl hang.

This makes a check on ptem and ldterm before attempting to add the module to the stream.
Comment 2 Jeremy Allison 2006-01-14 13:26:05 UTC
Applied, thanks !