HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: First time samba setup
Operating System - HP-UX
1835228
Members
2919
Online
110078
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
06-06-2001 11:14 AM
06-06-2001 11:14 AM
First time samba setup
I'm setting up samba on a workstation for the first time and when I run the smbclient -L SERVERNAME command I get the following:
added interface ip=address.205 bcast=address.255 nmaks=255.255.255.0
Password:
since I'm logged in as root I give it the root password then I get:
Domain=[DOMAIN_NAME] OS=[UNIX] Server=[Samba 2.0.6]
tree connect failed: code 0
In the log.servername file it has the following:
[2001/06/06 14:07:29, 0] lib/util_sec.c:(67)
Failed to set gid privileges to (-1,-2) now set to (0,0)
PANIC: failed to set gid
I also can't connect to the server from my NT PC.
Any help is apreciated, thanks
Jeff
added interface ip=address.205 bcast=address.255 nmaks=255.255.255.0
Password:
since I'm logged in as root I give it the root password then I get:
Domain=[DOMAIN_NAME] OS=[UNIX] Server=[Samba 2.0.6]
tree connect failed: code 0
In the log.servername file it has the following:
[2001/06/06 14:07:29, 0] lib/util_sec.c:(67)
Failed to set gid privileges to (-1,-2) now set to (0,0)
PANIC: failed to set gid
I also can't connect to the server from my NT PC.
Any help is apreciated, thanks
Jeff
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2001 01:06 PM
06-06-2001 01:06 PM
Re: First time samba setup
What does your smb.conf file look like?
Also, version 2.0.6 is getting old. The current version is 2.0.9. If you can do it, you might want to try the newest version as they have fixed a bunch of bugs since 2.0.6.
JP
Also, version 2.0.6 is getting old. The current version is 2.0.9. If you can do it, you might want to try the newest version as they have fixed a bunch of bugs since 2.0.6.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2001 01:54 PM
06-06-2001 01:54 PM
Re: First time samba setup
Jeff, I trust you read the docs first, but if not, that definately should be your first stop. Most distributions of Samba come with the (excellent) HTML book from O'Reilly.
The issue of your samba client authenticating to the NT network is probably that root has no NT account. Try connecting as some other user, say administrator, who would have an NT account.
Hope this helps....
The issue of your samba client authenticating to the NT network is probably that root has no NT account. Try connecting as some other user, say administrator, who would have an NT account.
Hope this helps....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 06:06 AM
06-07-2001 06:06 AM
Re: First time samba setup
Here's my smb.conf file. Should I be able to be loged in as root on the workstation when I run the smbclient command?
Jeff
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a
#
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
netbios name = water5
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = Wat_domain
# server string is the equivalent of the NT Description field
server string = Samba Server
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 1000
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = share
# Use password server option only with security = server or domain
password server = *
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = no
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = no
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
# This one is useful for people to share files
[tmp]
path = /tmp
Jeff
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a
#
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
netbios name = water5
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = Wat_domain
# server string is the equivalent of the NT Description field
server string = Samba Server
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/opt/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 1000
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = share
# Use password server option only with security = server or domain
password server = *
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = no
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = no
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
# This one is useful for people to share files
[tmp]
path = /tmp
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