- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba problems
Operating System - HP-UX
1823057
Members
3167
Online
109645
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
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
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-13-2003 01:32 PM
тАО02-13-2003 01:32 PM
I have been running samba on an hpux 11.0 server for years without any problems. We are using samba v1.9.17p4. We use a Windows2000 domain controller and have a number of windows clients who connect to the HPUX server via samba. We don't do anything fancy in terms of authentication, people are simply prompted for their unix userid and password each morning when they connect. This is ok with us.
I've recently installed HPUX 11i on a new server and am having loads of trouble getting samba to work. The version of samba that came with 11i is 2.2.3a. I copied our original smb.conf file over. The samba processes start fine, but I cannot connect to anything from windows. I use explorer to map a drive and I keep getting a login dialog...I supply my unix userid and password but it won't accept it.
With this newer version of Samba am I required to validate users against the domain controller and setup that whole smbpasswd database? I'd really rather keep it simple. If we have to login each morning it is no problem.
If you have any ideas, please let me know.
Thanks,
Tim
I've recently installed HPUX 11i on a new server and am having loads of trouble getting samba to work. The version of samba that came with 11i is 2.2.3a. I copied our original smb.conf file over. The samba processes start fine, but I cannot connect to anything from windows. I use explorer to map a drive and I keep getting a login dialog...I supply my unix userid and password but it won't accept it.
With this newer version of Samba am I required to validate users against the domain controller and setup that whole smbpasswd database? I'd really rather keep it simple. If we have to login each morning it is no problem.
If you have any ideas, please let me know.
Thanks,
Tim
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 02:09 PM
тАО02-13-2003 02:09 PM
Solution
Hi Tim,
It's been so long since I messed with version 1.x of Samba that I don't remember what it does for login validation.
As for the 2.2.3a version, you'll probably need to setup the smbpasswd file. You don't have to validate against your domain controller; that is a separate program [winbind]. Take a look at the mksmbpasswd.sh script. It takes your /etc/passwd as standard input and writes out the smbpasswd file as standard output. Once you have that made, you'll need to enable the accounts in Samba. Then, you'll need to set their passwords in the smbpasswd file. You'll use the 'smbpasswd' command in Samba to enable the Samba accounts and set the passwords. After you have done that, you should be at the same functional level as you are with the old version of Samba. Your users will be prompted for their Unix login and password when they map a share.
Also, you might want to run 'testparm'. It will run a sanity check on your smb.conf file. That should alert you to anything that might need to be changed in the smb.conf file due to moving to the newer version.
JP
It's been so long since I messed with version 1.x of Samba that I don't remember what it does for login validation.
As for the 2.2.3a version, you'll probably need to setup the smbpasswd file. You don't have to validate against your domain controller; that is a separate program [winbind]. Take a look at the mksmbpasswd.sh script. It takes your /etc/passwd as standard input and writes out the smbpasswd file as standard output. Once you have that made, you'll need to enable the accounts in Samba. Then, you'll need to set their passwords in the smbpasswd file. You'll use the 'smbpasswd' command in Samba to enable the Samba accounts and set the passwords. After you have done that, you should be at the same functional level as you are with the old version of Samba. Your users will be prompted for their Unix login and password when they map a share.
Also, you might want to run 'testparm'. It will run a sanity check on your smb.conf file. That should alert you to anything that might need to be changed in the smb.conf file due to moving to the newer version.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2003 02:57 PM
тАО02-16-2003 02:57 PM
Re: Samba problems
Hi all,
The new version of Samba comes with "swat" a web based admin console.
By defaul it installs on port 901.
in /etc/services:
swat 901/tcp
So, point your browser to:
http://youserverip:901/
Look at ALL the configuration options as the newer version has many more options that you will need to complete.
After adding in everything you need, click on the button to re-start your samba sever for the changes to take effect.
One thing I noticed was for some reason Samba really needs the "guest" unix account to exist (even though I don't use or specify it anywhere?? mystery to me but wouldn't work without it).
The new version of Samba comes with "swat" a web based admin console.
By defaul it installs on port 901.
in /etc/services:
swat 901/tcp
So, point your browser to:
http://youserverip:901/
Look at ALL the configuration options as the newer version has many more options that you will need to complete.
After adding in everything you need, click on the button to re-start your samba sever for the changes to take effect.
One thing I noticed was for some reason Samba really needs the "guest" unix account to exist (even though I don't use or specify it anywhere?? mystery to me but wouldn't work without it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2003 04:26 PM
тАО02-16-2003 04:26 PM
Re: Samba problems
Your best long term bet Tim is to install the latest samba for 11.00 on the samba 1 machine. Then assuming compatiple data structure and smb.conf as indicated above you should be close to resolution.
Here is a link to download the depots.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B8725AA&date=
Having the most current December 2003 quality pack wouldn't hurt with any other outstanding issues.
I have samba running quite nicely in a mixed load and UX version environment(11.00 and 11.11). I now do all my patch downloads straight from my desktop browser to a samba shared drive on one workstation. Thats a pretty hefty load enivronment seeing that I'm the biggest bandwidth user in the Corporation most months(my volume being hp.com makes managment feel the bulk of web volume is business related, hee hee).
Here is a link to download the depots.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B8725AA&date=
Having the most current December 2003 quality pack wouldn't hurt with any other outstanding issues.
I have samba running quite nicely in a mixed load and UX version environment(11.00 and 11.11). I now do all my patch downloads straight from my desktop browser to a samba shared drive on one workstation. Thats a pretty hefty load enivronment seeing that I'm the biggest bandwidth user in the Corporation most months(my volume being hp.com makes managment feel the bulk of web volume is business related, hee hee).
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP