Re: [Samba] mapping home dir

2004-03-12 Thread Loc Nguyen

I had to make a script to do that automatically

 ---
 #!/usr/bin/perl
 use
File::Path;
 
 $USER = $ARGV[0];
 $GROUP =
$ARGV[1];
 $HOMEDIR = /home/users/.$USER;

 if ( ($USER ne guest)  ($USER ne
nobody) ) {

open (FILEHANDLE, $HOMEDIR);

if ( ! -e FILEHANDLE) {

mkdir($HOMEDIR,0750);

`chown $USER.$GROUP $HOMEDIR`;

}
 }
 

 and place into /home/netlogon (or anywhere you
want)
 
 I add into
 [homes]

 root preexec = /home/netlogon/mk_homedir.pl %U
%G
 

BLOCKQUOTE {
BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px;
}-Original
Message-
From: IT Clown
[EMAIL PROTECTED]
Sent: Friday, 12. Mar 2004
9:38 -0800
To: [EMAIL PROTECTED]
Subject: [Samba]
mapping home dir

Hi


I
am running a RH9 box in a w2k domain. I have
installed

winbind on the RH9 box joined it to the
domain

successfully. Domain users can login with
their accounts.

The problem is when they login they
get a message stating

that their home dir doesnt
excists. How can i map their

home dir that is on a
w2k member server and how can i

create their home
dir on the RH9 box when the domain users

login? I
would prever to map their home dir from the
member

server.


Regards

http://www.webmail.co.za/dialupWebmail ISP - Cool Connection, Cool Price

--

To unsubscribe from this list go to the following
URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba

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


[Samba] Samba caching ??

2004-03-08 Thread Loc Nguyen
Hello,

I have an working PDC/BDC; everything is going ok. There's a minor
thing
with samba that when I configured my PDC I started with
192.168.0.108
(DHCP) .. when I finished, I change to a static IP
(192.168.5.3), and
everything works fine. But somehow in the SAMBA log,
it always spits out

[2004/03/08 11:03:11, 0]
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(485)
 get_domain_master_name_node_status_fail:
 Doing a node status request to the domain master browser at IP
192.168.5.108 failed.
 Cannot get workgroup name.
[2004/03/08 11:18:13, 0]
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(485)
 get_domain_master_name_node_status_fail:
 Doing a node status request to the domain master browser at IP
192.168.5.108 failed.
 Cannot get workgroup name.

Does SAMBA has cache somewhere ? why this happens ? How to get rid of
it?

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can not install samba

2004-03-08 Thread Loc Nguyen

What is you compiler ? gcc or cc ? is it ANSI C
compliant ??
 

BLOCKQUOTE {
BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px;
}-Original
Message-
From: UNB
[EMAIL PROTECTED]
Sent: Monday, 8.
Mar 2004 12:04 -0800
To:
[EMAIL PROTECTED]
Subject: [Samba] Can not
install samba

When trying to install on HP-UX B11.0
9000/887  it give me the
following
messages



configure: WARNING:
netinet/ip.h: present but cannot be compiled
  

configure: WARNING: netinet/ip.h: check for missing
prerequisite
headers?   

configure: WARNING:
netinet/ip.h: proceeding with the preprocessor's
result

configure: WARNING: Sufficient support for iconv
function was not found.
   

Install libiconv
from http://freshmeat.net/projects/libiconv/for
better cha

rset compatibility!  

configure: WARNING: ldap.h is needed for LDAP
support   
   

configure:
WARNING: Active Directory Support requires LDAP support  
  

WARNING: No automated network interface
determination   
   

ERROR: no
seteuid method available  
  

configure: error: summary failure. Aborting config 

-- 

To unsubscribe from this
list go to the following URL and read
the

instructions:  http://lists.samba.org/mailman/listinfo/samba

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


[Samba] Two WINS servers on different subnets

2004-03-03 Thread Loc Nguyen
In my opninion, You need to have one WINS only. In case of disconnected,
the Local Master Browser should take of name resolving.


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Stefan D [EMAIL PROTECTED]
Sent: Wednesday, 3. Mar 2004 7:33 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Two WINS servers on different subnets

Hi


If I connect two LANs (on different subnets) and want to use windows 

filesharing, I need a WINS server right? Can I have one server on both 

subnets and make them talk to each other ? The problem is that the
two 

networks are connected through a VPN tunnel and I don't want to place a


WINS server on just one of them in case the VPN tunnel is lost. I want 

the subnets to work normal when they're not connected and when they got


connection they should work like one big network. Is this possible?


Thanks in advance

/Stefan


-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Running nmbd without smbd

2004-02-27 Thread Loc Nguyen
Why not ? just don't have any share 


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Beast [EMAIL PROTECTED]
Sent: Friday, 27. Feb 2004 2:20 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Running nmbd without smbd

Is it possible? just for wins server, not for file sharing.



--beast


-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] [Samba/LVS] Howto, coming soon ...

2004-02-27 Thread Loc Nguyen
good, i'm waiting for it


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Lapin(c) [EMAIL PROTECTED]
Sent: Friday, 27. Feb 2004 9:01 -0800
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: [Samba] [Samba/LVS] Howto, coming soon ...

Hi all,


I've built an LVS architecture for Samba PDC to get load-balancing for
very

large community of users. It intends to make an authentication
processes

repartition, offers load-balancing on shares access as well. I'll try
to

complete a draft for the end of next week. All feedback will be really
helpful. 


Fred



-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] samba and roaming users: feasable?

2004-02-27 Thread Loc Nguyen
I implement this with intermezzo to sync profiles :)


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Andreas [EMAIL PROTECTED]
Sent: Friday, 27. Feb 2004 13:23 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] samba and roaming users: feasable?

Has anybody used samba in an environment with multiple offices

connected via WAN links where users from one office sometimes

go to the other and login from there? How to tell the windows

workstation where it should authenticate? I suppose some sort

of remote announcement would come into play.


-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Can't login to Samba PDC

2004-02-27 Thread Loc Nguyen
Did you configure nss and pam to work with ldap ? Do you have netlogon
share path world writable?


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Scott Gross [EMAIL PROTECTED]
Sent: Friday, 27. Feb 2004 15:22 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Can't login to Samba PDC

We're trying to migrate from a windows NT domain to a Samba domain. 
I've

installed Samba 3.0.2a with an LDAP backend.  The server seems to be
running

fine as I can browse the shares from a non-domain Win2k workstation
after a

successful password check.  The workstations join the domain just fine
but

after I join them to the domain I can't log in to them.  I've checked
my

schannel and sign or seal settings in the Samba server and the
workstation

but still no luck.  Any help is greatly appreciated, I've been working
at

this for about two months now and I'm just getting frustrated.

-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] The account is not authorized to login from this station.

2004-02-27 Thread Loc Nguyen
There is a posibility that in your configuration (password backend
database) you accidentally configured host access entry to deny the
users from using the work station

Give us more information about your
configuration :)


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Alex Harris [EMAIL PROTECTED]
Sent: Friday, 27. Feb 2004 16:05 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] The account is not authorized to login from this
station.

I'm in the process of upgrading to Samba 3.02a on a file server and 

I'm trying to finish all the configuration and testing. When I try to 

access the server through network neighborhood I get the error message 

that is in the title of this email, what are the possible causes for
this?

I've got encrypt passwords set to no when this happens. If I change


that setting to yet, I get a login prompt, but none of the usernames
and 

passwords work.


Thanks. 

-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] probleb with 'passwd chat' and 'passwd program'

2004-02-26 Thread Loc Nguyen
simply put,

when unix password sync = yes is used, SAMBA tries to
update password in /etc/passwd which I believe you don't have the entry
in it; this option is helpful when you use flat file sambapasswd 

Other
attributes are ok because SAMBA doesn't look at /etc/passwd

 


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: J�r�me Tournier [EMAIL PROTECTED]
Sent: Thursday, 26. Feb 2004 2:31 -0800
To: [EMAIL PROTECTED]
Subject: Re: [Samba] probleb with 'passwd chat' and 'passwd program'

Le Wed, Feb 25, 2004 at 05:25:30PM -0800, Loc Nguyen a ecrit:

 remove

 unix password sync = yes 

 if you're using ldap for

 authentication


Well, i add it for the 'passwd program' to be called as root (as said
in

the man of smb.conf). Otherwise, it is not called.

I know that i can remove this and only add 'ldap passwd sync = Yes' but

i just want to understand why my script is not finished.

And i also tried samba with Oracle Internet Database : everything work

perfectly, exept the update of userPassword. Why ? i don't know. Samba

can update all others attribut, but not this one !

That's why i also need to use an external script.

-- 

J�r�me

-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Log user log-offs

2004-02-26 Thread Loc Nguyen

how about 

root postexec =

??


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Brandon Turner [EMAIL PROTECTED]
Sent: Thursday, 26. Feb 2004 12:26 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Log user log-offs

Does anyone know of a way to log when a user logs off using Samba as a

PDC.  I have Samba 3.0.2a and can log log-ons using root preexec on a

share all users mount, however I do not know of a way to log log-offs.

We need this data for record keeping purposes.  We don't use roaming

profiles, so using root postexec is not an option as shares disconnect

when not in use.


 


Thanks for any help,


Brandon Turner


MSC Computer Operations


-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


[Samba] No results found

2004-02-24 Thread Loc Nguyen
Your post is read by me

Could you send us your smb.conf ??


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Kairam, Raj [EMAIL PROTECTED]
Sent: Tuesday, 24. Feb 2004 10:34 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] No results found

I am at a loss to find out why my posts to this list never show in my
in-box while everybody else's does.

I verified my options in my profile for this list but no luck yet. What
should I do ?

Could you please reply to me so I know that my post is at least read by
you, John H Terpstra.

I have done my reading, struggled with Samba 2.2.8a and the smb.conf
file on a HP box and verified quite a few of the commands
but I am still unable to figure out why I can't see my filesystem on the
Unix host as a share on my Windows 2K host.


A reply would be very much appreciated.

Thanks

Raj Kairam

-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Samba 3.0 PDC install with openssl error

2004-02-24 Thread Loc Nguyen
env CPPFLAGS='-I/usr/local/BerkeleyDB.4.2/include
-I/usr/kerberos/include
-I/usr/local/ssl/include'
LDFLAGS=-L/usr/local/BerkeleyDB.4.2/lib 
/configure -enable-ldbm

be sure that you have /usr/local/ssl/lib in
your /etc/ld.so.conf
and run ldconfig 


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: James D. Parra [EMAIL PROTECTED]
Sent: Tuesday, 24. Feb 2004 11:40 -0800
To: Samba (E-mail) [EMAIL PROTECTED]
Subject: [Samba] Samba 3.0 PDC install with openssl error

Hello,


Trying to configure OpenLDAP, for a Samba PDC server, but I keep
getting the

following error;


checking for openssl/ssl.h... no

checking for ssl.h... no

configure: error: Could not locate TLS/SSL package


However, ssl.h is located in /usr/local/ssl/include/openssl/ssl.h


The enveloped configure command is;


env CPPFLAGS='-I/usr/local/BerkeleyDB.4.2/include
-I/usr/kerberos/include'

LDFLAGS=-L/usr/local/BerkeleyDB.4.2/lib ./configure -enable-ldbm

-with-tls=openssl 


What should I add to the configure command to get this to work?


Thank you in advance,


JP

-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


[Samba] (no subject)

2004-02-23 Thread Loc Nguyen
Hi list, 

I'm getting stuck at the replication part for my BDC. Could
someone familiar with OpenLDAP replication shed some light?

I'm sure
that password is correct 

Thanks for taking a look at!

1. slapd.conf
(master)
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8
2003/05/24 23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on
configuration options.
#
#
include
/usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/nis.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include
/usr/local/etc/openldap/schema/samba.schema
include
/etc/samba/samba.acl

pidfile /usr/local/var/slapd.pid
argsfile
/usr/local/var/slapd.args

#
##
# ldbm database
definitions

###

database bdb
suffix dc=tuluc,dc=com
rootdn
cn=Manager,dc=tuluc,dc=com
# Cleartext passwords, especially for the
rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for
details.
# Use of strong authentication encouraged.
rootpw
secrete
#rootpw {MD5}QL5OWbmiorXf+5GMDoaz1w==
# The database directory
MUST exist prior to running slapd AND
# should only be accessible by the
slapd and slap tools.
# Mode 700 recommended.
directory
/usr/local/var/openldap-data
###
#
#replica
password-hash   {MD5}
replogfile 
/var/lib/ldap/replica.log

replica host=192.168.4.2:389
   
binddn=cn=replicator,dc=tuluc,dc=com
bindmethod=simple
credentials='mybdc'
loglevel 
65535
#
# Indices to maintain
## required by OpenLDAP
index objectClass
eq

index cn pres,sub,eq
index sn pres,sub,eq
## required to support
pdb_getsampwnam
index uid pres,sub,eq
## required to support
pdb_getsambapwrid()
index displayName pres,sub,eq

## uncomment these if
you are storing posixAccount and

## uncomment these if you are storing
posixAccount and
## posixGroup entries in the directory as well
index
uidNumber eq
index gidNumber eq
index memberUid eq

index sambaSID
eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default
sub


2. slapd.conf (slave)

# $OpenLDAP:
pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt
Exp $
#
# See slapd.conf(5) for details on configuration
options.
#
#
include /usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/nis.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include
/usr/local/etc/openldap/schema/samba.schema

pidfile
/usr/local/var/slapd.pid
argsfile
/usr/local/var/slapd.args

#
##
# ldbm database
definitions

###

database bdb
suffix dc=tuluc,dc=com
rootdn
cn=Manager,dc=tuluc,dc=com
# Cleartext passwords, especially for the
rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for
details.
# Use of strong authentication encouraged.
rootpw
secrete
#rootpw {MD5}QL5OWbmiorXf+5GMDoaz1w==
# The database directory
MUST exist prior to running slapd AND
# should only be accessible by the
slapd and slap tools.
# Mode 700 recommended.
directory
/usr/local/var/openldap-data
###
##
# Indices to maintain
## required by
OpenLDAP
index objectClass eq

index cn pres,sub,eq
index sn
pres,sub,eq
## required to support pdb_getsampwnam
index uid
pres,sub,eq
## required to support pdb_getsambapwrid()
index displayName
pres,sub,eq

## uncomment these if you are storing posixAccount and
##
posixGroup entries in the directory as well
index uidNumber eq
index
gidNumber eq
index memberUid eq

index sambaSID eq
index
sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
##
for testing I open ACL wide open 
access to *
by
dn=cn=Manager,dc=tuluc,dc=com write
by
dn=cn=replicator,dc=tuluc,dc=com write
by * read
updatedn
cn=replicator,dc=tuluc,dc=com
updateref ldap://192.168.5.3

loglevel
65535
3. Log from the master slurpd

begin replication thread for
192.168.4.2:389
Initializing session to 192.168.4.2:389
ldap_create
bind
to 192.168.4.2:389 as cn=replicator,dc=tuluc,dc=com
(simple)
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_in
itial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_
to_host: TCP 192.168.4.2:389
ldap_new_socket: 8
ldap_prepare_socket:
8
ldap_connect_to_host: Trying 192.168.4.2:389
ldap_connect_timeout: fd:
8 tm: -1 async: 0
ldap_ndelay_on: 8
ldap_is_sock_ready:
8
ldap_ndelay_off: 8
ldap_int_sasl_open:
host=192.168.4.2
ldap_open_defconn:
successful
ldap_send_server_request
ber_flush: 53 bytes to sd 8
  : 
30 33 02 01 01 60 2e 02  01 03 04 1d 63 6e 3d 72   03...`..cn=r
 
0010:  

Re: [Samba] (no subject)

2004-02-23 Thread Loc Nguyen
I figured out why; credentials= doesn't ignore ' ' ...


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Loc Nguyen [EMAIL PROTECTED]
Sent: Monday, 23. Feb 2004 19:03 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] (no subject)

Hi list, 


I'm getting stuck at the replication part for my BDC. Could

someone familiar with OpenLDAP replication shed some light?


I'm sure

that password is correct 


Thanks for taking a look at!


1. slapd.conf

(master)

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8

2003/05/24 23:19:14 kurt Exp $

#

# See slapd.conf(5) for details on

configuration options.

#

#

include

/usr/local/etc/openldap/schema/core.schema

include

/usr/local/etc/openldap/schema/cosine.schema

include

/usr/local/etc/openldap/schema/nis.schema

include

/usr/local/etc/openldap/schema/inetorgperson.schema

include

/usr/local/etc/openldap/schema/samba.schema

include

/etc/samba/samba.acl


pidfile /usr/local/var/slapd.pid

argsfile

/usr/local/var/slapd.args


#

##

# ldbm database

definitions



###


database bdb

suffix dc=tuluc,dc=com

rootdn

cn=Manager,dc=tuluc,dc=com

# Cleartext passwords, especially for the

rootdn, should

# be avoid. See slappasswd(8) and slapd.conf(5) for

details.

# Use of strong authentication encouraged.

rootpw

secrete

#rootpw {MD5}QL5OWbmiorXf+5GMDoaz1w==

# The database directory

MUST exist prior to running slapd AND

# should only be accessible by the

slapd and slap tools.

# Mode 700 recommended.

directory

/usr/local/var/openldap-data

###

#

#replica

password-hash   {MD5}

replogfile 

/var/lib/ldap/replica.log


replica host=192.168.4.2:389

   

binddn=cn=replicator,dc=tuluc,dc=com

bindmethod=simple

credentials='mybdc'

loglevel 

65535

#

# Indices to maintain

## required by OpenLDAP

index objectClass

eq


index cn pres,sub,eq

index sn pres,sub,eq

## required to support

pdb_getsampwnam

index uid pres,sub,eq

## required to support

pdb_getsambapwrid()

index displayName pres,sub,eq


## uncomment these if

you are storing posixAccount and


## uncomment these if you are storing

posixAccount and

## posixGroup entries in the directory as well

index

uidNumber eq

index gidNumber eq

index memberUid eq


index sambaSID

eq

index sambaPrimaryGroupSID eq

index sambaDomainName eq

index default

sub



2. slapd.conf (slave)


# $OpenLDAP:

pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt

Exp $

#

# See slapd.conf(5) for details on configuration

options.

#

#

include /usr/local/etc/openldap/schema/core.schema

include

/usr/local/etc/openldap/schema/cosine.schema

include

/usr/local/etc/openldap/schema/nis.schema

include

/usr/local/etc/openldap/schema/inetorgperson.schema

include

/usr/local/etc/openldap/schema/samba.schema


pidfile

/usr/local/var/slapd.pid

argsfile

/usr/local/var/slapd.args


#

##

# ldbm database

definitions



###


database bdb

suffix dc=tuluc,dc=com

rootdn

cn=Manager,dc=tuluc,dc=com

# Cleartext passwords, especially for the

rootdn, should

# be avoid. See slappasswd(8) and slapd.conf(5) for

details.

# Use of strong authentication encouraged.

rootpw

secrete

#rootpw {MD5}QL5OWbmiorXf+5GMDoaz1w==

# The database directory

MUST exist prior to running slapd AND

# should only be accessible by the

slapd and slap tools.

# Mode 700 recommended.

directory

/usr/local/var/openldap-data

###

##

# Indices to maintain

## required by

OpenLDAP

index objectClass eq


index cn pres,sub,eq

index sn

pres,sub,eq

## required to support pdb_getsampwnam

index uid

pres,sub,eq

## required to support pdb_getsambapwrid()

index displayName

pres,sub,eq


## uncomment these if you are storing posixAccount and

##

posixGroup entries in the directory as well

index uidNumber eq

index

gidNumber eq

index memberUid eq


index sambaSID eq

index

sambaPrimaryGroupSID eq

index sambaDomainName eq

index default sub

##

for testing I open ACL wide open 

access to *

by

dn=cn=Manager,dc=tuluc,dc=com write

by

dn=cn=replicator,dc=tuluc,dc=com write

by * read

updatedn

cn=replicator,dc=tuluc,dc=com

updateref ldap://192.168.5.3


loglevel

65535

3. Log from the master slurpd


begin replication thread for

192.168.4.2:389

Initializing session to 192.168.4.2:389

ldap_create

bind

to 192.168.4.2:389 as cn=replicator,dc=tuluc,dc=com

(simple)

ldap_simple_bind_s

ldap_sasl_bind_s

ldap_sasl_bind

ldap_send_in

Re: [Samba] Samba With LDAP

2004-02-22 Thread Loc Nguyen
I found idealx.org SAMBA PDC howto very helpful


BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
margin-left: 0px; }-Original Message-
From: Bruno Lopes de Souza Benchimol [EMAIL PROTECTED]
Sent: Sunday, 22. Feb 2004 14:09 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Samba With LDAP

Anyone could please help me to set up a samba authing on a ldap server
??? i

mean.. someone can point me out a tutorial/howto/notes/tips/anything
that

can help me set up this together ??

(or at least some part of the adminstration of ldap for samba)


well anything will be welcome since i need to set up pretty soon.


thanks in advance,


-- 

To unsubscribe from this list go to the following URL and read the

instructions:  http://lists.samba.org/mailman/listinfo/samba


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


[Samba] About BDC

2004-02-20 Thread Loc Nguyen
Hi list,

First let me give something about my network
structure

192.168.4.0--192.168.4.3(BDC)
|
VPN GATEWAY
|
Internet
|
VPN
GATEWAY
|
192.168.5.0--192.168.5.3 (PDC)

Right now I'm having
192.168.5.3(SAMBA+LDAP PDC) and WINS server, and I want to build a BDC
(192.168.4.3) on the other side of the VPN.

my questions are:
1. is it
possible?
2. is BDC needs to be setup as a WINS server as well?
3. when
one of the gateway down or internet connection going down, can each side
of the VPN talk to PDC or BDC?
4. if one of the Domain Controler is
down, can the whole network talk to the remainder?
5. What need to setup
on each side

It could be great if a communication flow diagram is given
in normal

Any experience in setting a BDC is appreciated.

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2004-02-18 Thread Loc Nguyen
Hi list,

Could anyone explain why Samba+LDAP PDC needs to have PAM and
NSS configured with ldap to authenticate ?

I thought that SAMBA
authenticates directly against LDAP rather asking PAM/NSS to do this,
but this doesn't seem to be true. 

I configured a Samba+LDAP PDC with
the help of idealx.org SAMBA PDC howto. I succeeded with 3.0.2a. Just
for experimenting, I used authconfig to disable ldap in nssswitch.conf
and system-auth, the PDC stop working. Is it true that SAMBA need to
authenticate twice, one with SambaSamAccount, and another with
PosixAccount?


thanks for any ideas on this matter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Samba LDAP

2004-02-18 Thread Loc Nguyen

If you can post your smb.conf and slapd.conf, then we can take a good
look at


-Original Message-
From: Rohan Gilchrist [EMAIL PROTECTED]
Sent: Wednesday, 18. Feb 2004 22:18 -0800
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Samba  LDAP

Thanks for those who have replied to my oringinal problem, however

it would appear that I'm still having problems.


I'm now seeing the following error...



[2004/02/19 17:17:36, 1] lib/smbldap.c:smbldap_retry_open(890)

  Connection to LDAP Server failed for the 1 try!

[2004/02/19 17:17:36, 0] lib/smbldap.c:smbldap_search_suffix(1077)

  smbldap_search_suffix: Problem during the LDAP search: (unknown)
(Inappropriate authentication)



Anyone know what's going on here?



-- 

To unsubscribe from this list go to the following URL and read the

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