HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba and Windows
Operating System - HP-UX
1836281
Members
1693
Online
110097
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
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
09-30-2005 01:58 AM
09-30-2005 01:58 AM
Samba and Windows
I have been working with Samba for only a couple of days now and need help so my knowledge is limited. I have just a basic Samba setup running on HP-UX 11.23 and several Windows Server that need to connect to it. On all of the server running Windows Server 2003 I can connect without any problems. On my servers running Windows Server 2000 I get connected but it rejects the user. I have tried changing the registry entries to allow plain text passwords and set the encrypt passwords to yes in the smb.conf. Below is an extract of the log file and the smb.conf file. All of the servers are on the same subnet so I don't think that networking is the issue, but I may be wrong.
Any assistance would be greatly Appreciated.
==============================================
[2005/09/29 08:50:11, 1] smbd/reply.c:reply_sesssetup_and_X(1037)
Rejecting user 'bull': authentication failed
==============================================
[global]
server string = %h Samba %v
allow hosts =
security = user
encrypt passwords = yes
log file = /home/bull/testing/log.%m
log level = 1
max log size = 50
share modes = yes
local master = no
[bulls]
comment = Bulls testing
path = /home/bull/testing
browseable = yes
writable = yes
create mode = 0775
valid users =
==============================================
Any assistance would be greatly Appreciated.
==============================================
[2005/09/29 08:50:11, 1] smbd/reply.c:reply_sesssetup_and_X(1037)
Rejecting user 'bull': authentication failed
==============================================
[global]
server string = %h Samba %v
allow hosts =
security = user
encrypt passwords = yes
log file = /home/bull/testing/log.%m
log level = 1
max log size = 50
share modes = yes
local master = no
[bulls]
comment = Bulls testing
path = /home/bull/testing
browseable = yes
writable = yes
create mode = 0775
valid users =
==============================================
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 02:23 AM
09-30-2005 02:23 AM
Re: Samba and Windows
Hi Ed,
it is a little bit strange that you have an empty line "valid users=".
If every one is allowed you have to delay this line.
In any case can you post the output of smb.log?
Bye
it is a little bit strange that you have an empty line "valid users=".
If every one is allowed you have to delay this line.
In any case can you post the output of smb.log?
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 02:25 AM
09-30-2005 02:25 AM
Re: Samba and Windows
Samba is really CIFS, which is a client that Windows and HP-UX and other OS' use to connect to Windows or CIFS/Samba shares..
You have a samba log file defined in your smb.conf file. It contains clues as to what is going on.
You have serveral choices concerning security and user authentication which seem to be the issue at hand now.
1) You can set up users in unix and when connnection is attempted, the user will be authenticated by the unix password. security = user in the the smb.conf file, users are added with the smbpasswd command on Unix.
2) Network based authentication. You can use Windows ADS, LDAP, probabaly a few other protocols to authenticate users. This takes a little more time to set up, but its possilbe to end up with 1 user id/password combination providing access to Windows server resources, local windows machines and Samba shares on your HP-UX machines.
SEP
You have a samba log file defined in your smb.conf file. It contains clues as to what is going on.
You have serveral choices concerning security and user authentication which seem to be the issue at hand now.
1) You can set up users in unix and when connnection is attempted, the user will be authenticated by the unix password. security = user in the the smb.conf file, users are added with the smbpasswd command on Unix.
2) Network based authentication. You can use Windows ADS, LDAP, probabaly a few other protocols to authenticate users. This takes a little more time to set up, but its possilbe to end up with 1 user id/password combination providing access to Windows server resources, local windows machines and Samba shares on your HP-UX machines.
SEP
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 02:49 AM
09-30-2005 02:49 AM
Re: Samba and Windows
With W2k and W2000 in the mix, I'd go for SECURITY=DOMAIN or ADS (if Active directory is running in your environment).
See my thread on how I setup ADS:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365
Rgds...Geoff
See my thread on how I setup ADS:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
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