Before creating or enabling eDirectory users for Samba access, it is important to understand certain requirements regarding Samba passwords.
The preferred method for Samba authentication in OES involves the use of a Universal Password (UP) policy in eDirectory. The primary reason for this is that it eliminates the need for password synchronization when users change their passwords in eDirectory.
The first time you install Samba on an OES Linux server in a given eDirectory tree, the install creates a Universal Password (UP) policy in the tree named . The policy is located in eDirectory > > .
Alternatively, you can choose the Samba hash method of authentication, but this is not recommended. For more information, see Section B.5.4, About Samba Hash Passwords.
The following sections explain the issues associated with Universal Password and Samba hash passwords.
For a Password Policy to qualify for use by Samba users, the following configuration options must be enabled on the iManager > > > > the tabbed page:
Log in to iManager, then click > > > .
Name the policy, then click .
At the prompt, click .
Click .
Select the option.
Continue creating the policy and in Step 7 of 8 assign it as follows:
If you are using the smbbulkadd utility to enable Samba users you must assign it to either
or
If you are using iManager to enable Samba Users, assign the policy to either
or
Click .
Click .
Click .
Log in to iManager, then click > >
Select a policy, then click .
Make whatever changes you need.
In the drop-down list, click , or in Internet Explorer click the tab, then click the link.
Make sure the and the options are both selected.
In the drop-down list, click , or in Internet Explorer click the tab.
If you are using the smbbulkadd utility to enable Samba users you must assign it to either
or
If you are using iManager to enable Samba Users, assign the policy to either
or
Click .
Click .
Passwords can be stored as a Samba hash in eDirectory, but this is not recommended because Samba hash passwords are less secure and users must remember to synchronize their password with each password change.
When you create a new Samba user or enable an existing user for Samba, if the user has a nonqualifying password policy associated with it, you get a message encouraging you to replace the policy with the default Samba policy. The alternative is to use the Samba hash password and the existing nonqualifying password policy.
NOTE:The choice to use a Samba hash is presented only when the user has a nonqualifying password policy assigned. And the recommended course of action when this occurs is to either modify the nonqualifying password policy to be Samba compliant, or assign a Samba-compliant policy rather than choosing to use the Samba hash.
If you choose to use the Samba hash password instead of a qualifying Samba password policy, and users change their eDirectory password, they must manually synchronize their eDirectory and Samba Hash (simple) passwords. For example, in Virtual Office, they must ensure that the option is selected (checked). Otherwise, their passwords are not synchronized and they cannot access Samba.