- 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
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-22-2003 06:52 PM
09-22-2003 06:52 PM
Samba Problem
[2003/09/23 08:40:52, 0] smbd/service.c:(597)
pc17-c803 (138.232.81.32) Can't change directory to /tmp (Permission denied)
Each time I want to connect to the server the connection is not working and the errormessage is writed in the errorlog each time !
The Permission of the /tmp directory is okay (777) ! It´s not only my computer. All ohters also can´t connect to the server and the server write the same message !
I have added unix users and smb users but the same happened.
smb.conf:
[global]
workgroup = iff
server string = Samba Server
log file = /var/opt/samba/log.%m
max log size = 1000
security = share
encrypt passwords = no
guest account = pcguest
guest ok = yes
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
interfaces = 138.232.81.3/255.255.255.192
hosts deny = all
hosts allow = 138.232.81. 127.
[homes]
comment = Home Directories
browseable = no
read only = yes
create mode = 0750
[tmp]
comment = Temporary Filespace
path = /tmp/samba
read only = no
public = yes
[iff]
comment = iff User
path = /home/samba/iff
public = no
writable = yes
printable = no
[LJ40]
printer = LaserJet40
comment = HP LaserJet 4000N
printing = HPUX
path = /tmp/samba
printable = yes
guest ok = yes
writable = no
create mode = 0700
[LJ43]
printer = LaserJet43
comment = HP LaserJet 4300tn
printing = HPUX
path = /tmp/samba
printable = yes
guest ok = yes
writable = no
create mode = 0700
[DJ16]
printer = DeskJet16
comment = HP DeskJet 1600CM
printing = HPUX
path = /tmp/samba
printable = yes
guest ok = yes
writable = no
create mode = 0700
[DJ25]
printer = DeskJet25
comment = HP DeskJet 2500CM
printing = HPUX
path = /tmp/samba
printable = yes
guest ok = yes
writable = no
create mode = 0700
[Lex1275]
printer = Lex1275
comment = Lexmark Optra SC 1275
printing = HPUX
path = /tmp/samba
printable = yes
guest ok = yes
writeable = no
create mode = 0700
The daemons are runni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 07:02 PM
09-22-2003 07:02 PM
Re: Samba Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 07:07 PM
09-22-2003 07:07 PM
Re: Samba Problem
What´s the one befor the 777
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 07:13 PM
09-22-2003 07:13 PM
Re: Samba Problem
On the other server with hpux11i with samba 2.0.7 it works, but with samba 2.2.8a it is a problem !
Could it be that the password encryption is the problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 07:41 PM
09-22-2003 07:41 PM
Re: Samba Problem
Also try after setting encrytp passwords - yes.
For clients as win xp it requires setting as encrypt passwords.
Are upiy getting any other error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:02 PM
09-22-2003 08:02 PM
Re: Samba Problem
$TMPDIR return?
Just do a
$unset TMDIR
REstart the smbd
Then do a
$TMPDIR=/tmp
$export TMPDIR
REvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:12 PM
09-22-2003 08:12 PM
Re: Samba Problem
I will try a while !
I think I should use the working version of the other servers (2.0.7)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:20 PM
09-22-2003 08:20 PM
Re: Samba Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:25 PM
09-22-2003 08:25 PM
Re: Samba Problem
added interface ip=138.232.81.3 bcast=138.232.81.63 nmask=255.255.255.192
Domain=[IFF] OS=[Unix] Server=[Samba 2.2.8a]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
without the -U% option the samba server works:
iff2:/var/opt/samba # smbclient -L localhost
added interface ip=138.232.81.3 bcast=138.232.81.63 nmask=255.255.255.192
Password:
Domain=[IFF] OS=[Unix] Server=[Samba 2.2.8a]
Sharename Type Comment
--------- ---- -------
LJ40 Printer HP LaserJet 4000N
LJ43 Printer HP LaserJet 4300tn
DJ16 Printer HP DeskJet 1600CM
DJ25 Printer HP DeskJet 2500CM
Lex1275 Printer Lexmark Optra SC 1275
IPC$ IPC IPC Service (Samba Server)
ADMIN$ Disk IPC Service (Samba Server)
Server Comment
--------- -------
IFF0 Samba Server
IFF2 Samba Server
Workgroup Master
--------- -------
IFF IFF0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:27 PM
09-22-2003 08:27 PM
Re: Samba Problem
http://www.faqchest.com/linux/samba-l/smb-02/smb-0211/smb-021135/smb02112515_23586.html
credit to Jerry Carter