- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samba 2.2.2
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
Discussions
Discussions
Forums
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
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
тАО12-06-2001 02:08 AM
тАО12-06-2001 02:08 AM
i downloaded samba for hpux11 and installed it on my J200 running hpux11.00.
I configured /etc/services:
swat 901/tcp
and /etc/inetd.conf:
swat stream tcp nowait.400 root /opt/samba/sbin/swat swat
Then i created a script in /sbin/init.d/samba (linked to /sbin/rc2.d/S910Samba) with this entry:
#!/sbin/sh
/opt/samba/sbin/smbd -D /opt/samba/lib/smb.conf
/opt/samba/sbin/nmbd -D /opt/samba/lib/smb.conf
Then i ran ./samba and with ps i saw that daemons are up.
My entry in /opt/samba/lib/smb.conf is:
[global]
guest ok = yes
log file = /var/opt/samba/log.smb
[test]
browseable = yes
read only = no
guest ok = yes
path = /usr2
/usr2 is exported in /etc/exports.
I can also log to my hp by my windows 2000 client with swat. From explorer http://gehp125:901 Everything's seems ok. But while i try to map \\gehp125:\usr2 from map network drive i have:
The mapped network drive could not be created because the following error has occured:
An extended error has occured.
I know that my configuration file isn't secure, i just want to do some tests and see if windows see my hp samba.
Where is my error?
Thanks in advance.
Tarek
Solved! Go to Solution.
- Tags:
- samba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 03:27 AM
тАО12-06-2001 03:27 AM
Re: samba 2.2.2
add to the globals
security = share
And loose the ':'. I mean, you can mount a share like:
//computer/share.
No need for ':'.
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:07 AM
тАО12-06-2001 05:07 AM
Re: samba 2.2.2
Before, talking about map network drive, i made an error typing. Of course i map
\\gehp125\usr2 without : !! ;-)
Any other tip?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:15 AM
тАО12-06-2001 05:15 AM
Re: samba 2.2.2
You have to connect with
\\gehp\test
You should see the "test" share in the network-neighbour-hood.
BTW: there is no need for samba that /usr2 is in /etc/exports. Only NFS uses /etc/exports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:19 AM
тАО12-06-2001 05:19 AM
Re: samba 2.2.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:24 AM
тАО12-06-2001 05:24 AM
Re: samba 2.2.2
Do you see a share in the network-neighbour-hood?
Can you resolv the hostname of your samba-server on your windows machine (e.g. try on samba server /opt/samba/bin/nmblookup gehp125)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:30 AM
тАО12-06-2001 05:30 AM
Re: samba 2.2.2
Do you have the user "nobody" in your passwd?
If not try the global samba option "guest account = ..." to map the samba guest connections to an existing unix uid (e.g. guest).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:42 AM
тАО12-06-2001 05:42 AM
Re: samba 2.2.2
[2001/12/06 14:19:06, 0] lib/util_sec.c:(94)
Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2001/12/06 14:19:06, 0] lib/util.c:(1055)
PANIC: failed to set gid
nmblookup gehp125:
querying gehp125 on ip_address
ip_address gehp125<00>
so it's OK!
My windows client is able to ping and telnet to my samba server.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:46 AM
тАО12-06-2001 05:46 AM
Re: samba 2.2.2
Use the "guest account= ..." option. (see my earlier posting).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2001 05:49 AM
тАО12-06-2001 05:49 AM
Re: samba 2.2.2
nobody:*:-2:-2::/:
guest account for default is set to nobody.
What user should i put? Do i have to create one?
and with what permissions?