- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba / CIFS9000 share - User denied access
Categories
Company
Local Language
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
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
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
06-29-2004 07:19 AM
06-29-2004 07:19 AM
I have a Samba Share on an 11i box which is accessed by two Windows XP machines. On both machines an XP login of nick corresponds to the Unix login nick and I can connect and use the share "data" without problem. However the second machine does not allow the XP user Daniel to access the share "data". Daniel is setup as a unix and samba user and I have checked passwords and permissions. The global and share options are listed below.
Any ideas ?
[global]
workgroup = TARDIS
server string = TARDIS Samba Server
encrypt passwords = Yes
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 1000
local master = No
writeable = Yes
dos filetime resolution = Yes
[data]
comment = data area
path = /data
valid users = nick,daniel
force group = tardis
create mask = 0660
force create mode = 0660
guest ok = Yes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 07:24 AM
06-29-2004 07:24 AM
Re: Samba / CIFS9000 share - User denied access
What does the log says??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 07:37 AM
06-29-2004 07:37 AM
Re: Samba / CIFS9000 share - User denied access
log stating -
[2004/06/29 19:48:06, 1] smbd/reply.c:(942)
Rejecting user 'daniel': authentication failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 07:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 08:25 AM
06-29-2004 08:25 AM
Re: Samba / CIFS9000 share - User denied access
Obvious I suppose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 09:16 PM
06-29-2004 09:16 PM
Re: Samba / CIFS9000 share - User denied access
When you attempt to connect to a share, your Windows box will send your XP login and password to the CIFS server. If the XP login matches the HP-UX login (or you've used a username map file) and the XP password matches the smbpassword then you will connect without any further prompting. It shouldn't be necessary to have the HP-UX password matching the other 2 (although it may well be easier to remember that way!)
You may want to investigate a couple of other options. They're both documented in O'Reilly's Using Samba book, and also the smb.conf man page:
1) using the Windows PDC to authenticate - this saves you from having to have the matching password in the smbpassword file.
2) password syncing - allowing CIFS to update /etc/passwd when the smbpassword is changed.
regards,
Darren.