- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "smbpasswd -a" complains about negative ID in smbp...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
07-02-2003 10:29 AM
07-02-2003 10:29 AM
"smbpasswd -a" complains about negative ID in smbpasswd file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 10:32 AM
07-02-2003 10:32 AM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
If its not there,
useradd username
as root
Then try the smbpasswd -a command.
This assumes no NIS or LDAP connection to a Microsoft box. Thats a differenent scenario.
If LDAP is in the authentication, you need account for the unix box on the LDAP server and you don't need to run smbpasswd to add users.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 12:38 PM
07-02-2003 12:38 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 12:55 PM
07-02-2003 12:55 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
pwck
Check the integrity of /etc/passwd, because problems there can generate the error.
grpck
Same basic idea.
There probably is an integrity check for the smbpasswd database as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 01:05 PM
07-02-2003 01:05 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 01:39 PM
07-02-2003 01:39 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
the smbdpasswd (encrypted passwords) file?For
guest account?Define something else.
As a matter of fact (and matter of samba source - see here http://us2.samba.org/samba/ftp/cvs_current/source/passdb/pdb_smbpasswd.c :
if(*p == '-') {
DEBUG(0, ("getsmbfilepwent: uids in the smbpasswd file must not be negative.\n"));
continue;
) Samba wouldn't adjust itself to that one,so
one should get adjusted to Samba :)
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 06:57 PM
07-02-2003 06:57 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
There is no need for user nobody in samba implementation. Samba has it's own internal guest account with least priveleges.
The user nobody is of no use relates to samba access. Include only valid accounts in smdpasswd file.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 07:04 PM
07-02-2003 07:04 PM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
You don't need it for user validation.
Surely if you are using smbpasswd to enable access you aren't authorizing worldwide access.
Add guest account individually, so you can keep track of them.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 05:24 AM
07-03-2003 05:24 AM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 05:53 AM
07-03-2003 05:53 AM
Re: "smbpasswd -a" complains about negative ID in smbpasswd file.
First of all, the guest account is not necessary for the Samba passwd file.
Just a test for root:
#smbpasswd -a root
The password may different to the password of /etc/passwd!
Do you still get -2 ID?
-ux