- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba and CIFS...
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
06-15-2004 02:24 AM
06-15-2004 02:24 AM
Samba and CIFS...
[/root@unix1] # cifsmount //unix2/share /net
Connecting Share: SRV: Bad password
[/root@unix1] #
Can someone point me to where are password changes done in order for everything to works smooth?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 03:51 AM
06-15-2004 03:51 AM
Re: Samba and CIFS...
How have you set up the authentication on the CIFS server? Have you set up smbpasswd if required?
You could try using mount -F cifs //unix2/share /net followed by a cifslogin to unix2.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:08 AM
06-15-2004 11:08 AM
Re: Samba and CIFS...
[/root@unix1] # mount -F cifs unix1:/share /net
Mounting Share: Device busy
[/root@unix1] #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:10 AM
06-15-2004 11:10 AM
Re: Samba and CIFS...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:14 PM
06-15-2004 12:14 PM
Re: Samba and CIFS...
The only conclusion I can come to so far is the /net folder already HAS a filesystem mounted on it.
SEP
password changes to samba may not be needed when the main password changes, depends on your authentication methodology.
smbpasswd -a
works if you are authenticating on a unix box without a windows domain controller involved.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 02:25 PM
06-15-2004 02:25 PM
Re: Samba and CIFS...
total 50
drwxr-xr-x 16 root root 1024 Jun 13 22:13 .
drwxr-xr-x 16 root root 1024 Jun 13 22:13 ..
drwxr-xr-x 2 root sys 96 Jun 7 12:17 SD_CDROM
lr-xr-xr-t 1 root sys 8 Jun 5 19:56 bin -> /usr/bin
dr-xr-xr-x 17 bin bin 5120 Jun 15 00:45 dev
dr-xr-xr-x 35 bin bin 6144 Jun 15 00:45 etc
drwxr-xr-x 3 root root 96 Jun 8 08:45 home
lr-xr-xr-t 1 root sys 8 Jun 5 19:56 lib -> /usr/lib
drwxr-xr-x 2 root root 96 Jun 5 19:34 lost+found
dr-xr-xr-x 1 root root 512 Jun 15 00:44 net
dr-xr-xr-x 42 bin bin 2048 Jun 12 02:21 opt
drwxrwxr-x 28 root sys 2048 Jun 15 12:35 root
dr-xr-xr-x 12 bin bin 3072 Jun 9 23:45 sbin
lrwxr-xr-x 1 root sys 10 Jun 8 13:56 share -> /var/share
dr-xr-xr-x 10 bin bin 1024 Jun 15 00:44 stand
drwxrwxrwx 8 bin bin 1024 Jun 15 20:35 tmp
dr-xr-xr-x 2 root root 96 Jun 5 21:19 tmp_mnt
dr-xr-xr-x 41 bin bin 1024 Jun 10 21:41 usr
dr-xr-xr-x 29 bin bin 1024 Jun 8 13:55 var
[/@unix1] # chmod 777 net
chmod: can't change net: Read-only file system
[/@unix1] #
[/@unix1] # chmod 777 net
chmod: can't change net: Read-only file system
[/@unix1] #
Well, that answers some questions...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 05:51 PM
06-15-2004 05:51 PM
Re: Samba and CIFS...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 05:55 PM
06-15-2004 05:55 PM
Re: Samba and CIFS...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 06:27 PM
06-15-2004 06:27 PM
Re: Samba and CIFS...
============================================
# Samba config file created using SWAT
# from unix1.edgar (192.168.0.254)
# Date: 2004/06/08 14:25:55
# Global parameters
[global]
workgroup = edgar
netbios name = unix1
os level = 20
encrypt passwords = yes
null passwords = yes
[share]
path = /share
writeable = yes
public = yes
============================================
the "encrypt passwords = yes" is causing me an error when I go to cifslogin after I mount the share.
[/@unix2] # cifslogin unix1 root
Remote user root's password:
Logging in User: SRV: Bad password
[/@unix2] #
============================================
but if I set "encrypt passwords = no" and with the -u option on cifslogin it works with no problem.
[/@unix2] # cifslogin unix1 root -u
Remote user root's password:
[/@unix2] #
============================================
Can someone please help me fix this problem? I would like to use encrypt passwords.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 06:37 PM
06-15-2004 06:37 PM