- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAMBA Help for the newbie
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-10-2004 02:34 AM
06-10-2004 02:34 AM
I think that I have Samba running. I checkd the existance of Samba=1 in /etc/rc.config.d/samba, I have SAWT running and can get to it via the browser, I've done the reg fix for windows2000 for Plain passwords, but I cannot seem to hit the Samba share...
here is what I see under "view" in SWAT
# Samba config file created using SWAT
# from proxy.my-pc.com
# Date: 2004/06/10 10:30:16
# Global parameters
[global]
workgroup = NKTECAE
netbios name = FIRE
server string = Samba Server
syslog = 0
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
[homes]
comment = Home Directories
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
[fdata]
path = /data
guest ok = Yes
[myfdata]
path = /data
It seems like there is a share there.... any idea as to why I cannot hit it?
Thanks,
Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:38 AM
06-10-2004 02:38 AM
Re: SAMBA Help for the newbie
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:44 AM
06-10-2004 02:44 AM
Re: SAMBA Help for the newbie
Perhaps I'm missing something as to what name I should be using for the samba_server name. If I use the \\IP\share (as in above, it would be \\10.208.83.33\fdata), I get nothing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:47 AM
06-10-2004 02:47 AM
Re: SAMBA Help for the newbie
If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use security = user. If you mostly use usernames that don't exist on the UNIX box then use security = share.
So, does your Windows id = unix id?
If not, then you will need to employ username.map file:
/etc/opt/samba/username.map
This option allows you to specify a file containing a mapping of usernames from the clients to the server. This can be used for several purposes. The most common is to map usernames that users use on DOS or Windows machines to those that the UNIX box uses. The other is to map multiple users to a single username so that they can more easily share files.
unixid = ntid
and/or
unixid = ntid1, ntid2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 03:23 AM
06-10-2004 03:23 AM
Re: SAMBA Help for the newbie
I do have id's set up on the unix system that match the Novell/Windows IDs that hit the windows boxes (corp. standard), so do I then need the username.map file?
Now, when I try to map the drive, I do at least get a prompt to log in, but it does not take the user name / password, even as root.
I REALLY appreciate your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 03:40 AM
06-10-2004 03:40 AM
Re: SAMBA Help for the newbie
guest only = YES
on each of the shares...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 03:42 AM
06-10-2004 03:42 AM
Re: SAMBA Help for the newbie
I just have the same problem, some days ago.
I'm sure it is the password encrypted problem (you have to come back to the security = user configuration).
I've read that you already do the modification of the registry for plain password, but can you verify values AND the DATATYPE (REG_DWORD). The document that all explains : http://wwwx.cs.unc.edu/help/network/problems/samba_passwords.html
An other thing : Add the "log level = 3" in your smb.conf and you will have more informations in your logfile.
Good luck.
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:06 AM
06-10-2004 04:06 AM
Re: SAMBA Help for the newbie
I'll send you whatever you need, but I'm stuck...
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:09 AM
06-10-2004 04:09 AM
Re: SAMBA Help for the newbie
guest account = smbnull
and does smbnull have access to the path's in the shares?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:17 AM
06-10-2004 04:17 AM
Re: SAMBA Help for the newbie
Is that correct?
And how can I verify that is has rights to that share path?
(feeling quite lost... but it's getting clearer).
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:22 AM
06-10-2004 04:22 AM
Re: SAMBA Help for the newbie
What error you get in log files?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:24 AM
06-10-2004 04:24 AM
Re: SAMBA Help for the newbie
grep smbnull /etc/passwd
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
Then the shares either need to be set to smbnull or group smbnull...
something like:
ls a-ld /data
drwxrwxr-x 14 smbnull bin 6144 Jun 10 10:17 /tmp
or
drwxrwxr-x 14 root smbnull 6144 Jun 10 10:17 /tmp
But not needed for /tmp or /home :)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:31 AM
06-10-2004 04:31 AM
Re: SAMBA Help for the newbie
Doh!
should I create an account, or what do you suggest (you're wearing the crown... :) ).
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:39 AM
06-10-2004 04:39 AM
Re: SAMBA Help for the newbie
The Engineer\Unix guy and I added in the smbnull with your parameters, and we can do it now! Sweet!
Thanks for your help. ITRC is the best...
(better than F1... )
Should that account have been there in the first place? IF the group was there, why was not the account?
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:48 AM
06-10-2004 04:48 AM
SolutionSomeone may have removed the account at one time...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 04:56 AM
06-10-2004 04:56 AM
Re: SAMBA Help for the newbie
(btw: I am scheduled for training thru hp... :) ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 05:09 AM
06-10-2004 05:09 AM
Re: SAMBA Help for the newbie
then point to Windows Domain Controllers as PASSWORD SERVERS - that way all authentication happens at the Windows level.
You might at the least, use SECURITY=USER.
Great docs are online on your server via SWAT.
Go to the Globals section, then click on the "help" link next to "security" :)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 05:28 AM
06-10-2004 05:28 AM
Re: SAMBA Help for the newbie
Once again, thank you for all of your help.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 02:43 AM
06-11-2004 02:43 AM
Re: SAMBA Help for the newbie
I'd recommend several things. First is to have your workstations send the password encrypted across the network. When you do this, you'll need to put 'encrypt passwords = Yes' in the global section. I would also second the motion that you use Windows password authentication. For this option you'll need to use the 'password server' line in the global section as well. At first I had your problem as well. What actually fixed it for me was to have this line: 'password level = 8'. I'm not sure what it does but it worked for me! Of course all these recommendations assume that you change the security option to 'security = SERVER'.
HTH,
Spik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 03:45 AM
06-22-2004 03:45 AM
Re: SAMBA Help for the newbie
If I have my users in a group called CAEUsers, how can I associate the Samba files to that account?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 03:52 AM
06-22-2004 03:52 AM
Re: SAMBA Help for the newbie
Are you using swat? ( swat = samba web admin tool ). I use it; it makes picking options, and reading the documentation of the options, very easy, user friendly.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:29 AM
06-22-2004 05:29 AM
Re: SAMBA Help for the newbie
That worked like a charm. Thank you.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 09:16 PM
06-22-2004 09:16 PM
Re: SAMBA Help for the newbie
If users are appearing as smbnull that strongly suggests that any authentication is failing and that everyone is using guest access. I did note earlier in this thread that you were going to tighten security later, now might be a good time as anyone will be able to access those files.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 12:51 AM
06-23-2004 12:51 AM
Re: SAMBA Help for the newbie
I guess I'm still foggy on how to get them locked down. How do I require the users to have to user their Unix logins to map the drives from Windows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:31 AM
06-23-2004 01:31 AM
Re: SAMBA Help for the newbie
It's quite tricky to provide every step required to set up the authentication process. You may have special requirements that we do not know.
As a starting point I'd recommend that you read Chapter 6 "User, Security, and Domains" of the O'Reilly "Using Samba" book - it's available through SWAT on your server. http://
There are basically 3 main ways to authenticate :
1) against a separate password file on your server
2) against the password file of another server or PDC
3) within a Windows domain via the PDC.
The O'Reilly book details how to configure each of these options, and also discusses the username map file which is to alias between the Windows usernames and HP-UX usernames. You will still (in general) need to have a HP-UX user in /etc/passwd for each Windows user.
regards,
Darren.