bos.cifs_fs
files sets of the AIX Base Operating System
since at least 5.2.
In order to work properly,
it needs some configuration.
A useful write-up for AIX can be found here.
smb.conf
.
It's default location varies with the "distribution".
Could be
/usr/lib/
,
/etc/samba/
,
/usr/local/samba/lib/
or somewhere else.
I prefer to put it /etc/samba/
.
Some important entries are:
smb passwd file = ... encrypt passwords = yes log file = /var/adm/samba/log.%m ; IP address of Samba server machine: socket address = xxx.yyy.aaa.bbb security = user
mkdir /var/adm/samba/
testparm /etc/samba/smb.conf
/usr/sbin/nmbd -d 1 -D -s /etc/samba/smb.conf /usr/sbin/smbd -d 1 -D -s /etc/samba/smb.confand put these lines into some central startup script, e.g.
/etc/rc.local
, so that the services are available
after reboot.
smbpasswd
,
which again can reside anywhere, defaults I've seen so far are
/usr/local/samba/private/
,
/var/private/
, or anywhere else.
smbpasswd -c /etc/samba/smb.conf -a feinbeinwill add a new user
feinbein
and will prompt twice for a Samba password.
smbpasswd
needs to know the location
of the Samba configuration file, either via the -c
option as below
or via the builtin path name.
Thus it might be convenient to define
ln -s /etc/samba/smb.conf /usr/lib/smb.conf
pdbedit
(root
only).
smbclient //sambaserver/homes -U feinbeinwhich after login should enable listing the UNIX home directory.
smbcontrolwhich allows to control the running Samba daemons.
man samba.
Laufwerk: X: Ordner: \\samba-server\AIX-account(no check marks)
Benutzer: Domain\Samba-account Passwort: Samba-Password
Campus
).
Windows 7, however, does, which causes authentication to fail,
because the Samba server usually isn't part of the Domain.
Schampus
.
To change an existing Samba password:
samba-server
machine (e.g. via ssh
)
smbpasswdand answer the prompts.