Operating System - HP-UX
1820116 Members
3173 Online
109619 Solutions
New Discussion юеВ

Re: How to manage users in Samba

 
Wang,MinJie
Super Advisor

How to manage users in Samba

Hi all
I've configured a Samba server on an HP-UX system
The following steps are what I've done:
1.successfully installed Samba software on 11.23 OS
2.run /opt/samba/bin/samba_setup to configure a Samba server and I choose the server to play a "workgroup" role and "user" level security.
Then I tried to log on the server through a windows laptop then failed.
Should I configure a smbpasswd file and how to manage it?
4 REPLIES 4
Oviwan
Honored Contributor

Re: How to manage users in Samba

Hy

Here you can find several documents:
http://www.docs.hp.com/en/B8725-90003/index.html

Regards
Wang,MinJie
Super Advisor

Re: How to manage users in Samba

Hey all
Now I know I can use syncsmbpasswd utility to build up the smbpasswd file but the root account won't be added to the smbpasswd file
So how can I add a root entry in the smbpasswd?
Mark Nieuwboer
Esteemed Contributor

Re: How to manage users in Samba

Wang,

The root password won't be added in the samba password file.
You don't want that. Because if you have root in the samba file root is accesable from outside. You need the same user on boot side.
root is not a know user on windows.

grtz. Mark
I.Delic
Super Advisor

Re: How to manage users in Samba

Hi,

To manege your samba users you can use the SWAT configuration tool.
Just ad this section to your service file:
vi /etc/services
# swat is the Samba Web Administration Tool
swat 901/tcp

And then

Add those two lines to your /etc/inetd.conf file

# swat is the Samba Web Administration Tool
swat stream tcp nowait.400 root /usr/sbin/swat swat

Restart samaba

Use your internet browser to reach your configuratin tool:

http://ip of your server: 901

Just log on as root and after that make one user to manag your swat server.


Idriz