Not able to mount CIFS shares due to password compatibility
AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not able to mount CIFS shares due to password compatibility
On AIX 6.1 system, we are not able to mount a CIFS share. CIFS share is mounted from a NAS device, which do not support plain text password communication.
As checked with NAS vendor, AIX sends password using netbios protocol and plain text. NAS device can be enable for netbios protocol (security risk), but there is no way it can accept plain text communication.
Any way, we can ask AIX to send password in unicode forcefully ?
CIFS Password Encryption Protocols
When the AIX® Fast Connect server is configured for encrypted passwords (and not for NT-Passthrough authentication), incoming SMB user name/encrypted_password logins are validated by AIX® Fast Connect against the /etc/cifs/cifsPasswd file, which is a database of AIX® Fast Connect users (and their encrypted passwords). The /etc/cifs/cifsPasswd file is initialized and maintained by the net user command (see Configuring Encrypted Passwords).
To enforce encrypted passwords for AIX® Fast Connect, type the following:
dijetlo,
The provided link didn't work. But, I went through the article mentioned by you for AIX Fast connect server.
The command net /????? works for Windows, not for AIX as per my understanding. I am not able to fine /etc/cifs* files.
Update: Again on further checking, I found that Fast connect is for making Unix shares visible to Windows system. My requirement is to mount Windows/NAS CIFS share on Unix.
Queries:
Do I need to install any additional packages? Currently I have bos.cifs packages only.
Is this solution applicable to AIX 6.1?
NevemTeve,
Can you please let me know which version of Samba you have compiled for AIX 6.1?
Also, issue is with mounting CIFS share where password need to be passed in unicode format. Did you have similar setup?
Regards,
Pratik Shah
Last edited by p_s_shah; 06-17-2014 at 10:52 AM.
Reason: Updated information.
I'm mounting CIFS filesystems on AIX 6.1 using just the bos.cifs_fs fileset. The login credentials get stored in a file under /etc/cifs_fs by the mkcifscred command, which doesn't seem to indicate one way or another if it supports unicode. However a mkcifsmnt wrapper script for it has this coded up top:
As of now, still no success in forcing AIX to send password in Unicode strings and Encrypted.
We are trying to convince application team to consider below options:
1. Creating a Samba share on AIX and making it visible to windows clients.
2. Creating a Windows share, which supports plain text authentications and making visible to AIX server.
I believe, both will work out. But, application team is persistent to get current functionality working, for an another share configured in similar way.
(Off: I've never known that AIX could mount partitions via SMB
Yes, it werks, it's very useful if you have some files on your PC running Microsft Windows and you want these files to be manipulated by some AIX scripts.
Concerning the CIFS things, remember that most of filers cand handle NFS filesystems, the same folders on the filer can be simultaneously mounted as CIFS filesystems by Windows computers, and mounted as NFS by AIX computes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.