Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Samba on AIX - Active directory

363 views
Skip to first unread message

Rob Lee

unread,
May 31, 2016, 2:50:04 PM5/31/16
to


Good afternoon,



I have many AIX clients running samba from pware. I want to move to either the version on the AIX expansion pack or the rpm's IBM suggests we download, https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US


The problem is that the samba version from pware that is working is old and I don't see the pware downloads anymore to upgrade to a newer version. The two version recommended by IBM do not allow me to connect to my corporate Active Directory domain.

My smb.conf file is very simple. This is what works with the pware version:



[global]

workgroup = <AD Domain Name>

security = DOMAIN

ldap ssl = no

oplocks = No

name resolve order = hosts

password server = <AD Domain Controller>

guest account = guest

map to guest = Bad User

encrypt passwords = yes

domain master = no

local master = no

preferred master = no

load printers = no



[X]

comment = /data directory on the UNIX server

path = /data

read only = No

create mask = 0664



I have tried variations of "security", "password server" with no luck.

Trying to connect to the domain I receive the following error:

/opt/freeware/bin/net rpc join -U<username>%'<password>'

Failed to join domain: failed to find DC for domain <AD Domain Name>



If you have any suggestions for connecting to AD please let me know.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Volker Lendecke

unread,
May 31, 2016, 4:00:04 PM5/31/16
to
On Tue, May 31, 2016 at 06:32:51PM +0000, Rob Lee wrote:
> I have many AIX clients running samba from pware. I want to move to
> either the version on the AIX expansion pack or the rpm's IBM
> suggests we download,
> https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US

You need an IBM ID for that site, so this is for IBM customers only I
guess. What version does IBM provide there?

Volker

--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kon...@sernet.de

SerNet & BSI laden ein: 29. Juni 2016,
2. IT-Grundschutztag 2016, BPA Berlin.
Anmeldung: https://www.sernet.de/gstag

Rob Lee

unread,
May 31, 2016, 6:00:04 PM5/31/16
to
3.4.3


________________________________________
From: Volker Lendecke <Volker....@SerNet.DE>
Sent: Tuesday, May 31, 2016 2:51 PM
To: Rob Lee
Cc: sa...@lists.samba.org
Subject: Re: [Samba] Samba on AIX - Active directory

Reindl Harald

unread,
May 31, 2016, 7:40:03 PM5/31/16
to


Am 31.05.2016 um 23:36 schrieb Rob Lee:
> 3.4.3

many years out of support and frankly i forgot when i faced the last
machine not running samba4 - what's the purpose of running AIX these
days on a fileserver?
signature.asc

Craig Green

unread,
May 31, 2016, 7:50:03 PM5/31/16
to
On the IBM web site they have version 4.3.8.
I have not tested this IBM package as yet.

Another site that has compiled versions of samba is
http://www.bullfreeware.com/

I do not know if the packages on this site have been compiled with AD support or as AD-DC's.
You can use smbd -b to find out what configure options samba was built with.

I used to do my own compilation/builds of samba but I have not been able to successfully build a version since 4.0.6.
If anyone knows the tricks required to be able to build the recent samba 4 versions on AIX 7.1 please let me know.


Regards,
Craig Green
Technical Services
Ultradata - Vision to Reality
+61 3 9291 1742
www.ultradata.com.au
This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action or place any reliance on it. If you have received this message in error please notify the sender immediately via return email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the company.

Volker Lendecke

unread,
Jun 1, 2016, 1:30:02 AM6/1/16
to
On Tue, May 31, 2016 at 11:20:06PM +0000, Craig Green wrote:
> If anyone knows the tricks required to be able to build the recent
> samba 4 versions on AIX 7.1 please let me know.

The problem is -- none of the developers has any AIX box in the attic.
For AIX to become a supported platform again, someone needs to take
care. As a first step, IBM could provide continuous access to a
development box somewhere. This won't magically fix anything, but if
someone reports a problem then this will make it vastly easier to just
take a quick look. Next step would be to do daily builds to report
problems early.

Reindl Harald

unread,
Jun 1, 2016, 10:10:03 AM6/1/16
to


Am 01.06.2016 um 15:58 schrieb Rob Lee:
> We have 4ge programs running on AIX. The output files from these programs need to be read from Windows desktops and servers.

well, setup a proper OS with a recent samba in a virtual machine and
just use that directly from the AIX machine or mount the
samba-sharepoint with NFS on the AIX machine would be a simple solution

> ________________________________________
> From: samba <samba-...@lists.samba.org> on behalf of Reindl Harald <h.re...@thelounge.net>
> Sent: Tuesday, May 31, 2016 6:35 PM
> To: sa...@lists.samba.org
> Subject: Re: [Samba] Samba on AIX - Active directory
>
> Am 31.05.2016 um 23:36 schrieb Rob Lee:
>> 3.4.3
>
> many years out of support and frankly i forgot when i faced the last
> machine not running samba4 - what's the purpose of running AIX these
> days on a fileserver?
>
signature.asc

Rob Lee

unread,
Jun 1, 2016, 10:20:03 AM6/1/16
to
We have 4ge programs running on AIX. The output files from these programs need to be read from Windows desktops and servers.

________________________________________
From: samba <samba-...@lists.samba.org> on behalf of Reindl Harald <h.re...@thelounge.net>
Sent: Tuesday, May 31, 2016 6:35 PM
To: sa...@lists.samba.org
Subject: Re: [Samba] Samba on AIX - Active directory

Am 31.05.2016 um 23:36 schrieb Rob Lee:
> 3.4.3

many years out of support and frankly i forgot when i faced the last
machine not running samba4 - what's the purpose of running AIX these
days on a fileserver?

> ________________________________________
> From: Volker Lendecke <Volker....@SerNet.DE>
> Sent: Tuesday, May 31, 2016 2:51 PM
> To: Rob Lee
> Cc: sa...@lists.samba.org
> Subject: Re: [Samba] Samba on AIX - Active directory
>
> On Tue, May 31, 2016 at 06:32:51PM +0000, Rob Lee wrote:
>> I have many AIX clients running samba from pware. I want to move to
>> either the version on the AIX expansion pack or the rpm's IBM
>> suggests we download,
>> https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US
>
> You need an IBM ID for that site, so this is for IBM customers only I
> guess. What version does IBM provide there?


Craig

unread,
Jun 1, 2016, 9:10:03 PM6/1/16
to
Reindl Harald <h.reindl <at> thelounge.net> writes:

>
>
> Am 01.06.2016 um 15:58 schrieb Rob Lee:
> > We have 4ge programs running on AIX. The output files from these
programs need to be read from Windows
> desktops and servers.
>
> well, setup a proper OS with a recent samba in a virtual machine and
> just use that directly from the AIX machine or mount the
> samba-sharepoint with NFS on the AIX machine would be a simple solution
>
> > ________________________________________
> > From: samba <samba-bounces <at> lists.samba.org> on behalf of Reindl
Harald <h.reindl <at> thelounge.net>
> > Sent: Tuesday, May 31, 2016 6:35 PM
> > To: samba <at> lists.samba.org
> > Subject: Re: [Samba] Samba on AIX - Active directory
> >
> > Am 31.05.2016 um 23:36 schrieb Rob Lee:
> >> 3.4.3
> >
> > many years out of support and frankly i forgot when i faced the last
> > machine not running samba4 - what's the purpose of running AIX these
> > days on a fileserver?
> >
> >> ________________________________________
> >> From: Volker Lendecke <Volker.Lendecke <at> SerNet.DE>
> >> Sent: Tuesday, May 31, 2016 2:51 PM
> >> To: Rob Lee
> >> Cc: samba <at> lists.samba.org
> >> Subject: Re: [Samba] Samba on AIX - Active directory
> >>
> >> On Tue, May 31, 2016 at 06:32:51PM +0000, Rob Lee wrote:
> >>> I have many AIX clients running samba from pware. I want to move to
> >>> either the version on the AIX expansion pack or the rpm's IBM
> >>> suggests we download,
> >>>
https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US
> >>
> >> You need an IBM ID for that site, so this is for IBM customers only I
> >> guess. What version does IBM provide there?
>
>
>

Interesting that you don't consider AIX a "proper OS".
Putting difference of opinions aside re this.
Numerous company's do not have Client Services for NFS installed on any
Windows 7 or later workstations or servers. So cannot use NFS shares. Their
company policy does not allow it. No need to go into why that is. We have to
work around this.
Samba is a good solution. Nothing has to be installed on windows
workstations/servers.
Rob have you been able to download the samba release from the IBM site?

Reindl Harald

unread,
Jun 2, 2016, 6:00:05 AM6/2/16
to
please fix your horrible quting style

Am 02.06.2016 um 03:02 schrieb Craig:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
>>
>> Am 01.06.2016 um 15:58 schrieb Rob Lee:
>>> We have 4ge programs running on AIX. The output files from these
> programs need to be read from Windows
>> desktops and servers.
>>
>> well, setup a proper OS with a recent samba in a virtual machine and
>> just use that directly from the AIX machine or mount the
>> samba-sharepoint with NFS on the AIX machine would be a simple solution

> Interesting that you don't consider AIX a "proper OS".
> Putting difference of opinions aside re this.

not in context of samba when the samba developers don't have a single
AIX machine for testing and it comes with samba versions from the last
decade - the same applies to most software projects because very few
developers outside AIX care about it these days

> Numerous company's do not have Client Services for NFS installed on any
> Windows 7 or later workstations or servers. So cannot use NFS shares. Their
> company policy does not allow it. No need to go into why that is. We have to
> work around this.

WTF are you talking about - where did i write a single line about access
NFS with window sclients?

* AIX for "We have 4ge programs running on AIX"
* store to local folder as it's done now
* export this folder with NFS
* share from a different machine running a recent samba
version this NFS mount

that's for the cases where the stubborn "We have 4ge programs running on
AIX" may not be able to write their data direectly on the samba sahre of
a different server, otherwise just setup samba on *a proper OS for
samba* and access it form the AIX server and the clients via SMB

> Samba is a good solution. Nothing has to be installed on windows
> workstations/servers.

no idea what you did not understand above especially in "setup a proper
signature.asc

Rob Lee

unread,
Jun 13, 2016, 11:30:04 AM6/13/16
to
Resolved:

I was able to get samba to join to AD.

I had to change my smb.conf:

security = DOMAIN

to
security = ads
realm = <our AD FQDN>


Also had to change the join command

$ net rcp join -U<username>

to

$ net ads join -I <Domain Controler> -U<username>




________________________________
From: samba <samba-...@lists.samba.org> on behalf of Rob Lee <rel...@hotmail.com>
Sent: Tuesday, May 31, 2016 1:32 PM
To: sa...@lists.samba.org
Subject: [Samba] Samba on AIX - Active directory



Good afternoon,



I have many AIX clients running samba from pware. I want to move to either the version on the AIX expansion pack or the rpm's IBM suggests we download, https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US

IBM AIX Web Download Pack Programs 2016/06/13 11:15:40<https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US>
www-01.ibm.com
AIX Web Download Pack Programs pick
0 new messages