- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba Problem
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
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
09-19-2003 01:25 AM
09-19-2003 01:25 AM
Samba Problem
I have take this smb.conf file on the old installation (hpux10.20 with Samba 2.0.7) and it worked. It also works on the other servers with hpux 11.11 and Samba 2.0.7 !
I have made an Samba and unix user, but i can??t connect form a windows 2000 and a winxp machine.
On the other server it works with the same smb.conf !
Could it be that i have to wait an hour befor this works on this new installation ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:27 AM
09-19-2003 01:27 AM
Re: Samba Problem
workgroup = iff
server string = Samba Server
log file = /var/opt/samba/log.%m
max log size = 1000
security = share
encrypt passwords = no
socket options = TCP_NODELAY
local master = yes
printing = hpux
print command = /usr/bin/lp -d%p %s ; /usr/bin/rm %s
lpq command = /usr/bin/lpstat -p %p
lprm command = /usr/bin/cancel %p-%j
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
hosts deny = all
hosts allow = 138.232.81. 127.
[homes]
comment = Home Directories
browseable = no
public = no
read only = no
create mode = 0750
[tmp]
path = /tmp
[iff]
comment = iff User
path = /home/samba/iff
public = no
writable = yes
printable = no
[LaserJet40]
printer = LaserJet40
comment = HP LaserJet 4000N
printing = HPUX
path = /tmp
printable = yes
guest ok = yes
writable = no
create mode = 0700
[LaserJet43]
printer = LaserJet43
comment = HP LaserJet 4300tn
printing = HPUX
path = /tmp
printable = yes
guest ok = yes
writable = no
create mode = 0700
[DeskJet16]
printer = DeskJet16
comment = HP DeskJet 1600CM
printing = HPUX
path = /tmp
printable = yes
guest ok = yes
writable = no
create mode = 0700
[DeskJet25]
printer = DeskJet25
comment = HP DeskJet 2500CM
printing = HPUX
path = /tmp
printable = yes
guest ok = yes
writable = no
create mode = 0700
[Lex1275]
printer = Lex1275
comment = Lexmark Optra SC 1275
printing = HPUX
path = /tmp
printable = yes
guest ok = yes
writeable = no
create mode = 0700
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 02:32 AM
09-19-2003 02:32 AM
Re: Samba Problem
[2003/09/19 12:30:31, 0] lib/util_sec.c:(111)
Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2003/09/19 12:30:31, 0] lib/util.c:(1094)
PANIC: failed to set gid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 03:07 AM
09-19-2003 03:07 AM
Re: Samba Problem
It looks to me as if Samba is using the nobody user for guest access, and isn't happy with it having a negative gid.
The best way forward is to define the guest user in your smb.conf to be a user like smbnull (if you're using CIFS this should have been created for you automatically) and make sure that the user exists and has positive uid and gid.
As for it working on other servers, it's likely that there's been some changes since the older versions you were running, also check the /etc/passwd entry for nobody to see whether a positive gid/uid was used.
regards,
Darren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 03:29 AM
09-19-2003 03:29 AM
Re: Samba Problem
next errormessage:
[2003/09/19 13:26:59, 0] smbd/service.c:(597)
pc17-c803 (138.232.81.32) Can't change directory to /tmp (Permission denied)
?