- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CIFS server configuration
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
11-13-2008 03:30 AM
11-13-2008 03:30 AM
Have configured samba server to share hp ux directory in windows macihne.
while connecting to samba server from windows xp i am able to view shared unix directories, while opening(double clik) particular folder getting dialogbox asking for Guest password.
user name column is deactive so I cant enter my own user name.
Kindly advice me on this
thnaks in advance
Yash
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2008 04:09 AM
11-13-2008 04:09 AM
Re: CIFS server configuration
Have you created smbpasswd file and added the user accounts.
if not follow the steps to create it.
Create a password file :
# touch /var/opt/samba/private/smbpasswd
# chmod 500 /var/opt/samba/private
# chmod 600 /var/opt/samba/private/smbpasswd
#/opt/samba/bin/smbpasswd -a username
# /opt/samba/bin/smbpasswd -a vantive -> Here vantive is user name
New SMB password:
Retype new SMB password:
User vantive does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.
Failed to modify password entry for user vantive
Here samba account failed because the user vantive is not there in unix accounts
#/sbin/init.d/samba start
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2008 04:17 AM
11-13-2008 04:17 AM
Re: CIFS server configuration
have done all these steps already.
while connecting default login name is Guest
and cant change login name.
Please see attached screen shot
thnaks
Yash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2008 11:08 PM
11-13-2008 11:08 PM
Re: CIFS server configuration
Please help me on this issue.
Will assign points!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2008 11:37 PM
11-13-2008 11:37 PM
Re: CIFS server configuration
//user:password@9.124.102.219
Thx
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2008 01:55 AM
11-14-2008 01:55 AM
Re: CIFS server configuration
Cant login on that way also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2008 01:56 PM
11-14-2008 01:56 PM
Re: CIFS server configuration
For guest, there are several ways to setup access. Do a "testparm -s -v | grep guest" and look at the guest parms - you need "guest account" and "guest ok". Get into SWAT and press help on these global attributes and read how to set them. CIFS sets "guest account = smbnull" by default - you'll never logon as guest.
If you are not trying to logon as guest, then your auth-n is messed up and you have to figure out why. The smb.conf posting will help. I probably will not be able to come back here until Monday, tho.
Good luck.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 11:29 PM
11-16-2008 11:29 PM
Re: CIFS server configuration
Thanks for your sugession.
Have attahced samba configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 12:19 AM
11-17-2008 12:19 AM
Solutionhttp://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#VALIDATIONSECT
You're using "security=share". This is a method that is not native to HP-UX nor Windows XP: it's the method used by Windows 9x and older.
At the moment, there is no "user" or "username" directives anywhere in your smb.conf.
When "security=share" is used, the client never explicitly sends the username it wants to use when connecting. You must use Samba's "username" (or equivalently "user") configuration directive to list the users that might be using this service. Samba will try to match the supplied password with each listed user: if the password matches AND the user is listed in the "valid users = " setting for the share, access is allowed.
From the smb.conf man page:
---------------
The username line is not a great solution in many cases as it means Samba will try to validate the supplied password against each of the usernames in the username line in turn. This is slow and a bad idea for lots of users in case of duplicate passwords. You may get timeouts or security breaches using this parameter unwisely.
----------------
In most cases, the setting "security = user" works more reliably and is easier to understand than "security = share".
(In my opinion, using "security = share" is just stupid unless your server must work with DOS/Win3.11/Windows 9x machines which cannot do anything better.)
If you insist on using "security=share", you'll need to add "user=root test1 jayan" to the settings of your test share. Yes, it means that the same usernames are listed twice: once in "user=" and another time in "valid users=".
But I recommend switching to "security=user" instead.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 12:44 AM
11-17-2008 12:44 AM
Re: CIFS server configuration
Thanks......
The issue is solved.
Thanks all..