HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba password change issue for users via swat
Operating System - HP-UX
1833852
Members
1849
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 04:04 PM
02-25-2003 04:04 PM
Dear all,
Our install of Samba 2.2.5 is working fine as a PDC on our HPUX 11.00 server except when users go to change their passwords via swat they get the error:
"machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_WRONG_PASSWORD.
The passwd for '' has NOT been changed."
A fix for version 2.0.6 for the same problem recommended changing the details for the nobody user:
"machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.).
Failed to change password for rjamieso
This is because of the way the "nobody" ID is setup under HP-UX.
/etc/passwd: nobody:*:-2:-2::/:
/etc/group: group "nobody" does not exist !
To fix, create group nobody, eg: "nobody::60001:
Use "vipw" (SAM wont let you do this) to edit /etc/passwd to read:
nobody2:*:-2:-2:original nobody user was no good for samba:/:
nobody:*:60001:60001:original nobody user was no good for samba:/:
NOTE: !!! - I'm not sure what side-effects this will have, but I think it will be OK."
The source for this solution is:
http://www.scsuk.net/samba.html
It sounds a bit radical. Anyone got ideas.
Cheers,
Damo
Our install of Samba 2.2.5 is working fine as a PDC on our HPUX 11.00 server except when users go to change their passwords via swat they get the error:
"machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : NT_STATUS_WRONG_PASSWORD.
The passwd for '
A fix for version 2.0.6 for the same problem recommended changing the details for the nobody user:
"machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was : ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.).
Failed to change password for rjamieso
This is because of the way the "nobody" ID is setup under HP-UX.
/etc/passwd: nobody:*:-2:-2::/:
/etc/group: group "nobody" does not exist !
To fix, create group nobody, eg: "nobody::60001:
Use "vipw" (SAM wont let you do this) to edit /etc/passwd to read:
nobody2:*:-2:-2:original nobody user was no good for samba:/:
nobody:*:60001:60001:original nobody user was no good for samba:/:
NOTE: !!! - I'm not sure what side-effects this will have, but I think it will be OK."
The source for this solution is:
http://www.scsuk.net/samba.html
It sounds a bit radical. Anyone got ideas.
Cheers,
Damo
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 04:10 PM
02-25-2003 04:10 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 04:12 PM
02-25-2003 04:12 PM
Re: Samba password change issue for users via swat
Damo,
Try setting your passwd chat parameter to:
passwd chat = *new*password* %n\n *new*password* %n\n *success*
Users should be able to change their own passwords.
Regards,
RZ
Try setting your passwd chat parameter to:
passwd chat = *new*password* %n\n *new*password* %n\n *success*
Users should be able to change their own passwords.
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 05:13 PM
02-25-2003 05:13 PM
Re: Samba password change issue for users via swat
Dear Ross,
Your right with the first anwer but I had no luck with the second.
Regarding answer 1:
I added the default guest user "smbnull" to the valid users list and it works like a charm.
Regarding answer 2:
This change does not have the desired effect.
Thanks for you tremendous help.
Cheers,
Damo
Your right with the first anwer but I had no luck with the second.
Regarding answer 1:
I added the default guest user "smbnull" to the valid users list and it works like a charm.
Regarding answer 2:
This change does not have the desired effect.
Thanks for you tremendous help.
Cheers,
Damo
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP