- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to setup CIFS share?
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
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
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-04-2003 11:26 PM
тАО06-04-2003 11:26 PM
I use "testparm" command the verify the smb.conf file and things are well. I can ping l2000 correctly in Windows2000 client.
But I type:
C:\>net view \\l2000
I always get the error:
"system 5th error occur
Access dined"
I set the "security=user",how can I setup some legal users to get access to "l2000"?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 11:33 PM
тАО06-04-2003 11:33 PM
Re: How to setup CIFS share?
I think you have to use smbpasswd (or maybe they called it something else on hp-ux), to generate encrypted passwords on the hp-ux, for all win-users that is going to connect to a CIFS share.
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 12:17 AM
тАО06-05-2003 12:17 AM
Re: How to setup CIFS share?
"security=user", means that you'll need a unix on the HP-UX box for the Win clients to be able to log on.
Use "security=domain" and add the server to the NT domain using smbpasswd to be able to use the info in the Domain Controller.
Belive you'll still need a unix user..
(We're running user security so I haven't tested the domain method)
rgds
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 12:19 AM
тАО06-05-2003 12:19 AM
Re: How to setup CIFS share?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 12:56 AM
тАО06-05-2003 12:56 AM
Re: How to setup CIFS share?
With user level security you will need to have a unix user for each Windows2000 user. Each user then requires an entry in the smbpasswd. You can use a map file to map the Windows2000 usernames to HP-UX user names.
To create the smbpasswd file/add users from /etc/passwd to it you can use addtosmbpass.
The next level up would be setting up the shares so that only certain users can access them. If you're using CIFS/9000 (HP's Samba based product) or many open source versions of Samba you can use SWAT the web-based gui. To access it point your browser to http://
regards,
Darren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2003 04:50 AM
тАО06-05-2003 04:50 AM
Re: How to setup CIFS share?
If yes, then,
I would set security = server
Set the password server to a BDC/PDC, then you need to have:
encrypt passwords = Yes
I used to get failed passwords before as well, did a search on google and found that sometimes the following helps resolve it:
keepalive = 0
"The value of the parameter (an integer) represents the number of seconds between keepalive packets. If this parameter is zero, no keepalive packets will be sent. Keepalive packets, if sent, allow the server to tell whether a client is still present and responding.
Keepalives should, in general, not be needed if the socket being used has the SO_KEEPALIVE attribute set on it (see socket options). Basically you should only use this option if you strike difficulties.
Default: keepalive = 300"
Additionally, I would add:
preferred master = False
domain master = False
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2003 11:27 AM
тАО06-07-2003 11:27 AM
Re: How to setup CIFS share?
You can use a grate book from O'railly using SAMBA.
Also you have a GUI configuration that you use with your browser run: http://localhost:901
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 07:01 PM
тАО06-10-2003 07:01 PM
Re: How to setup CIFS share?
I can ping "l2000" in Windows2000 workstation and when I use "net view \\l2000" I got the same error.
I use "root" and root's password also not work.
Note that "testarm" and "smbclient" both work OK.
I attache the smb.conf file here.
Please help me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 01:08 AM
тАО06-11-2003 01:08 AM
SolutionI'd suggest that you set "encrypt passwords=yes" in your smb.conf.
Also, check the log.smbd and the log for the machine you are connecting from to determine what errors are occurring.
Share level security isn't really ideal for CIFS - it's pretty much there as Win95 used to utilise it. User level or server level security are better - see other answers in this thread for information on setting up these type of security.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 04:14 AM
тАО07-03-2003 04:14 AM
Re: How to setup CIFS share?
1. smbpasswd file creation
# cd /etc/opt/samba
# cat /etc/passwd /opt/samba_src/samba/source/script/mksmbpasswd.sh > smbpasswd
# chmod 600 smbpasswd
# vi smbpasswd (to remove all raws except the one for marina user)
# smbpasswd marina ( to save into smbpasswd file encrypted marina UNIX password)
2. /etc/opt/samba/smb.conf
# Global parameters
[global]
workgroup = RINA
netbios name = UNIX1
server string = Samba Server
security = SHARE
encrypt passwords = Yes
smb passwd file = /etc/opt/samba/smbpasswd
log file = /var/opt/samba/log.%m
max log size = 1000
local master = No
read only = No
short preserve case = No
dos filetime resolution = Yes
[docs]
comment = docs directory
path = /docs
public = no
valid users = oracle
read only = Yes
writeable = no
3. Restart samba deamons
# /sbin/init.d/samba stop; /sbin/init.d/samba start
4. Test by a win 2000 machine
First remove all previous failed connections using net use command (eg. "net use \\UNIX1\docs /delete")
Then try access the new share, giving username=marina and passwd=
Hope this help
Marina Arata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2003 04:16 AM
тАО07-03-2003 04:16 AM
Re: How to setup CIFS share?
"valid users = marina" and not oracle !
MArina Arata