HPE GreenLake Administration
Operating System - HP-UX
1829147
Members
2661
Online
109986
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
07-30-2004 09:13 AM
07-30-2004 09:13 AM
SAMBA
Actually I have a couple questions about SAMBA.
1. I had SAMBA working on my D380 server which has HPUX 11.i and now for some reason I cant get SAMBA to start. Keeps saying "Unable to start Samba!"
2. Yesterday I setup SAMBA to work on my L2000 server which has HPUX 11.0 and I cant seem to be able to connect to the server from within my windows 2K pc. Keeps asking for a name and PS and doesnt accept anything I give it. Which name and password does it want? I am sure that there is a step that I have forgotten.
Any help would be greatful.
1. I had SAMBA working on my D380 server which has HPUX 11.i and now for some reason I cant get SAMBA to start. Keeps saying "Unable to start Samba!"
2. Yesterday I setup SAMBA to work on my L2000 server which has HPUX 11.0 and I cant seem to be able to connect to the server from within my windows 2K pc. Keeps asking for a name and PS and doesnt accept anything I give it. Which name and password does it want? I am sure that there is a step that I have forgotten.
Any help would be greatful.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2004 10:42 AM
07-30-2004 10:42 AM
Re: SAMBA
Hi Jeffrey,
Regarding the first problem, is anything showing up in the samba log file? I believe the log file is located in the /var/opt/samba directory and it is called log* - there may be many logfiles in that directory.
If you don't see anything obvious in the log files you could try increasing the log level in the /etc/opt/samba/smb.conf file to a higher number (like 10) and see if anything useful is logged in the log file. The logging level variable is called (coincidentally) "log level = #".
As for the second problem, I believe the login/password authentication method used, and thus the combination it is looking for, depends on how you have Samba configured to authenticate users. There are a few different methods: USER, SHARE, SERVER, and DOMAIN. Depending on how the "security" parameter is set, you may need to take different steps to configure the authentication to work.
My best advice to you would be to attach to the L2000 system with a web browser and use the SWAT tool to configure Samba. The SWAT tool is available at:
http://:901
Using SWAT you can configure the entire Samba server, and the online help provided by SWAT contains everything you'd ever need to know about what the various samba parameter mean and how they affect eachother.
Hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Regarding the first problem, is anything showing up in the samba log file? I believe the log file is located in the /var/opt/samba directory and it is called log* - there may be many logfiles in that directory.
If you don't see anything obvious in the log files you could try increasing the log level in the /etc/opt/samba/smb.conf file to a higher number (like 10) and see if anything useful is logged in the log file. The logging level variable is called (coincidentally) "log level = #".
As for the second problem, I believe the login/password authentication method used, and thus the combination it is looking for, depends on how you have Samba configured to authenticate users. There are a few different methods: USER, SHARE, SERVER, and DOMAIN. Depending on how the "security" parameter is set, you may need to take different steps to configure the authentication to work.
My best advice to you would be to attach to the L2000 system with a web browser and use the SWAT tool to configure Samba. The SWAT tool is available at:
http://
Using SWAT you can configure the entire Samba server, and the online help provided by SWAT contains everything you'd ever need to know about what the various samba parameter mean and how they affect eachother.
Hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2004 11:58 PM
08-01-2004 11:58 PM
Re: SAMBA
Hello,
For second question:
See: http://samba.linuxbe.org/fr/samba/learn/encryption.html. (In french).
The problem when if you want to use /etc/passwd users for SAMBA, you must choose option: 'encrypt passwords = NO ' in SAMBA configuration but Windows OS crypt password by default. You can configure Windows for no crypt password (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP for W95 and W98, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Rdr\Parameters for WNT, W2000 or WXP. Add DWORD key 'EnablePlainTextPassword' with value = 1).
This works well with W95 and W98, but W2000 and XP crypt already password when you open session. You can connect SAMBA ressources like with W98 and W95 AFTER session is opening but you must enter user and password again one time.
Other solution is using 'encrypt password = yes' but with this option you can't use /etc/passwd for SAMBA users. You must use SAMBA password file. The two files are independant and you must manage twice.
See also:
http://sambafr.idealx.org/samba/docs/man/Samba-Guide/
Rgds
JMB
For second question:
See: http://samba.linuxbe.org/fr/samba/learn/encryption.html. (In french).
The problem when if you want to use /etc/passwd users for SAMBA, you must choose option: 'encrypt passwords = NO ' in SAMBA configuration but Windows OS crypt password by default. You can configure Windows for no crypt password (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP for W95 and W98, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Rdr\Parameters for WNT, W2000 or WXP. Add DWORD key 'EnablePlainTextPassword' with value = 1).
This works well with W95 and W98, but W2000 and XP crypt already password when you open session. You can connect SAMBA ressources like with W98 and W95 AFTER session is opening but you must enter user and password again one time.
Other solution is using 'encrypt password = yes' but with this option you can't use /etc/passwd for SAMBA users. You must use SAMBA password file. The two files are independant and you must manage twice.
See also:
http://sambafr.idealx.org/samba/docs/man/Samba-Guide/
Rgds
JMB
Si vous ne faites jamais de bétises, c'est que vous ne faites rien de difficile. Et ça c'est une grosse bétise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 12:36 AM
08-02-2004 12:36 AM
Re: SAMBA
Hi
For part 1
"/sbin/init.d/samba start" start samba at reboot and so
So I start samba with the CIFS startsmb script:
**************************************************************************
#!/usr/bin/sh
samba_path=/opt/samba/bin
${samba_path}/nmbd -D
${samba_path}/smbd -D
ps -e | grep smbd | awk '{ print $1 }' | read smbd_pid
ps -e | grep nmbd | awk '{ print $1 }' | read nmbd_pid
if [ -n "$smbd_pid" -a -n "$nmbd_pid" ]
then
echo "Samba started successfully; process ids: smbd: $smbd_pid, nmbd:
$nmbd_pid"
logger -t "CIFS/9000 Server" "Samba started successfully; process ids:
smbd: $smbd_pid, nmbd: $nmbd_pid"
else
echo "Unable to start Samba!"
logger -t "CIFS/9000 Server" -p user.error "Samba failed to start"
exit 1
fi
From these extracts you see that a daemon is not started
Try to stop and restart samba
Steve Steel
For part 1
"/sbin/init.d/samba start" start samba at reboot and so
So I start samba with the CIFS startsmb script:
**************************************************************************
#!/usr/bin/sh
samba_path=/opt/samba/bin
${samba_path}/nmbd -D
${samba_path}/smbd -D
ps -e | grep smbd | awk '{ print $1 }' | read smbd_pid
ps -e | grep nmbd | awk '{ print $1 }' | read nmbd_pid
if [ -n "$smbd_pid" -a -n "$nmbd_pid" ]
then
echo "Samba started successfully; process ids: smbd: $smbd_pid, nmbd:
$nmbd_pid"
logger -t "CIFS/9000 Server" "Samba started successfully; process ids:
smbd: $smbd_pid, nmbd: $nmbd_pid"
else
echo "Unable to start Samba!"
logger -t "CIFS/9000 Server" -p user.error "Samba failed to start"
exit 1
fi
From these extracts you see that a daemon is not started
Try to stop and restart samba
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
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