Re: [Samba] how do I setup a second samba4 DC with replication, etc?

2010-10-01 Thread Aaron Solochek
On 10/01/2010 05:51 PM, Michael Wood wrote:
> On 1 October 2010 18:22, Aaron Solochek  wrote:
>> I have 1 samba4 server setup as a domain controller for FOO.COM.  I want to 
>> add
>> a second for redundancy.  I really don't want to mess this up, and I can't 
>> find
>> a clear guide online.  Can anyone tell me the proper commands?
> 
> The instructions are here:
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> 
> It's probably best to test it first, and of course do backups too.
> 

I have backups, so I tested it:

Obviously something isn't working.

Password for [FOO.COM\Administrator]:
CLDAP response: forest=FOO.com dns=FOO.com netbios=FOO
server_site=Default-First-Site-Name  client_site=Default-First-Site-Name
Become DC [NEW-DC] of Domain[FOO]/[FOO.com]
Promotion Partner is Server[OLD-DC.FOO.com] from Site[Default-First-Site-Name]
Options:crossRef behavior_version[2]
schema object_version[47]
domain behavior_version[2]
domain w2k3_update_revision[9]
libnet_BecomeDC() failed - NT code 0xc00020ee
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/__init__.py", line 99, in 
_run
return self.run(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/samba/netcmd/vampire.py", line 51, in 
run
(domain_name, domain_sid) = net.vampire(domain=domain, 
target_dir=target_dir)
RuntimeError: NT code 0xc00020ee

This is using the samba4 debs on ubuntu.
Version: 4.0.0~alpha14~bzr13824~ppa160+170~maverick1


I don't even know where to start debugging this.

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


Re: [Samba] how do I setup a second samba4 DC with replication, etc?

2010-10-01 Thread Michael Wood
On 1 October 2010 18:22, Aaron Solochek  wrote:
> I have 1 samba4 server setup as a domain controller for FOO.COM.  I want to 
> add
> a second for redundancy.  I really don't want to mess this up, and I can't 
> find
> a clear guide online.  Can anyone tell me the proper commands?

The instructions are here:
http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC

It's probably best to test it first, and of course do backups too.

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


Re: [Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-01 Thread CJ Keist

 Well,
I think I got it fixed, but not sure if it is the correct way.  
This is what my share ens looks like now:


[ens]
comment = ENS Groups
path = /XKA2/admin/ENS
valid users = +admin
force group = admin
read only = No
create mask = 0770
force create mode = 0770
security mask = 0770
directory mask = 02770
inherit permissions = Yes
inherit acls = Yes
nt acl support = No
map archive = No
map readonly = permissions
store dos attributes = Yes
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special


I changed "nt acl support" to No.


On 10/1/10 8:15 AM, CJ Keist wrote:

 All,
Running Samba 3.5.4 on Solaris 10 with ZFS file system.  I have 
issues where we have shared group folders.  In these folders a userA 
in GroupA create file just fine with the correct inherited permissions 
660.  Problem is when userB in GroupA reads and modifies that file, 
with M$ office apps, the permissions get whacked to 060+ and the file 
becomes read only by everyone.
   I did google this and found exactly someone else with the same 
problem with a fix! But the fix is not working for me, so looking for 
some more help and incite to this problem.


The following are the two URLs I found which looked like a fix to my 
problem:


http://lists.samba.org/archive/samba/2008-November/145094.html
https://bugzilla.samba.org/show_bug.cgi?id=6050

I have implemented those settings, but I still see the problem of the 
file permissions getting whacked.


Here is my conf file:

[global]
workgroup = ENGR_DOM
server string = Samba Server
interfaces = e1000g0, lo0
bind interfaces only = Yes
security = DOMAIN
passdb backend = smbpasswd
client NTLMv2 auth = Yes
map untrusted to domain = Yes
log level = 1
log file = /var/log/samba/logs/log.%m
name resolve order = host bcast
unix extensions = No
max open files = 1
load printers = No
domain master = No
dns proxy = No
lock spin time = 3
veto oplock files = 
/*.doc/*.DOC/*.docx/*.DOCX/*.xlsx/*.XLSX/*.xls/*.XLS/*.ppt/*.PPT/*.pst/*.PST/*.mdb/*.MDB/*.ldb/*.LDB/*.vsd/*.VSD/*.dwg/*.DWG/*.cdr/*.CDR/

strict locking = No

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0751
force directory mode = 0751
directory security mask = 0750
inherit permissions = Yes
inherit owner = Yes
browseable = No
level2 oplocks = No
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special

[ens]
comment = ENS Groups
path = /XKA2/admin/ENS
valid users = +admin
force group = admin
read only = No
create mask = 0770
directory mask = 02770
inherit permissions = Yes
inherit acls = Yes
map archive = No
map readonly = permissions
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special

The issue is in the ENS share.  I also have the ZFS file system 
aclmode and aclinherit set to passthrough, see output of zfs get all:


kame % zfs get all fsdata/admin/ENS
NAME  PROPERTY  VALUE  SOURCE
fsdata/admin/ENS  type  filesystem -
fsdata/admin/ENS  creation  Mon Mar 15 14:47 2010  -
fsdata/admin/ENS  used  73.6G  -
fsdata/admin/ENS  available 9.35T  -
fsdata/admin/ENS  referenced73.6G  -
fsdata/admin/ENS  compressratio 1.15x  -
fsdata/admin/ENS  mounted   yes-
fsdata/admin/ENS  quota none   default
fsdata/admin/ENS  reservation   none   default
fsdata/admin/ENS  recordsize64K
inherited from fsdata/admin
fsdata/admin/ENS  mountpoint/XKA2/admin/ENS
inherited from fsdata
fsdata/admin/ENS  sharenfs  rw,anon=0  
inherited from fsdata/admin

fsdata/admin/ENS  checksum  on default
fsdata/admin/ENS  compression   on 
inherited from fsdata
fsdata/admin/ENS  atime off
inherited from fsdata

fsdata/admin/ENS  devices   on default
fsdata/admin/ENS  exec  on default
fsdata/admin/ENS  setuidon default
fsdata/admin/ENS  readonly  offdefault
fsdata/admin/ENS  zoned offdefault
fsdata/admin/ENS  snapdir   hidden default
fsdata/admin/ENS  aclmode   passthrough
inherited from fsdata/admin
fsdata/admin/ENS  aclinheritpassthrough
inherited from fsdata/admin

fsdata/admin/ENS  canmount  on default
fsdata/admin/ENS  shareiscsi   

[Samba] Add Samba Events To Windows Event Viewer

2010-10-01 Thread Shane McGovern
I'm using samba to control remote services on a domain (using net rpc). 
It works great. However, I'd like to be able to write an event when I 
need to restart a service or I poll a counter. Can I do this from a 
Linux box to a Windows server via Samba? If so, how?


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


[Samba] how do I setup a second samba4 DC with replication, etc?

2010-10-01 Thread Aaron Solochek
I have 1 samba4 server setup as a domain controller for FOO.COM.  I want to add
a second for redundancy.  I really don't want to mess this up, and I can't find
a clear guide online.  Can anyone tell me the proper commands?

Thanks.

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


[Samba] add printers in Solaris 10 sparse zone

2010-10-01 Thread Daulton_Theodore
Hi all,

I have samba installed in a Solaris 10 sparse zone but I am having no luck 
adding printers in the zone so they could be accesses through the Samba server.

The jetdirect software (hppi) fails with the error mknod: not owner; and chmod: 
WARNING: can't access /dev/

I've created the device (/dev/ in the global zone. I've added it 
to the zone using zonecfg but it does not appear in the zone when I list the 
contents of /dev.

I am planning on moving our main samba server, currently on Solaris 9) to a 
solaris 10 zone but I will need to offer printing from samba.

Any suggestions would be appreciated.

~~~
Daulton Theodore
Systems Department,Carleton University Library
Email: daultontheod...@cunet.carleton.ca
Vmail: (613) 520-2600 ext:8352

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


[Samba] File permissions getting destroyed with M$ software on ZFS

2010-10-01 Thread CJ Keist

 All,
Running Samba 3.5.4 on Solaris 10 with ZFS file system.  I have 
issues where we have shared group folders.  In these folders a userA in 
GroupA create file just fine with the correct inherited permissions 
660.  Problem is when userB in GroupA reads and modifies that file, with 
M$ office apps, the permissions get whacked to 060+ and the file becomes 
read only by everyone.
   I did google this and found exactly someone else with the same 
problem with a fix! But the fix is not working for me, so looking for 
some more help and incite to this problem.


The following are the two URLs I found which looked like a fix to my 
problem:


http://lists.samba.org/archive/samba/2008-November/145094.html
https://bugzilla.samba.org/show_bug.cgi?id=6050

I have implemented those settings, but I still see the problem of the 
file permissions getting whacked.


Here is my conf file:

[global]
workgroup = ENGR_DOM
server string = Samba Server
interfaces = e1000g0, lo0
bind interfaces only = Yes
security = DOMAIN
passdb backend = smbpasswd
client NTLMv2 auth = Yes
map untrusted to domain = Yes
log level = 1
log file = /var/log/samba/logs/log.%m
name resolve order = host bcast
unix extensions = No
max open files = 1
load printers = No
domain master = No
dns proxy = No
lock spin time = 3
veto oplock files = 
/*.doc/*.DOC/*.docx/*.DOCX/*.xlsx/*.XLSX/*.xls/*.XLS/*.ppt/*.PPT/*.pst/*.PST/*.mdb/*.MDB/*.ldb/*.LDB/*.vsd/*.VSD/*.dwg/*.DWG/*.cdr/*.CDR/

strict locking = No

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0751
force directory mode = 0751
directory security mask = 0750
inherit permissions = Yes
inherit owner = Yes
browseable = No
level2 oplocks = No
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special

[ens]
comment = ENS Groups
path = /XKA2/admin/ENS
valid users = +admin
force group = admin
read only = No
create mask = 0770
directory mask = 02770
inherit permissions = Yes
inherit acls = Yes
map archive = No
map readonly = permissions
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special

The issue is in the ENS share.  I also have the ZFS file system aclmode 
and aclinherit set to passthrough, see output of zfs get all:


kame % zfs get all fsdata/admin/ENS
NAME  PROPERTY  VALUE  SOURCE
fsdata/admin/ENS  type  filesystem -
fsdata/admin/ENS  creation  Mon Mar 15 14:47 2010  -
fsdata/admin/ENS  used  73.6G  -
fsdata/admin/ENS  available 9.35T  -
fsdata/admin/ENS  referenced73.6G  -
fsdata/admin/ENS  compressratio 1.15x  -
fsdata/admin/ENS  mounted   yes-
fsdata/admin/ENS  quota none   default
fsdata/admin/ENS  reservation   none   default
fsdata/admin/ENS  recordsize64Kinherited 
from fsdata/admin
fsdata/admin/ENS  mountpoint/XKA2/admin/ENSinherited 
from fsdata
fsdata/admin/ENS  sharenfs  rw,anon=0  inherited 
from fsdata/admin

fsdata/admin/ENS  checksum  on default
fsdata/admin/ENS  compression   on inherited 
from fsdata
fsdata/admin/ENS  atime offinherited 
from fsdata

fsdata/admin/ENS  devices   on default
fsdata/admin/ENS  exec  on default
fsdata/admin/ENS  setuidon default
fsdata/admin/ENS  readonly  offdefault
fsdata/admin/ENS  zoned offdefault
fsdata/admin/ENS  snapdir   hidden default
fsdata/admin/ENS  aclmode   passthroughinherited 
from fsdata/admin
fsdata/admin/ENS  aclinheritpassthroughinherited 
from fsdata/admin

fsdata/admin/ENS  canmount  on default
fsdata/admin/ENS  shareiscsioffdefault
fsdata/admin/ENS  xattr on default
fsdata/admin/ENS  copies1  default
fsdata/admin/ENS  version   4  -
fsdata/admin/ENS  utf8only  off-
fsdata/admin/ENS  normalization none   -
fsdata/admin/ENS  casesensitivity   sensitive  -
fsdata/admin/ENS  vscan offdefault
fsdata/admin/ENS  nbmandoffdefault
fsdata/admin/ENS  sharesmb  offdefault
fsdata/admi

Re: [Samba] samba with AD help.

2010-10-01 Thread Ben George
Ho that's first mail na...

after that i started the net join from /usr/local/samba/bin

at first i mistakenly choose default net join..that's Y



On Fri, Oct 1, 2010 at 5:09 PM, Gaiseric Vandal
wrote:

>  But your output shows
>
>
> params.c:pm_process() - Processing configuration file
> "/etc/sfw/smb.conf"
>
>
>
>
>
> On 10/01/2010 07:26 AM, Ben George wrote:
>
>
> yes sunfreeware samba installed under
>
> /usr/local/samba
>
> configuration file
>
> /usr/local/samba/lib  i exported this lib PATH
>
> also the testparm is under /usr/local/samba/bin/
>
> i exicuted this testparm..that shows the sunfreeware samba's smb.conf
> settings.
>
>
>
>
> On Fri, Oct 1, 2010 at 2:22 PM, Gaiseric Vandal  > wrote:
>
>> This reminded me of something:
>>
>> Solaris is bundled with Kerberos.   However, with sunfreeware samba you
>> may
>> have also installed Kerberos packages from sun freeware.  Assuming the
>> PATH
>> is let for /usr/local/bin:/usr/local/sbin:$PATH and LD_LIBRARY_PATH is set
>> /usr/local/lib:  you should be using the sunfreeware versions of
>> software rather than the sun versions.
>>
>> I don't know if sunfreeware Kerberos uses the same config files as sun
>> Kerberos-  which means you may be have not configured the correct files.
>>
>> On a related note,
>>
>> Sunfreeware samba uses /usr/local/etc/smb.conf  (or something close to
>> that)
>> by default.
>> The solaris bundled samba uses /etc/sfw/smb.conf
>>
>> If you type "which testparm" are you running the correct testparm?
>> When you run "testparm -v" is it finding the correct smb.conf?
>>
>>
>> Or maybe you already sym linked your smb.conf file.
>>
>>
>>
>> -Original Message-
>> From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org
>> ]
>> On Behalf Of Max León
>> Sent: Wednesday, September 29, 2010 8:22 PM
>> To: samba@lists.samba.org
>> Subject: Re: [Samba] samba with AD help.
>>
>> Can you post the global part of your smb.conf, your nsswitch and your
>> kerberos.conf?
>>
>> On 9/29/10 5:33 AM, Ben George wrote:
>> > when i try to join the domain in UNIX (Sun Solaris 10 SPARC),i got error
>> > message like this
>> >
>> >
>> >
>> > bash-3.00# ./net ads -d3 join -U administra...@sre.com
>> >
>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(5055)
>> >   lp_load: refreshing parameters
>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(1440)
>> >   Initialising global parameters
>> > [2010/09/29 14:26:02, 3] param/params.c:(572)
>> >params.c:pm_process() - Processing configuration file
>> "/etc/sfw/smb.conf"
>> > [2010/09/29 14:26:02, 3] param/loadparm.c:(3794)
>> >   Processing section "[global]"
>> > [2010/09/29 14:26:02, 2] lib/interface.c:(81)
>> >added interface ip=192.168.1.11 bcast=192.168.1.255
>> nmask=255.255.255.0
>> > Host is not configured as a member server.
>> > Invalid configuration.  Exiting
>> > Failed to join domain: Invalid domain role
>> > [2010/09/29 14:26:02, 2] utils/net.c:(1075)
>> > return code = -1
>> >
>> >
>> > please help me solve this
>> >
>> > thanks
>> >
>>
>> --
>>
>> Max León
>> Systems Director
>> Wire Watchers : enterprise : technology : genius
>>
>> 
>> --
>> Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica
>> cel: +(506) 8364-6261 | fax: +(506) 2258-3695
>> email: ml...@wirewatchers.com  |
>> www.wirewatchers.com 
>>
>> 
>> --
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba with AD help.

2010-10-01 Thread Gaiseric Vandal

But your output shows

params.c:pm_process() - Processing configuration file  
"/etc/sfw/smb.conf"






On 10/01/2010 07:26 AM, Ben George wrote:


yes sunfreeware samba installed under

/usr/local/samba

configuration file

/usr/local/samba/lib  i exported this lib PATH

also the testparm is under /usr/local/samba/bin/

i exicuted this testparm..that shows the sunfreeware samba's smb.conf 
settings.





On Fri, Oct 1, 2010 at 2:22 PM, Gaiseric Vandal 
mailto:gaiseric.van...@gmail.com>> wrote:


This reminded me of something:

Solaris is bundled with Kerberos.   However, with sunfreeware
samba you may
have also installed Kerberos packages from sun freeware.  Assuming
the PATH
is let for /usr/local/bin:/usr/local/sbin:$PATH and
LD_LIBRARY_PATH is set
/usr/local/lib:  you should be using the sunfreeware versions of
software rather than the sun versions.

I don't know if sunfreeware Kerberos uses the same config files as sun
Kerberos-  which means you may be have not configured the correct
files.

On a related note,

Sunfreeware samba uses /usr/local/etc/smb.conf  (or something
close to that)
by default.
The solaris bundled samba uses /etc/sfw/smb.conf

If you type "which testparm" are you running the correct testparm?
When you run "testparm -v" is it finding the correct smb.conf?


Or maybe you already sym linked your smb.conf file.



-Original Message-
From: samba-boun...@lists.samba.org

[mailto:samba-boun...@lists.samba.org
]
On Behalf Of Max León
Sent: Wednesday, September 29, 2010 8:22 PM
To: samba@lists.samba.org 
Subject: Re: [Samba] samba with AD help.

Can you post the global part of your smb.conf, your nsswitch and your
kerberos.conf?

On 9/29/10 5:33 AM, Ben George wrote:
> when i try to join the domain in UNIX (Sun Solaris 10 SPARC),i
got error
> message like this
>
>
>
> bash-3.00# ./net ads -d3 join -U administra...@sre.com

>
> [2010/09/29 14:26:02, 3] param/loadparm.c:(5055)
>   lp_load: refreshing parameters
> [2010/09/29 14:26:02, 3] param/loadparm.c:(1440)
>   Initialising global parameters
> [2010/09/29 14:26:02, 3] param/params.c:(572)
>params.c:pm_process() - Processing configuration file
"/etc/sfw/smb.conf"
> [2010/09/29 14:26:02, 3] param/loadparm.c:(3794)
>   Processing section "[global]"
> [2010/09/29 14:26:02, 2] lib/interface.c:(81)
>added interface ip=192.168.1.11 bcast=192.168.1.255
nmask=255.255.255.0
> Host is not configured as a member server.
> Invalid configuration.  Exiting
> Failed to join domain: Invalid domain role
> [2010/09/29 14:26:02, 2] utils/net.c:(1075)
> return code = -1
>
>
> please help me solve this
>
> thanks
>

--

Max León
Systems Director
Wire Watchers : enterprise : technology : genius

--
Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica
cel: +(506) 8364-6261 | fax: +(506) 2258-3695
email: ml...@wirewatchers.com 
> |
www.wirewatchers.com 


--

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

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




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


Re: [Samba] samba with AD help.

2010-10-01 Thread Ben George
yes sunfreeware samba installed under

/usr/local/samba

configuration file

/usr/local/samba/lib  i exported this lib PATH

also the testparm is under /usr/local/samba/bin/

i exicuted this testparm..that shows the sunfreeware samba's smb.conf
settings.




On Fri, Oct 1, 2010 at 2:22 PM, Gaiseric Vandal
wrote:

> This reminded me of something:
>
> Solaris is bundled with Kerberos.   However, with sunfreeware samba you may
> have also installed Kerberos packages from sun freeware.  Assuming the PATH
> is let for /usr/local/bin:/usr/local/sbin:$PATH and LD_LIBRARY_PATH is set
> /usr/local/lib:  you should be using the sunfreeware versions of
> software rather than the sun versions.
>
> I don't know if sunfreeware Kerberos uses the same config files as sun
> Kerberos-  which means you may be have not configured the correct files.
>
> On a related note,
>
> Sunfreeware samba uses /usr/local/etc/smb.conf  (or something close to
> that)
> by default.
> The solaris bundled samba uses /etc/sfw/smb.conf
>
> If you type "which testparm" are you running the correct testparm?
> When you run "testparm -v" is it finding the correct smb.conf?
>
>
> Or maybe you already sym linked your smb.conf file.
>
>
>
> -Original Message-
> From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> On Behalf Of Max León
> Sent: Wednesday, September 29, 2010 8:22 PM
> To: samba@lists.samba.org
> Subject: Re: [Samba] samba with AD help.
>
> Can you post the global part of your smb.conf, your nsswitch and your
> kerberos.conf?
>
> On 9/29/10 5:33 AM, Ben George wrote:
> > when i try to join the domain in UNIX (Sun Solaris 10 SPARC),i got error
> > message like this
> >
> >
> >
> > bash-3.00# ./net ads -d3 join -U administra...@sre.com
> >
> > [2010/09/29 14:26:02, 3] param/loadparm.c:(5055)
> >   lp_load: refreshing parameters
> > [2010/09/29 14:26:02, 3] param/loadparm.c:(1440)
> >   Initialising global parameters
> > [2010/09/29 14:26:02, 3] param/params.c:(572)
> >params.c:pm_process() - Processing configuration file
> "/etc/sfw/smb.conf"
> > [2010/09/29 14:26:02, 3] param/loadparm.c:(3794)
> >   Processing section "[global]"
> > [2010/09/29 14:26:02, 2] lib/interface.c:(81)
> >added interface ip=192.168.1.11 bcast=192.168.1.255
> nmask=255.255.255.0
> > Host is not configured as a member server.
> > Invalid configuration.  Exiting
> > Failed to join domain: Invalid domain role
> > [2010/09/29 14:26:02, 2] utils/net.c:(1075)
> > return code = -1
> >
> >
> > please help me solve this
> >
> > thanks
> >
>
> --
>
> Max León
> Systems Director
> Wire Watchers : enterprise : technology : genius
>
> 
> --
> Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica
> cel: +(506) 8364-6261 | fax: +(506) 2258-3695
> email: ml...@wirewatchers.com  |
> www.wirewatchers.com 
>
> 
> --
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba with AD help.

2010-10-01 Thread Gaiseric Vandal
This reminded me of something:

Solaris is bundled with Kerberos.   However, with sunfreeware samba you may
have also installed Kerberos packages from sun freeware.  Assuming the PATH
is let for /usr/local/bin:/usr/local/sbin:$PATH and LD_LIBRARY_PATH is set
/usr/local/lib:  you should be using the sunfreeware versions of
software rather than the sun versions.

I don't know if sunfreeware Kerberos uses the same config files as sun
Kerberos-  which means you may be have not configured the correct files.

On a related note, 

Sunfreeware samba uses /usr/local/etc/smb.conf  (or something close to that)
by default.
The solaris bundled samba uses /etc/sfw/smb.conf

If you type "which testparm" are you running the correct testparm?
When you run "testparm -v" is it finding the correct smb.conf?


Or maybe you already sym linked your smb.conf file.



-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
On Behalf Of Max León
Sent: Wednesday, September 29, 2010 8:22 PM
To: samba@lists.samba.org
Subject: Re: [Samba] samba with AD help.

Can you post the global part of your smb.conf, your nsswitch and your 
kerberos.conf?

On 9/29/10 5:33 AM, Ben George wrote:
> when i try to join the domain in UNIX (Sun Solaris 10 SPARC),i got error
> message like this
>
>
>
> bash-3.00# ./net ads -d3 join -U administra...@sre.com
>
> [2010/09/29 14:26:02, 3] param/loadparm.c:(5055)
>   lp_load: refreshing parameters
> [2010/09/29 14:26:02, 3] param/loadparm.c:(1440)
>   Initialising global parameters
> [2010/09/29 14:26:02, 3] param/params.c:(572)
>params.c:pm_process() - Processing configuration file
"/etc/sfw/smb.conf"
> [2010/09/29 14:26:02, 3] param/loadparm.c:(3794)
>   Processing section "[global]"
> [2010/09/29 14:26:02, 2] lib/interface.c:(81)
>added interface ip=192.168.1.11 bcast=192.168.1.255 nmask=255.255.255.0
> Host is not configured as a member server.
> Invalid configuration.  Exiting
> Failed to join domain: Invalid domain role
> [2010/09/29 14:26:02, 2] utils/net.c:(1075)
> return code = -1
>
>
> please help me solve this
>
> thanks
>

-- 

Max León
Systems Director
Wire Watchers : enterprise : technology : genius

--
Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica
cel: +(506) 8364-6261 | fax: +(506) 2258-3695
email: ml...@wirewatchers.com  | 
www.wirewatchers.com 

--

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

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