Operating System - HP-UX
1833780 Members
2074 Online
110063 Solutions
New Discussion

Re: Configuring CIFS /9000

 
Julio Garcia C
New Member

Configuring CIFS /9000

I am trying to configure the Cifs /9000 on HP-UX 11i
and a have some elementary questions.
My enviroment is the next :
CIFS-Client A.01.04 HP CIFS/9000 Client
CIFS-Development A.01.04 CIFS/9000 server source code files
CIFS-Server A.01.04 CIFS/9000 (Samba) File and Print Service

I want to know how I must to configure my CIFS Server to share any File System to windows clients.
I have been test and the system allways aks me for a passwd.
I want to Know a simple way to do this.
I encountered a lot of things, but is confused.

By the way, I have tried to set up CIFS Server only to share a Unix File system without Unix security. Is that Possible?.
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Configuring CIFS /9000


I think you need to turn encrypted passwords off. And you don't need to implement unix security - that's your choice.

Can you attach your "conf" file?


live free or die
harry
Live Free or Die
Michael Tully
Honored Contributor

Re: Configuring CIFS /9000

The file your after is /etc/opt/samba/smb.conf
Here is the area of the config file, that needs attention.

# 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 = yes
Change the yes to no.

You will need to stop and restart the background processes as well
# /sbin/init.d/samba stop
# /sbin/init.d/samba start

Here some reference documents on CIFS

Server
http://docs.hp.com/hpux/onlinedocs/B8725-90003/B8725-90003.html

Client
http://docs.hp.com/hpux/onlinedocs/B8723-90003/B8723-90003.html
Anyone for a Mutiny ?
Julio Garcia C
New Member

Re: Configuring CIFS /9000

This is my smb.conf file :

#======================= Global Settings =====================================
[global]
netbios name = smb_inb09

# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4

workgroup = sys_adm

# server string is the equivalent of the NT Description field
server string = servidor Samba

# 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 = server

# Use password server option only with security = server or domain
# password server = sys_pwd

# 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 = yes

# 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 = yes

# This one is useful for people to share files
#[dir_test]
# path = /sort

[foo]
path = /sort/gral
writable = true

This Server is not PDC ( Primary Domain Controler), exist some problem with that ?.

Thanks in advance.
Nick Brennan
Occasional Advisor

Re: Configuring CIFS /9000

Hi Julio,

If you are running an NT domain for your clients, try setting

workgroup =
security = server
encrypt passwords = yes
password server =

If you're not running an NT domain, set

security = user
encrypt passwords = no

HTH
Nick
Yeeee - Haaaaaaaaaa!